cv::Size_<_Tp > Class Template Reference
Template class for specifying the size of an image or rectangle .
#include "types.hpp"
Detailed Description :
The class includes two members called width and height. The structure can be converted to and from the old OpenCV structures CvSize and CvSize2D32f .
The same set of arithmetic and comparison operations as for Point_ is available .
Opencv defines the following Size_<> aliases :
typedef Size_<int> Size2i;
typedef Size2i Size;
typedef Size_<float> Size2f;
Member Typedef Documentation :
value_type
typedef _Tp cv::Size<_Tp >::value_type
Constructor & Destructor Documentation :
Size_( ) [1 / 4]
cv::Size_<_Tp >::Size( )
default constructor .
Size_( ) [2 / 4]
cv::Size_<_Tp >::Size( _Tp _width, _Tp _height )
Size_( ) [3 / 4]
cv::Size_<Tp >::Size( const Size_<_Tp > & sz )
Size_( )
cv::Size_<Tp >::Size ( const Point_<_Tp > & pt )
Member Function Documentation :
area( )
Tp cv::Size_<_Tp > ::area( )
the area (width * height ) .
empty( )
bool cv::Size_<_Tp >::empty( )
true if empty .
operator Size_<Tp2 > ( )
cv::Size<Tp >::operator Size<_Tp2 > ( )
conversion of another data type .
operator = ( )
Size_ & cv::Size_<Tp >::operator = ( const Size<_Tp > & sz)
Member Data Documentation :
height
Tp cv::Size_<_Tp >::height
the height .
width
Tp cv::Size_<_Tp >::width
the width .
The documentation for this class was generated from the following file :
core/include/opencv2/core/types.hpp