ROI found automatically Image processing
显示 更早的评论
Hello,
I would like to crop ROI from number of images automatically. I can't use the coordinates as are varied between images. I'm working on the ultrasonographic images, which have different tones of white, grey and black color and the background is not homogenous. I want the code to be able to find roughly circular structures of defined value of the grey tone and area. The difficulty lies in the fact that background, which is not roughly circular might have similar values of pixels and can touch my structure, what causes that the recognised image is not circular. I think that something as averaging the value of neighbourhood pixels could be good.
I wonder how to do it in Matlab? I've attached 2 examples of the images.
Thank you in advance for help.
回答(1 个)
KALYAN ACHARJYA
2020-5-8
编辑:KALYAN ACHARJYA
2020-5-8
0 个投票
Sir the job is image segmenattion. As I see the attached first image to get the white portion, I feel thresholding may be sufficient. For more accurate results, you may apply some sort of preprocessing (histogram equlaizations) before thresholding, if not have you tried with other popular segmentation approaches (othshu etc). In case of unsupervised segmentation approach, you have provides certain conditions, which mostly satisfy by ROI only. Its quite hard to get 100% percent, mostly in medical images, which compropises lots of other disturbance in the image, there for you have to tradeoff between complexity of the code and accuracy (Higher Weightage).
类别
在 帮助中心 和 File Exchange 中查找有关 Image Arithmetic 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!