Process large image by patch

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 Exchange 中查找有关 Image Processing Toolbox 的更多信息

提问:

2022-11-10

Community Treasure Hunt

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

Start Hunting!

Translated by