Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of gr-peach-opencv-project by
cv Namespace Reference
DefaultDeviceInitializer. More...
Namespaces | |
| namespace | anonymous_namespace{command_line_parser.cpp} |
| namespace | anonymous_namespace{matrix.cpp} |
Data Structures | |
| class | Affine3 |
| Affine transform. More... | |
| class | Seq |
| class | SeqIterator |
| class | Allocator |
| struct | Ptr |
| Template class for smart pointers with shared ownership. More... | |
| class | _InputArray |
| This is the proxy class for passing read-only input arrays into OpenCV functions. More... | |
| class | _OutputArray |
| This type is very similar to InputArray except that it is used for input/output and output function parameters. More... | |
| class | MatAllocator |
| Custom array allocator. More... | |
| class | MatCommaInitializer_ |
| Comma-separated Matrix Initializer. More... | |
| class | Mat |
| n-dimensional dense array class More... | |
| class | Mat_ |
| Template matrix class derived from Mat. More... | |
| class | UMat |
| class | SparseMat |
| The class SparseMat represents multi-dimensional sparse numerical arrays. More... | |
| class | SparseMat_ |
| Template sparse n-dimensional array class derived from SparseMat. More... | |
| class | MatConstIterator_ |
| Matrix read-only iterator. More... | |
| class | MatIterator_ |
| Matrix read-write iterator. More... | |
| class | SparseMatConstIterator |
| Read-Only Sparse Matrix Iterator. More... | |
| class | SparseMatIterator |
| Read-write Sparse Matrix Iterator. More... | |
| class | SparseMatConstIterator_ |
| Template Read-Only Sparse Matrix Iterator Class. More... | |
| class | SparseMatIterator_ |
| Template Read-Write Sparse Matrix Iterator Class. More... | |
| class | NAryMatIterator |
| n-ary multi-dimensional array iterator. More... | |
| class | MatExpr |
| Matrix expression representation. More... | |
| class | Matx |
| Template class for small matrices whose type and size are known at compilation time. More... | |
| class | DataType< Matx< _Tp, m, n > > |
| class | MatxCommaInitializer |
| Comma-separated Matrix Initializer. More... | |
| class | Vec |
| Template class for short numerical vectors, a partial case of Matx. More... | |
| class | DataType< Vec< _Tp, cn > > |
| class | VecCommaInitializer |
| Comma-separated Vec Initializer. More... | |
| class | MinProblemSolver |
| Basic interface for all solvers. More... | |
| class | DownhillSolver |
| This class is used to perform the non-linear non-constrained minimization of a function,. More... | |
| class | ConjGradSolver |
| This class is used to perform the non-linear non-constrained minimization of a function with known gradient,. More... | |
| class | FileStorage |
| XML/YAML file storage class that encapsulates all the information necessary for writing or reading data to/from a file. More... | |
| class | FileNode |
| File Storage Node class. More... | |
| class | FileNodeIterator |
| used to iterate through sequences and mappings. More... | |
| class | DataType |
| Template "trait" class for OpenCV primitive data types. More... | |
| class | DataDepth |
| A helper class for cv::DataType. More... | |
| class | Complex |
| A complex number class. More... | |
| class | Point_ |
| Template class for 2D points specified by its coordinates `x` and `y`. More... | |
| class | Point3_ |
| Template class for 3D points specified by its coordinates `x`, `y` and `z`. More... | |
| class | Size_ |
| Template class for specifying the size of an image or rectangle. More... | |
| class | Rect_ |
| Template class for 2D rectangles. More... | |
| class | RotatedRect |
| The class represents rotated (i.e. More... | |
| class | Range |
| Template class specifying a continuous subsequence (slice) of a sequence. More... | |
| class | Scalar_ |
| Template class for a 4-element vector derived from Vec. More... | |
| class | KeyPoint |
| Data structure for salient point detectors. More... | |
| class | DMatch |
| Class for matching keypoint descriptors. More... | |
| class | TermCriteria |
| The class defining termination criteria for iterative algorithms. More... | |
| class | Moments |
| struct returned by cv::moments More... | |
| class | AutoBuffer |
| Automatically Allocated Buffer Class. More... | |
| class | ParallelLoopBody |
| Base class for parallel data processors. More... | |
| class | CommandLineParser |
| Designed for command line parsing. More... | |
| class | WImage |
| Image class which provides a thin layer around an IplImage. More... | |
| class | WImageC |
| Image class when both the pixel type and number of channels are known at compile time. More... | |
| class | WImageBuffer |
| Image class which owns the data, so it can be allocated and is always freed. More... | |
| class | WImageBufferC |
| Like a WImageBuffer class but when the number of channels is known at compile time. More... | |
| class | WImageView |
| View into an image class which allows treating a subimage as an image or treating external data as an image. More... | |
| class | Exception |
| Class passed to an error. More... | |
| class | PCA |
| Principal Component Analysis. More... | |
| class | LDA |
| Linear Discriminant Analysis. More... | |
| class | SVD |
| Singular Value Decomposition. More... | |
| class | RNG |
| Random Number Generator. More... | |
| class | RNG_MT19937 |
| Mersenne Twister random number generator. More... | |
| class | Formatted |
| class | Formatter |
| class | Algorithm |
| This is a base class for all more or less complex algorithms in OpenCV. More... | |
| class | BaseRowFilter |
| class | BaseColumnFilter |
| class | BaseFilter |
| class | FilterEngine |
| class | GeneralizedHough |
| finds arbitrary template in the grayscale image using Generalized Hough Transform More... | |
| class | GeneralizedHoughBallard |
| Ballard, D.H. More... | |
| class | GeneralizedHoughGuil |
| Guil, N., González-Linares, J.M. More... | |
| class | LineSegmentDetector |
| Line segment detector class. More... | |
| class | LineIterator |
| Line iterator. More... | |
| class | SimilarRects |
| class for grouping object candidates, detected by Cascade Classifier, HOG etc. More... | |
| class | CascadeClassifier |
| Cascade classifier class for object detection. More... | |
| struct | DetectionROI |
| struct for detection region of interest (ROI) More... | |
Typedefs | |
| typedef v_reg< uchar, 16 > | v_uint8x16 |
| Sixteen 8-bit unsigned integer values. | |
| typedef v_reg< unsigned, 4 > | v_uint32x4 |
| Four 32-bit unsigned integer values. | |
| typedef v_reg< float, 4 > | v_float32x4 |
| Four 32-bit floating point values (single precision) | |
| typedef v_reg< double, 2 > | v_float64x2 |
| Two 64-bit floating point values (double precision) | |
| typedef v_reg< uint64, 2 > | v_uint64x2 |
| Two 64-bit unsigned integer values. | |
| typedef v_reg< int64, 2 > | v_int64x2 |
| Two 64-bit signed integer values. | |
Shorter aliases for the most popular specializations of Vec<T,n> | |
| typedef Vec< uchar, 2 > | Vec2b |
| typedef Vec< uchar, 3 > | Vec3b |
| typedef Vec< uchar, 4 > | Vec4b |
| typedef Vec< short, 2 > | Vec2s |
| typedef Vec< short, 3 > | Vec3s |
| typedef Vec< short, 4 > | Vec4s |
| typedef Vec< ushort, 2 > | Vec2w |
| typedef Vec< ushort, 3 > | Vec3w |
| typedef Vec< ushort, 4 > | Vec4w |
| typedef Vec< int, 2 > | Vec2i |
| typedef Vec< int, 3 > | Vec3i |
| typedef Vec< int, 4 > | Vec4i |
| typedef Vec< int, 6 > | Vec6i |
| typedef Vec< int, 8 > | Vec8i |
| typedef Vec< float, 2 > | Vec2f |
| typedef Vec< float, 3 > | Vec3f |
| typedef Vec< float, 4 > | Vec4f |
| typedef Vec< float, 6 > | Vec6f |
| typedef Vec< double, 2 > | Vec2d |
| typedef Vec< double, 3 > | Vec3d |
| typedef Vec< double, 4 > | Vec4d |
| typedef Vec< double, 6 > | Vec6d |
Enumerations | |
| enum | DecompTypes { DECOMP_LU = 0, DECOMP_SVD = 1, DECOMP_EIG = 2, DECOMP_CHOLESKY = 3, DECOMP_QR = 4, DECOMP_NORMAL = 16 } |
matrix decomposition types More... | |
| enum | NormTypes { , NORM_RELATIVE = 8, NORM_MINMAX = 32 } |
norm types
| |
| enum | CmpTypes { CMP_EQ = 0, CMP_GT = 1, CMP_GE = 2, CMP_LT = 3, CMP_LE = 4, CMP_NE = 5 } |
comparison types More... | |
| enum | GemmFlags { GEMM_1_T = 1, GEMM_2_T = 2, GEMM_3_T = 4 } |
generalized matrix multiplication flags More... | |
| enum | DftFlags { DFT_INVERSE = 1, DFT_SCALE = 2, DFT_ROWS = 4, DFT_COMPLEX_OUTPUT = 16, DFT_REAL_OUTPUT = 32, DCT_INVERSE = DFT_INVERSE, DCT_ROWS = DFT_ROWS } |
| enum | BorderTypes { BORDER_CONSTANT = 0, BORDER_REPLICATE = 1, BORDER_REFLECT = 2, BORDER_WRAP = 3, BORDER_REFLECT_101 = 4, BORDER_TRANSPARENT = 5, BORDER_REFLECT101 = BORDER_REFLECT_101, BORDER_DEFAULT = BORDER_REFLECT_101, BORDER_ISOLATED = 16 } |
Various border types, image boundaries are denoted with `|`. More... | |
| enum | UMatUsageFlags |
Usage flags for allocator. More... | |
| enum | SolveLPResult { SOLVELP_UNBOUNDED = -2, SOLVELP_UNFEASIBLE = -1, SOLVELP_SINGLE = 0, SOLVELP_MULTI = 1 } |
return codes for cv::solveLP() function More... | |
| enum | SortFlags { SORT_EVERY_ROW = 0, SORT_EVERY_COLUMN = 1, SORT_ASCENDING = 0, SORT_DESCENDING = 16 } |
| enum | CovarFlags { COVAR_SCRAMBLED = 0, COVAR_NORMAL = 1, COVAR_USE_AVG = 2, COVAR_SCALE = 4, COVAR_ROWS = 8, COVAR_COLS = 16 } |
Covariation flags. More... | |
| enum | KmeansFlags { KMEANS_RANDOM_CENTERS = 0, KMEANS_PP_CENTERS = 2, KMEANS_USE_INITIAL_LABELS = 1 } |
k-Means flags More... | |
| enum | LineTypes { , LINE_4 = 4, LINE_8 = 8, LINE_AA = 16 } |
type of line More... | |
| enum | HersheyFonts { FONT_HERSHEY_SIMPLEX = 0, FONT_HERSHEY_PLAIN = 1, FONT_HERSHEY_DUPLEX = 2, FONT_HERSHEY_COMPLEX = 3, FONT_HERSHEY_TRIPLEX = 4, FONT_HERSHEY_COMPLEX_SMALL = 5, FONT_HERSHEY_SCRIPT_SIMPLEX = 6, FONT_HERSHEY_SCRIPT_COMPLEX = 7, FONT_ITALIC = 16 } |
Only a subset of Hershey fonts <http://sources.isc.org/utils/misc/hershey-font.txt> are supported. More... | |
| enum | ReduceTypes { REDUCE_SUM = 0, REDUCE_AVG = 1, REDUCE_MAX = 2, REDUCE_MIN = 3 } |
| enum | |
type of the kernel More... | |
| enum | MorphTypes { MORPH_ERODE = 0, MORPH_DILATE = 1, MORPH_OPEN = 2, MORPH_CLOSE = 3, MORPH_GRADIENT = 4, MORPH_TOPHAT = 5, MORPH_BLACKHAT = 6, MORPH_HITMISS = 7 } |
type of morphological operation More... | |
| enum | MorphShapes { MORPH_RECT = 0, MORPH_CROSS = 1, MORPH_ELLIPSE = 2 } |
shape of the structuring element More... | |
| enum | InterpolationFlags { INTER_NEAREST = 0, INTER_LINEAR = 1, INTER_CUBIC = 2, INTER_AREA = 3, INTER_LANCZOS4 = 4, INTER_MAX = 7, WARP_FILL_OUTLIERS = 8, WARP_INVERSE_MAP = 16 } |
interpolation algorithm More... | |
| enum | DistanceTypes { DIST_USER = -1, DIST_L1 = 1, DIST_L2 = 2, DIST_C = 3, DIST_L12 = 4, DIST_FAIR = 5, DIST_WELSCH = 6, DIST_HUBER = 7 } |
Distance types for Distance Transform and M-estimators. More... | |
| enum | DistanceTransformMasks { DIST_MASK_3 = 3, DIST_MASK_5 = 5 } |
Mask size for distance transform. More... | |
| enum | ThresholdTypes { THRESH_BINARY = 0, THRESH_BINARY_INV = 1, THRESH_TRUNC = 2, THRESH_TOZERO = 3, THRESH_TOZERO_INV = 4 , THRESH_OTSU = 8, THRESH_TRIANGLE = 16 } |
type of the threshold operation  More... | |
| enum | AdaptiveThresholdTypes { ADAPTIVE_THRESH_MEAN_C = 0, ADAPTIVE_THRESH_GAUSSIAN_C = 1 } |
adaptive threshold algorithm see cv::adaptiveThreshold More... | |
| enum | UndistortTypes |
cv::undistort mode More... | |
| enum | GrabCutClasses { GC_BGD = 0, GC_FGD = 1, GC_PR_BGD = 2, GC_PR_FGD = 3 } |
class of the pixel in GrabCut algorithm More... | |
| enum | GrabCutModes { GC_INIT_WITH_RECT = 0, GC_INIT_WITH_MASK = 1, GC_EVAL = 2 } |
GrabCut algorithm flags. More... | |
| enum | DistanceTransformLabelTypes { DIST_LABEL_CCOMP = 0, DIST_LABEL_PIXEL = 1 } |
distanceTransform algorithm flags More... | |
| enum | FloodFillFlags { FLOODFILL_FIXED_RANGE = 1 << 16, FLOODFILL_MASK_ONLY = 1 << 17 } |
floodfill algorithm flags More... | |
| enum | ConnectedComponentsTypes { CC_STAT_LEFT = 0, CC_STAT_TOP = 1, CC_STAT_WIDTH = 2, CC_STAT_HEIGHT = 3, CC_STAT_AREA = 4 } |
connected components algorithm output formats More... | |
| enum | RetrievalModes { RETR_EXTERNAL = 0, RETR_LIST = 1, RETR_CCOMP = 2, RETR_TREE = 3 } |
mode of the contour retrieval algorithm More... | |
| enum | ContourApproximationModes { CHAIN_APPROX_NONE = 1, CHAIN_APPROX_SIMPLE = 2, CHAIN_APPROX_TC89_L1 = 3, CHAIN_APPROX_TC89_KCOS = 4 } |
the contour approximation algorithm More... | |
| enum | HoughModes { HOUGH_STANDARD = 0, HOUGH_PROBABILISTIC = 1, HOUGH_MULTI_SCALE = 2, HOUGH_GRADIENT = 3 } |
Variants of a Hough transform. More... | |
| enum | LineSegmentDetectorModes { LSD_REFINE_NONE = 0, LSD_REFINE_STD = 1, LSD_REFINE_ADV = 2 } |
Variants of Line Segment Detector. More... | |
| enum | HistCompMethods { HISTCMP_CORREL = 0, HISTCMP_CHISQR = 1, HISTCMP_INTERSECT = 2, HISTCMP_BHATTACHARYYA = 3, HISTCMP_HELLINGER = HISTCMP_BHATTACHARYYA, HISTCMP_CHISQR_ALT = 4, HISTCMP_KL_DIV = 5 } |
Histogram comparison methods. More... | |
| enum | ColorConversionCodes { COLOR_BGR2BGRA = 0 , COLOR_BGRA2BGR = 1 , COLOR_BGR2RGBA = 2 , COLOR_BGR2GRAY = 6 , COLOR_BGR2BGR565 = 12 , COLOR_GRAY2BGR565 = 20 , COLOR_BGR2BGR555 = 22 , COLOR_GRAY2BGR555 = 30 , COLOR_BGR2XYZ = 32 , COLOR_BGR2YCrCb = 36 , COLOR_BGR2HSV = 40 , COLOR_BGR2Lab = 44 , COLOR_BGR2Luv = 50 , COLOR_BGR2HLS = 52 , COLOR_HSV2BGR = 54 , COLOR_BGR2YUV = 82 , COLOR_YUV2RGB_NV12 = 90 , COLOR_YUV2RGB_UYVY = 107 , COLOR_RGBA2mRGBA = 125 , COLOR_RGB2YUV_I420 = 127 , COLOR_BayerBG2BGR = 46 , COLOR_BayerBG2BGR_VNG = 62 , COLOR_BayerBG2BGR_EA = 135 } |
the color conversion code More... | |
| enum | RectanglesIntersectTypes { INTERSECT_NONE = 0, INTERSECT_PARTIAL = 1, INTERSECT_FULL = 2 } |
types of intersection between rectangles More... | |
| enum | TemplateMatchModes { TM_SQDIFF = 0, TM_SQDIFF_NORMED = 1, TM_CCORR = 2, TM_CCORR_NORMED = 3, TM_CCOEFF = 4, TM_CCOEFF_NORMED = 5 } |
type of the template matching operation More... | |
| enum | ColormapTypes { COLORMAP_AUTUMN = 0, COLORMAP_BONE = 1, COLORMAP_JET = 2, COLORMAP_WINTER = 3, COLORMAP_RAINBOW = 4, COLORMAP_OCEAN = 5, COLORMAP_SUMMER = 6, COLORMAP_SPRING = 7, COLORMAP_COOL = 8, COLORMAP_HSV = 9, COLORMAP_PINK = 10, COLORMAP_HOT = 11, COLORMAP_PARULA = 12 } |
GNU Octave/MATLAB equivalent colormaps. More... | |
| enum | MarkerTypes { MARKER_CROSS = 0, MARKER_TILTED_CROSS = 1, MARKER_STAR = 2, MARKER_DIAMOND = 3, MARKER_SQUARE = 4, MARKER_TRIANGLE_UP = 5, MARKER_TRIANGLE_DOWN = 6 } |
Possible set of marker types used for the cv::drawMarker function. More... | |
Functions | |
| CV_EXPORTS void | error (int _code, const String &_err, const char *_func, const char *_file, int _line) |
| Signals an error and raises the exception. | |
| CV_INLINE CV_NORETURN void | errorNoReturn (int _code, const String &_err, const char *_func, const char *_file, int _line) |
| same as cv::error, but does not return | |
| CV_EXPORTS_W float | cubeRoot (float val) |
| Computes the cube root of an argument. | |
| CV_EXPORTS_W float | fastAtan2 (float y, float x) |
| Calculates the angle of a 2D vector in degrees. | |
| CV_EXPORTS int | LU (float *A, size_t astep, int m, float *b, size_t bstep, int n) |
| proxy for hal::LU | |
| CV_EXPORTS int | LU (double *A, size_t astep, int m, double *b, size_t bstep, int n) |
| proxy for hal::LU | |
| CV_EXPORTS bool | Cholesky (float *A, size_t astep, int m, float *b, size_t bstep, int n) |
| proxy for hal::Cholesky | |
| CV_EXPORTS bool | Cholesky (double *A, size_t astep, int m, double *b, size_t bstep, int n) |
| proxy for hal::Cholesky | |
| CV_EXPORTS Mat | cvarrToMat (const CvArr *arr, bool copyData=false, bool allowND=true, int coiMode=0, AutoBuffer< double > *buf=0) |
| converts array (CvMat or IplImage) to cv::Mat | |
| CV_EXPORTS void | extractImageCOI (const CvArr *arr, OutputArray coiimg, int coi=-1) |
| extracts Channel of Interest from CvMat or IplImage and makes cv::Mat out of it. | |
| CV_EXPORTS void | insertImageCOI (InputArray coiimg, CvArr *arr, int coi=-1) |
| inserts single-channel cv::Mat into a multi-channel CvMat or IplImage | |
| CV_EXPORTS void * | fastMalloc (size_t bufSize) |
| Allocates an aligned memory buffer. | |
| CV_EXPORTS void | fastFree (void *ptr) |
| Deallocates a memory buffer. | |
| template<typename T > | |
| void | swap (Ptr< T > &ptr1, Ptr< T > &ptr2) |
| Equivalent to ptr1.swap(ptr2). | |
| template<typename T > | |
| bool | operator== (const Ptr< T > &ptr1, const Ptr< T > &ptr2) |
| Return whether ptr1.get() and ptr2.get() are equal and not equal, respectively. | |
| template<typename T > | |
| Ptr< T > | makePtr () |
| `makePtr<T>(...)` is equivalent to `Ptr<T>(new T(...))`. | |
| template<typename T , typename A1 > | |
| Ptr< T > | makePtr (const A1 &a1) |
| template<typename T , typename A1 , typename A2 > | |
| Ptr< T > | makePtr (const A1 &a1, const A2 &a2) |
| template<typename T , typename A1 , typename A2 , typename A3 > | |
| Ptr< T > | makePtr (const A1 &a1, const A2 &a2, const A3 &a3) |
| template<typename T , typename A1 , typename A2 , typename A3 , typename A4 > | |
| Ptr< T > | makePtr (const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4) |
| template<typename T , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 > | |
| Ptr< T > | makePtr (const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5) |
| template<typename T , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 > | |
| Ptr< T > | makePtr (const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6) |
| template<typename T , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 > | |
| Ptr< T > | makePtr (const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7) |
| template<typename T , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 > | |
| Ptr< T > | makePtr (const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8) |
| template<typename T , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 , typename A9 > | |
| Ptr< T > | makePtr (const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9) |
| template<typename T , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 , typename A7 , typename A8 , typename A9 , typename A10 > | |
| Ptr< T > | makePtr (const A1 &a1, const A2 &a2, const A3 &a3, const A4 &a4, const A5 &a5, const A6 &a6, const A7 &a7, const A8 &a8, const A9 &a9, const A10 &a10) |
| OPENCV_HAL_IMPL_BIN_OP (+) OPENCV_HAL_IMPL_BIN_OP(-) OPENCV_HAL_IMPL_BIN_OP(*) OPENCV_HAL_IMPL_BIN_OP(/) OPENCV_HAL_IMPL_BIT_OP(&) OPENCV_HAL_IMPL_BIT_OP(|) OPENCV_HAL_IMPL_BIT_OP(^) template< typename _Tp | |
| Add values. | |
| OPENCV_HAL_IMPL_MATH_FUNC (v_sqrt, std::sqrt, _Tp) OPENCV_HAL_IMPL_MATH_FUNC(v_abs | |
| Square root of elements. | |
| V_TypeTraits< _Tp >::abs_type V_TypeTraits< _Tp >::abs_type | OPENCV_HAL_IMPL_MATH_FUNC (v_round, cvRound, int) OPENCV_HAL_IMPL_MATH_FUNC(v_floor |
| Round elements. | |
| V_TypeTraits< _Tp >::abs_type V_TypeTraits< _Tp >::abs_type int | OPENCV_HAL_IMPL_MATH_FUNC (v_ceil, cvCeil, int) OPENCV_HAL_IMPL_MATH_FUNC(v_trunc |
| Ceil elements. | |
| OPENCV_HAL_IMPL_MINMAX_FUNC (v_min, std::min) OPENCV_HAL_IMPL_MINMAX_FUNC(v_max | |
| Choose min values for each pair. | |
| std::max | OPENCV_HAL_IMPL_REDUCE_MINMAX_FUNC (v_reduce_min, std::min) OPENCV_HAL_IMPL_REDUCE_MINMAX_FUNC(v_reduce_max |
| Find one min value. | |
| OPENCV_HAL_IMPL_CMP_OP (<) OPENCV_HAL_IMPL_CMP_OP(>) OPENCV_HAL_IMPL_CMP_OP(< | |
| Less-than comparison. | |
| OPENCV_HAL_IMPL_ADD_SUB_OP (v_add_wrap,+,(_Tp), _Tp) OPENCV_HAL_IMPL_ADD_SUB_OP(v_sub_wrap | |
| Add values without saturation. | |
| template<typename _Tp , int n> | |
| _Tp v_reg< typename V_TypeTraits< _Tp >::abs_type, n > | v_absdiff (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b) |
| Absolute difference. | |
| v_float32x4 | v_absdiff (const v_float32x4 &a, const v_float32x4 &b) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. For 32-bit floating point values. | |
| template<typename _Tp , int n> | |
| v_reg< _Tp, n > | v_invsqrt (const v_reg< _Tp, n > &a) |
| Inversed square root. | |
| template<typename _Tp , int n> | |
| v_reg< _Tp, n > | v_magnitude (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b) |
| Magnitude. | |
| template<typename _Tp , int n> | |
| v_reg< _Tp, n > | v_sqr_magnitude (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b) |
| Square of the magnitude. | |
| template<typename _Tp , int n> | |
| v_reg< _Tp, n > | v_muladd (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b, const v_reg< _Tp, n > &c) |
| Multiply and add. | |
| template<typename _Tp , int n> | |
| v_reg< typename V_TypeTraits < _Tp >::w_type, n/2 > | v_dotprod (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b) |
| Dot product of elements. | |
| template<typename _Tp , int n> | |
| void | v_mul_expand (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b, v_reg< typename V_TypeTraits< _Tp >::w_type, n/2 > &c, v_reg< typename V_TypeTraits< _Tp >::w_type, n/2 > &d) |
| Multiply and expand. | |
| OPENCV_HAL_IMPL_SHIFT_OP (<<) OPENCV_HAL_IMPL_SHIFT_OP(>>) template< typename _Tp | |
| Bitwise shift left. | |
| template<typename _Tp , int n> | |
| int | v_signmask (const v_reg< _Tp, n > &a) |
| Get negative values mask. | |
| template<typename _Tp , int n> | |
| bool | v_check_all (const v_reg< _Tp, n > &a) |
| Check if all packed values are less than zero. | |
| template<typename _Tp , int n> | |
| bool | v_check_any (const v_reg< _Tp, n > &a) |
| Check if any of packed values is less than zero. | |
| template<typename _Tp , int n> | |
| v_reg< _Tp, n > | v_select (const v_reg< _Tp, n > &mask, const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b) |
| Bitwise select. | |
| template<typename _Tp , int n> | |
| void | v_expand (const v_reg< _Tp, n > &a, v_reg< typename V_TypeTraits< _Tp >::w_type, n/2 > &b0, v_reg< typename V_TypeTraits< _Tp >::w_type, n/2 > &b1) |
| Expand values to the wider pack type. | |
| template<typename _Tp , int n> | |
| void | v_zip (const v_reg< _Tp, n > &a0, const v_reg< _Tp, n > &a1, v_reg< _Tp, n > &b0, v_reg< _Tp, n > &b1) |
| Interleave two vectors. | |
| template<typename _Tp > | |
| v_reg< _Tp, V_SIMD128Traits < _Tp >::nlanes > | v_load (const _Tp *ptr) |
| Load register contents from memory. | |
| template<typename _Tp > | |
| v_reg< _Tp, V_SIMD128Traits < _Tp >::nlanes > | v_load_aligned (const _Tp *ptr) |
| Load register contents from memory (aligned) | |
| template<typename _Tp > | |
| v_reg< _Tp, V_SIMD128Traits < _Tp >::nlanes > | v_load_halves (const _Tp *loptr, const _Tp *hiptr) |
| Load register contents from two memory blocks. | |
| template<typename _Tp > | |
| v_reg< typename V_TypeTraits < _Tp >::w_type, V_SIMD128Traits< _Tp >::nlanes/2 > | v_load_expand (const _Tp *ptr) |
| Load register contents from memory with double expand. | |
| template<typename _Tp > | |
| v_reg< typename V_TypeTraits < _Tp >::q_type, V_SIMD128Traits< _Tp >::nlanes/4 > | v_load_expand_q (const _Tp *ptr) |
| Load register contents from memory with quad expand. | |
| template<typename _Tp , int n> | |
| void | v_load_deinterleave (const _Tp *ptr, v_reg< _Tp, n > &a, v_reg< _Tp, n > &b, v_reg< _Tp, n > &c) |
| Load and deinterleave (4 channels) | |
| template<typename _Tp , int n> | |
| void | v_load_deinterleave (const _Tp *ptr, v_reg< _Tp, n > &a, v_reg< _Tp, n > &b, v_reg< _Tp, n > &c, v_reg< _Tp, n > &d) |
| Load and deinterleave (3 channels) | |
| template<typename _Tp , int n> | |
| void | v_store_interleave (_Tp *ptr, const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b, const v_reg< _Tp, n > &c) |
| Interleave and store (3 channels) | |
| template<typename _Tp , int n> | |
| void | v_store_interleave (_Tp *ptr, const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b, const v_reg< _Tp, n > &c, const v_reg< _Tp, n > &d) |
| Interleave and store (4 channels) | |
| template<typename _Tp , int n> | |
| void | v_store (_Tp *ptr, const v_reg< _Tp, n > &a) |
| Store data to memory. | |
| template<typename _Tp , int n> | |
| void | v_store_low (_Tp *ptr, const v_reg< _Tp, n > &a) |
| Store data to memory (lower half) | |
| template<typename _Tp , int n> | |
| void | v_store_high (_Tp *ptr, const v_reg< _Tp, n > &a) |
| Store data to memory (higher half) | |
| template<typename _Tp , int n> | |
| void | v_store_aligned (_Tp *ptr, const v_reg< _Tp, n > &a) |
| Store data to memory (aligned) | |
| template<typename _Tp , int n> | |
| v_reg< _Tp, n > | v_combine_low (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b) |
| Combine vector from first elements of two vectors. | |
| template<typename _Tp , int n> | |
| v_reg< _Tp, n > | v_combine_high (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b) |
| Combine vector from last elements of two vectors. | |
| template<typename _Tp , int n> | |
| void | v_recombine (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b, v_reg< _Tp, n > &low, v_reg< _Tp, n > &high) |
| Combine two vectors from lower and higher parts of two other vectors. | |
| template<int s, typename _Tp , int n> | |
| v_reg< _Tp, n > | v_extract (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b) |
| Vector extract. | |
| template<int n> | |
| v_reg< int, n > | v_round (const v_reg< float, n > &a) |
| Round. | |
| template<int n> | |
| v_reg< int, n > | v_floor (const v_reg< float, n > &a) |
| Floor. | |
| template<int n> | |
| v_reg< int, n > | v_ceil (const v_reg< float, n > &a) |
| Ceil. | |
| template<int n> | |
| v_reg< int, n > | v_trunc (const v_reg< float, n > &a) |
| Trunc. | |
| template<int n> | |
| v_reg< int, n *2 > | v_round (const v_reg< double, n > &a) |
| template<int n> | |
| v_reg< int, n *2 > | v_floor (const v_reg< double, n > &a) |
| template<int n> | |
| v_reg< int, n *2 > | v_ceil (const v_reg< double, n > &a) |
| template<int n> | |
| v_reg< int, n *2 > | v_trunc (const v_reg< double, n > &a) |
| template<int n> | |
| v_reg< float, n > | v_cvt_f32 (const v_reg< int, n > &a) |
| Convert to float. | |
| template<int n> | |
| v_reg< double, n > | v_cvt_f64 (const v_reg< int, n *2 > &a) |
| Convert to double. | |
| template<int n> | |
| v_reg< double, n > | v_cvt_f64 (const v_reg< float, n *2 > &a) |
| Convert to double. | |
| template<typename _Tp > | |
| void | v_transpose4x4 (v_reg< _Tp, 4 > &a0, const v_reg< _Tp, 4 > &a1, const v_reg< _Tp, 4 > &a2, const v_reg< _Tp, 4 > &a3, v_reg< _Tp, 4 > &b0, v_reg< _Tp, 4 > &b1, v_reg< _Tp, 4 > &b2, v_reg< _Tp, 4 > &b3) |
| Transpose 4x4 matrix. | |
| pack pack pack pack_u v_float32x4 | v_matmul (const v_float32x4 &v, const v_float32x4 &m0, const v_float32x4 &m1, const v_float32x4 &m2, const v_float32x4 &m3) |
| Matrix multiplication. | |
| CV_EXPORTS_W int | solveLP (const Mat &Func, const Mat &Constr, Mat &z) |
| Solve given (non-integer) linear programming problem using the Simplex Algorithm (Simplex Method). | |
| template<typename _Tp > | |
| static _Tp | saturate_cast (uchar v) |
| Template function for accurate conversion from one primitive type to another. | |
| template<typename _Tp > | |
| static _Tp | saturate_cast (schar v) |
| template<typename _Tp > | |
| static _Tp | saturate_cast (ushort v) |
| template<typename _Tp > | |
| static _Tp | saturate_cast (short v) |
| template<typename _Tp > | |
| static _Tp | saturate_cast (unsigned v) |
| template<typename _Tp > | |
| static _Tp | saturate_cast (int v) |
| template<typename _Tp > | |
| static _Tp | saturate_cast (float v) |
| template<typename _Tp > | |
| static _Tp | saturate_cast (double v) |
| template<typename _Tp > | |
| static _Tp | saturate_cast (int64 v) |
| template<typename _Tp > | |
| static _Tp | saturate_cast (uint64 v) |
| void | flip (InputArray src, OutputArray dst, int flipCode) |
| Flips a 2D array around vertical, horizontal, or both axes. | |
| void | repeat (InputArray src, int ny, int nx, OutputArray dst) |
| Fills the output array with repeated copies of the input array. | |
| Mat | repeat (const Mat &src, int ny, int nx) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| static int | initialize_simplex (Mat_< double > &c, Mat_< double > &b, double &v, vector< int > &N, vector< int > &B, vector< unsigned int > &indexToRow) |
| Due to technical considerations, the format of input b and c is somewhat special: both b and c should be one column bigger than corresponding b and c of linear problem and the leftmost column will be used internally by this procedure - it should not be cleaned before the call to procedure and may contain mess after it also initializes N and B and does not make any assumptions about their init values. | |
| static int | inner_simplex (Mat_< double > &c, Mat_< double > &b, double &v, vector< int > &N, vector< int > &B, vector< unsigned int > &indexToRow) |
| void | magnitude (InputArray x, InputArray y, OutputArray magnitude) |
| Calculates the magnitude of 2D vectors. | |
| void | phase (InputArray x, InputArray y, OutputArray angle, bool angleInDegrees=false) |
| Calculates the rotation angle of 2D vectors. | |
| void | cartToPolar (InputArray x, InputArray y, OutputArray magnitude, OutputArray angle, bool angleInDegrees=false) |
| Calculates the magnitude and angle of 2D vectors. | |
| void | polarToCart (InputArray magnitude, InputArray angle, OutputArray x, OutputArray y, bool angleInDegrees=false) |
| Calculates x and y coordinates of 2D vectors from their magnitude and angle. | |
| void | exp (InputArray src, OutputArray dst) |
| Calculates the exponent of every array element. | |
| void | log (InputArray src, OutputArray dst) |
| Calculates the natural logarithm of every array element. | |
| void | pow (InputArray src, double power, OutputArray dst) |
| Raises every array element to a power. | |
| void | sqrt (InputArray src, OutputArray dst) |
| Calculates a square root of array elements. | |
| void | patchNaNs (InputOutputArray a, double val=0) |
| converts NaN's to the given number | |
| void | swap (Mat &a, Mat &b) |
| Swaps two matrices. | |
| double | norm (const SparseMat &src, int normType) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| void | minMaxLoc (const SparseMat &a, double *minVal, double *maxVal, int *minIdx=0, int *maxIdx=0) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| void | normalize (const SparseMat &src, SparseMat &dst, double alpha, int normType) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| bool | checkHardwareSupport (int feature) |
| Returns true if the specified feature is supported by the host hardware. | |
| void | setUseOptimized (bool onoff) |
| Enables or disables the optimized code. | |
| bool | useOptimized () |
| Returns the status of optimized code usage. | |
| int64 | getTickCount () |
| Returns the number of ticks. | |
| double | getTickFrequency () |
| Returns the number of ticks per second. | |
| int64 | getCPUTickCount () |
| Returns the number of CPU ticks. | |
| const String & | getBuildInformation () |
| Returns full configuration time cmake output. | |
| String | format (const char *fmt,...) |
| Returns a text string formatted using the printf-like expression. | |
| bool | setBreakOnError (bool flag) |
| Sets/resets the break-on-error mode. | |
| void | error (const Exception &exc) |
| Signals an error and raises the exception. | |
| void | swap (UMat &a, UMat &b) |
| CV_EXPORTS ErrorCallback | redirectError (ErrorCallback errCallback, void *userdata=0, void **prevUserdata=0) |
| Sets the new error handler and the optional user data. | |
| CV_EXPORTS_W void | setNumThreads (int nthreads) |
| OpenCV will try to set the number of threads for the next parallel region. | |
| CV_EXPORTS_W int | getNumThreads () |
| Returns the number of threads used by OpenCV for parallel regions. | |
| CV_EXPORTS_W int | getThreadNum () |
| Returns the index of the currently executed thread within the current parallel region. | |
| CV_EXPORTS_W int | getNumberOfCPUs () |
| Returns the number of logical CPUs available for the process. | |
| template<typename _Tp > | |
| static _Tp * | alignPtr (_Tp *ptr, int n=(int) sizeof(_Tp)) |
| Aligns a pointer to the specified number of bytes. | |
| static size_t | alignSize (size_t sz, int n) |
| Aligns a buffer size to the specified number of bytes. | |
| CV_EXPORTS void | parallel_for_ (const Range &range, const ParallelLoopBody &body, double nstripes=-1.) |
| Parallel data processor. | |
| CV_EXPORTS_W int | borderInterpolate (int p, int len, int borderType) |
| Computes the source location of an extrapolated pixel. | |
| CV_EXPORTS_W void | copyMakeBorder (InputArray src, OutputArray dst, int top, int bottom, int left, int right, int borderType, const Scalar &value=Scalar()) |
| Forms a border around an image. | |
| CV_EXPORTS_W void | add (InputArray src1, InputArray src2, OutputArray dst, InputArray mask=noArray(), int dtype=-1) |
| Calculates the per-element sum of two arrays or an array and a scalar. | |
| CV_EXPORTS_W void | subtract (InputArray src1, InputArray src2, OutputArray dst, InputArray mask=noArray(), int dtype=-1) |
| Calculates the per-element difference between two arrays or array and a scalar. | |
| CV_EXPORTS_W void | multiply (InputArray src1, InputArray src2, OutputArray dst, double scale=1, int dtype=-1) |
| Calculates the per-element scaled product of two arrays. | |
| CV_EXPORTS_W void | divide (InputArray src1, InputArray src2, OutputArray dst, double scale=1, int dtype=-1) |
| Performs per-element division of two arrays or a scalar by an array. | |
| CV_EXPORTS_W void | divide (double scale, InputArray src2, OutputArray dst, int dtype=-1) |
| CV_EXPORTS_W void | scaleAdd (InputArray src1, double alpha, InputArray src2, OutputArray dst) |
| Calculates the sum of a scaled array and another array. | |
| CV_EXPORTS_W void | addWeighted (InputArray src1, double alpha, InputArray src2, double beta, double gamma, OutputArray dst, int dtype=-1) |
| Calculates the weighted sum of two arrays. | |
| CV_EXPORTS_W void | convertScaleAbs (InputArray src, OutputArray dst, double alpha=1, double beta=0) |
| Scales, calculates absolute values, and converts the result to 8-bit. | |
| CV_EXPORTS_W void | LUT (InputArray src, InputArray lut, OutputArray dst) |
| Performs a look-up table transform of an array. | |
| CV_EXPORTS_AS (sumElems) Scalar sum(InputArray src) | |
| Calculates the sum of array elements. | |
| CV_EXPORTS_W int | countNonZero (InputArray src) |
| Counts non-zero array elements. | |
| CV_EXPORTS_W void | findNonZero (InputArray src, OutputArray idx) |
| Returns the list of locations of non-zero pixels. | |
| CV_EXPORTS_W Scalar | mean (InputArray src, InputArray mask=noArray()) |
| Calculates an average (mean) of array elements. | |
| CV_EXPORTS_W void | meanStdDev (InputArray src, OutputArray mean, OutputArray stddev, InputArray mask=noArray()) |
| Calculates a mean and standard deviation of array elements. | |
| CV_EXPORTS_W double | norm (InputArray src1, int normType=NORM_L2, InputArray mask=noArray()) |
| Calculates an absolute array norm, an absolute difference norm, or a relative difference norm. | |
| CV_EXPORTS_W double | norm (InputArray src1, InputArray src2, int normType=NORM_L2, InputArray mask=noArray()) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| CV_EXPORTS_W double | PSNR (InputArray src1, InputArray src2) |
| computes PSNR image/video quality metric | |
| CV_EXPORTS_W void | batchDistance (InputArray src1, InputArray src2, OutputArray dist, int dtype, OutputArray nidx, int normType=NORM_L2, int K=0, InputArray mask=noArray(), int update=0, bool crosscheck=false) |
| naive nearest neighbor finder | |
| CV_EXPORTS_W void | normalize (InputArray src, InputOutputArray dst, double alpha=1, double beta=0, int norm_type=NORM_L2, int dtype=-1, InputArray mask=noArray()) |
| Normalizes the norm or value range of an array. | |
| CV_EXPORTS_W void | minMaxLoc (InputArray src, CV_OUT double *minVal, CV_OUT double *maxVal=0, CV_OUT Point *minLoc=0, CV_OUT Point *maxLoc=0, InputArray mask=noArray()) |
| Finds the global minimum and maximum in an array. | |
| CV_EXPORTS void | minMaxIdx (InputArray src, double *minVal, double *maxVal=0, int *minIdx=0, int *maxIdx=0, InputArray mask=noArray()) |
| Finds the global minimum and maximum in an array. | |
| CV_EXPORTS_W void | reduce (InputArray src, OutputArray dst, int dim, int rtype, int dtype=-1) |
| Reduces a matrix to a vector. | |
| CV_EXPORTS void | merge (const Mat *mv, size_t count, OutputArray dst) |
| Creates one multi-channel array out of several single-channel ones. | |
| CV_EXPORTS_W void | merge (InputArrayOfArrays mv, OutputArray dst) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| CV_EXPORTS void | split (const Mat &src, Mat *mvbegin) |
| Divides a multi-channel array into several single-channel arrays. | |
| CV_EXPORTS_W void | split (InputArray m, OutputArrayOfArrays mv) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| CV_EXPORTS void | mixChannels (const Mat *src, size_t nsrcs, Mat *dst, size_t ndsts, const int *fromTo, size_t npairs) |
| Copies specified channels from input arrays to the specified channels of output arrays. | |
| CV_EXPORTS void | mixChannels (InputArrayOfArrays src, InputOutputArrayOfArrays dst, const int *fromTo, size_t npairs) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| CV_EXPORTS_W void | mixChannels (InputArrayOfArrays src, InputOutputArrayOfArrays dst, const std::vector< int > &fromTo) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| CV_EXPORTS_W void | extractChannel (InputArray src, OutputArray dst, int coi) |
| extracts a single channel from src (coi is 0-based index) | |
| CV_EXPORTS_W void | insertChannel (InputArray src, InputOutputArray dst, int coi) |
| inserts a single channel to dst (coi is 0-based index) | |
| CV_EXPORTS void | hconcat (const Mat *src, size_t nsrc, OutputArray dst) |
| Applies horizontal concatenation to given matrices. | |
| CV_EXPORTS void | hconcat (InputArray src1, InputArray src2, OutputArray dst) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| CV_EXPORTS_W void | hconcat (InputArrayOfArrays src, OutputArray dst) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| CV_EXPORTS void | vconcat (const Mat *src, size_t nsrc, OutputArray dst) |
| Applies vertical concatenation to given matrices. | |
| CV_EXPORTS void | vconcat (InputArray src1, InputArray src2, OutputArray dst) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| CV_EXPORTS_W void | vconcat (InputArrayOfArrays src, OutputArray dst) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| CV_EXPORTS_W void | bitwise_and (InputArray src1, InputArray src2, OutputArray dst, InputArray mask=noArray()) |
| computes bitwise conjunction of the two arrays (dst = src1 & src2) Calculates the per-element bit-wise conjunction of two arrays or an array and a scalar. | |
| CV_EXPORTS_W void | bitwise_or (InputArray src1, InputArray src2, OutputArray dst, InputArray mask=noArray()) |
| Calculates the per-element bit-wise disjunction of two arrays or an array and a scalar. | |
| CV_EXPORTS_W void | bitwise_xor (InputArray src1, InputArray src2, OutputArray dst, InputArray mask=noArray()) |
| Calculates the per-element bit-wise "exclusive or" operation on two arrays or an array and a scalar. | |
| CV_EXPORTS_W void | bitwise_not (InputArray src, OutputArray dst, InputArray mask=noArray()) |
| Inverts every bit of an array. | |
| CV_EXPORTS_W void | absdiff (InputArray src1, InputArray src2, OutputArray dst) |
| Calculates the per-element absolute difference between two arrays or between an array and a scalar. | |
| CV_EXPORTS_W void | inRange (InputArray src, InputArray lowerb, InputArray upperb, OutputArray dst) |
| Checks if array elements lie between the elements of two other arrays. | |
| CV_EXPORTS_W void | compare (InputArray src1, InputArray src2, OutputArray dst, int cmpop) |
| Performs the per-element comparison of two arrays or an array and scalar value. | |
| CV_EXPORTS_W void | min (InputArray src1, InputArray src2, OutputArray dst) |
| Calculates per-element minimum of two arrays or an array and a scalar. | |
| CV_EXPORTS void | min (const Mat &src1, const Mat &src2, Mat &dst) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.needed to avoid conflicts with const _Tp& std::min(const _Tp&, const _Tp&, _Compare) | |
| CV_EXPORTS void | min (const UMat &src1, const UMat &src2, UMat &dst) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.needed to avoid conflicts with const _Tp& std::min(const _Tp&, const _Tp&, _Compare) | |
| CV_EXPORTS_W void | max (InputArray src1, InputArray src2, OutputArray dst) |
| Calculates per-element maximum of two arrays or an array and a scalar. | |
| CV_EXPORTS void | max (const Mat &src1, const Mat &src2, Mat &dst) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.needed to avoid conflicts with const _Tp& std::min(const _Tp&, const _Tp&, _Compare) | |
| CV_EXPORTS void | max (const UMat &src1, const UMat &src2, UMat &dst) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.needed to avoid conflicts with const _Tp& std::min(const _Tp&, const _Tp&, _Compare) | |
| CV_EXPORTS_W bool | checkRange (InputArray a, bool quiet=true, CV_OUT Point *pos=0, double minVal=-DBL_MAX, double maxVal=DBL_MAX) |
| Checks every element of an input array for invalid values. | |
| CV_EXPORTS_W void | gemm (InputArray src1, InputArray src2, double alpha, InputArray src3, double beta, OutputArray dst, int flags=0) |
| Performs generalized matrix multiplication. | |
| CV_EXPORTS_W void | mulTransposed (InputArray src, OutputArray dst, bool aTa, InputArray delta=noArray(), double scale=1, int dtype=-1) |
| Calculates the product of a matrix and its transposition. | |
| CV_EXPORTS_W void | transpose (InputArray src, OutputArray dst) |
| Transposes a matrix. | |
| CV_EXPORTS_W void | transform (InputArray src, OutputArray dst, InputArray m) |
| Performs the matrix transformation of every array element. | |
| CV_EXPORTS_W void | perspectiveTransform (InputArray src, OutputArray dst, InputArray m) |
| Performs the perspective matrix transformation of vectors. | |
| CV_EXPORTS_W void | completeSymm (InputOutputArray mtx, bool lowerToUpper=false) |
| Copies the lower or the upper half of a square matrix to another half. | |
| CV_EXPORTS_W void | setIdentity (InputOutputArray mtx, const Scalar &s=Scalar(1)) |
| Initializes a scaled identity matrix. | |
| CV_EXPORTS_W double | determinant (InputArray mtx) |
| Returns the determinant of a square floating-point matrix. | |
| CV_EXPORTS_W Scalar | trace (InputArray mtx) |
| Returns the trace of a matrix. | |
| CV_EXPORTS_W double | invert (InputArray src, OutputArray dst, int flags=DECOMP_LU) |
| Finds the inverse or pseudo-inverse of a matrix. | |
| CV_EXPORTS_W bool | solve (InputArray src1, InputArray src2, OutputArray dst, int flags=DECOMP_LU) |
| Solves one or more linear systems or least-squares problems. | |
| CV_EXPORTS_W void | sort (InputArray src, OutputArray dst, int flags) |
| Sorts each row or each column of a matrix. | |
| CV_EXPORTS_W void | sortIdx (InputArray src, OutputArray dst, int flags) |
| Sorts each row or each column of a matrix. | |
| CV_EXPORTS_W int | solveCubic (InputArray coeffs, OutputArray roots) |
| Finds the real roots of a cubic equation. | |
| CV_EXPORTS_W double | solvePoly (InputArray coeffs, OutputArray roots, int maxIters=300) |
| Finds the real or complex roots of a polynomial equation. | |
| CV_EXPORTS_W bool | eigen (InputArray src, OutputArray eigenvalues, OutputArray eigenvectors=noArray()) |
| Calculates eigenvalues and eigenvectors of a symmetric matrix. | |
| CV_EXPORTS void | calcCovarMatrix (const Mat *samples, int nsamples, Mat &covar, Mat &mean, int flags, int ctype=CV_64F) |
| Calculates the covariance matrix of a set of vectors. | |
| CV_EXPORTS_W void | calcCovarMatrix (InputArray samples, OutputArray covar, InputOutputArray mean, int flags, int ctype=CV_64F) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| CV_EXPORTS_W void | PCACompute (InputArray data, InputOutputArray mean, OutputArray eigenvectors, int maxComponents=0) |
| wrap PCA::operator() | |
| CV_EXPORTS_W void | PCACompute (InputArray data, InputOutputArray mean, OutputArray eigenvectors, double retainedVariance) |
| wrap PCA::operator() | |
| CV_EXPORTS_W void | PCAProject (InputArray data, InputArray mean, InputArray eigenvectors, OutputArray result) |
| wrap PCA::project | |
| CV_EXPORTS_W void | PCABackProject (InputArray data, InputArray mean, InputArray eigenvectors, OutputArray result) |
| wrap PCA::backProject | |
| CV_EXPORTS_W void | SVDecomp (InputArray src, OutputArray w, OutputArray u, OutputArray vt, int flags=0) |
| wrap SVD::compute | |
| CV_EXPORTS_W void | SVBackSubst (InputArray w, InputArray u, InputArray vt, InputArray rhs, OutputArray dst) |
| wrap SVD::backSubst | |
| CV_EXPORTS_W double | Mahalanobis (InputArray v1, InputArray v2, InputArray icovar) |
| Calculates the Mahalanobis distance between two vectors. | |
| CV_EXPORTS_W void | dft (InputArray src, OutputArray dst, int flags=0, int nonzeroRows=0) |
| Performs a forward or inverse Discrete Fourier transform of a 1D or 2D floating-point array. | |
| CV_EXPORTS_W void | idft (InputArray src, OutputArray dst, int flags=0, int nonzeroRows=0) |
| Calculates the inverse Discrete Fourier Transform of a 1D or 2D array. | |
| CV_EXPORTS_W void | dct (InputArray src, OutputArray dst, int flags=0) |
| Performs a forward or inverse discrete Cosine transform of 1D or 2D array. | |
| CV_EXPORTS_W void | idct (InputArray src, OutputArray dst, int flags=0) |
| Calculates the inverse Discrete Cosine Transform of a 1D or 2D array. | |
| CV_EXPORTS_W void | mulSpectrums (InputArray a, InputArray b, OutputArray c, int flags, bool conjB=false) |
| Performs the per-element multiplication of two Fourier spectrums. | |
| CV_EXPORTS_W int | getOptimalDFTSize (int vecsize) |
| Returns the optimal DFT size for a given vector size. | |
| CV_EXPORTS RNG & | theRNG () |
| Returns the default random number generator. | |
| CV_EXPORTS_W void | randu (InputOutputArray dst, InputArray low, InputArray high) |
| Generates a single uniformly-distributed random number or an array of random numbers. | |
| CV_EXPORTS_W void | randn (InputOutputArray dst, InputArray mean, InputArray stddev) |
| Fills the array with normally distributed random numbers. | |
| CV_EXPORTS_W void | randShuffle (InputOutputArray dst, double iterFactor=1., RNG *rng=0) |
| Shuffles the array elements randomly. | |
| CV_EXPORTS_W double | kmeans (InputArray data, int K, InputOutputArray bestLabels, TermCriteria criteria, int attempts, int flags, OutputArray centers=noArray()) |
| Finds centers of clusters and groups input samples around the clusters. | |
| void | applyColorMap (InputArray src, OutputArray dst, int colormap) |
| Applies a GNU Octave/MATLAB equivalent colormap on a given image. | |
| void | convexHull (InputArray points, OutputArray hull, bool clockwise=false, bool returnPoints=true) |
| Finds the convex hull of a point set. | |
| void | convexityDefects (InputArray contour, InputArray convexhull, OutputArray convexityDefects) |
| Finds the convexity defects of a contour. | |
| bool | isContourConvex (InputArray contour) |
| Tests a contour convexity. | |
| void | line (InputOutputArray img, Point pt1, Point pt2, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0) |
| Draws a line segment connecting two points. | |
| void | arrowedLine (InputOutputArray img, Point pt1, Point pt2, const Scalar &color, int thickness=1, int line_type=8, int shift=0, double tipLength=0.1) |
| Draws a arrow segment pointing from the first point to the second one. | |
| void | rectangle (InputOutputArray img, Point pt1, Point pt2, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0) |
| Draws a simple, thick, or filled up-right rectangle. | |
| void | circle (InputOutputArray img, Point center, int radius, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0) |
| Draws a circle. | |
| void | 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) |
| Draws a simple or thick elliptic arc or fills an ellipse sector. | |
| void | ellipse (InputOutputArray img, const RotatedRect &box, const Scalar &color, int thickness=1, int lineType=LINE_8) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| void | fillConvexPoly (Mat &img, const Point *pts, int npts, const Scalar &color, int line_type, int shift) |
| void | fillPoly (Mat &img, const Point **pts, const int *npts, int ncontours, const Scalar &color, int line_type, int shift, Point offset) |
| void | polylines (Mat &img, const Point *const *pts, const int *npts, int ncontours, bool isClosed, const Scalar &color, int thickness, int line_type, int shift) |
| void | putText (InputOutputArray img, const String &text, Point org, int fontFace, double fontScale, Scalar color, int thickness=1, int lineType=LINE_8, bool bottomLeftOrigin=false) |
| Draws a text string. | |
| int | getKernelType (InputArray kernel, Point anchor) |
| returns type (one of KERNEL_*) of 1D or 2D kernel specified by its coefficients. | |
| Ptr< BaseRowFilter > | getLinearRowFilter (int srcType, int bufType, InputArray kernel, int anchor, int symmetryType) |
| returns the primitive row filter with the specified kernel | |
| Ptr< BaseColumnFilter > | getLinearColumnFilter (int bufType, int dstType, InputArray kernel, int anchor, int symmetryType, double delta=0, int bits=0) |
| returns the primitive column filter with the specified kernel | |
| Ptr< BaseFilter > | getLinearFilter (int srcType, int dstType, InputArray kernel, Point anchor=Point(-1,-1), double delta=0, int bits=0) |
| returns 2D filter with the specified kernel | |
| Ptr< FilterEngine > | createSeparableLinearFilter (int srcType, int dstType, InputArray rowKernel, InputArray columnKernel, Point anchor=Point(-1,-1), double delta=0, int rowBorderType=BORDER_DEFAULT, int columnBorderType=-1, const Scalar &borderValue=Scalar()) |
| returns the separable linear filter engine | |
| Ptr< FilterEngine > | createLinearFilter (int srcType, int dstType, InputArray kernel, Point _anchor=Point(-1,-1), double delta=0, int rowBorderType=BORDER_DEFAULT, int columnBorderType=-1, const Scalar &borderValue=Scalar()) |
| returns the non-separable linear filter engine | |
| Ptr< FilterEngine > | createGaussianFilter (int type, Size ksize, double sigma1, double sigma2=0, int borderType=BORDER_DEFAULT) |
| returns the Gaussian filter engine | |
| Ptr< FilterEngine > | createDerivFilter (int srcType, int dstType, int dx, int dy, int ksize, int borderType=BORDER_DEFAULT) |
| returns filter engine for the generalized Sobel operator | |
| Ptr< BaseRowFilter > | getRowSumFilter (int srcType, int sumType, int ksize, int anchor=-1) |
| returns horizontal 1D box filter | |
| Ptr< BaseColumnFilter > | getColumnSumFilter (int sumType, int dstType, int ksize, int anchor=-1, double scale=1) |
| returns vertical 1D box filter | |
| Ptr< FilterEngine > | createBoxFilter (int srcType, int dstType, Size ksize, Point anchor=Point(-1,-1), bool normalize=true, int borderType=BORDER_DEFAULT) |
| returns box filter engine | |
| Ptr< BaseRowFilter > | getMorphologyRowFilter (int op, int type, int ksize, int anchor=-1) |
| returns horizontal 1D morphological filter | |
| Ptr< BaseColumnFilter > | getMorphologyColumnFilter (int op, int type, int ksize, int anchor=-1) |
| returns vertical 1D morphological filter | |
| Ptr< BaseFilter > | getMorphologyFilter (int op, int type, InputArray kernel, Point anchor=Point(-1,-1)) |
| returns 2D morphological filter | |
| CV_EXPORTS Ptr< FilterEngine > | createMorphologyFilter (int op, int type, InputArray kernel, Point anchor=Point(-1,-1), int rowBorderType=BORDER_CONSTANT, int columnBorderType=-1, const Scalar &borderValue=morphologyDefaultBorderValue()) |
| returns morphological filter engine. Only MORPH_ERODE and MORPH_DILATE are supported. | |
| int | rotatedRectangleIntersection (const RotatedRect &rect1, const RotatedRect &rect2, OutputArray intersectingRegion) |
| Finds out if there is any intersection between two rotated rectangles. | |
| CV_EXPORTS Ptr < LineSegmentDetector > | 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) |
| Creates a smart pointer to a LineSegmentDetector object and initializes it. | |
| static void | medianBlur_8u_O1 (const Mat &_src, Mat &_dst, int ksize) |
| void | spatialGradient (InputArray src, OutputArray dx, OutputArray dy, int ksize=3, int borderType=BORDER_DEFAULT) |
| Calculates the first order image derivative in both x and y using a Sobel operator. | |
| CV_EXPORTS_W Mat | getGaussianKernel (int ksize, double sigma, int ktype=CV_64F) |
| Returns Gaussian filter coefficients. | |
| CV_EXPORTS_W void | getDerivKernels (OutputArray kx, OutputArray ky, int dx, int dy, int ksize, bool normalize=false, int ktype=CV_32F) |
| Returns filter coefficients for computing spatial image derivatives. | |
| CV_EXPORTS_W Mat | getGaborKernel (Size ksize, double sigma, double theta, double lambd, double gamma, double psi=CV_PI *0.5, int ktype=CV_64F) |
| Returns Gabor filter coefficients. | |
| static Scalar | morphologyDefaultBorderValue () |
| returns "magic" border value for erosion and dilation. It is automatically transformed to Scalar::all(-DBL_MAX) for dilation. | |
| CV_EXPORTS_W Mat | getStructuringElement (int shape, Size ksize, Point anchor=Point(-1,-1)) |
| Returns a structuring element of the specified size and shape for morphological operations. | |
| CV_EXPORTS_W void | medianBlur (InputArray src, OutputArray dst, int ksize) |
| Blurs an image using the median filter. | |
| CV_EXPORTS_W void | GaussianBlur (InputArray src, OutputArray dst, Size ksize, double sigmaX, double sigmaY=0, int borderType=BORDER_DEFAULT) |
| Blurs an image using a Gaussian filter. | |
| CV_EXPORTS_W void | bilateralFilter (InputArray src, OutputArray dst, int d, double sigmaColor, double sigmaSpace, int borderType=BORDER_DEFAULT) |
| Applies the bilateral filter to an image. | |
| CV_EXPORTS_W void | boxFilter (InputArray src, OutputArray dst, int ddepth, Size ksize, Point anchor=Point(-1,-1), bool normalize=true, int borderType=BORDER_DEFAULT) |
| Blurs an image using the box filter. | |
| CV_EXPORTS_W void | sqrBoxFilter (InputArray _src, OutputArray _dst, int ddepth, Size ksize, Point anchor=Point(-1,-1), bool normalize=true, int borderType=BORDER_DEFAULT) |
| Calculates the normalized sum of squares of the pixel values overlapping the filter. | |
| CV_EXPORTS_W void | blur (InputArray src, OutputArray dst, Size ksize, Point anchor=Point(-1,-1), int borderType=BORDER_DEFAULT) |
| Blurs an image using the normalized box filter. | |
| CV_EXPORTS_W void | filter2D (InputArray src, OutputArray dst, int ddepth, InputArray kernel, Point anchor=Point(-1,-1), double delta=0, int borderType=BORDER_DEFAULT) |
| Convolves an image with the kernel. | |
| CV_EXPORTS_W void | sepFilter2D (InputArray src, OutputArray dst, int ddepth, InputArray kernelX, InputArray kernelY, Point anchor=Point(-1,-1), double delta=0, int borderType=BORDER_DEFAULT) |
| Applies a separable linear filter to an image. | |
| CV_EXPORTS_W void | Sobel (InputArray src, OutputArray dst, int ddepth, int dx, int dy, int ksize=3, double scale=1, double delta=0, int borderType=BORDER_DEFAULT) |
| Calculates the first, second, third, or mixed image derivatives using an extended Sobel operator. | |
| CV_EXPORTS_W void | Scharr (InputArray src, OutputArray dst, int ddepth, int dx, int dy, double scale=1, double delta=0, int borderType=BORDER_DEFAULT) |
| Calculates the first x- or y- image derivative using Scharr operator. | |
| CV_EXPORTS_W void | Laplacian (InputArray src, OutputArray dst, int ddepth, int ksize=1, double scale=1, double delta=0, int borderType=BORDER_DEFAULT) |
| Calculates the Laplacian of an image. | |
| CV_EXPORTS_W void | Canny (InputArray image, OutputArray edges, double threshold1, double threshold2, int apertureSize=3, bool L2gradient=false) |
| Finds edges in an image using the Canny algorithm Canny86 . | |
| CV_EXPORTS_W void | cornerMinEigenVal (InputArray src, OutputArray dst, int blockSize, int ksize=3, int borderType=BORDER_DEFAULT) |
| Calculates the minimal eigenvalue of gradient matrices for corner detection. | |
| CV_EXPORTS_W void | cornerHarris (InputArray src, OutputArray dst, int blockSize, int ksize, double k, int borderType=BORDER_DEFAULT) |
| Harris corner detector. | |
| CV_EXPORTS_W void | cornerEigenValsAndVecs (InputArray src, OutputArray dst, int blockSize, int ksize, int borderType=BORDER_DEFAULT) |
| Calculates eigenvalues and eigenvectors of image blocks for corner detection. | |
| CV_EXPORTS_W void | preCornerDetect (InputArray src, OutputArray dst, int ksize, int borderType=BORDER_DEFAULT) |
| Calculates a feature map for corner detection. | |
| CV_EXPORTS_W void | cornerSubPix (InputArray image, InputOutputArray corners, Size winSize, Size zeroZone, TermCriteria criteria) |
| Refines the corner locations. | |
| CV_EXPORTS_W void | goodFeaturesToTrack (InputArray image, OutputArray corners, int maxCorners, double qualityLevel, double minDistance, InputArray mask=noArray(), int blockSize=3, bool useHarrisDetector=false, double k=0.04) |
| Determines strong corners on an image. | |
| CV_EXPORTS_W void | 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) |
| Finds lines in a binary image using the standard Hough transform. | |
| CV_EXPORTS_W void | HoughLinesP (InputArray image, OutputArray lines, double rho, double theta, int threshold, double minLineLength=0, double maxLineGap=0) |
| Finds line segments in a binary image using the probabilistic Hough transform. | |
| CV_EXPORTS_W void | HoughCircles (InputArray image, OutputArray circles, int method, double dp, double minDist, double param1=100, double param2=100, int minRadius=0, int maxRadius=0) |
| Finds circles in a grayscale image using the Hough transform. | |
| CV_EXPORTS_W void | erode (InputArray src, OutputArray dst, InputArray kernel, Point anchor=Point(-1,-1), int iterations=1, int borderType=BORDER_CONSTANT, const Scalar &borderValue=morphologyDefaultBorderValue()) |
| Erodes an image by using a specific structuring element. | |
| CV_EXPORTS_W void | dilate (InputArray src, OutputArray dst, InputArray kernel, Point anchor=Point(-1,-1), int iterations=1, int borderType=BORDER_CONSTANT, const Scalar &borderValue=morphologyDefaultBorderValue()) |
| Dilates an image by using a specific structuring element. | |
| CV_EXPORTS_W void | 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()) |
| Performs advanced morphological transformations. | |
| CV_EXPORTS_W void | resize (InputArray src, OutputArray dst, Size dsize, double fx=0, double fy=0, int interpolation=INTER_LINEAR) |
| Resizes an image. | |
| CV_EXPORTS_W void | warpAffine (InputArray src, OutputArray dst, InputArray M, Size dsize, int flags=INTER_LINEAR, int borderMode=BORDER_CONSTANT, const Scalar &borderValue=Scalar()) |
| Applies an affine transformation to an image. | |
| CV_EXPORTS_W void | warpPerspective (InputArray src, OutputArray dst, InputArray M, Size dsize, int flags=INTER_LINEAR, int borderMode=BORDER_CONSTANT, const Scalar &borderValue=Scalar()) |
| Applies a perspective transformation to an image. | |
| CV_EXPORTS_W void | remap (InputArray src, OutputArray dst, InputArray map1, InputArray map2, int interpolation, int borderMode=BORDER_CONSTANT, const Scalar &borderValue=Scalar()) |
| Applies a generic geometrical transformation to an image. | |
| CV_EXPORTS_W void | convertMaps (InputArray map1, InputArray map2, OutputArray dstmap1, OutputArray dstmap2, int dstmap1type, bool nninterpolation=false) |
| Converts image transformation maps from one representation to another. | |
| CV_EXPORTS_W Mat | getRotationMatrix2D (Point2f center, double angle, double scale) |
| Calculates an affine matrix of 2D rotation. | |
| CV_EXPORTS Mat | getPerspectiveTransform (const Point2f src[], const Point2f dst[]) |
| returns 3x3 perspective transformation for the corresponding 4 point pairs. | |
| CV_EXPORTS Mat | getAffineTransform (const Point2f src[], const Point2f dst[]) |
| Calculates an affine transform from three pairs of the corresponding points. | |
| CV_EXPORTS_W void | invertAffineTransform (InputArray M, OutputArray iM) |
| Inverts an affine transformation. | |
| CV_EXPORTS_W Mat | getPerspectiveTransform (InputArray src, InputArray dst) |
| Calculates a perspective transform from four pairs of the corresponding points. | |
| CV_EXPORTS_W void | getRectSubPix (InputArray image, Size patchSize, Point2f center, OutputArray patch, int patchType=-1) |
| Retrieves a pixel rectangle from an image with sub-pixel accuracy. | |
| CV_EXPORTS_W void | logPolar (InputArray src, OutputArray dst, Point2f center, double M, int flags) |
| Remaps an image to log-polar space. | |
| CV_EXPORTS_W void | linearPolar (InputArray src, OutputArray dst, Point2f center, double maxRadius, int flags) |
| Remaps an image to polar space. | |
| CV_EXPORTS_W void | integral (InputArray src, OutputArray sum, int sdepth=-1) |
| CV_EXPORTS_AS (integral2) void integral(InputArray src | |
| CV_EXPORTS_AS (integral3) void integral(InputArray src | |
| Calculates the integral of an image. | |
| CV_EXPORTS_W void | accumulate (InputArray src, InputOutputArray dst, InputArray mask=noArray()) |
| Adds an image to the accumulator. | |
| CV_EXPORTS_W void | accumulateSquare (InputArray src, InputOutputArray dst, InputArray mask=noArray()) |
| Adds the square of a source image to the accumulator. | |
| CV_EXPORTS_W void | accumulateProduct (InputArray src1, InputArray src2, InputOutputArray dst, InputArray mask=noArray()) |
| Adds the per-element product of two input images to the accumulator. | |
| CV_EXPORTS_W void | accumulateWeighted (InputArray src, InputOutputArray dst, double alpha, InputArray mask=noArray()) |
| Updates a running average. | |
| CV_EXPORTS_W Point2d | phaseCorrelate (InputArray src1, InputArray src2, InputArray window=noArray(), CV_OUT double *response=0) |
| The function is used to detect translational shifts that occur between two images. | |
| CV_EXPORTS_W void | createHanningWindow (OutputArray dst, Size winSize, int type) |
| This function computes a Hanning window coefficients in two dimensions. | |
| CV_EXPORTS_W double | threshold (InputArray src, OutputArray dst, double thresh, double maxval, int type) |
| Applies a fixed-level threshold to each array element. | |
| CV_EXPORTS_W void | adaptiveThreshold (InputArray src, OutputArray dst, double maxValue, int adaptiveMethod, int thresholdType, int blockSize, double C) |
| Applies an adaptive threshold to an array. | |
| CV_EXPORTS_W void | pyrDown (InputArray src, OutputArray dst, const Size &dstsize=Size(), int borderType=BORDER_DEFAULT) |
| Blurs an image and downsamples it. | |
| CV_EXPORTS_W void | pyrUp (InputArray src, OutputArray dst, const Size &dstsize=Size(), int borderType=BORDER_DEFAULT) |
| Upsamples an image and then blurs it. | |
| CV_EXPORTS void | buildPyramid (InputArray src, OutputArrayOfArrays dst, int maxlevel, int borderType=BORDER_DEFAULT) |
| Constructs the Gaussian pyramid for an image. | |
| CV_EXPORTS_W void | undistort (InputArray src, OutputArray dst, InputArray cameraMatrix, InputArray distCoeffs, InputArray newCameraMatrix=noArray()) |
| Transforms an image to compensate for lens distortion. | |
| CV_EXPORTS_W void | initUndistortRectifyMap (InputArray cameraMatrix, InputArray distCoeffs, InputArray R, InputArray newCameraMatrix, Size size, int m1type, OutputArray map1, OutputArray map2) |
| Computes the undistortion and rectification transformation map. | |
| CV_EXPORTS_W float | initWideAngleProjMap (InputArray cameraMatrix, InputArray distCoeffs, Size imageSize, int destImageWidth, int m1type, OutputArray map1, OutputArray map2, int projType=PROJ_SPHERICAL_EQRECT, double alpha=0) |
| initializes maps for cv::remap() for wide-angle | |
| CV_EXPORTS_W Mat | getDefaultNewCameraMatrix (InputArray cameraMatrix, Size imgsize=Size(), bool centerPrincipalPoint=false) |
| Returns the default new camera matrix. | |
| CV_EXPORTS_W void | undistortPoints (InputArray src, OutputArray dst, InputArray cameraMatrix, InputArray distCoeffs, InputArray R=noArray(), InputArray P=noArray()) |
| Computes the ideal point coordinates from the observed point coordinates. | |
| CV_EXPORTS void | 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) |
| Calculates a histogram of a set of arrays. | |
| CV_EXPORTS void | 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) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. this variant uses cv::SparseMat for output. | |
| CV_EXPORTS_W void | 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) |
| CV_EXPORTS void | calcBackProject (const Mat *images, int nimages, const int *channels, InputArray hist, OutputArray backProject, const float **ranges, double scale=1, bool uniform=true) |
| Calculates the back projection of a histogram. | |
| CV_EXPORTS void | calcBackProject (const Mat *images, int nimages, const int *channels, const SparseMat &hist, OutputArray backProject, const float **ranges, double scale=1, bool uniform=true) |
| CV_EXPORTS_W void | calcBackProject (InputArrayOfArrays images, const std::vector< int > &channels, InputArray hist, OutputArray dst, const std::vector< float > &ranges, double scale) |
| CV_EXPORTS_W double | compareHist (InputArray H1, InputArray H2, int method) |
| Compares two histograms. | |
| CV_EXPORTS double | compareHist (const SparseMat &H1, const SparseMat &H2, int method) |
| CV_EXPORTS_W void | equalizeHist (InputArray src, OutputArray dst) |
| Equalizes the histogram of a grayscale image. | |
| CV_EXPORTS float | EMD (InputArray signature1, InputArray signature2, int distType, InputArray cost=noArray(), float *lowerBound=0, OutputArray flow=noArray()) |
| Computes the "minimal work" distance between two weighted point configurations. | |
| CV_EXPORTS_W void | watershed (InputArray image, InputOutputArray markers) |
| Performs a marker-based image segmentation using the watershed algorithm. | |
| CV_EXPORTS_W void | pyrMeanShiftFiltering (InputArray src, OutputArray dst, double sp, double sr, int maxLevel=1, TermCriteria termcrit=TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 5, 1)) |
| Performs initial step of meanshift segmentation of an image. | |
| CV_EXPORTS_W void | grabCut (InputArray img, InputOutputArray mask, Rect rect, InputOutputArray bgdModel, InputOutputArray fgdModel, int iterCount, int mode=GC_EVAL) |
| Runs the GrabCut algorithm. | |
| CV_EXPORTS_AS (distanceTransformWithLabels) void distanceTransform(InputArray src | |
| Calculates the distance to the closest zero pixel for each pixel of the source image. | |
| CV_EXPORTS_W void | distanceTransform (InputArray src, OutputArray dst, int distanceType, int maskSize, int dstType=CV_32F) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| CV_EXPORTS int | floodFill (InputOutputArray image, Point seedPoint, Scalar newVal, CV_OUT Rect *rect=0, Scalar loDiff=Scalar(), Scalar upDiff=Scalar(), int flags=4) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. variant without `mask` parameter. | |
| CV_EXPORTS_W int | floodFill (InputOutputArray image, InputOutputArray mask, Point seedPoint, Scalar newVal, CV_OUT Rect *rect=0, Scalar loDiff=Scalar(), Scalar upDiff=Scalar(), int flags=4) |
| Fills a connected component with the given color. | |
| CV_EXPORTS_W void | cvtColor (InputArray src, OutputArray dst, int code, int dstCn=0) |
| Converts an image from one color space to another. | |
| CV_EXPORTS_W Moments | moments (InputArray array, bool binaryImage=false) |
| Calculates all of the moments up to the third order of a polygon or rasterized shape. | |
| CV_EXPORTS void | HuMoments (const Moments &moments, double hu[7]) |
| Calculates seven Hu invariants. | |
| CV_EXPORTS_W void | HuMoments (const Moments &m, OutputArray hu) |
| CV_EXPORTS_W void | matchTemplate (InputArray image, InputArray templ, OutputArray result, int method, InputArray mask=noArray()) |
| Compares a template against overlapped image regions. | |
| CV_EXPORTS_W int | connectedComponents (InputArray image, OutputArray labels, int connectivity=8, int ltype=CV_32S) |
| computes the connected components labeled image of boolean image | |
| CV_EXPORTS_W int | connectedComponentsWithStats (InputArray image, OutputArray labels, OutputArray stats, OutputArray centroids, int connectivity=8, int ltype=CV_32S) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| CV_EXPORTS_W void | findContours (InputOutputArray image, OutputArrayOfArrays contours, OutputArray hierarchy, int mode, int method, Point offset=Point()) |
| Finds contours in a binary image. | |
| CV_EXPORTS void | findContours (InputOutputArray image, OutputArrayOfArrays contours, int mode, int method, Point offset=Point()) |
| CV_EXPORTS_W void | approxPolyDP (InputArray curve, OutputArray approxCurve, double epsilon, bool closed) |
| Approximates a polygonal curve(s) with the specified precision. | |
| CV_EXPORTS_W double | arcLength (InputArray curve, bool closed) |
| Calculates a contour perimeter or a curve length. | |
| CV_EXPORTS_W Rect | boundingRect (InputArray points) |
| Calculates the up-right bounding rectangle of a point set. | |
| CV_EXPORTS_W double | contourArea (InputArray contour, bool oriented=false) |
| Calculates a contour area. | |
| CV_EXPORTS_W RotatedRect | minAreaRect (InputArray points) |
| Finds a rotated rectangle of the minimum area enclosing the input 2D point set. | |
| CV_EXPORTS_W void | boxPoints (RotatedRect box, OutputArray points) |
| Finds the four vertices of a rotated rect. | |
| CV_EXPORTS_W void | minEnclosingCircle (InputArray points, CV_OUT Point2f ¢er, CV_OUT float &radius) |
| Finds a circle of the minimum area enclosing a 2D point set. | |
| CV_EXPORTS_W double | minEnclosingTriangle (InputArray points, CV_OUT OutputArray triangle) |
| Finds a triangle of minimum area enclosing a 2D point set and returns its area. | |
| CV_EXPORTS_W double | matchShapes (InputArray contour1, InputArray contour2, int method, double parameter) |
| Compares two shapes. | |
| CV_EXPORTS_W float | intersectConvexConvex (InputArray _p1, InputArray _p2, OutputArray _p12, bool handleNested=true) |
| finds intersection of two convex polygons | |
| CV_EXPORTS_W RotatedRect | fitEllipse (InputArray points) |
| Fits an ellipse around a set of 2D points. | |
| CV_EXPORTS_W void | fitLine (InputArray points, OutputArray line, int distType, double param, double reps, double aeps) |
| Fits a line to a 2D or 3D point set. | |
| CV_EXPORTS_W double | pointPolygonTest (InputArray contour, Point2f pt, bool measureDist) |
| Performs a point-in-contour test. | |
| CV_EXPORTS Ptr < GeneralizedHoughBallard > | createGeneralizedHoughBallard () |
| Ballard, D.H. | |
| CV_EXPORTS Ptr < GeneralizedHoughGuil > | createGeneralizedHoughGuil () |
| Guil, N., González-Linares, J.M. | |
| CV_EXPORTS void | blendLinear (InputArray src1, InputArray src2, InputArray weights1, InputArray weights2, OutputArray dst) |
| Performs linear blending of two images. | |
| CV_EXPORTS void | rectangle (CV_IN_OUT Mat &img, Rect rec, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. use `rec` parameter as alternative specification of the drawn rectangle: `r.tl() and r.br()-Point(1,1)` are opposite corners. | |
| CV_EXPORTS_W void | drawMarker (CV_IN_OUT Mat &img, Point position, const Scalar &color, int markerType=MARKER_CROSS, int markerSize=20, int thickness=1, int line_type=8) |
| Draws a marker on a predefined position in an image. | |
| CV_EXPORTS_W void | fillConvexPoly (InputOutputArray img, InputArray points, const Scalar &color, int lineType=LINE_8, int shift=0) |
| Fills a convex polygon. | |
| CV_EXPORTS_W void | fillPoly (InputOutputArray img, InputArrayOfArrays pts, const Scalar &color, int lineType=LINE_8, int shift=0, Point offset=Point()) |
| Fills the area bounded by one or more polygons. | |
| CV_EXPORTS_W void | polylines (InputOutputArray img, InputArrayOfArrays pts, bool isClosed, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0) |
| Draws several polygonal curves. | |
| CV_EXPORTS_W void | 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()) |
| Draws contours outlines or filled contours. | |
| CV_EXPORTS bool | clipLine (Size imgSize, CV_IN_OUT Point &pt1, CV_IN_OUT Point &pt2) |
| Clips the line against the image rectangle. | |
| CV_EXPORTS_W bool | clipLine (Rect imgRect, CV_OUT CV_IN_OUT Point &pt1, CV_OUT CV_IN_OUT Point &pt2) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
| CV_EXPORTS_W void | ellipse2Poly (Point center, Size axes, int angle, int arcStart, int arcEnd, int delta, CV_OUT std::vector< Point > &pts) |
| Approximates an elliptic arc with a polyline. | |
| CV_EXPORTS_W Size | getTextSize (const String &text, int fontFace, double fontScale, int thickness, CV_OUT int *baseLine) |
| Calculates the width and height of a text string. | |
| void | groupRectangles (std::vector< Rect > &rectList, int groupThreshold, double eps, std::vector< int > *weights, std::vector< double > *levelWeights) |
| void | groupRectangles (std::vector< Rect > &rectList, int groupThreshold, double eps=0.2) |
| Groups the object candidate rectangles. | |
| void | groupRectangles (std::vector< Rect > &rectList, std::vector< int > &rejectLevels, std::vector< double > &levelWeights, int groupThreshold, double eps) |
| void | groupRectangles_meanshift (std::vector< Rect > &rectList, std::vector< double > &foundWeights, std::vector< double > &foundScales, double detectThreshold, Size winDetSize) |
| CV_EXPORTS_W void | groupRectangles (CV_IN_OUT std::vector< Rect > &rectList, CV_OUT std::vector< int > &weights, int groupThreshold, double eps=0.2) |
Init with value | |
Create new vector with elements set to a specific value | |
| OPENCV_HAL_IMPL_C_INIT_VAL (v_uint8x16, uchar, u8) OPENCV_HAL_IMPL_C_INIT_VAL(v_int8x16 | |
| s8 | OPENCV_HAL_IMPL_C_INIT_VAL (v_uint16x8, ushort, u16) OPENCV_HAL_IMPL_C_INIT_VAL(v_int16x8 |
| s8 s16 | OPENCV_HAL_IMPL_C_INIT_VAL (v_uint32x4, unsigned, u32) OPENCV_HAL_IMPL_C_INIT_VAL(v_int32x4 |
| s8 s16 s32 | OPENCV_HAL_IMPL_C_INIT_VAL (v_float32x4, float, f32) OPENCV_HAL_IMPL_C_INIT_VAL(v_float64x2 |
| s8 s16 s32 f64 | OPENCV_HAL_IMPL_C_INIT_VAL (v_uint64x2, uint64, u64) OPENCV_HAL_IMPL_C_INIT_VAL(v_int64x2 |
Reinterpret | |
Convert vector to different type without modifying underlying data. | |
| OPENCV_HAL_IMPL_C_REINTERPRET (v_uint8x16, uchar, u8) OPENCV_HAL_IMPL_C_REINTERPRET(v_int8x16 | |
| s8 | OPENCV_HAL_IMPL_C_REINTERPRET (v_uint16x8, ushort, u16) OPENCV_HAL_IMPL_C_REINTERPRET(v_int16x8 |
| s8 s16 | OPENCV_HAL_IMPL_C_REINTERPRET (v_uint32x4, unsigned, u32) OPENCV_HAL_IMPL_C_REINTERPRET(v_int32x4 |
| s8 s16 s32 | OPENCV_HAL_IMPL_C_REINTERPRET (v_float32x4, float, f32) OPENCV_HAL_IMPL_C_REINTERPRET(v_float64x2 |
| s8 s16 s32 f64 | OPENCV_HAL_IMPL_C_REINTERPRET (v_uint64x2, uint64, u64) OPENCV_HAL_IMPL_C_REINTERPRET(v_int64x2 |
Left shift | |
Shift left | |
| OPENCV_HAL_IMPL_C_SHIFTL (v_uint16x8, ushort) OPENCV_HAL_IMPL_C_SHIFTL(v_int16x8 | |
| short | OPENCV_HAL_IMPL_C_SHIFTL (v_uint32x4, unsigned) OPENCV_HAL_IMPL_C_SHIFTL(v_int32x4 |
| short int | OPENCV_HAL_IMPL_C_SHIFTL (v_uint64x2, uint64) OPENCV_HAL_IMPL_C_SHIFTL(v_int64x2 |
Right shift | |
Shift right | |
| OPENCV_HAL_IMPL_C_SHIFTR (v_uint16x8, ushort) OPENCV_HAL_IMPL_C_SHIFTR(v_int16x8 | |
| short | OPENCV_HAL_IMPL_C_SHIFTR (v_uint32x4, unsigned) OPENCV_HAL_IMPL_C_SHIFTR(v_int32x4 |
| short int | OPENCV_HAL_IMPL_C_SHIFTR (v_uint64x2, uint64) OPENCV_HAL_IMPL_C_SHIFTR(v_int64x2 |
Rounding shift | |
Rounding shift right | |
| OPENCV_HAL_IMPL_C_RSHIFTR (v_uint16x8, ushort) OPENCV_HAL_IMPL_C_RSHIFTR(v_int16x8 | |
| short | OPENCV_HAL_IMPL_C_RSHIFTR (v_uint32x4, unsigned) OPENCV_HAL_IMPL_C_RSHIFTR(v_int32x4 |
| short int | OPENCV_HAL_IMPL_C_RSHIFTR (v_uint64x2, uint64) OPENCV_HAL_IMPL_C_RSHIFTR(v_int64x2 |
Pack with rounding shift | |
Pack values from two vectors to one with rounding shift Values from the input vectors will be shifted right by _n_ bits with rounding, converted to narrower type and returned in the result vector. Variant with _u_ suffix converts to unsigned type.
| |
| OPENCV_HAL_IMPL_C_RSHR_PACK (v_uint16x8, ushort, v_uint8x16, uchar, pack) OPENCV_HAL_IMPL_C_RSHR_PACK(v_int16x8 | |
| pack | OPENCV_HAL_IMPL_C_RSHR_PACK (v_uint32x4, unsigned, v_uint16x8, ushort, pack) OPENCV_HAL_IMPL_C_RSHR_PACK(v_int32x4 |
| pack pack | OPENCV_HAL_IMPL_C_RSHR_PACK (v_uint64x2, uint64, v_uint32x4, unsigned, pack) OPENCV_HAL_IMPL_C_RSHR_PACK(v_int64x2 |
| pack pack pack | OPENCV_HAL_IMPL_C_RSHR_PACK (v_int16x8, short, v_uint8x16, uchar, pack_u) OPENCV_HAL_IMPL_C_RSHR_PACK(v_int32x4 |
Pack and store | |
Store values from the input vector into memory with pack Values will be stored into memory with saturating conversion to narrower type. Variant with _u_ suffix converts to corresponding unsigned type.
| |
| OPENCV_HAL_IMPL_C_PACK_STORE (v_uint16x8, ushort, v_uint8x16, uchar, pack) OPENCV_HAL_IMPL_C_PACK_STORE(v_int16x8 | |
| pack | OPENCV_HAL_IMPL_C_PACK_STORE (v_uint32x4, unsigned, v_uint16x8, ushort, pack) OPENCV_HAL_IMPL_C_PACK_STORE(v_int32x4 |
| pack pack | OPENCV_HAL_IMPL_C_PACK_STORE (v_uint64x2, uint64, v_uint32x4, unsigned, pack) OPENCV_HAL_IMPL_C_PACK_STORE(v_int64x2 |
| pack pack pack | OPENCV_HAL_IMPL_C_PACK_STORE (v_int16x8, short, v_uint8x16, uchar, pack_u) OPENCV_HAL_IMPL_C_PACK_STORE(v_int32x4 |
Pack and store with rounding shift | |
Store values from the input vector into memory with pack Values will be shifted _n_ bits right with rounding, converted to narrower type and stored into memory. Variant with _u_ suffix converts to unsigned type.
| |
| OPENCV_HAL_IMPL_C_RSHR_PACK_STORE (v_uint16x8, ushort, v_uint8x16, uchar, pack) OPENCV_HAL_IMPL_C_RSHR_PACK_STORE(v_int16x8 | |
| pack | OPENCV_HAL_IMPL_C_RSHR_PACK_STORE (v_uint32x4, unsigned, v_uint16x8, ushort, pack) OPENCV_HAL_IMPL_C_RSHR_PACK_STORE(v_int32x4 |
| pack pack | OPENCV_HAL_IMPL_C_RSHR_PACK_STORE (v_uint64x2, uint64, v_uint32x4, unsigned, pack) OPENCV_HAL_IMPL_C_RSHR_PACK_STORE(v_int64x2 |
| pack pack pack | OPENCV_HAL_IMPL_C_RSHR_PACK_STORE (v_int16x8, short, v_uint8x16, uchar, pack_u) OPENCV_HAL_IMPL_C_RSHR_PACK_STORE(v_int32x4 |
Pack | |
Pack values from two vectors to one Return vector type have twice more elements than input vector types. Variant with _u_ suffix also converts to corresponding unsigned type.
| |
| typedef v_reg< schar, 16 > | v_int8x16 |
| Sixteen 8-bit signed integer values. | |
| typedef v_reg< ushort, 8 > | v_uint16x8 |
| Eight 16-bit unsigned integer values. | |
| typedef v_reg< short, 8 > | v_int16x8 |
| Eight 16-bit signed integer values. | |
| typedef v_reg< int, 4 > | v_int32x4 |
| Four 32-bit signed integer values. | |
| pack pack pack | ushort |
| OPENCV_HAL_IMPL_C_PACK (v_uint16x8, v_uint8x16, uchar, pack) OPENCV_HAL_IMPL_C_PACK(v_int16x8 | |
| pack | OPENCV_HAL_IMPL_C_PACK (v_uint32x4, v_uint16x8, ushort, pack) OPENCV_HAL_IMPL_C_PACK(v_int32x4 |
| pack pack | OPENCV_HAL_IMPL_C_PACK (v_uint64x2, v_uint32x4, unsigned, pack) OPENCV_HAL_IMPL_C_PACK(v_int64x2 |
| pack pack pack | OPENCV_HAL_IMPL_C_PACK (v_int16x8, v_uint8x16, uchar, pack_u) OPENCV_HAL_IMPL_C_PACK(v_int32x4 |
Init with zero | |
Create new vector with zero elements | |
|
V_TypeTraits< _Tp >::abs_type V_TypeTraits< _Tp >::abs_type int | int |
| schar | |
| s8 | short |
| s8 s16 s32 | double |
| s8 s16 s32 f64 | int64 |
| OPENCV_HAL_IMPL_C_INIT_ZERO (v_uint8x16, uchar, u8) OPENCV_HAL_IMPL_C_INIT_ZERO(v_int8x16 | |
| s8 | OPENCV_HAL_IMPL_C_INIT_ZERO (v_uint16x8, ushort, u16) OPENCV_HAL_IMPL_C_INIT_ZERO(v_int16x8 |
| s8 s16 | OPENCV_HAL_IMPL_C_INIT_ZERO (v_uint32x4, unsigned, u32) OPENCV_HAL_IMPL_C_INIT_ZERO(v_int32x4 |
| s8 s16 s32 | OPENCV_HAL_IMPL_C_INIT_ZERO (v_float32x4, float, f32) OPENCV_HAL_IMPL_C_INIT_ZERO(v_float64x2 |
| s8 s16 s32 f64 | OPENCV_HAL_IMPL_C_INIT_ZERO (v_uint64x2, uint64, u64) OPENCV_HAL_IMPL_C_INIT_ZERO(v_int64x2 |
Detailed Description
DefaultDeviceInitializer.
Enumeration Type Documentation
| anonymous enum |
type of the kernel
Definition at line 44 of file filterengine.hpp.
Function Documentation
| cv::Ptr< cv::FilterEngine > createBoxFilter | ( | int | srcType, |
| int | dstType, | ||
| Size | ksize, | ||
| Point | anchor = Point(-1,-1), |
||
| bool | normalize = true, |
||
| int | borderType = BORDER_DEFAULT |
||
| ) |
returns box filter engine
Definition at line 1287 of file smooth.cpp.
| cv::Ptr< cv::FilterEngine > createDerivFilter | ( | int | srcType, |
| int | dstType, | ||
| int | dx, | ||
| int | dy, | ||
| int | ksize, | ||
| int | borderType = BORDER_DEFAULT |
||
| ) |
| cv::Ptr< cv::FilterEngine > createGaussianFilter | ( | int | type, |
| Size | ksize, | ||
| double | sigma1, | ||
| double | sigma2 = 0, |
||
| int | borderType = BORDER_DEFAULT |
||
| ) |
returns the Gaussian filter engine
Definition at line 1658 of file smooth.cpp.
| cv::Ptr< cv::FilterEngine > createLinearFilter | ( | int | srcType, |
| int | dstType, | ||
| InputArray | kernel, | ||
| Point | _anchor = Point(-1,-1), |
||
| double | delta = 0, |
||
| int | rowBorderType = BORDER_DEFAULT, |
||
| int | columnBorderType = -1, |
||
| const Scalar & | borderValue = Scalar() |
||
| ) |
returns the non-separable linear filter engine
Definition at line 4528 of file filter.cpp.
| cv::Ptr< cv::FilterEngine > createMorphologyFilter | ( | int | op, |
| int | type, | ||
| InputArray | kernel, | ||
| Point | anchor = Point(-1,-1), |
||
| int | rowBorderType = BORDER_CONSTANT, |
||
| int | columnBorderType = -1, |
||
| const Scalar & | borderValue = morphologyDefaultBorderValue() |
||
| ) |
| cv::Ptr< cv::FilterEngine > createSeparableLinearFilter | ( | int | srcType, |
| int | dstType, | ||
| InputArray | rowKernel, | ||
| InputArray | columnKernel, | ||
| Point | anchor = Point(-1,-1), |
||
| double | delta = 0, |
||
| int | rowBorderType = BORDER_DEFAULT, |
||
| int | columnBorderType = -1, |
||
| const Scalar & | borderValue = Scalar() |
||
| ) |
returns the separable linear filter engine
Definition at line 3774 of file filter.cpp.
| cv::Ptr< cv::BaseColumnFilter > getColumnSumFilter | ( | int | sumType, |
| int | dstType, | ||
| int | ksize, | ||
| int | anchor = -1, |
||
| double | scale = 1 |
||
| ) |
returns vertical 1D box filter
Definition at line 1247 of file smooth.cpp.
| int getKernelType | ( | InputArray | kernel, |
| Point | anchor | ||
| ) |
returns type (one of KERNEL_*) of 1D or 2D kernel specified by its coefficients.
Definition at line 425 of file filter.cpp.
| cv::Ptr< cv::BaseColumnFilter > getLinearColumnFilter | ( | int | bufType, |
| int | dstType, | ||
| InputArray | kernel, | ||
| int | anchor, | ||
| int | symmetryType, | ||
| double | delta = 0, |
||
| int | bits = 0 |
||
| ) |
returns the primitive column filter with the specified kernel
Definition at line 3677 of file filter.cpp.
| cv::Ptr< cv::BaseFilter > getLinearFilter | ( | int | srcType, |
| int | dstType, | ||
| InputArray | kernel, | ||
| Point | anchor = Point(-1,-1), |
||
| double | delta = 0, |
||
| int | bits = 0 |
||
| ) |
returns 2D filter with the specified kernel
Definition at line 4450 of file filter.cpp.
| cv::Ptr< cv::BaseRowFilter > getLinearRowFilter | ( | int | srcType, |
| int | bufType, | ||
| InputArray | kernel, | ||
| int | anchor, | ||
| int | symmetryType | ||
| ) |
returns the primitive row filter with the specified kernel
Definition at line 3623 of file filter.cpp.
| cv::Ptr< cv::BaseColumnFilter > getMorphologyColumnFilter | ( | int | op, |
| int | type, | ||
| int | ksize, | ||
| int | anchor = -1 |
||
| ) |
| cv::Ptr< cv::BaseFilter > getMorphologyFilter | ( | int | op, |
| int | type, | ||
| InputArray | kernel, | ||
| Point | anchor = Point(-1,-1) |
||
| ) |
| cv::Ptr< cv::BaseRowFilter > getMorphologyRowFilter | ( | int | op, |
| int | type, | ||
| int | ksize, | ||
| int | anchor = -1 |
||
| ) |
| cv::Ptr< cv::BaseRowFilter > getRowSumFilter | ( | int | srcType, |
| int | sumType, | ||
| int | ksize, | ||
| int | anchor = -1 |
||
| ) |
returns horizontal 1D box filter
Definition at line 1212 of file smooth.cpp.
| static int initialize_simplex | ( | Mat_< double > & | c, |
| Mat_< double > & | b, | ||
| double & | v, | ||
| vector< int > & | N, | ||
| vector< int > & | B, | ||
| vector< unsigned int > & | indexToRow | ||
| ) | [static] |
Due to technical considerations, the format of input b and c is somewhat special: both b and c should be one column bigger than corresponding b and c of linear problem and the leftmost column will be used internally by this procedure - it should not be cleaned before the call to procedure and may contain mess after it also initializes N and B and does not make any assumptions about their init values.
- Returns:
- SOLVELP_UNFEASIBLE if problem is unfeasible, 0 if feasible.
Definition at line 143 of file lpsolver.cpp.
| static int inner_simplex | ( | Mat_< double > & | c, |
| Mat_< double > & | b, | ||
| double & | v, | ||
| vector< int > & | N, | ||
| vector< int > & | B, | ||
| vector< unsigned int > & | indexToRow | ||
| ) | [static] |
- Returns:
- SOLVELP_UNBOUNDED means the problem is unbdd, SOLVELP_MULTI means multiple solutions, SOLVELP_SINGLE means one solution.
Definition at line 249 of file lpsolver.cpp.
| static void cv::medianBlur_8u_O1 | ( | const Mat & | _src, |
| Mat & | _dst, | ||
| int | ksize | ||
| ) | [static] |
HOP is short for Histogram OPeration. This macro makes an operation op on histogram h for pixel value x. It takes care of handling both levels.
Definition at line 1889 of file smooth.cpp.
Generated on Tue Jul 12 2022 15:17:37 by
1.7.2
