|
| void | cv::accumulate (InputArray src, InputOutputArray dst, InputArray mask=noArray()) |
| | 將影像新增到累加器影像中。
|
| |
| void | cv::accumulateProduct (InputArray src1, InputArray src2, InputOutputArray dst, InputArray mask=noArray()) |
| | 將兩個輸入影像的逐元素乘積新增到累加器影像中。
|
| |
| void | cv::accumulateSquare (InputArray src, InputOutputArray dst, InputArray mask=noArray()) |
| | 將源影像的平方新增到累加器影像中。
|
| |
| void | cv::accumulateWeighted (InputArray src, InputOutputArray dst, double alpha, InputArray mask=noArray()) |
| | 更新執行平均值。
|
| |
| void | cv::adaptiveThreshold (InputArray src, OutputArray dst, double maxValue, int adaptiveMethod, int thresholdType, int blockSize, double C) |
| | 對陣列應用自適應閾值。
|
| |
| void | cv::applyColorMap (InputArray src, OutputArray dst, InputArray userColor) |
| | 在給定影像上應用使用者自定義的顏色對映表。
|
| |
| void | cv::applyColorMap (InputArray src, OutputArray dst, int colormap) |
| | 在給定影像上應用等同於 GNU Octave/MATLAB 的顏色對映表。
|
| |
| void | cv::approxPolyDP (InputArray curve, OutputArray approxCurve, double epsilon, bool closed) |
| | 以指定的精度逼近多邊形曲線。
|
| |
| void | cv::approxPolyN (InputArray curve, OutputArray approxCurve, int nsides, float epsilon_percentage=-1.0, bool ensure_convex=true) |
| | 以指定的精度和邊數逼近凸包多邊形。
|
| |
| double | cv::arcLength (InputArray curve, bool closed) |
| | 計算輪廓周長或曲線長度。
|
| |
| void | cv::arrowedLine (InputOutputArray img, Point pt1, Point pt2, const Scalar &color, int thickness=1, int line_type=8, int shift=0, double tipLength=0.1) |
| | 繪製一個從第一個點指向第二個點的箭頭線段。
|
| |
| void | cv::bilateralFilter (InputArray src, OutputArray dst, int d, double sigmaColor, double sigmaSpace, int borderType=BORDER_DEFAULT) |
| | 對影像應用雙邊濾波。
|
| |
| void | cv::blendLinear (InputArray src1, InputArray src2, InputArray weights1, InputArray weights2, OutputArray dst) |
| |
| void | cv::blur (InputArray src, OutputArray dst, Size ksize, Point anchor=Point(-1,-1), int borderType=BORDER_DEFAULT) |
| | 使用歸一化框式濾波(normalized box filter)模糊影像。
|
| |
| Rect | cv::boundingRect (InputArray array) |
| | 計算點集或灰度影像中非零畫素的正外接矩形。
|
| |
| void | cv::boxFilter (InputArray src, OutputArray dst, int ddepth, Size ksize, Point anchor=Point(-1,-1), bool normalize=true, int borderType=BORDER_DEFAULT) |
| | 使用框式濾波模糊影像。
|
| |
| void | cv::boxPoints (RotatedRect box, OutputArray points) |
| | 查詢旋轉矩形的四個頂點。常用於繪製旋轉矩形。
|
| |
| void | cv::buildPyramid (InputArray src, OutputArrayOfArrays dst, int maxlevel, int borderType=BORDER_DEFAULT) |
| | 構建影像的高斯金字塔。
|
| |
| void | cv::calcBackProject (const Mat *images, int nimages, const int *channels, const SparseMat &hist, OutputArray backProject, const float **ranges, double scale=1, bool uniform=true) |
| |
| void | cv::calcBackProject (const Mat *images, int nimages, const int *channels, InputArray hist, OutputArray backProject, const float **ranges, double scale=1, bool uniform=true) |
| | 計算直方圖的反向投影。
|
| |
| void | cv::calcBackProject (InputArrayOfArrays images, const std::vector< int > &channels, InputArray hist, OutputArray dst, const std::vector< float > &ranges, double scale) |
| |
| void | cv::calcHist (const Mat *images, int nimages, const int *channels, InputArray mask, OutputArray hist, int dims, const int *histSize, const float **ranges, bool uniform=true, bool accumulate=false) |
| | 計算一組陣列的直方圖。
|
| |
| void | cv::calcHist (const Mat *images, int nimages, const int *channels, InputArray mask, SparseMat &hist, int dims, const int *histSize, const float **ranges, bool uniform=true, bool accumulate=false) |
| |
| void | cv::calcHist (InputArrayOfArrays images, const std::vector< int > &channels, InputArray mask, OutputArray hist, const std::vector< int > &histSize, const std::vector< float > &ranges, bool accumulate=false) |
| |
| void | cv::Canny (InputArray dx, InputArray dy, OutputArray edges, double threshold1, double threshold2, bool L2gradient=false) |
| |
| void | cv::Canny (InputArray image, OutputArray edges, double threshold1, double threshold2, int apertureSize=3, bool L2gradient=false) |
| | 使用 Canny 演算法查詢影像中的邊緣 [50]。
|
| |
| void | cv::circle (InputOutputArray img, Point center, int radius, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0) |
| | 繪製一個圓。
|
| |
| bool | cv::clipLine (Rect imgRect, Point &pt1, Point &pt2) |
| |
| bool | cv::clipLine (Size imgSize, Point &pt1, Point &pt2) |
| | 根據影像矩形裁剪直線。
|
| |
| bool | cv::clipLine (Size2l imgSize, Point2l &pt1, Point2l &pt2) |
| |
| double | cv::compareHist (const SparseMat &H1, const SparseMat &H2, int method) |
| |
| double | cv::compareHist (InputArray H1, InputArray H2, int method) |
| | 比較兩個直方圖。
|
| |
| int | cv::connectedComponents (InputArray image, OutputArray labels, int connectivity, int ltype, int ccltype) |
| | 計算二值影像的連通域標記影像
|
| |
| int | cv::connectedComponents (InputArray image, OutputArray labels, int connectivity=8, int ltype=CV_32S) |
| |
| int | cv::connectedComponentsWithStats (InputArray image, OutputArray labels, OutputArray stats, OutputArray centroids, int connectivity, int ltype, int ccltype) |
| | 計算二值影像的連通域標記影像,並輸出每個標記的統計資訊
|
| |
| int | cv::connectedComponentsWithStats (InputArray image, OutputArray labels, OutputArray stats, OutputArray centroids, int connectivity=8, int ltype=CV_32S) |
| |
| double | cv::contourArea (InputArray contour, bool oriented=false) |
| | 計算輪廓面積。
|
| |
| void | cv::convertMaps (InputArray map1, InputArray map2, OutputArray dstmap1, OutputArray dstmap2, int dstmap1type, bool nninterpolation=false) |
| | 將影像變換對映從一種表示形式轉換為另一種。
|
| |
| void | cv::convexHull (InputArray points, OutputArray hull, bool clockwise=false, bool returnPoints=true) |
| | 查詢點集的凸包。
|
| |
| void | cv::convexityDefects (InputArray contour, InputArray convexhull, OutputArray convexityDefects) |
| | 查詢輪廓的凸性缺陷。
|
| |
| void | cv::cornerEigenValsAndVecs (InputArray src, OutputArray dst, int blockSize, int ksize, int borderType=BORDER_DEFAULT) |
| | 計算用於角點檢測的影像塊的特徵值和特徵向量。
|
| |
| void | cv::cornerHarris (InputArray src, OutputArray dst, int blockSize, int ksize, double k, int borderType=BORDER_DEFAULT) |
| | Harris 角點檢測器。
|
| |
| void | cv::cornerMinEigenVal (InputArray src, OutputArray dst, int blockSize, int ksize=3, int borderType=BORDER_DEFAULT) |
| | 計算用於角點檢測的梯度矩陣的最小特徵值。
|
| |
| void | cv::cornerSubPix (InputArray image, InputOutputArray corners, Size winSize, Size zeroZone, TermCriteria criteria) |
| | 最佳化角點位置(亞畫素精度)。
|
| |
| Ptr< CLAHE > | cv::createCLAHE (double clipLimit=40.0, Size tileGridSize=Size(8, 8)) |
| | 建立一個指向 cv::CLAHE 類的智慧指標並初始化。
|
| |
| Ptr< GeneralizedHoughBallard > | cv::createGeneralizedHoughBallard () |
| | 建立一個指向 cv::GeneralizedHoughBallard 類的智慧指標並初始化。
|
| |
| Ptr< GeneralizedHoughGuil > | cv::createGeneralizedHoughGuil () |
| | 建立一個指向 cv::GeneralizedHoughGuil 類的智慧指標並初始化。
|
| |
| void | cv::createHanningWindow (OutputArray dst, Size winSize, int type) |
| | 該函式計算二維 Hanning 窗係數。
|
| |
| Ptr< LineSegmentDetector > | cv::createLineSegmentDetector (int refine=LSD_REFINE_STD, double scale=0.8, double sigma_scale=0.6, double quant=2.0, double ang_th=22.5, double log_eps=0, double density_th=0.7, int n_bins=1024) |
| | 建立一個指向 LineSegmentDetector 物件的智慧指標並初始化。
|
| |
| void | cv::cvtColor (InputArray src, OutputArray dst, int code, int dstCn=0, AlgorithmHint hint=cv::ALGO_HINT_DEFAULT) |
| | 將影像從一種顏色空間轉換為另一種。
|
| |
| void | cv::cvtColorTwoPlane (InputArray src1, InputArray src2, OutputArray dst, int code, AlgorithmHint hint=cv::ALGO_HINT_DEFAULT) |
| | 將影像從一種顏色空間轉換為另一種,源影像儲存在兩個平面(planes)中。
|
| |
| void | cv::demosaicing (InputArray src, OutputArray dst, int code, int dstCn=0) |
| | 所有去馬賽克(demosaicing)處理的主函式
|
| |
| void | cv::dilate (InputArray src, OutputArray dst, InputArray kernel, Point anchor=Point(-1,-1), int iterations=1, int borderType=BORDER_CONSTANT, const Scalar &borderValue=morphologyDefaultBorderValue()) |
| | 使用特定的結構元素膨脹影像。
|
| |
| void | cv::distanceTransform (InputArray src, OutputArray dst, int distanceType, int maskSize, int dstType=CV_32F) |
| |
| void | cv::distanceTransform (InputArray src, OutputArray dst, OutputArray labels, int distanceType, int maskSize, int labelType=DIST_LABEL_CCOMP) |
| | 計算源影像中每個畫素到最近零畫素的距離。
|
| |
| void | cv::divSpectrums (InputArray a, InputArray b, OutputArray c, int flags, bool conjB=false) |
| | 執行第一個傅立葉頻譜與第二個傅立葉頻譜的逐元素除法。
|
| |
| void | cv::drawContours (InputOutputArray image, InputArrayOfArrays contours, int contourIdx, const Scalar &color, int thickness=1, int lineType=LINE_8, InputArray hierarchy=noArray(), int maxLevel=INT_MAX, Point offset=Point()) |
| | 繪製輪廓外框或填充輪廓。
|
| |
| void | cv::drawMarker (InputOutputArray img, Point position, const Scalar &color, int markerType=MARKER_CROSS, int markerSize=20, int thickness=1, int line_type=8) |
| | 在影像預定義位置繪製標記。
|
| |
| void | cv::ellipse (InputOutputArray img, const RotatedRect &box, const Scalar &color, int thickness=1, int lineType=LINE_8) |
| |
| void | cv::ellipse (InputOutputArray img, Point center, Size axes, double angle, double startAngle, double endAngle, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0) |
| | 繪製簡單或加厚的橢圓弧,或填充橢圓扇區。
|
| |
| void | cv::ellipse2Poly (Point center, Size axes, int angle, int arcStart, int arcEnd, int delta, std::vector< Point > &pts) |
| | 用折線逼近橢圓弧。
|
| |
| void | cv::ellipse2Poly (Point2d center, Size2d axes, int angle, int arcStart, int arcEnd, int delta, std::vector< Point2d > &pts) |
| |
| float | cv::EMD (InputArray signature1, InputArray signature2, int distType, InputArray cost=noArray(), float *lowerBound=0, OutputArray flow=noArray()) |
| | 計算兩個加權點配置之間的“最小工作量”距離(Earth Mover's Distance)。
|
| |
| void | cv::equalizeHist (InputArray src, OutputArray dst) |
| | 對灰度影像進行直方圖均衡化。
|
| |
| void | cv::erode (InputArray src, OutputArray dst, InputArray kernel, Point anchor=Point(-1,-1), int iterations=1, int borderType=BORDER_CONSTANT, const Scalar &borderValue=morphologyDefaultBorderValue()) |
| | 使用特定的結構元素腐蝕影像。
|
| |
| void | cv::fillConvexPoly (InputOutputArray img, const Point *pts, int npts, const Scalar &color, int lineType=LINE_8, int shift=0) |
| |
| void | cv::fillConvexPoly (InputOutputArray img, InputArray points, const Scalar &color, int lineType=LINE_8, int shift=0) |
| | 填充凸多邊形。
|
| |
| void | cv::fillPoly (InputOutputArray img, const Point **pts, const int *npts, int ncontours, const Scalar &color, int lineType=LINE_8, int shift=0, Point offset=Point()) |
| |
| void | cv::fillPoly (InputOutputArray img, InputArrayOfArrays pts, const Scalar &color, int lineType=LINE_8, int shift=0, Point offset=Point()) |
| | 填充一個或多個多邊形包圍的區域。
|
| |
| void | cv::filter2D (InputArray src, OutputArray dst, int ddepth, InputArray kernel, Point anchor=Point(-1,-1), double delta=0, int borderType=BORDER_DEFAULT) |
| | 將影像與卷積核進行卷積。
|
| |
| void | cv::findContours (InputArray image, OutputArrayOfArrays contours, int mode, int method, Point offset=Point()) |
| |
| void | cv::findContours (InputArray image, OutputArrayOfArrays contours, OutputArray hierarchy, int mode, int method, Point offset=Point()) |
| | 在二值影像中查詢輪廓。
|
| |
| void | cv::findContoursLinkRuns (InputArray image, OutputArrayOfArrays contours) |
| | 這是一個過載的成員函式,為方便起見而提供。它與上述函式的區別僅在於所接受的引數不同。
|
| |
| void | cv::findContoursLinkRuns (InputArray image, OutputArrayOfArrays contours, OutputArray hierarchy) |
| | 使用 link runs 演算法查詢輪廓。
|
| |
| RotatedRect | cv::fitEllipse (InputArray points) |
| | 圍繞一組二維點擬合橢圓。
|
| |
| RotatedRect | cv::fitEllipseAMS (InputArray points) |
| | 圍繞一組二維點擬合橢圓。
|
| |
| RotatedRect | cv::fitEllipseDirect (InputArray points) |
| | 圍繞一組二維點擬合橢圓。
|
| |
| void | cv::fitLine (InputArray points, OutputArray line, int distType, double param, double reps, double aeps) |
| | 對二維或三維點集進行直線擬合。
|
| |
| int | cv::floodFill (InputOutputArray image, InputOutputArray mask, Point seedPoint, Scalar newVal, Rect *rect=0, Scalar loDiff=Scalar(), Scalar upDiff=Scalar(), int flags=4) |
| | 使用給定顏色填充連通域。
|
| |
| int | cv::floodFill (InputOutputArray image, Point seedPoint, Scalar newVal, Rect *rect=0, Scalar loDiff=Scalar(), Scalar upDiff=Scalar(), int flags=4) |
| |
| void | cv::GaussianBlur (InputArray src, OutputArray dst, Size ksize, double sigmaX, double sigmaY=0, int borderType=BORDER_DEFAULT, AlgorithmHint hint=cv::ALGO_HINT_DEFAULT) |
| | 使用高斯濾波器模糊影像。
|
| |
| Mat | cv::getAffineTransform (const Point2f src[], const Point2f dst[]) |
| | 透過三對對應點計算仿射變換矩陣。
|
| |
| Mat | cv::getAffineTransform (InputArray src, InputArray dst) |
| |
| void | cv::getClosestEllipsePoints (const RotatedRect &ellipse_params, InputArray points, OutputArray closest_pts) |
| | 為每個二維點計算其在給定橢圓上最近的二維點。
|
| |
| void | cv::getDerivKernels (OutputArray kx, OutputArray ky, int dx, int dy, int ksize, bool normalize=false, int ktype=CV_32F) |
| | 返回用於計算影像空間導數的濾波器係數。
|
| |
| double | cv::getFontScaleFromHeight (const int fontFace, const int pixelHeight, const int thickness=1) |
| | 計算為達到給定畫素高度所需的特定字型縮放比例。
|
| |
| Mat | cv::getGaborKernel (Size ksize, double sigma, double theta, double lambd, double gamma, double psi=CV_PI *0.5, int ktype=CV_64F) |
| | 返回 Gabor 濾波器係數。
|
| |
| Mat | cv::getGaussianKernel (int ksize, double sigma, int ktype=CV_64F) |
| | 返回高斯濾波器係數。
|
| |
| Mat | cv::getPerspectiveTransform (const Point2f src[], const Point2f dst[], int solveMethod=DECOMP_LU) |
| |
| Mat | cv::getPerspectiveTransform (InputArray src, InputArray dst, int solveMethod=DECOMP_LU) |
| | 透過四對對應點計算透視變換矩陣。
|
| |
| void | cv::getRectSubPix (InputArray image, Size patchSize, Point2f center, OutputArray patch, int patchType=-1) |
| | 以亞畫素精度從影像中提取畫素矩形。
|
| |
| Mat | cv::getRotationMatrix2D (Point2f center, double angle, double scale) |
| | 計算二維旋轉的仿射矩陣。
|
| |
| Matx23d | cv::getRotationMatrix2D_ (Point2f center, double angle, double scale) |
| |
| Mat | cv::getStructuringElement (int shape, Size ksize, Point anchor=Point(-1,-1)) |
| | 返回用於形態學操作的指定大小和形狀的結構元素。
|
| |
| Size | cv::getTextSize (const String &text, int fontFace, double fontScale, int thickness, int *baseLine) |
| | 計算文字字串的寬度和高度。
|
| |
| void | cv::goodFeaturesToTrack (InputArray image, OutputArray corners, int maxCorners, double qualityLevel, double minDistance, InputArray mask, int blockSize, int gradientSize, bool useHarrisDetector=false, double k=0.04) |
| |
| void | cv::goodFeaturesToTrack (InputArray image, OutputArray corners, int maxCorners, double qualityLevel, double minDistance, InputArray mask, OutputArray cornersQuality, int blockSize=3, int gradientSize=3, bool useHarrisDetector=false, double k=0.04) |
| | 與上述相同,但同時返回檢測到的角點的質量度量。
|
| |
| void | cv::goodFeaturesToTrack (InputArray image, OutputArray corners, int maxCorners, double qualityLevel, double minDistance, InputArray mask=noArray(), int blockSize=3, bool useHarrisDetector=false, double k=0.04) |
| | 在影像上確定強角點。
|
| |
| void | cv::grabCut (InputArray img, InputOutputArray mask, Rect rect, InputOutputArray bgdModel, InputOutputArray fgdModel, int iterCount, int mode=GC_EVAL) |
| | 執行 GrabCut 演算法。
|
| |
| void | cv::HoughCircles (InputArray image, OutputArray circles, int method, double dp, double minDist, double param1=100, double param2=100, int minRadius=0, int maxRadius=0) |
| | 使用霍夫變換在灰度影像中查詢圓。
|
| |
| void | cv::HoughLines (InputArray image, OutputArray lines, double rho, double theta, int threshold, double srn=0, double stn=0, double min_theta=0, double max_theta=CV_PI, bool use_edgeval=false) |
| | 使用標準霍夫變換在二值影像中查詢直線。
|
| |
| void | cv::HoughLinesP (InputArray image, OutputArray lines, double rho, double theta, int threshold, double minLineLength=0, double maxLineGap=0) |
| | 使用機率霍夫變換在二值影像中查詢線段。
|
| |
| void | cv::HoughLinesPointSet (InputArray point, OutputArray lines, int lines_max, int threshold, double min_rho, double max_rho, double rho_step, double min_theta, double max_theta, double theta_step) |
| | 使用標準霍夫變換在點集中查詢直線。
|
| |
| void | cv::HuMoments (const Moments &m, OutputArray hu) |
| |
| void | cv::HuMoments (const Moments &moments, double hu[7]) |
| | 計算七個 Hu 不變數。
|
| |
| void | cv::integral (InputArray src, OutputArray sum, int sdepth=-1) |
| |
| void | cv::integral (InputArray src, OutputArray sum, OutputArray sqsum, int sdepth=-1, int sqdepth=-1) |
| |
| void | cv::integral (InputArray src, OutputArray sum, OutputArray sqsum, OutputArray tilted, int sdepth=-1, int sqdepth=-1) |
| | 計算影像的積分圖。
|
| |
| float | cv::intersectConvexConvex (InputArray p1, InputArray p2, OutputArray p12, bool handleNested=true) |
| | 查詢兩個凸多邊形的交集。
|
| |
| void | cv::invertAffineTransform (InputArray M, OutputArray iM) |
| | 計算仿射變換的逆變換。
|
| |
| bool | cv::isContourConvex (InputArray contour) |
| | 測試輪廓的凸性。
|
| |
| void | cv::Laplacian (InputArray src, OutputArray dst, int ddepth, int ksize=1, double scale=1, double delta=0, int borderType=BORDER_DEFAULT) |
| | 計算影像的拉普拉斯運算元。
|
| |
| void | cv::line (InputOutputArray img, Point pt1, Point pt2, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0) |
| | 繪製連線兩個點的線段。
|
| |
| void | cv::linearPolar (InputArray src, OutputArray dst, Point2f center, double maxRadius, int flags) |
| | 將影像重對映到極座標空間。
|
| |
| void | cv::logPolar (InputArray src, OutputArray dst, Point2f center, double M, int flags) |
| | 將影像重對映到對數極座標空間。
|
| |
| double | cv::matchShapes (InputArray contour1, InputArray contour2, int method, double parameter) |
| | 比較兩個形狀。
|
| |
| void | cv::matchTemplate (InputArray image, InputArray templ, OutputArray result, int method, InputArray mask=noArray()) |
| | 在重疊的影像區域中匹配模板。
|
| |
| void | cv::medianBlur (InputArray src, OutputArray dst, int ksize) |
| | 使用中值濾波器模糊影像。
|
| |
| RotatedRect | cv::minAreaRect (InputArray points) |
| | 查詢包圍輸入二維點集的最小面積旋轉矩形。
|
| |
| void | cv::minEnclosingCircle (InputArray points, Point2f ¢er, float &radius) |
| | 查詢包圍二維點集的最小面積圓。
|
| |
| double | cv::minEnclosingConvexPolygon (InputArray points, OutputArray polygon, int k) |
| | 查詢包圍二維點集的最小面積凸多邊形並返回其面積。
|
| |
| double | cv::minEnclosingTriangle (InputArray points, OutputArray triangle) |
| | 查詢包圍二維點集的最小面積三角形並返回其面積。
|
| |
| Moments | cv::moments (InputArray array, bool binaryImage=false) |
| | 計算多邊形或光柵化形狀的所有三階以內矩。
|
| |
| static Scalar | cv::morphologyDefaultBorderValue () |
| | 返回腐蝕和膨脹的“魔術”邊界值。在膨脹操作中,它會自動轉換為 Scalar::all(-DBL_MAX)。
|
| |
| void | cv::morphologyEx (InputArray src, OutputArray dst, int op, InputArray kernel, Point anchor=Point(-1,-1), int iterations=1, int borderType=BORDER_CONSTANT, const Scalar &borderValue=morphologyDefaultBorderValue()) |
| | 執行高階形態學變換。
|
| |
| Point2d | cv::phaseCorrelate (InputArray src1, InputArray src2, noArray(), double *response=0) |
| | 該函式用於檢測兩幅影像之間發生的平移偏差。
|
| |
| Point2d | cv::phaseCorrelateIterative (InputArray src1, InputArray src2, int L2size=7, int maxIters=10) |
| | 迭代地檢測兩幅影像之間的平移偏差。
|
| |
| double | cv::pointPolygonTest (InputArray contour, Point2f pt, bool measureDist) |
| | 執行點與輪廓的位置關係測試。
|
| |
| void | cv::polylines (InputOutputArray img, const Point *const *pts, const int *npts, int ncontours, bool isClosed, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0) |
| |
| void | cv::polylines (InputOutputArray img, InputArrayOfArrays pts, bool isClosed, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0) |
| | 繪製多條多邊形曲線。
|
| |
| void | cv::preCornerDetect (InputArray src, OutputArray dst, int ksize, int borderType=BORDER_DEFAULT) |
| | 計算用於角點檢測的特徵圖。
|
| |
| void | cv::putText (InputOutputArray img, const String &text, Point org, int fontFace, double fontScale, Scalar color, int thickness=1, int lineType=LINE_8, bool bottomLeftOrigin=false) |
| | 繪製文字字串。
|
| |
| void | cv::pyrDown (InputArray src, OutputArray dst, const Size &dstsize=Size(), int borderType=BORDER_DEFAULT) |
| | 模糊並下采樣影像。
|
| |
| void | cv::pyrMeanShiftFiltering (InputArray src, OutputArray dst, double sp, double sr, int maxLevel=1, TermCriteria termcrit=TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 5, 1)) |
| | 執行影像均值漂移分割的初始步驟。
|
| |
| void | cv::pyrUp (InputArray src, OutputArray dst, const Size &dstsize=Size(), int borderType=BORDER_DEFAULT) |
| | 上取樣並模糊影像。
|
| |
| void | cv::rectangle (InputOutputArray img, Point pt1, Point pt2, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0) |
| | 繪製一個簡單的、粗線條的或填充的正矩形。
|
| |
| void | cv::rectangle (InputOutputArray img, Rect rec, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0) |
| |
| void | cv::remap (InputArray src, OutputArray dst, InputArray map1, InputArray map2, int interpolation, int borderMode=BORDER_CONSTANT, const Scalar &borderValue=Scalar()) |
| | 對影像應用通用的幾何變換。
|
| |
| void | cv::resize (InputArray src, OutputArray dst, Size dsize, double fx=0, double fy=0, int interpolation=INTER_LINEAR) |
| | 調整影像大小。
|
| |
| int | cv::rotatedRectangleIntersection (const RotatedRect &rect1, const RotatedRect &rect2, OutputArray intersectingRegion) |
| | 查詢兩個旋轉矩形之間是否存在交集。
|
| |
| void | cv::Scharr (InputArray src, OutputArray dst, int ddepth, int dx, int dy, double scale=1, double delta=0, int borderType=BORDER_DEFAULT) |
| | 使用 Scharr 運算元計算影像的一階 x 或 y 導數。
|
| |
| void | cv::sepFilter2D (InputArray src, OutputArray dst, int ddepth, InputArray kernelX, InputArray kernelY, Point anchor=Point(-1,-1), double delta=0, int borderType=BORDER_DEFAULT) |
| | 對影像應用可分離線性濾波器。
|
| |
| void | cv::Sobel (InputArray src, OutputArray dst, int ddepth, int dx, int dy, int ksize=3, double scale=1, double delta=0, int borderType=BORDER_DEFAULT) |
| | 使用擴充套件 Sobel 運算元計算影像的一階、二階、三階或混合導數。
|
| |
| void | cv::spatialGradient (InputArray src, OutputArray dx, OutputArray dy, int ksize=3, int borderType=BORDER_DEFAULT) |
| | 使用 Sobel 運算元同時計算 x 和 y 方向的一階影像導數。
|
| |
| void | cv::sqrBoxFilter (InputArray src, OutputArray dst, int ddepth, Size ksize, Point anchor=Point(-1, -1), bool normalize=true, int borderType=BORDER_DEFAULT) |
| | 計算與濾波器重疊的畫素值的歸一化平方和。
|
| |
| void | cv::stackBlur (InputArray src, OutputArray dst, Size ksize) |
| | 使用 stackBlur 模糊影像。
|
| |
| double | cv::threshold (InputArray src, OutputArray dst, double thresh, double maxval, int type) |
| | 對陣列的每個元素應用固定閾值操作。
|
| |
| double | cv::thresholdWithMask (InputArray src, InputOutputArray dst, InputArray mask, double thresh, double maxval, int type) |
| | 與 threshold 相同,但帶有一個可選掩碼。
|
| |
| void | cv::warpAffine (InputArray src, OutputArray dst, InputArray M, Size dsize, int flags=INTER_LINEAR, int borderMode=BORDER_CONSTANT, const Scalar &borderValue=Scalar()) |
| | 對影像應用仿射變換。
|
| |
| void | cv::warpPerspective (InputArray src, OutputArray dst, InputArray M, Size dsize, int flags=INTER_LINEAR, int borderMode=BORDER_CONSTANT, const Scalar &borderValue=Scalar()) |
| | 對影像應用透視變換。
|
| |
| void | cv::warpPolar (InputArray src, OutputArray dst, Size dsize, Point2f center, double maxRadius, int flags) |
| | 將影像重對映到極座標或對數極座標空間。
|
| |
| void | cv::watershed (InputArray image, InputOutputArray markers) |
| | 使用分水嶺演算法執行基於標記的影像分割。
|
| |
| float | cv::wrapperEMD (InputArray signature1, InputArray signature2, int distType, InputArray cost=noArray(), Ptr< float > lowerBound=Ptr< float >(), OutputArray flow=noArray()) |
| |