Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
cv::Mat src = ...
cv::Mat invSrc =  cv::Scalar::all(255) - src;