Image processing of an echocardiogram image
3 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
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
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
More Answers (0)
See Also
Categories
Find more on National Instruments Frame Grabbers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!