Introduction

 

Magnifying glass in the image

 

View more images

 

Geometrical transforms

 

Brightness profile

 »

Histogram

 

Fourier transform

 

Features

 

Brightness/contrast corrrections

 

Flat-Field corrections

 

Inhomogeneous lighting correction

 

Gama correction

 

Noise generation

 

Arithmetical and logical operation

 

Look Up Tables

 

2D convolution

 

Objects drawing

 

Morphological operations

 

Nonlinear filters

 

Bit fields

 

Sobel edge detection

 

Averaging

 

Colour images

 

 MIPS 2.0 - Medical/Microscopy Image Processing Software

 

 

 

Histogram view

 »

Histogram stretching

 

Histogram equalization

 

Histogram modification

 

Histogram specification

 

 

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%)

 

 


© 2000-2022, Václav Gerla, Jiųí Hozman, Martin Pop. In case of problems or questions don“t hesitate to contact us via email. Last update