필터 지우기
필터 지우기

Crop a rectangle from image given center coordinates

조회 수: 2 (최근 30일)
berkaoui sara
berkaoui sara 2013년 12월 31일
답변: Image Analyst 2013년 12월 31일
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.

답변 (1개)

Image Analyst
Image Analyst 2013년 12월 31일
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.

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by