Drag histogram to adjust contrast

1 view (last 30 days)
Muhammad Abir
Muhammad Abir on 25 Nov 2020
Answered: DGM on 3 Jun 2024
Hello,
I would like to create an contrast adjustment tool similar to incontrast() function that can adjust contrast by dragging the histogram bars. I cannot use imcotrast because I want to use the histogram in a gui. Can anyone please give me some hint how can I start making this tool?
Thanks in advance

Answers (1)

DGM
DGM on 3 Jun 2024
You're asking for a graphical image adjustment tool while simultaneously asserting that you can't use the extant ones because you want to make your own tool.
There are other interactive tools for doing image adjustment. MIMT has immodify(), and IPT has imcontrast(), but that's really irrelevant. If your goal is to reinvent the wheel, then reinvent the wheel.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!