From: Walter Roberson on 2 Jun 2010 10:22 Ayan wrote: > I am looking for some help in dividing an image to 8x8 block and access > each block separately. My image I is of size 640x480. I need to divide > the image into subblocks of size 8x8 and have to find histogram of each > block separately. blkproc is not helping as I cannot access each block > separately. You posted the same question before, but then and now I do not know what you mean by "access each block separately" ? blkproc() would pass the provided function the complete matrix that is the current block. Doing a histogram of a single block would seem to only require the values in the block. Is there something you have not mentioned that would require the block coordinates?
|
Pages: 1 Prev: How to combine cellfun and strfind? Next: Plotting rows and columns of a matrix |