i've divided the image into 16x16 blocks i.e total of 256 blocks.
now i want to calculate the correlation between the blocks...
can anybody help me...
No products are associated with this question.
Using File Exchange: MAT2TILES
data=cellfun(@(x)x(:)-mean(x(:)), Blocks, 'uni',0 );
Correlations = data.'*data;
Here, Correlations(i,j) is the correlation (my definition) of the i-th and j-th block. I'm not sure if this suits your definition (see my comments above).