Image processing of an echocardiogram image

4 visualizzazioni (ultimi 30 giorni)
Good evening,
in the echocardiogram image below, i wish to extract data from it.
How to extract the area of the coloured section (jet area) and the smallest diameter of the jet area?
thank you

Risposta accettata

Bjorn Gustavsson
Bjorn Gustavsson il 7 Feb 2019
Well, for this homework task you'll get a hint:
In the gray-scale area the R, G and B-layers of your image all have the same values.
HTH
  3 Commenti
Bjorn Gustavsson
Bjorn Gustavsson il 7 Feb 2019
No, my idea was for you to look for pixels where the intensities in the R G and B layers were not identical. Something like:
R = rgb_img(:,:,1);
G = rgb_img(:,:,2);
B = rgb_img(:,:,3);
gray_img = (R==B)&(G==R);
jet_img = 1-gray_img;
ought to give you a binary image jet_img with 1 in the jet-coloured region and 0 in the gray-scale region.
HTH
Zo
Zo il 7 Feb 2019
ohhh okay i understand. thank you very much!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by