Welcome to our Support Center

Auto Adjust Contrast

Description

Boosts contrast based on the image’s histogram to improve normalization and line detection in varying lighting conditions. Type : polymorphic.

 

Input parameters

 

Image Src : class, type accepted U8, RGB and HSL.
Mode : integer,
specifies the auto-tuning method :

    • Contrast Stretching : Adjusts extreme pixel values to utilize the full grayscale range, enhancing overall contrast.
    • Histogram Equalization : Evenly distributes pixel intensities across the entire histogram, improving contrast, especially in concentrated areas.
    • Adaptive Equalization : Applies histogram equalization in blocks to handle local contrast variations, reducing noise amplification.

 

Output parameters

 

Image Dst : class

Example

All these exemples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install TIGR library to run it).

Table of Contents