1

I want to divide an image into overlapping blocks. For example, 256x256 image is divided into (256-16+1)x(256-16+1)=58081 overlapping blocks of size 16x16. Please let me know how to implement this example using MATLAB?

Noughtmare
  • 9,410
  • 1
  • 12
  • 38
  • 1
    Look into [`im2col`](http://in.mathworks.com/help/images/ref/im2col.html) with the `'sliding'` option. – Divakar Apr 19 '15 at 16:45
  • Check also [`blockproc`](http://es.mathworks.com/help/images/ref/blockproc.html). With adequate input options you can have sliding blocks – Luis Mendo Apr 19 '15 at 16:57
  • Yes, this answer seems very helpful to me. Please help me out in defining the function handle used in blockproc function to do the implementation of example I asked in the question. – Indu Aggarwal Apr 20 '15 at 06:36

0 Answers0