First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Here, mat will be your originalMat. Rect roi = new Rect(40, 100, 100, 120); Mat cropped = new Mat(mat, roi);

click to hide/show revision 2
No.2 Revision

Here, mat will be your originalMat. originalMat.

Rect roi = new Rect(40, 100, 100, 120); Mat cropped = new Mat(mat, roi);

click to hide/show revision 3
No.3 Revision

Here, mat will be your originalMat.

Rect roi = new Rect(40, 100, 100, 120); Mat cropped = new Mat(mat, roi);

click to hide/show revision 4
No.4 Revision

Here, mat will be your originalMat.

Rect roi = new Rect(40, 100, 100, 120);
 Mat cropped = new Mat(mat, roi); 

roi);
click to hide/show revision 5
No.5 Revision

Here, mat will be your originalMat.

Rect roi = new Rect(40, 100, 100, 120);
Mat cropped = new Mat(mat, roi);