How to work in a specific area in an image ?

5 visualizaciones (últimos 30 días)
Theodor Al Saify
Theodor Al Saify el 2 de Mayo de 2018
Comentada: Ameer Hamza el 3 de Mayo de 2018
After using the object detection technique (https://fr.mathworks.com/help/vision/examples/object-detection-in-a-cluttered-scene-using-point-feature-matching.html) and after i found the desired object in image and drew the rectangle. How can i start working inside the rectangle, for example to draw the contour of the object inside the green rectanle? I am new to the image processing tools and to matlab

Respuesta aceptada

Ameer Hamza
Ameer Hamza el 2 de Mayo de 2018
Editada: Ameer Hamza el 2 de Mayo de 2018
smallImage = imcrop(originalImage, rectangle);
  23 comentarios
Theodor Al Saify
Theodor Al Saify el 3 de Mayo de 2018
Thank you it works .
Ameer Hamza
Ameer Hamza el 3 de Mayo de 2018
You are welcome.

Iniciar sesión para comentar.

Más respuestas (2)

Theodor Al Saify
Theodor Al Saify el 2 de Mayo de 2018
i am working on this image, i detected the desired object and drew a line around it. Now i want to crop the detected object to start working in it's area.

Theodor Al Saify
Theodor Al Saify el 2 de Mayo de 2018
Editada: Theodor Al Saify el 2 de Mayo de 2018
when using ur code i get this result. the starting point of the rectangle is not correct
  2 comentarios
Ameer Hamza
Ameer Hamza el 2 de Mayo de 2018
@Theodor Al Saify, please use the comment section for discussion.
Theodor Al Saify
Theodor Al Saify el 2 de Mayo de 2018
Ok no problem

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by