|
| 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) |
| | 使用歸一化盒式濾波器模糊影像。
|
| |
| 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 演算法在影像中查詢邊緣 [49] 。
|
| |
| void | cv::circle (InputOutputArray img, Point center, int radius, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0) |
| | Draws a circle.
|
| |
| bool | cv::clipLine (Rect imgRect, Point &pt1, Point &pt2) |
| |
| bool | cv::clipLine (Size imgSize, Point &pt1, Point &pt2) |
| | Clips the line against the image rectangle.
|
| |
| 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) |
| | Compares two histograms.
|
| |
| int | cv::connectedComponents (InputArray image, OutputArray labels, int connectivity, int ltype, int ccltype) |
| | computes the connected components labeled image of boolean image
|
| |
| 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) |
| | Calculates a contour area.
|
| |
| 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) |
| | Finds the convex hull of a point set.
|
| |
| void | cv::convexityDefects (InputArray contour, InputArray convexhull, OutputArray convexityDefects) |
| | Finds the convexity defects of a contour.
|
| |
| 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 corner detector.
|
| |
| 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) |
| | 此函式計算二維漢寧窗係數。
|
| |
| 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) |
| | 將影像從一種顏色空間轉換為另一種,其中源影像儲存在兩個平面中。
|
| |
| void | cv::demosaicing (InputArray src, OutputArray dst, int code, int dstCn=0) |
| | main function for all demosaicing processes
|
| |
| 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()) |
| | 計算兩個加權點配置之間的“最小功”距離。
|
| |
| 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) |
| | 使用連結執行演算法查詢輪廓。
|
| |
| RotatedRect | cv::fitEllipse (InputArray points) |
| | 圍繞一組 2D 點擬合橢圓。
|
| |
| RotatedRect | cv::fitEllipseAMS (InputArray points) |
| | 圍繞一組 2D 點擬合橢圓。
|
| |
| RotatedRect | cv::fitEllipseDirect (InputArray points) |
| | 圍繞一組 2D 點擬合橢圓。
|
| |
| void | cv::fitLine (InputArray points, OutputArray line, int distType, double param, double reps, double aeps) |
| | 將直線擬合到 2D 或 3D 點集。
|
| |
| 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) |
| | 計算 2D 旋轉的仿射矩陣。
|
| |
| 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::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, InputArray window=noArray(), double *response=0) |
| | 該函式用於檢測兩幅影像之間發生的平移。
|
| |
| 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()) |
| |