Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Sterne_17
Sterne_17 le 29 Déc 2022
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?

Réponse acceptée

Image Analyst
Image Analyst le 29 Déc 2022
See the attached drawrectangle demo.
Demos for other shapes are also attached.

Plus de réponses (0)

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by