Filter löschen
Filter löschen

Color differentation in the image

2 Ansichten (letzte 30 Tage)
hamed abdulaziz
hamed abdulaziz am 15 Feb. 2014
Verschoben: DGM am 30 Dez. 2023
Hi All,
Is there any code to find differentation in the image?

Akzeptierte Antwort

Image Analyst
Image Analyst am 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 Kommentare
Image Analyst
Image Analyst am 17 Feb. 2014
Verschoben: DGM am 30 Dez. 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 am 17 Feb. 2014
Verschoben: DGM am 30 Dez. 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(:));

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Agriculture finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by