1 | initial version |
Hi , You can try below code for cropping the image
Mat image = imread("somePath.bmp"); image(Rect(Point(0, 10), Point(0, 10))).copyTo(cropped_image); imshow("cropped_image", cropped_image);
2 | No.2 Revision |
Hi ,
You can try below code for cropping the imageMat image = imread("somePath.bmp");
imread("somePath.bmp");
image(Rect(Point(0, 10), Point(0, 10))).copyTo(cropped_image);
10))).copyTo(cropped_image);
imshow("cropped_image", cropped_image);
3 | No.3 Revision |
Hi ,
You can try below code for cropping the image
Mat image = imshow("cropped_image", cropped_image);
4 | No.4 Revision |
Hi ,
You can try below code for cropping the image
Mat image = imread("somePath.bmp");
image(Rect(Point(0, 10), Point(0, 10))).copyTo(cropped_image);
Point(10, 0))).copyTo(cropped_image);
imshow("cropped_image", cropped_image);