Skip to content

A contrast enhancement approach involving non linear mapping of Laplacian pyramid.

License

Notifications You must be signed in to change notification settings

lafith/pymusica

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multiscale image contrast amplification using Laplacian pyramid

MUSICA[1] is a contrast enhancement approach based on multiresolution representation of the original image, commonly applied in computed radiography. This repo is a Python implementation of MUSICA algorithm using Laplacian Pyramid[2] as the multiresolution representation.

Note: Implementation works only for grayscale images.

Instructions:

  • Required functions are in musica.py
$ git clone https://github.com/lafith/musica.git
$ cd MUSICA
$ pip install -r requirements.txt
$ python3 demo.py
  • In demo.py arbitrary values are taken for parameters, tuning may give better results.

Result:

References

[1] Vuylsteke, Pieter, and Emile P. Schoeters. "Multiscale image contrast amplification (MUSICA)." Medical Imaging 1994: Image Processing. Vol. 2167. International Society for Optics and Photonics, 1994.
[2] Burt, Peter J., and Edward H. Adelson. "The Laplacian pyramid as a compact image code." Readings in computer vision. Morgan Kaufmann, 1987. 671-679.