how do i do comparing 3 images about contrast in matlab

Answers (1)

Try looking at the standard deviation of the images. The lower the contrast, the lower the standard deviation
stdDev = std(double(grayImage));

2 Comments

thanks for your answers but please get more matlab code for this image
grayImage1 = imread(yourFileName1);
stdDev1 = std(double(grayImage1));
grayImage2 = imread(yourFileName2);
stdDev2 = std(double(grayImage2));
grayImage3 = imread(yourFileName3);
stdDev3 = std(double(grayImage3));

Sign in to comment.

Tags

Asked:

on 5 Feb 2015

Commented:

on 5 Feb 2015

Community Treasure Hunt

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

Start Hunting!