📜  opencv 按中心切割垫子 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:05.026000             🧑  作者: Mango

代码示例1
// Setup a rectangle to define your region of interest
cv::Rect myROI(10, 10, 100, 100);

// Crop the full image to that image contained by the rectangle myROI
// Note that this doesn't copy the data
cv::Mat croppedImage = image(myROI);