how to detect border image?
5 views (last 30 days)
Show older comments
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?![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/230273/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/230273/image.png)
3 Comments
KALYAN ACHARJYA
on 20 Jul 2019
Edited: KALYAN ACHARJYA
on 29 Jul 2019
Yes, it is possible, sorry unable to try now.
Wait for experts answer/comments.
Accepted Answer
Shubh Sahu
on 2 Aug 2019
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 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!