Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

doubt about ROIs in android

HI,

I have a doubt about how ROIs work on java. My way to create a ROI of an image is this:

Rect r1 = new Rect(x,y,sizex,sizey);
Mat roi1 = new Mat(A,r1);

where A is the source image. If i modify roi1 i also modify A? I want to do this to modify a concrete area of A but i do not get. What i'm doing wrong?