フィルターのクリア

How to specify the cropping area of an image with matlab?

1 回表示 (過去 30 日間)
Sterne_17
Sterne_17 2022 年 12 月 29 日
回答済み: Image Analyst 2022 年 12 月 29 日
I have got the grayscale map after edge detection using the canny algorithm, and I need to crop a part of the image. But I don't know the coordinates of the top left and bottom right corners of the cropping area (rectangle). How do I determine the coordinate values of these two points?

採用された回答

Image Analyst
Image Analyst 2022 年 12 月 29 日
See the attached drawrectangle demo.
Demos for other shapes are also attached.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by