SlideShare a Scribd company logo
1 of 17
Contrast Limited Adaptive
 Histogram Equalization.


                       BY.
            NANCY(CS-1212)
            NISHU(CS-1219)
Introduction

 Contrast Limited AHE (CLAHE) differs from ordinary
  adaptive histogram equalization in its contrast limiting.
 This feature can also be applied to global histogram
  equalization, giving rise to contrast limited histogram
  equalization (CLHE), which is rarely used in practice.
 In the case of CLAHE, the contrast limiting procedure has
  to be applied for each neighborhood from which a
  transformation function is derived.
 CLAHE was developed to prevent the over amplification of
  noise that adaptive histogram equalization can give rise
  to.[1]
Specification

 Syntax of CLAHE [2]


        J = adapthisteq(I)
        J = adapthisteq(I,param1,val1,param2,val2...)



    J = adapthisteq(I,'clipLimit',0.02,'Distribution','rayleigh')
Description

 J = adapthisteq(I) , enhances the contrast of the grayscale
  image I by transforming the values using contrast-limited
  adaptive histogram equalization (CLAHE).
 CLAHE operates on small regions in the image, called tiles,
  rather than the entire image.
 Each tile's contrast is enhanced, so that the histogram of
  the output region approximately matches the histogram
  specified by the 'Distribution' parameter.
 The neighboring tiles are then combined using bilinear
  interpolation to eliminate artificially induced boundaries.
Cont…

 The contrast, especially in homogeneous areas, can be
  limited to avoid amplifying any noise that might be present
  in the image.[3]
Remarks

                  Real scalar in the range [0 1], that
Clip limit        specifies the contrast enhancement
                  limit. Higher number result in more
                  contrast.

                  Default 0.01.
                  String specify the desires histogram
Distribution      shape for the image tiles.

                  • uniform-flat histogram
                  •Rayleigh-bell shaped histogram
                  •Exponential-curved histogram

                  Default „uniform‟.[4]
Algorithm

 Obtain all the inputs: Image, Number of regions in row and column
  directions, Number of bins for the histograms used in building image
  transform function (dynamic range), Clip limit for contrast limiting
  (normalized from 0 to 1).
 Pre-process the inputs: Determine real clip limit from the normalized
  value if necessary, pad the image before splitting it into regions.
 Process each contextual region (tile) thus producing gray level
  mappings: Extract a single image region, make a histogram for this
  region using the specified number of bins, clip the histogram using clip
  limit, create a mapping (transformation function) for this region.
 Interpolate gray level mappings in order to assemble final CLAHE
  image: Extract cluster of four neighboring mapping functions, process
  image region partly overlapping each of the mapping tiles, extract a
  single pixel, apply four mappings to that pixel, and interpolate between
  the results to obtain the output pixel; repeat over the entire image.[5]
Flow chart of an Algorithm
Classes supported by CLAHE

 Class Support [6] :-


 Grayscale image I can be of class uint8, uint16, int16,
  single, or double.
 The output image J has the same class as I.
