Color differentation in the image

1 view (last 30 days)
hamed abdulaziz
hamed abdulaziz on 15 Feb 2014
Moved: DGM on 30 Dec 2023
Hi All,
Is there any code to find differentation in the image?

Accepted Answer

Image Analyst
Image Analyst on 15 Feb 2014
What do you mean by differentiation? I have several color segmentation demos in my File Exchange if that's what you mean: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
  26 Comments
Image Analyst
Image Analyst on 17 Feb 2014
Moved: DGM on 30 Dec 2023
Looks about right for as far as you got. You just need to complete it to find the variation using code I gave you in my answer:
pixelsInsideMask = deltaE(mask); % 1D vector of pixels only within mask.
counts = hist(pixelsInsideMask, numberOfBins);
meanDeltaE = mean(pixelsInsideMask(:));
SDDeltaE = std(pixelsInsideMask(:));
hamed abdulaziz
hamed abdulaziz on 17 Feb 2014
Moved: DGM on 30 Dec 2023
Please did you check (MY_DELTA_E) CODE wher do I add your code?could you complet it and check it on the above images,thanks
pixelsInsideMask = deltaE(mask); % 1D vector of pixels only within mask.
counts = hist(pixelsInsideMask, numberOfBins);
meanDeltaE = mean(pixelsInsideMask(:));
SDDeltaE = std(pixelsInsideMask(:));

Sign in to comment.

More Answers (0)

Categories

Find more on Agriculture in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!