Filter löschen
Filter löschen

Crop a rectangle from image given center coordinates

2 Ansichten (letzte 30 Tage)
berkaoui sara
berkaoui sara am 31 Dez. 2013
Beantwortet: Image Analyst am 31 Dez. 2013
Good evening everyone, I have a folder containing images, and I must crop from each image a rectangle of 128 * 128 pixels knowing the coordinates of the rectangle center of each image. is there any suggestions please.

Antworten (1)

Image Analyst
Image Analyst am 31 Dez. 2013
How about imcrop()? That, plus the FAQ and you'll be on your way very shortly. It's really pretty easy so you can do the coding yourself, I'm sure. Actually the FAQ has code already and imcrop has examples in the help so it's trivial to adapt those. Give it a try.

Kategorien

Mehr zu Image Processing Toolbox 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