Contrast-Brightness-Gamma

This function block is designed to adjust the contrast, brightness, and gamma of an image, allowing for enhanced image quality and visual appeal.

📥 Inputs

Image Any This input accepts any image data that you want to adjust for contrast, brightness, and gamma.

📤 Outputs

Image Any The output provides the modified image after contrast, brightness, and gamma adjustments have been applied.

🕹️ Controls

Contrast Value A slider that allows you to adjust the image contrast. The range is from -10 to +10, with 0 being neutral.

Brightness Value A slider for adjusting the brightness of the image, also ranging from -10 to +10.

Gamma Value A slider to adjust the gamma correction, similarly ranging from -10 to +10.

🎨 Features

Comprehensive Adjustments Fine-tune multiple aspects of an image's properties through a simple and intuitive interface.

Real-Time Feedback Changes made to the sliders instantaneously reflect in the output image.

📝 Usage Instructions

  1. Input Image: Connect an image to the Image Any input.

  2. Adjust Parameters: Use the sliders to adjust the Contrast Value, Brightness Value, and Gamma Value to achieve the desired visual effect.

  3. Evaluate: Run the function block to see the effects of your changes reflected in the output image.

📊 Evaluation

When executed, this function block produces a modified version of the input image, showcasing the adjusted contrast, brightness, and gamma levels based on the values set by the sliders.

💡 Tips and Tricks

Understanding Slider Values

Remember that the slider values range from -10 to +10 and are scaled accordingly. Adjusting sliders towards positive values increases brightness or contrast, while negative values decrease them.

Real-Time Adjustments

Observe the output image while moving the sliders, as this will help you find the optimal settings for your specific image.

Enhancing Specific Image Issues

Use higher contrast values to make details more pronounced, while brightness adjustments can help in correcting underexposed images.

🛠️ Troubleshooting

No Visible Change

If you do not see a significant change after adjusting the sliders, confirm that you are observing a suitable range of contrast and brightness for the specific image. Extreme adjustments may be necessary for more subtle images.

Incorrect Image Display

If the output seems unexpectedly altered or distorted, ensure that the input image is suitable for processing and that valid input is being fed into the function block.

Last updated