Edge detection and cropping out region of higer intensity of Grayscale images
Show older comments
Hi all,
Please find attached image that I am working on. The region of interest that I intend to crop out (and to keep values of x & y )is shown to be the parabolic fluid profile of higher intensity than its background.
I have tried Edge of 'zero crossing' and 'canny', which are able to standout the ROI by slightly. I am however more interested in a total cropping of the ROI leaving all background as 0 in binary. I suppose my images are not like most of the examples used for edge where there is a clear distinction/ continuous distinction between edges, rather mine are dotted. I came across someone else did a median filter then a std deviation filter then only "canny" edge.
I have been able to use improfile to have a look at those intensities values, and the first and the last peak across the X -direction marks the boundary of the ROI.
I could it dot or outline the interface manually using data cursor, but it is definitely not ideal. I could it for just 1 frame manually, however not with a moving interface with each frame.
Please advice what others method should I try or use? Much appreciated for any inputs or assistance.
Colin
2 Comments
Colin Ng
on 26 Jun 2015
Image Analyst
on 26 Jun 2015
bwareafilt() is a fairly new addition to the Image Processing Toolbox - you must have an old version. I am almost an expert in image processing (at least I'm still trying after 36 years of doing nothing else but image processing), but I can't do much with your stuff because your BMP image is corrupted (it says so when I click on it) and you forgot to attach your script.
Accepted Answer
More Answers (0)
Categories
Find more on Object Analysis 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!