How to crop images with a fixed aspect ratio
조회 수: 4 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (1개)
Walter Roberson
2021년 3월 28일
편집: Walter Roberson
2021년 3월 28일
Use a transform data store.
Notice that transform() is specifically supported for that class; https://www.mathworks.com/help/deeplearning/ref/augmentedimagedatastore.html?searchHighlight=augmented%20data%20store&s_tid=srchtitle#d123e10506
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Data Workflows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!