I want to create boundaries from images that are not clearly colored.

1 次查看(过去 30 天)
I have RGB.jpg and Gray.jpg images, Which have little clear boundaries. But I can be seen visually to see the difference of colors that want to create a boundary according to the sample image. How do i write a program using matlab (R2015a) ?

回答(1 个)

Image Analyst
Image Analyst 2020-10-31
See my attached demo on finding the average radial profile. Perhaps you can inspect that profile to find the edge. Or else use stdfilt() and find regions of high standard deviation. Then you'll have to do some morphological operations to get rid of isolated noise, find the convex hull or alpha shape, etc. See attached demo on activecontour().

类别

Help CenterFile Exchange 中查找有关 Modify Image Colors 的更多信息

产品


版本

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by