Image processing of an echocardiogram image

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

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

thank you for your answer im new to Matlab.
if i were to convert it to the grayscale, i would be able to extract those values that i want? if so how do you suggest?
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
ohhh okay i understand. thank you very much!

Sign in to comment.

More Answers (0)

Asked:

Zo
on 7 Feb 2019

Commented:

Zo
on 7 Feb 2019

Community Treasure Hunt

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

Start Hunting!