Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to divide an RGB image into non-overlapping blocks size X*X

I want to divide a RGB image into a series of non-overlapping blocks size X*X. Then I want to save these blocks in separate matrices and calculate the average of the blocks in RGB values. How can I do this in the fastest way ?
I look forward to your comments and suggestions. Thanks.

How to divide an RGB image into non-overlapping blocks size X*X

I want to divide a RGB image into a series of non-overlapping blocks size X*X. Then I want to save these blocks in separate matrices and calculate the average of the blocks in RGB values. (I am using C ++) How can I do this in the fastest way ?
I look forward to your comments and suggestions. Thanks.

How to divide an RGB image into non-overlapping blocks size X*X

I want to divide a RGB image into a series of non-overlapping blocks size X*X. Then I want to save these blocks in separate matrices and calculate the average of the blocks in RGB values. (I am using C ++) ++)

How can I do this in the fastest way ?
I look forward to your comments and suggestions. Thanks.