i want to divide a grayscale image into 2*3 block and in each individual block i have to perform xor of 3 pixel each and concatenate the two xored value.Can anyone help me please????????????/

Answers (1)

As an alternative to blockproc, you can also use MAT2TILES to decompose your image into 2x3 tiles,
ImCells=mat2tiles(YourImage,[2,3]);
Then simply loop over the cells and do whatever processing you need (or use CELLFUN).

Asked:

on 15 Jan 2014

Edited:

on 15 Jan 2014

Community Treasure Hunt

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

Start Hunting!