Create a copy of ofxCVGrayscaleImage when ROI is set

As soon as i have a Region of interest set for an opencv image i get a “signal SIGABRT” when i try to create a copy.

grayDiff.setROI(20, 20, 100, 100);
ofxCvGrayscaleImage *test = new ofxCvGrayscaleImage(grayDiff);
delete test;

Is there any way to do this?

this sounds like a bug in ofxOpenCv, can you post an issue in github?

yes, just did that for you.