How to work in a specific area in an image ?

5 ビュー (過去 30 日間)
Theodor Al Saify
Theodor Al Saify 2018 年 5 月 2 日
コメント済み: Ameer Hamza 2018 年 5 月 3 日
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

採用された回答

Ameer Hamza
Ameer Hamza 2018 年 5 月 2 日
編集済み: Ameer Hamza 2018 年 5 月 2 日
smallImage = imcrop(originalImage, rectangle);
  23 件のコメント
Theodor Al Saify
Theodor Al Saify 2018 年 5 月 3 日
Thank you it works .
Ameer Hamza
Ameer Hamza 2018 年 5 月 3 日
You are welcome.

サインインしてコメントする。

その他の回答 (2 件)

Theodor Al Saify
Theodor Al Saify 2018 年 5 月 2 日
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 2018 年 5 月 2 日
編集済み: Theodor Al Saify 2018 年 5 月 2 日
when using ur code i get this result. the starting point of the rectangle is not correct
  2 件のコメント
Ameer Hamza
Ameer Hamza 2018 年 5 月 2 日
@Theodor Al Saify, please use the comment section for discussion.
Theodor Al Saify
Theodor Al Saify 2018 年 5 月 2 日
Ok no problem

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by