how do i do comparing 3 images about contrast in matlab
Show older comments
please guide me that how to write matlab code for this image
Answers (1)
Image Analyst
on 5 Feb 2015
Try looking at the standard deviation of the images. The lower the contrast, the lower the standard deviation
stdDev = std(double(grayImage));
2 Comments
pegah esmaeilpour
on 5 Feb 2015
Image Analyst
on 5 Feb 2015
grayImage1 = imread(yourFileName1);
stdDev1 = std(double(grayImage1));
grayImage2 = imread(yourFileName2);
stdDev2 = std(double(grayImage2));
grayImage3 = imread(yourFileName3);
stdDev3 = std(double(grayImage3));
Categories
Find more on Image Filtering and Enhancement in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!