Ask Your Question

Revision history [back]

"Doubts regarding data structures"


Dear Sir,

I have to split the color image of size 512X512 into 8X8 blocks in which each block contain r g b color channels . After splitting we get 4096 blocks and each block has r g b color channels of 8X8. I need to store those 8X8 matrices in the array. In the sense we get around 4096X3 matrices of the order 8X8. I did it in matlab. Please help me in getting this solution in c++ soon. I have attached a figure which I got result in matlab.

Regards Deepak