Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

use cv::cvtColor for cv::Mats, cvCvtColor for CvMat* .

the old(1.0) api was using IplImage*, CvMat* and functions starting with cv,

the new(2.+) api is using cv::Mat, and functions from the cv:: namespace.

(better stick to the new api, i'd say!)

also, try to avoid pointers to cv::Mat, you'll wreck havoc on the internal refcounts there !