how to measure the contrast ratio of input and enhanced image?

1 view (last 30 days)
i,m trying to calculate the contrast ratio as a parameter for quality check for an image,can some tell me how to calculate the contrast ratio?

Answers (2)

Image Analyst
Image Analyst on 11 Dec 2016
How are you measuring it? Why not search the File Exchange for contrast: https://www.mathworks.com/matlabcentral/fileexchange/?utf8=%E2%9C%93&term=contrast
or check some of the links on the right side of this page?

r r
r r on 4 Jul 2020
Edited: Walter Roberson on 4 Jul 2020
I have a image that contains a tumor and I want to calculate the contrast ratio for this tumor. Is this method correct? Thank you
I found this example but I don't need you.
I want to calculate the contrast ratio for the tumor region and the background

Community Treasure Hunt

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

Start Hunting!