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일

답변:

2022년 11월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by