drawing a single pixel using a cv::Mat image (cvSet2D?)
Hi
I like to draw a single pixel using a cv::Scalar and cv::Mat. In the old days I used a IplImage and the cvSet2D function but now?
Currently I am using
img.at<cv::Vec3b>(10,10) = cv::Vec3b(125,0,255);
but I like to independent to the image format and to use a cv::Scalar as colour
Greetings Markus
PS.: I don't want to use cv::circle or line, ...