Ask Your Question

Revision history [back]

How to operate on each pixel of a with a 3 x 3 matrix?

I want to operate on each bgr pixel of a CvMat with a (3 x 3) Miyazaki matrix (

I have tried various operations but I keep getting various errors.

Any help on what operation/syntax is needed would be greatly appreciated!