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 comentarios

KALYAN ACHARJYA
KALYAN ACHARJYA el 19 de Jul. de 2019
Editada: KALYAN ACHARJYA el 19 de Jul. de 2019
The result should be edge between background and AOI (just yellow line as shown in the RHS image), right?
Just edge only, remove the rice at border region also, please do calrify?
Safwana Razak
Safwana Razak el 20 de Jul. de 2019
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 el 20 de Jul. de 2019
Editada: KALYAN ACHARJYA el 29 de Jul. de 2019
Yes, it is possible, sorry unable to try now.
Wait for experts answer/comments.

Iniciar sesión para comentar.

 Respuesta aceptada

Shubh Sahu
Shubh Sahu el 2 de Ag. de 2019

0 votos

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.

Más respuestas (0)

Productos

Versión

R2019a

Preguntada:

el 18 de Jul. de 2019

Respondida:

el 2 de Ag. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by