Image processing of an echocardiogram image

4 vues (au cours des 30 derniers jours)
Zo
Zo le 7 Fév 2019
Commenté : Zo le 7 Fév 2019
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

Réponse acceptée

Bjorn Gustavsson
Bjorn Gustavsson le 7 Fév 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 commentaires
Bjorn Gustavsson
Bjorn Gustavsson le 7 Fév 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 le 7 Fév 2019
ohhh okay i understand. thank you very much!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by