you need to do something like this.
for(int row=0;row<128;row+=3)
{
for(int col=0;col<128;col+=3)
{
ComputeSubMatrix(row,col);
}
}
let me know if you have any doubts.
-------------------------------------------- Suggestion to the members: Please prefix your main thread subject with [SOLVED] if it is solved. thanks. chandu.