Auto Contrast
This function block applies automatic contrast adjustments to images using a histogram clipping algorithm. The goal is to enhance the visibility of features within the image.
📥 Inputs
Image Any
The input image that you want to enhance through contrast adjustment.
📤 Outputs
Image Any
The output image with adjusted contrast.
🕹️ Controls
Threshold
A slider control that allows you to set the percentage of histogram clipping to apply. This value determines how much of the histogram's tails are clipped to increase contrast.
🎨 Features
Automatic Adjustment
This block automatically adjusts image contrast based on the histogram data, enhancing image features without manual intervention.
Histogram Clipping
The algorithm calculates the minimum and maximum grayscale values to clip, allowing greater detail in the remaining image data.
📝 Usage Instructions
Connect Input: Link a source image to the
Image Any
input.Set Threshold: Use the
Threshold
slider to adjust the histogram clipping percentage. A typical range is between 1 and 99.Evaluate: Run the block to apply the contrast adjustment and get the enhanced output image.
📊 Evaluation
Upon evaluation, this function block processes the input image and enhances its contrast based on the set threshold, outputting the adjusted image.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated