Color differentation in the image

조회 수: 2 (최근 30일)
hamed abdulaziz
hamed abdulaziz 2014년 2월 15일
이동: DGM 2023년 12월 30일
Hi All,
Is there any code to find differentation in the image?

채택된 답변

Image Analyst
Image Analyst 2014년 2월 15일
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
Image Analyst
Image Analyst 2014년 2월 17일
이동: DGM 2023년 12월 30일
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 2014년 2월 17일
이동: DGM 2023년 12월 30일
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(:));

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by