Auto Adjust Contrast
Description
Boosts contrast based on the image’s histogram to improve normalization and line detection in varying lighting conditions. Type : polymorphic.
Documentation illustration (illustration unavailable in the archive).
Input parameters
Documentation illustration (illustration unavailable in the archive). Image Src : class, type accepted U8, RGB and HSL.
Documentation illustration (illustration unavailable in the archive). 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
Documentation illustration (illustration unavailable in the archive). Image Dst : class
Examples
All these examples 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 Computer Vision library to run it).
