Hi,
I have a 600x1000 image and I would like to process the image by 51x51 image patches. I have tried to reshape it but it's not possible.
Thank you.

回答 (1 件)

Walter Roberson
Walter Roberson 2022 年 11 月 10 日

0 投票

See blockproc .
If you want to do sliding block processing, use the BorderSize option.
If the size of the data being returned by your processing is smaller than the 51 x 51 patch, then pay attention to the TrimBorder option.

カテゴリ

ヘルプ センター および File ExchangeImage Processing Toolbox についてさらに検索

質問済み:

2022 年 11 月 10 日

回答済み:

2022 年 11 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by