Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I think this code can help you!

Mat x,y,z;
x=Mat(image.at<cv::Vec3b>(i,j));
x.convertTo(y,c.type()); //c is your 3x3 matrix
z=c*y;