Hello,

I have a 512x512 matrix and I need to split it int 16x16 blocks..

How many blocks will I therefore produce?

I've tried 8 blocks of 16x16 but this does not look right when outputting the complete matrix..

Any ideas?

Thanks :)

512/16 x 512/16 -> 32 x 32 -> 1024

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.