OpenCV笔记(Size)
生活随笔
收集整理的這篇文章主要介紹了
OpenCV笔记(Size)
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
//代表一個2維的大小,包括長和寬。template<typename?_Tp>?class?Size_{public:????typedef?_Tp?value_type;????//!?various?constructors????Size_();????Size_(_Tp?_width,?_Tp?_height);????Size_(const?Size_&?sz);????Size_(const?CvSize&?sz);????Size_(const?CvSize2D32f&?sz);????Size_(const?Point_<_Tp>&?pt);????Size_&?operator?=?(const?Size_&?sz);????//!?the?area?(width*height)????_Tp?area()?const;????//!?conversion?of?another?data?type.????template<typename?_Tp2>?operator?Size_<_Tp2>()?const;????//!?conversion?to?the?old-style?OpenCV?types????operator?CvSize()?const;????operator?CvSize2D32f()?const;????_Tp?width,?height;?//?the?width?and?the?height};
來自為知筆記(Wiz)
來自為知筆記(Wiz)
轉(zhuǎn)載于:https://www.cnblogs.com/fireae/p/3685124.html
總結(jié)
以上是生活随笔為你收集整理的OpenCV笔记(Size)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。