- Building Computer Vision Projects with OpenCV 4 and C++
- David Millán Escrivá Prateek Joshi Vinícius G. Mendon?a Roy Shilkrot
- 57字
- 2021-07-02 12:28:33
Rect object type
Rect is another important template class for defining 2D rectangles defined by the following parameters:
The coordinates of the upper-left corner
The width and height of a rectangle
The Rect template class can be used to define a region of interest (ROI) of an image, as follows:
Mat img=imread("lena.jpg");
Rect rect_roi(0,0,100,100);
Mat img_roi=img(r);
推薦閱讀
- 數據分析實戰:基于EXCEL和SPSS系列工具的實踐
- Spark快速大數據分析(第2版)
- Voice Application Development for Android
- 大數據可視化
- 數據要素五論:信息、權屬、價值、安全、交易
- Oracle高性能自動化運維
- OracleDBA實戰攻略:運維管理、診斷優化、高可用與最佳實踐
- Scratch 3.0 藝術進階
- MATLAB Graphics and Data Visualization Cookbook
- INSTANT Apple iBooks How-to
- SQL Server 2012數據庫管理教程
- 數據庫原理與應用
- 改進的群智能算法及其應用
- 利用Python進行數據分析(原書第2版)
- 基于數據發布的隱私保護模型研究