Image processing of an echocardiogram image

3 views (last 30 days)
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

Accepted Answer

Bjorn Gustavsson
Bjorn Gustavsson on 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 Comments
Bjorn Gustavsson
Bjorn Gustavsson on 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 on 7 Feb 2019
ohhh okay i understand. thank you very much!

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!