OpenCV笔记(3)

cv::RNG
cv::putText
cv::Point
cv::line
copyMakeBorder()
merge()
dft()
getOptimalDFTSize()
log()
normalize()
CvMat
IplImage

Mat padded;                            //expand input image to optimal size
int m = getOptimalDFTSize(I.rows);
int n = getOptimalDFTSize(I.cols); // on the border add zero values
copyMakeBorder(I, padded, 0, m - I.rows, 0, n - I.cols, BORDER_CONSTANT, Scalar::all(0));

你可能感兴趣的:(OpenCV笔记(3))