Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi, the same like odd length kernel, for example:

Mat ker=(Mat_<float>(2,2)<<
0.0,-1.0,
1.0,0.0);

filter2D(src,dst,prewit,CV_32FC,ker)//other paramemter set default

....................