Hi, BLKPROC.m (part of the image processing toolbox) is the answer. Joe BSTEX - Equation viewer for Matlab http://www.geocities.com/bstex2001 --- slumberjer <> wrote: > Hello > I have a problem here. > If i have a 256-256 image and i want to divide this > image into small > part say 32x32 block. But! each of this subimage > must overlap 50% by > it's nearest neighbors. so a 256x256 can has 15x15 > %5 subimage. > Then each sub image multipy with 2D hamming window. > > Thanks. > __________________________________________________ |