how to detect border image?

6 次查看(过去 30 天)
hi. can anyone know how to detect the border image in the attachment?
how to separate the red and white from the image 1 to image 2?if i run BW funtion, all the riceborder included.
i just want the border(outlier image). any idea?
  3 个评论
Safwana Razak
Safwana Razak 2019-7-20
Hi Kalyan,
thanks for yuor reply. i want to detect the red rice (at the right image). do you have any idea or suitable function to do the detection?
KALYAN ACHARJYA
KALYAN ACHARJYA 2019-7-20
编辑:KALYAN ACHARJYA 2019-7-29
Yes, it is possible, sorry unable to try now.
Wait for experts answer/comments.

请先登录,再进行评论。

采纳的回答

Shubh Sahu
Shubh Sahu 2019-8-2
You may try these steps to achieve your goal in getting the connected components
Step 1. Convert image into binary image using Edge Detection technique
Step 2. Compute chain code of the binary image and find all connected components.
Step 3. Remove all the connected components which will lead you to get the image which are not connected in AOI.
Hope this may help you.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Processing and Computer Vision 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by