i have a image of size 256 x 256. how to patch the image into 16 x16 sizes of patches,at the result i want to get 256 number of patches.

i have a image of size 256 x 256. how to patch the image into 16 x 16 sizes of patches,at the result i want to get 256 number of patches.please give any idea or coding. i wrote the coding but not get expected result.In MATLAB

 Réponse acceptée

blockproc should be helpful hopefully

2 commentaires

I use mat2cell which was compatable for my work.
There is code for that in the FAQ link I gave. Hopefully that made it easy for you.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by