First time here? Check out the FAQ!
answered 2014-06-04 22:50:47 -0600
Assume you got your point like, topLeft, topRight, bottomLeft, bottomRight.
Mat src;//Source image load here Rect R(topLeft,bottomRight); //Create a rect Mat ROI = src(R) //Crop the region of interest using above rect