Borrar filtros
Borrar filtros

How to draw the bounding box around the apple

1 visualización (últimos 30 días)
saadi
saadi el 6 de Dic. de 2015
Respondida: Image Analyst el 6 de Dic. de 2015
I am new in Matlab, my task is to draw the bounding box around the apple, plz help me in this task.

Respuesta aceptada

Image Analyst
Image Analyst el 6 de Dic. de 2015
Very easy. Just use color segmentation. I have several demos in my File Exchange:
If the apple has irregularities on the edges after segmentation, you can use activecontour() as shown in my attached demo to smooth the outline. Or else you can blur the color channel image before you threshold it.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by