How to work in a specific area in an image ?

5 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Ameer Hamza
Ameer Hamza il 2 Mag 2018
Modificato: Ameer Hamza il 2 Mag 2018
smallImage = imcrop(originalImage, rectangle);
  23 Commenti

Accedi per commentare.

Più risposte (2)

Theodor Al Saify
Theodor Al Saify il 2 Mag 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 il 2 Mag 2018
Modificato: Theodor Al Saify il 2 Mag 2018
when using ur code i get this result. the starting point of the rectangle is not correct
  2 Commenti
Ameer Hamza
Ameer Hamza il 2 Mag 2018
@Theodor Al Saify, please use the comment section for discussion.

Accedi per commentare.

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by