Example of CLAHE

 Coding :-
 Apply Contrast-limited Adaptive Histogram Equalization
    (CLAHE) to an image and display the results.
   I = imread(„a.jpg');
   A = adapthisteq(I,'clipLimit',0.02,'Distribution','rayleigh');
   figure, imshow(I);
   figure, imshow(A);
Input image (I)
Output image (A)
Application areas of CLAHE

 Contrast Enhancement for Mammogram Images: to
    highlight the finer hidden details in mammogram images
    and to adjust the level of contrast enhancement.
   Brightness preserving contrast enhancement of medical
    images.
   Face identification using CLAHE.
   Contrast limited adaptive histogram specification (CLAHS)
    to deal with the inherent non uniform lighting in
    underwater imagery.
   Chest computer tomography (CT) images
Advantages

 CLAHE was developed to prevent the over amplification of
  noise that adaptive histogram equalization can give rise
  to.[7]
 CLAHE, though able to increase contrast more than other
  techniques.
 It introduces large changes in the pixel gray levels.
 CLAHE may lead to introduction of the processing artifacts
  and affect of decision making process.[8]
Disadvantages

 It operates on small data regions (tiles), rather than the
    entire image.
   It is computationally expensive (in software).
   It is quite complex (in hardware).
   Implementing recursion in hardware can be complex,
    necessitating the implementation of control flow and of
    storage for intermediate results.
   Time-consuming, as recursions are performed sequentially.
References

[1] Introduction, “Wikipedia.com”.
[2] Specification, “ MATLAB”.
[3] Description, “MATLAB”.
[4] Remarks, “MATLAB”.
[5] Algorithm, “Rajesh Garg, Bhawna Mittal, Sheetal Garg,
  “Histogram Equalization Techniques For Image
  Enhancement”, IJECT Vol. 2, Issue 1, March 2011.
[6] Class Support, “MATLAB”.
[7] Advantage, CLAHE was developed to, “Wikipedia.com”.
[8] Advantage, CLAHE ,though able to, “slide share.com”.
THANX

More Related Content

What's hot

What's hot (20)

Fields of digital image processing slides
Fields of digital image processing slidesFields of digital image processing slides
Fields of digital image processing slides
 
Unit ii
Unit iiUnit ii
Unit ii
 
Texture in image processing
Texture in image processing Texture in image processing
Texture in image processing
 
Discrete cosine transform
Discrete cosine transform   Discrete cosine transform
Discrete cosine transform
 
Intensity Transformation and Spatial filtering
Intensity Transformation and Spatial filteringIntensity Transformation and Spatial filtering
Intensity Transformation and Spatial filtering
 
Brain Tumor Segmentation using Enhanced U-Net Model with Empirical Analysis
Brain Tumor Segmentation using Enhanced U-Net Model with Empirical AnalysisBrain Tumor Segmentation using Enhanced U-Net Model with Empirical Analysis
Brain Tumor Segmentation using Enhanced U-Net Model with Empirical Analysis
 
5. gray level transformation
5. gray level transformation5. gray level transformation
5. gray level transformation
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
Predictive coding
Predictive codingPredictive coding
Predictive coding
 
DCT image compression
DCT image compressionDCT image compression
DCT image compression
 
Lect 02 first portion
Lect 02   first portionLect 02   first portion
Lect 02 first portion
 
IMAGE SEGMENTATION.
IMAGE SEGMENTATION.IMAGE SEGMENTATION.
IMAGE SEGMENTATION.
 
Image Filtering in the Frequency Domain
Image Filtering in the Frequency DomainImage Filtering in the Frequency Domain
Image Filtering in the Frequency Domain
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniques
 
Image Restoration And Reconstruction
Image Restoration And ReconstructionImage Restoration And Reconstruction
Image Restoration And Reconstruction
 
Color image processing Presentation
Color image processing PresentationColor image processing Presentation
Color image processing Presentation
 
Jpeg standards
Jpeg   standardsJpeg   standards
Jpeg standards
 
Gabor Filter
Gabor FilterGabor Filter
Gabor Filter
 
Histogram Equalization
Histogram EqualizationHistogram Equalization
Histogram Equalization
 
Histogram Processing
Histogram ProcessingHistogram Processing
Histogram Processing
 

Similar to Contrast limited adaptive histogram equalization

Image processing
Image processingImage processing
Image processing
maheshpene
 
study Seam Carving For Content Aware Image Resizing
study Seam Carving For Content Aware Image Resizingstudy Seam Carving For Content Aware Image Resizing
study Seam Carving For Content Aware Image Resizing
Chiamin Hsu
 
Icamme managed brightness and contrast enhancement using adapted histogram eq...
Icamme managed brightness and contrast enhancement using adapted histogram eq...Icamme managed brightness and contrast enhancement using adapted histogram eq...
Icamme managed brightness and contrast enhancement using adapted histogram eq...
Jagan Rampalli
 

Similar to Contrast limited adaptive histogram equalization (20)

Modified clahe an adaptive algorithm for contrast enhancement of aerial medi...
Modified clahe an adaptive algorithm for contrast enhancement of aerial  medi...Modified clahe an adaptive algorithm for contrast enhancement of aerial  medi...
Modified clahe an adaptive algorithm for contrast enhancement of aerial medi...
 
Comparison of Histogram Equalization Techniques for Image Enhancement of Gray...
Comparison of Histogram Equalization Techniques for Image Enhancement of Gray...Comparison of Histogram Equalization Techniques for Image Enhancement of Gray...
Comparison of Histogram Equalization Techniques for Image Enhancement of Gray...
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
Image processing
Image processingImage processing
Image processing
 
Ijetr021211
Ijetr021211Ijetr021211
Ijetr021211
 
Ijetr021211
Ijetr021211Ijetr021211
Ijetr021211
 
project presentation-90-MCS-200003.pptx
project presentation-90-MCS-200003.pptxproject presentation-90-MCS-200003.pptx
project presentation-90-MCS-200003.pptx
 
Digital Image Processing (Lab 07)
Digital Image Processing (Lab 07)Digital Image Processing (Lab 07)
Digital Image Processing (Lab 07)
 
study Seam Carving For Content Aware Image Resizing
study Seam Carving For Content Aware Image Resizingstudy Seam Carving For Content Aware Image Resizing
study Seam Carving For Content Aware Image Resizing
 
The Effectiveness and Efficiency of Medical Images after Special Filtration f...
The Effectiveness and Efficiency of Medical Images after Special Filtration f...The Effectiveness and Efficiency of Medical Images after Special Filtration f...
The Effectiveness and Efficiency of Medical Images after Special Filtration f...
 
Icamme managed brightness and contrast enhancement using adapted histogram eq...
Icamme managed brightness and contrast enhancement using adapted histogram eq...Icamme managed brightness and contrast enhancement using adapted histogram eq...
Icamme managed brightness and contrast enhancement using adapted histogram eq...
 
02 image processing
02 image processing02 image processing
02 image processing
 
IMAGE ENHANCEMENT IN CASE OF UNEVEN ILLUMINATION USING VARIABLE THRESHOLDING ...
IMAGE ENHANCEMENT IN CASE OF UNEVEN ILLUMINATION USING VARIABLE THRESHOLDING ...IMAGE ENHANCEMENT IN CASE OF UNEVEN ILLUMINATION USING VARIABLE THRESHOLDING ...
IMAGE ENHANCEMENT IN CASE OF UNEVEN ILLUMINATION USING VARIABLE THRESHOLDING ...
 
G0443640
G0443640G0443640
G0443640
 
CONTRAST ENHANCEMENT AND BRIGHTNESS PRESERVATION USING MULTIDECOMPOSITION HIS...
CONTRAST ENHANCEMENT AND BRIGHTNESS PRESERVATION USING MULTIDECOMPOSITION HIS...CONTRAST ENHANCEMENT AND BRIGHTNESS PRESERVATION USING MULTIDECOMPOSITION HIS...
CONTRAST ENHANCEMENT AND BRIGHTNESS PRESERVATION USING MULTIDECOMPOSITION HIS...
 
JPEG
JPEGJPEG
JPEG
 
G0813841
G0813841G0813841
G0813841
 
IRJET- Histogram Specification: A Review
IRJET-  	  Histogram Specification: A ReviewIRJET-  	  Histogram Specification: A Review
IRJET- Histogram Specification: A Review
 
Histogram Based Contrast Enhn
Histogram Based Contrast EnhnHistogram Based Contrast Enhn
Histogram Based Contrast Enhn
 
Contrast enhancement using various statistical operations and neighborhood pr...
Contrast enhancement using various statistical operations and neighborhood pr...Contrast enhancement using various statistical operations and neighborhood pr...
Contrast enhancement using various statistical operations and neighborhood pr...
 

Recently uploaded

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Contrast limited adaptive histogram equalization

  • 1. Contrast Limited Adaptive Histogram Equalization. BY. NANCY(CS-1212) NISHU(CS-1219)
  • 2. Introduction  Contrast Limited AHE (CLAHE) differs from ordinary adaptive histogram equalization in its contrast limiting.  This feature can also be applied to global histogram equalization, giving rise to contrast limited histogram equalization (CLHE), which is rarely used in practice.  In the case of CLAHE, the contrast limiting procedure has to be applied for each neighborhood from which a transformation function is derived.  CLAHE was developed to prevent the over amplification of noise that adaptive histogram equalization can give rise to.[1]
  • 3. Specification  Syntax of CLAHE [2]  J = adapthisteq(I)  J = adapthisteq(I,param1,val1,param2,val2...) J = adapthisteq(I,'clipLimit',0.02,'Distribution','rayleigh')
  • 4. Description  J = adapthisteq(I) , enhances the contrast of the grayscale image I by transforming the values using contrast-limited adaptive histogram equalization (CLAHE).  CLAHE operates on small regions in the image, called tiles, rather than the entire image.  Each tile's contrast is enhanced, so that the histogram of the output region approximately matches the histogram specified by the 'Distribution' parameter.  The neighboring tiles are then combined using bilinear interpolation to eliminate artificially induced boundaries.
  • 5. Cont…  The contrast, especially in homogeneous areas, can be limited to avoid amplifying any noise that might be present in the image.[3]
  • 6. Remarks Real scalar in the range [0 1], that Clip limit specifies the contrast enhancement limit. Higher number result in more contrast. Default 0.01. String specify the desires histogram Distribution shape for the image tiles. • uniform-flat histogram •Rayleigh-bell shaped histogram •Exponential-curved histogram Default „uniform‟.[4]
  • 7. Algorithm  Obtain all the inputs: Image, Number of regions in row and column directions, Number of bins for the histograms used in building image transform function (dynamic range), Clip limit for contrast limiting (normalized from 0 to 1).  Pre-process the inputs: Determine real clip limit from the normalized value if necessary, pad the image before splitting it into regions.  Process each contextual region (tile) thus producing gray level mappings: Extract a single image region, make a histogram for this region using the specified number of bins, clip the histogram using clip limit, create a mapping (transformation function) for this region.  Interpolate gray level mappings in order to assemble final CLAHE image: Extract cluster of four neighboring mapping functions, process image region partly overlapping each of the mapping tiles, extract a single pixel, apply four mappings to that pixel, and interpolate between the results to obtain the output pixel; repeat over the entire image.[5]
  • 8. Flow chart of an Algorithm
  • 9. Classes supported by CLAHE  Class Support [6] :-  Grayscale image I can be of class uint8, uint16, int16, single, or double.  The output image J has the same class as I.
  • 10. Example of CLAHE  Coding :-  Apply Contrast-limited Adaptive Histogram Equalization (CLAHE) to an image and display the results.  I = imread(„a.jpg');  A = adapthisteq(I,'clipLimit',0.02,'Distribution','rayleigh');  figure, imshow(I);  figure, imshow(A);
  • 13. Application areas of CLAHE  Contrast Enhancement for Mammogram Images: to highlight the finer hidden details in mammogram images and to adjust the level of contrast enhancement.  Brightness preserving contrast enhancement of medical images.  Face identification using CLAHE.  Contrast limited adaptive histogram specification (CLAHS) to deal with the inherent non uniform lighting in underwater imagery.  Chest computer tomography (CT) images
  • 14. Advantages  CLAHE was developed to prevent the over amplification of noise that adaptive histogram equalization can give rise to.[7]  CLAHE, though able to increase contrast more than other techniques.  It introduces large changes in the pixel gray levels.  CLAHE may lead to introduction of the processing artifacts and affect of decision making process.[8]
  • 15. Disadvantages  It operates on small data regions (tiles), rather than the entire image.  It is computationally expensive (in software).  It is quite complex (in hardware).  Implementing recursion in hardware can be complex, necessitating the implementation of control flow and of storage for intermediate results.  Time-consuming, as recursions are performed sequentially.
  • 16. References [1] Introduction, “Wikipedia.com”. [2] Specification, “ MATLAB”. [3] Description, “MATLAB”. [4] Remarks, “MATLAB”. [5] Algorithm, “Rajesh Garg, Bhawna Mittal, Sheetal Garg, “Histogram Equalization Techniques For Image Enhancement”, IJECT Vol. 2, Issue 1, March 2011. [6] Class Support, “MATLAB”. [7] Advantage, CLAHE was developed to, “Wikipedia.com”. [8] Advantage, CLAHE ,though able to, “slide share.com”.
  • 17. THANX