フィルターのクリア

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 Center および File ExchangeImage Data Workflows についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by