How to work in a specific area in an image ?

5 Ansichten (letzte 30 Tage)
Theodor Al Saify
Theodor Al Saify am 2 Mai 2018
Kommentiert: Ameer Hamza am 3 Mai 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

Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 2 Mai 2018
Bearbeitet: Ameer Hamza am 2 Mai 2018
smallImage = imcrop(originalImage, rectangle);
  23 Kommentare
Theodor Al Saify
Theodor Al Saify am 3 Mai 2018
Thank you it works .
Ameer Hamza
Ameer Hamza am 3 Mai 2018
You are welcome.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

Theodor Al Saify
Theodor Al Saify am 2 Mai 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 am 2 Mai 2018
Bearbeitet: Theodor Al Saify am 2 Mai 2018
when using ur code i get this result. the starting point of the rectangle is not correct
  2 Kommentare
Ameer Hamza
Ameer Hamza am 2 Mai 2018
@Theodor Al Saify, please use the comment section for discussion.
Theodor Al Saify
Theodor Al Saify am 2 Mai 2018
Ok no problem

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by