OpenCvのcv::Mat::create()関数,cvRound(),cvFloor(),cvCeil()関数の詳細l
2803 ワード
:
cv::create()
:
inline void Mat::create(int _rows, int _cols, int _type)
inline void Mat::create(Size _sz, int _type)
void Mat::create(int ndims, const int* sizes, int type)
:
1) ,
2)
:
1)ndims:
2)rows :
3)cols :
4)Size :
5)type :
:
1) cv::Mat
2)
:
1) cv::Mat。 :
1)
2)
2) , ,cv::Mat , :
1) : 、 、
2)
3) :
cv::Mat srcImg;
cv::Mat dstImg;
, , ,
!
4) , ,cv::Mat::create() , (Size),
type(CV_8UC1,CV_16SC1,CV_32FC3)
srcImg.create(........)
:
cvRound,cvFloor,cvCeil :
:
1)cvRound ;
2)cvFloor ;
3)cvCeil 。
*********************************************************************/