First time here? Check out the FAQ!
answered 2012-10-31 16:39:44 -0600
cv::Mat src = ... cv::Mat invSrc = cv::Scalar::all(255) - src;