|
MIPS
2.0 - Medical/Microscopy Image Processing Software
|
HISTOGRAM STRETCHING
|
|
Histogram
/ Stretching
First, we find the minimum and maximum gray level value in the image.
The minimum value is changed to level 0, and the maximum value is changed to 255. The values in between are linearly calculated. The result is an image
with the maximum range of brightness levels. The window displayed shows the original image, the image after histogram expansion, and their histograms.
We can choose the so-called omission level. When searching for the minimum and maximum brightness, points whose frequency in the image is less than this
level will be ignored. It is given as a percentage and is related to a number that indicates the number of pixels whose representation in the image is the
largest.Preview
Example
|

|
|
Original image Histogram
|
|
|
|

|
|
Image after histogram stretching Histogram
|
(omission
level 0%)
|
|
|
|

|
|
Image after histogram stretching Histogram
|
|
(omission level
3.2%)
|
|
|
|
|