Mat img1 = imread("hello.jpg", 1);
Mat img2(img1.rows, img1.cols, CV_8UC3);
img1(Rect(0, 0, 200, 200)).copyTo(img2);
I am learning opencv using c++.
but I don't understand the syntax that img1(Rect()). From my understanding, for function call, it should like img1.rect().
Any terminlogy for a object with ()? here is img1(xxxxxx);