Hi,
I have to multiply each and every pixel held in a mat object by a 3x3 Matrix (each pixel as in R, G, B (3x1 matrix) values for every pixels are to be processed) and I don't want to use for-loops because that makes the cod inefficient. One way I found out is to change nxnx3 Mat object to 3xn.n, can anybody tell me how to do that?
Thanks!