Contrast Optimization
This function block utilizes the CLAHE (Contrast Limited Adaptive Histogram Equalization) algorithm to enhance image contrast. It is particularly effective for improving the visibility of bright regions in images with varied lighting conditions.
📥 Inputs
Image Any
A single image to be processed and enhanced using the CLAHE technique.
📤 Outputs
Image Any
The output is the enhanced version of the input image after applying the CLAHE algorithm.
🕹️ Controls
Grid Size
A slider to adjust the size of the grid used by the CLAHE algorithm. Increasing the size can enhance contrast in larger areas of the image.
Clip Limit
A slider to set the clip limit for the CLAHE algorithm. This value controls the contrast amplification; higher values allow greater amplification of contrast.
🎨 Features
Real-time Adjustment
The grid size and clip limit can be adjusted dynamically, allowing users to fine-tune the enhancement effect on the fly.
Adaptive Contrast Enhancement
The CLAHE algorithm improves contrast more effectively in images with close brightness regions, enhancing visibility without over-saturating the image.
📝 Usage Instructions
Input Image: Connect any image to the input socket.
Adjust Parameters: Use the
Grid Size
andClip Limit
sliders to set your desired enhancement parameters.Evaluate: Run the block to apply the CLAHE algorithm and view the resulting enhanced image.
📊 Evaluation
On execution, this function block applies the CLAHE algorithm to the input image, returning the enhanced image with improved contrast.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated
Was this helpful?