im trying to set an ROI on the left border in an existing image with the following code:
Code: Select all
Emgu::CV::Image<Bgr^, Byte>^ img_work;
// .. create image ...
img_work->ROI = gcnew Emgu::CV::Rectangle<double>^(0,100,0,img_work->Height);
img_work = img_work->SmoothBlur(10,10);
when i try to execute this code, an unhandled exception occours with this message:
OpenCV: Bad input roi
does anybody know why this is not working?