필터 지우기
필터 지우기

How to crop images with a fixed aspect ratio

조회 수: 4 (최근 30일)
Shino Asada
Shino Asada 2021년 3월 28일
댓글: Shino Asada 2021년 3월 29일
After a period of time, I want to re-evaluate MATLAB for image processing. I saw augmentedImageDatastore used to process image data in batches. I regret to find that MATLAB still cannot perform equal-scale cropping of images and cannot implement it manually. I don't think this is a complicated features.Why has it not been implemented yet?

답변 (1개)

Walter Roberson
Walter Roberson 2021년 3월 28일
편집: Walter Roberson 2021년 3월 28일
  댓글 수: 1
Shino Asada
Shino Asada 2021년 3월 29일
I used transform to achieve proportional scaling, but I encountered a problem when using it with augmentedImageDatastore. Transform should be used before it (because it needs to specify outputSize), but it does not support TransformedDatasore as input. How to solve it?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by