OpenCV  5.0.0-pre
Open Source Computer Vision
Loading...
Searching...
No Matches
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables

Namespaces

namespace  alphamat
 
namespace  aruco
 
namespace  barcode
 
namespace  bgsegm
 
namespace  bioinspired
 
namespace  cann
 
namespace  ccalib
 
namespace  ccm
 
namespace  colored_kinfu
 
namespace  cuda
 
namespace  cudacodec
 
namespace  cudev
 
namespace  datasets
 
namespace  detail
 
namespace  details
 
namespace  directx
 
namespace  dnn
 
namespace  dnn_objdetect
 
namespace  dnn_superres
 
namespace  dpm
 
namespace  dynafu
 
namespace  Error
 
namespace  face
 
namespace  fisheye
 The methods in this namespace use a so-called fisheye camera model.
 
namespace  flann
 
namespace  freetype
 
namespace  ft
 
namespace  hal
 
namespace  hdf
 
namespace  hfs
 
namespace  img_hash
 
namespace  instr
 
namespace  intensity_transform
 
namespace  julia
 
namespace  kinfu
 
namespace  large_kinfu
 
namespace  legacy
 
namespace  line_descriptor
 
namespace  linemod
 
namespace  mcc
 
namespace  ml
 
namespace  motempl
 
namespace  multicalib
 
namespace  ocl
 
namespace  ogl
 
namespace  omnidir
 
namespace  optflow
 
namespace  ovis
 
namespace  parallel
 
namespace  phase_unwrapping
 
namespace  plot
 
namespace  ppf_match_3d
 
namespace  quality
 
namespace  randpattern
 
namespace  rapid
 
namespace  reg
 
namespace  saliency
 
namespace  samples
 
namespace  segmentation
 
namespace  sfm
 
namespace  signal
 
namespace  stereo
 
namespace  structured_light
 
namespace  superres
 
namespace  text
 
namespace  traits
 
namespace  utils
 
namespace  va_intel
 
namespace  videoio_registry
 
namespace  videostab
 
namespace  viz
 
namespace  wechat_qrcode
 
namespace  xfeatures2d
 
namespace  ximgproc
 
namespace  xobjdetect
 
namespace  xphoto
 

Classes

class  _InputArray
 This is the proxy class for passing read-only input arrays into OpenCV functions. More...
 
class  _InputOutputArray
 
class  _OutputArray
 This type is very similar to InputArray except that it is used for input/output and output function parameters. More...
 
struct  Accumulator
 
struct  Accumulator< char >
 
struct  Accumulator< short >
 
struct  Accumulator< unsigned char >
 
struct  Accumulator< unsigned short >
 
class  Affine3
 Affine transform. More...
 
class  AffineFeature
 Class for implementing the wrapper which makes detectors and extractors to be affine invariant, described as ASIFT in [313] . More...
 
class  AffineTransformer
 Wrapper class for the OpenCV Affine Transformation algorithm. : More...
 
class  AffineWarper
 Affine warper factory class. More...
 
class  Algorithm
 This is a base class for all more or less complex algorithms in OpenCV. More...
 
class  AlignExposures
 The base class for algorithms that align images of the same scene with different exposures. More...
 
class  AlignMTB
 This algorithm converts images to median threshold bitmaps (1 for pixels brighter than median luminance and 0 otherwise) and than aligns the resulting bitmaps using bit operations. More...
 
class  Allocator
 
class  ANNIndex
 
class  AsyncArray
 Returns result of asynchronous operations. More...
 
class  AsyncPromise
 Provides result of asynchronous operations. More...
 
class  AutoBuffer
 Automatically Allocated Buffer Class. More...
 
class  AVIReadContainer
 
class  AVIWriteContainer
 
class  BackgroundSubtractor
 Base class for background/foreground segmentation. : More...
 
class  BackgroundSubtractorKNN
 K-nearest neighbours - based Background/Foreground Segmentation Algorithm. More...
 
class  BackgroundSubtractorMOG2
 Gaussian Mixture-based Background/Foreground Segmentation Algorithm. More...
 
class  BaseCascadeClassifier
 
class  bfloat
 
class  BFMatcher
 Brute-force descriptor matcher. More...
 
class  BufferPoolController
 
class  CalibrateCRF
 The base class for camera response calibration algorithms. More...
 
class  CalibrateDebevec
 Inverse camera response function is extracted for each brightness value by minimizing an objective function as linear system. Objective function is constructed using pixel values on the same position in all images, extra term is added to make the result smoother. More...
 
class  CalibrateRobertson
 Inverse camera response function is extracted for each brightness value by minimizing an objective function as linear system. This algorithm uses all image pixels. More...
 
class  CascadeClassifier
 Cascade classifier class for object detection. More...
 
class  ChiHistogramCostExtractor
 An Chi based cost extraction. : More...
 
struct  CirclesGridFinderParameters
 
class  CLAHE
 Base class for Contrast Limited Adaptive Histogram Equalization. More...
 
class  CommandLineParser
 Designed for command line parsing. More...
 
class  Complex
 A complex number class. More...
 
class  CompressedRectilinearPortraitWarper
 
class  CompressedRectilinearWarper
 
class  ConjGradSolver
 This class is used to perform the non-linear non-constrained minimization of a function with known gradient,. More...
 
class  CylindricalWarper
 Cylindrical warper factory class. More...
 
class  DataDepth
 A helper class for cv::DataType. More...
 
class  DataType
 Template "trait" class for OpenCV primitive data types. More...
 
class  DataType< Affine3< _Tp > >
 
class  DataType< bfloat >
 
class  DataType< bool >
 
class  DataType< char >
 
class  DataType< char1 >
 
class  DataType< char2 >
 
class  DataType< char3 >
 
class  DataType< char4 >
 
class  DataType< Complex< _Tp > >
 
class  DataType< double >
 
class  DataType< double1 >
 
class  DataType< double2 >
 
class  DataType< double3 >
 
class  DataType< double4 >
 
class  DataType< float >
 
class  DataType< float1 >
 
class  DataType< float2 >
 
class  DataType< float3 >
 
class  DataType< float4 >
 
class  DataType< hfloat >
 
class  DataType< int >
 
class  DataType< int1 >
 
class  DataType< int2 >
 
class  DataType< int3 >
 
class  DataType< int4 >
 
class  DataType< int64_t >
 
class  DataType< Moments >
 
class  DataType< Point3_< _Tp > >
 
class  DataType< Point_< _Tp > >
 
class  DataType< Range >
 
class  DataType< Rect_< _Tp > >
 
class  DataType< RotatedRect >
 
class  DataType< Scalar_< _Tp > >
 
class  DataType< schar >
 
class  DataType< short >
 
class  DataType< short1 >
 
class  DataType< short2 >
 
class  DataType< short3 >
 
class  DataType< short4 >
 
class  DataType< Size_< _Tp > >
 
class  DataType< uchar >
 
class  DataType< uchar1 >
 
class  DataType< uchar2 >
 
class  DataType< uchar3 >
 
class  DataType< uchar4 >
 
class  DataType< uint >
 
class  DataType< uint1 >
 
class  DataType< uint2 >
 
class  DataType< uint3 >
 
class  DataType< uint4 >
 
class  DataType< uint64_t >
 
class  DataType< unsigned >
 
class  DataType< ushort >
 
class  DataType< ushort1 >
 
class  DataType< ushort2 >
 
class  DataType< ushort3 >
 
class  DataType< ushort4 >
 
struct  DefaultDeleter< CvHaarClassifierCascade >
 
class  DenseOpticalFlow
 
class  DescriptorMatcher
 Abstract base class for matching keypoint descriptors. More...
 
class  DetectionBasedTracker
 
struct  DetectionROI
 struct for detection region of interest (ROI) More...
 
class  DISOpticalFlow
 DIS optical flow algorithm. More...
 
class  DMatch
 Class for matching keypoint descriptors. More...
 
class  DownhillSolver
 This class is used to perform the non-linear non-constrained minimization of a function,. More...
 
class  DualQuat
 
class  EMDHistogramCostExtractor
 An EMD based cost extraction. : More...
 
class  EMDL1HistogramCostExtractor
 An EMD-L1 based cost extraction. : More...
 
class  Exception
 Class passed to an error. More...
 
class  FaceDetectorYN
 DNN-based face detector. More...
 
class  FaceRecognizerSF
 DNN-based face recognizer. More...
 
class  FarnebackOpticalFlow
 Class computing a dense optical flow using the Gunnar Farneback's algorithm. More...
 
class  FastFeatureDetector
 Wrapping class for feature detection using the FAST method. More...
 
class  Feature2D
 Abstract base class for 2D image feature detectors and descriptor extractors. More...
 
class  FileNode
 File Storage Node class. More...
 
class  FileNodeIterator
 used to iterate through sequences and mappings. More...
 
class  FileStorage
 XML/YAML/JSON file storage class that encapsulates all the information necessary for writing or reading data to/from a file. More...
 
class  Filter2DParams
 
class  FisheyeWarper
 
class  FlannBasedMatcher
 Flann-based descriptor matcher. More...
 
class  FontFace
 Wrapper on top of a truetype/opentype/etc font, i.e. Freetype's FT_Face. More...
 
class  Formatted
 
class  Formatter
 
class  GeneralizedHough
 finds arbitrary template in the grayscale image using Generalized Hough Transform More...
 
class  GeneralizedHoughBallard
 finds arbitrary template in the grayscale image using Generalized Hough Transform More...
 
class  GeneralizedHoughGuil
 finds arbitrary template in the grayscale image using Generalized Hough Transform More...
 
class  GFTTDetector
 Wrapping class for feature detection using the goodFeaturesToTrack function. : More...
 
class  GraphicalCodeDetector
 
struct  Hamming
 
class  HausdorffDistanceExtractor
 A simple Hausdorff distance measure between shapes defined by contours. More...
 
class  hfloat
 
class  HistogramCostExtractor
 Abstract base class for histogram cost algorithms. More...
 
class  HOGDescriptor
 Implementation of HOG (Histogram of Oriented Gradients) descriptor and object detector. More...
 
class  ImageCollection
 To read multi-page images on demand. More...
 
class  KalmanFilter
 Kalman filter class. More...
 
class  KeyPoint
 Data structure for salient point detectors. More...
 
class  KeyPointsFilter
 A class filters a vector of keypoints. More...
 
struct  L1
 
struct  L2
 
class  LDA
 Linear Discriminant Analysis. More...
 
class  LevMarq
 Levenberg-Marquadt solver. More...
 
class  LineIterator
 Class for iterating over all pixels on a raster line segment. More...
 
class  LineSegmentDetector
 Line segment detector class. More...
 
class  Mat
 n-dimensional dense array class More...
 
class  Mat_
 Template matrix class derived from Mat. More...
 
class  MatAllocator
 Custom array allocator. More...
 
class  MatCommaInitializer_
 Comma-separated Matrix Initializer. More...
 
class  MatConstIterator
 
class  MatConstIterator_
 Matrix read-only iterator. More...
 
class  MatExpr
 Matrix expression representation This is a list of implemented matrix operations that can be combined in arbitrary complex expressions (here A, B stand for matrices ( Mat ), s for a scalar ( Scalar ), alpha for a real-valued scalar ( double )): More...
 
class  MatIterator_
 Matrix read-write iterator. More...
 
class  MatOp
 
struct  MatShape
 Represents shape of a matrix/tensor. Previously, MatShape was defined as an alias of std::vector<int>, but now we use a special structure that provides a few extra benefits: More...
 
struct  MatSize
 
struct  MatStep
 
class  Matx
 Template class for small matrices whose type and size are known at compilation time. More...
 
class  MercatorWarper
 
class  MergeDebevec
 The resulting HDR image is calculated as weighted average of the exposures considering exposure values and camera response. More...
 
class  MergeExposures
 The base class algorithms that can merge exposure sequence to a single image. More...
 
class  MergeMertens
 Pixels are weighted using contrast, saturation and well-exposedness measures, than images are combined using laplacian pyramids. More...
 
class  MergeRobertson
 The resulting HDR image is calculated as weighted average of the exposures considering exposure values and camera response. More...
 
class  MinProblemSolver
 Basic interface for all solvers. More...
 
class  Moments
 struct returned by cv::moments More...
 
class  MSER
 Maximally stable extremal region extractor. More...
 
class  NAryMatIterator
 n-ary multi-dimensional array iterator. More...
 
class  Node
 
class  NormHistogramCostExtractor
 A norm based cost extraction. : More...
 
class  Octree
 Octree for 3D vision. More...
 
class  Odometry
 
class  OdometryFrame
 An object that keeps per-frame data for Odometry algorithms from user-provided images to algorithm-specific precalculated data. When not empty, it contains a depth image, a mask of valid pixels and a set of pyramids generated from that data. A BGR/Gray image and normals are optional. OdometryFrame is made to be used together with Odometry class to reuse precalculated data between Rt data calculations. A correct way to do that is to call Odometry::prepareFrames() on prev and next frames and then pass them to Odometry::compute() method. More...
 
class  OdometrySettings
 
class  ORB
 Class implementing the ORB (oriented BRIEF) keypoint detector and descriptor extractor. More...
 
class  PaniniPortraitWarper
 
class  PaniniWarper
 
class  ParallelLoopBody
 Base class for parallel data processors. More...
 
class  ParallelLoopBodyLambdaWrapper
 
struct  ParamType
 
struct  ParamType< _Tp, typename std::enable_if< std::is_enum< _Tp >::value >::type >
 
struct  ParamType< Algorithm >
 
struct  ParamType< bool >
 
struct  ParamType< double >
 
struct  ParamType< float >
 
struct  ParamType< int >
 
struct  ParamType< Mat >
 
struct  ParamType< Scalar >
 
struct  ParamType< std::vector< Mat > >
 
struct  ParamType< String >
 
struct  ParamType< uchar >
 
struct  ParamType< uint64 >
 
struct  ParamType< unsigned >
 
class  PCA
 Principal Component Analysis. More...
 
class  PlaneWarper
 Plane warper factory class. More...
 
class  Point3_
 Template class for 3D points specified by its coordinates x, y and z. More...
 
class  Point_
 Template class for 2D points specified by its coordinates x and y. More...
 
class  PyRotationWarper
 
class  QRCodeDetector
 QR code detector. More...
 
class  QRCodeDetectorAruco
 QR code detector based on Aruco markers detection code. More...
 
class  QRCodeEncoder
 QR code encoder. More...
 
struct  QtFont
 QtFont available only for Qt. See cv::fontQt. More...
 
class  Quat
 
class  QuatEnum
 
class  Range
 Template class specifying a continuous subsequence (slice) of a sequence. More...
 
class  Rect_
 Template class for 2D rectangles. More...
 
class  RegionGrowing3D
 Region Growing algorithm in 3D point cloud. More...
 
class  RgbdNormals
 
class  RNG
 Random Number Generator. More...
 
class  RNG_MT19937
 Mersenne Twister random number generator. More...
 
class  RotatedRect
 The class represents rotated (i.e. not up-right) rectangles on a plane. More...
 
class  SACSegmentation
 Sample Consensus algorithm segmentation of 3D point cloud model. More...
 
class  Scalar_
 Template class for a 4-element vector derived from Vec. More...
 
class  ShapeContextDistanceExtractor
 Implementation of the Shape Context descriptor and matching algorithm. More...
 
class  ShapeDistanceExtractor
 Abstract base class for shape distance algorithms. More...
 
class  ShapeTransformer
 Abstract base class for shape transformation algorithms. More...
 
class  SIFT
 Class for extracting keypoints and computing descriptors using the Scale Invariant Feature Transform (SIFT) algorithm by D. Lowe [174] . More...
 
class  SimilarRects
 This class is used for grouping object candidates detected by Cascade Classifier, HOG etc. More...
 
class  SimpleBlobDetector
 Class for extracting blobs from an image. : More...
 
class  Size_
 Template class for specifying the size of an image or rectangle. More...
 
struct  SL2
 
struct  softdouble
 
struct  softfloat
 
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  SparseMatConstIterator
 Read-Only Sparse Matrix Iterator. More...
 
class  SparseMatConstIterator_
 Template Read-Only Sparse Matrix Iterator Class. More...
 
class  SparseMatIterator
 Read-write Sparse Matrix Iterator. More...
 
class  SparseMatIterator_
 Template Read-Write Sparse Matrix Iterator Class. More...
 
class  SparseOpticalFlow
 Base interface for sparse optical flow algorithms. More...
 
class  SparsePyrLKOpticalFlow
 Class used for calculating a sparse optical flow. More...
 
class  SphericalWarper
 Spherical warper factory class. More...
 
class  StereoBM
 Class for computing stereo correspondence using the block matching algorithm, introduced and contributed to OpenCV by K. Konolige. More...
 
class  StereographicWarper
 
class  StereoMatcher
 The base class for stereo correspondence algorithms. More...
 
class  StereoSGBM
 The class implements the modified H. Hirschmuller algorithm [126] that differs from the original one as follows: More...
 
class  Stitcher
 High level image stitcher. More...
 
class  Subdiv2D
 
class  SVD
 Singular Value Decomposition. More...
 
class  TermCriteria
 The class defining termination criteria for iterative algorithms. More...
 
class  ThinPlateSplineShapeTransformer
 Definition of the transformation. More...
 
class  TickMeter
 a Class to measure passing time. More...
 
class  TLSData
 Simple TLS data class. More...
 
class  TLSDataAccumulator
 TLS data accumulator with gathering methods. More...
 
class  TLSDataContainer
 
class  Tonemap
 Base class for tonemapping algorithms - tools that are used to map HDR image to 8-bit range. More...
 
class  TonemapDrago
 Adaptive logarithmic mapping is a fast global tonemapping algorithm that scales the image in logarithmic domain. More...
 
class  TonemapMantiuk
 This algorithm transforms image to contrast using gradients on all levels of gaussian pyramid, transforms contrast values to HVS response and scales the response. After this the image is reconstructed from new contrast values. More...
 
class  TonemapReinhard
 This is a global tonemapping operator that models human visual system. More...
 
class  Tracker
 Base abstract class for the long-term tracker. More...
 
class  TrackerCSRT
 the CSRT tracker More...
 
class  TrackerDaSiamRPN
 
class  TrackerKCF
 the KCF (Kernelized Correlation Filter) tracker More...
 
class  TrackerMIL
 The MIL algorithm trains a classifier in an online manner to separate the object from the background. More...
 
class  TrackerNano
 the Nano tracker is a super lightweight dnn-based general object tracking. More...
 
class  TrackerVit
 the VIT tracker is a super lightweight dnn-based general object tracking. More...
 
class  TransverseMercatorWarper
 
struct  TriangleRasterizeSettings
 Structure to keep settings for rasterization. More...
 
class  UMat
 
struct  UMatData
 
struct  UsacParams
 
struct  v_reg
 
struct  V_TypeTraits
 
struct  V_TypeTraits< double >
 
struct  V_TypeTraits< float >
 
struct  V_TypeTraits< int >
 
struct  V_TypeTraits< int64 >
 
struct  V_TypeTraits< schar >
 
struct  V_TypeTraits< short >
 
struct  V_TypeTraits< uchar >
 
struct  V_TypeTraits< uint64 >
 
struct  V_TypeTraits< unsigned >
 
struct  V_TypeTraits< ushort >
 
class  VariationalRefinement
 Variational optical flow refinement. More...
 
class  Vec
 Template class for short numerical vectors, a partial case of Matx. More...
 
class  VideoCapture
 Class for video capturing from video files, image sequences or cameras. More...
 
class  VideoWriter
 Video writer class. More...
 
class  Volume
 
class  VolumeSettings
 
class  WarperCreator
 Image warper factories base class. More...
 

Typedefs

typedef Affine3< double > Affine3d
 
typedef Affine3< float > Affine3f
 
typedef AffineFeature AffineDescriptorExtractor
 
typedef AffineFeature AffineFeatureDetector
 
typedef std::lock_guard< cv::MutexAutoLock
 
typedef void(* ButtonCallback) (int state, void *userdata)
 Callback function for a button created by cv::createButton.
 
typedef CirclesGridFinderParameters CirclesGridFinderParameters2
 
typedef Complex< double > Complexd
 
typedef Complex< float > Complexf
 
typedef Feature2D DescriptorExtractor
 
using DualQuatd = DualQuat< double >
 
using DualQuatf = DualQuat< float >
 
typedef int(* ErrorCallback) (int status, const char *func_name, const char *err_msg, const char *file_name, int line, void *userdata)
 
typedef Feature2D FeatureDetector
 
typedef details::FPDenormalsIgnoreHintScopeNOOP FPDenormalsIgnoreHintScope
 
typedef frame_list::iterator frame_iterator
 
typedef std::deque< std::pair< uint64_t, uint32_t > > frame_list
 
typedef Hamming HammingLUT
 
typedef const _InputArrayInputArray
 
typedef InputArray InputArrayOfArrays
 
typedef const _InputOutputArrayInputOutputArray
 
typedef InputOutputArray InputOutputArrayOfArrays
 
typedef Mat_< ucharMat1b
 
typedef Mat_< double > Mat1d
 
typedef Mat_< float > Mat1f
 
typedef Mat_< int > Mat1i
 
typedef Mat_< short > Mat1s
 
typedef Mat_< ushortMat1w
 
typedef Mat_< Vec2bMat2b
 
typedef Mat_< Vec2dMat2d
 
typedef Mat_< Vec2fMat2f
 
typedef Mat_< Vec2iMat2i
 
typedef Mat_< Vec2sMat2s
 
typedef Mat_< Vec2wMat2w
 
typedef Mat_< Vec3bMat3b
 
typedef Mat_< Vec3dMat3d
 
typedef Mat_< Vec3fMat3f
 
typedef Mat_< Vec3iMat3i
 
typedef Mat_< Vec3sMat3s
 
typedef Mat_< Vec3wMat3w
 
typedef Mat_< Vec4bMat4b
 
typedef Mat_< Vec4dMat4d
 
typedef Mat_< Vec4fMat4f
 
typedef Mat_< Vec4iMat4i
 
typedef Mat_< Vec4sMat4s
 
typedef Mat_< Vec4wMat4w
 
typedef Matx< double, 1, 2 > Matx12d
 
typedef Matx< float, 1, 2 > Matx12f
 
typedef Matx< double, 1, 3 > Matx13d
 
typedef Matx< float, 1, 3 > Matx13f
 
typedef Matx< double, 1, 4 > Matx14d
 
typedef Matx< float, 1, 4 > Matx14f
 
typedef Matx< double, 1, 6 > Matx16d
 
typedef Matx< float, 1, 6 > Matx16f
 
typedef Matx< double, 2, 1 > Matx21d
 
typedef Matx< float, 2, 1 > Matx21f
 
typedef Matx< double, 2, 2 > Matx22d
 
typedef Matx< float, 2, 2 > Matx22f
 
typedef Matx< double, 2, 3 > Matx23d
 
typedef Matx< float, 2, 3 > Matx23f
 
typedef Matx< double, 3, 1 > Matx31d
 
typedef Matx< float, 3, 1 > Matx31f
 
typedef Matx< double, 3, 2 > Matx32d
 
typedef Matx< float, 3, 2 > Matx32f
 
typedef Matx< double, 3, 3 > Matx33d
 
typedef Matx< float, 3, 3 > Matx33f
 
typedef Matx< double, 3, 4 > Matx34d
 
typedef Matx< float, 3, 4 > Matx34f
 
typedef Matx< double, 4, 1 > Matx41d
 
typedef Matx< float, 4, 1 > Matx41f
 
typedef Matx< double, 4, 3 > Matx43d
 
typedef Matx< float, 4, 3 > Matx43f
 
typedef Matx< double, 4, 4 > Matx44d
 
typedef Matx< float, 4, 4 > Matx44f
 
typedef Matx< double, 6, 1 > Matx61d
 
typedef Matx< float, 6, 1 > Matx61f
 
typedef Matx< double, 6, 6 > Matx66d
 
typedef Matx< float, 6, 6 > Matx66f
 
typedef void(* MouseCallback) (int event, int x, int y, int flags, void *userdata)
 Callback function for mouse events. see cv::setMouseCallback.
 
typedef std::recursive_mutex Mutex
 
typedef void(* OpenGlDrawCallback) (void *userdata)
 Callback function defined to be called every frame. See cv::setOpenGlDrawCallback.
 
typedef const _OutputArrayOutputArray
 
typedef OutputArray OutputArrayOfArrays
 
typedef Point2i Point
 
typedef Point_< double > Point2d
 
typedef Point_< float > Point2f
 
typedef Point_< int > Point2i
 
typedef Point_< int64Point2l
 
typedef Point3_< double > Point3d
 
typedef Point3_< float > Point3f
 
typedef Point3_< int > Point3i
 
template<typename _Tp >
using Ptr = std::shared_ptr< _Tp >
 
using Quatd = Quat< double >
 
using Quatf = Quat< float >
 
typedef Rect2i Rect
 
typedef Rect_< double > Rect2d
 
typedef Rect_< float > Rect2f
 
typedef Rect_< int > Rect2i
 
typedef Scalar_< double > Scalar
 
typedef SIFT SiftDescriptorExtractor
 
typedef SIFT SiftFeatureDetector
 
typedef Size2i Size
 
typedef Size_< double > Size2d
 
typedef Size_< float > Size2f
 
typedef Size_< int > Size2i
 
typedef Size_< int64Size2l
 
typedef std::string String
 
typedef void(* TrackbarCallback) (int pos, void *userdata)
 Callback function for Trackbar see cv::createTrackbar.
 
typedef v_reg< float, 16 > v_float32x16
 Sixteen 32-bit floating point values (single precision)
 
typedef v_reg< float, 4 > v_float32x4
 Four 32-bit floating point values (single precision)
 
typedef v_reg< float, 8 > v_float32x8
 Eight 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< double, 4 > v_float64x4
 Four 64-bit floating point values (double precision)
 
typedef v_reg< double, 8 > v_float64x8
 Eight 64-bit floating point values (double precision)
 
typedef v_reg< short, 16 > v_int16x16
 Sixteen 16-bit signed integer values.
 
typedef v_reg< short, 32 > v_int16x32
 Thirty two 16-bit signed integer values.
 
typedef v_reg< short, 8 > v_int16x8
 Eight 16-bit signed integer values.
 
typedef v_reg< int, 16 > v_int32x16
 Sixteen 32-bit signed integer values.
 
typedef v_reg< int, 4 > v_int32x4
 Four 32-bit signed integer values.
 
typedef v_reg< int, 8 > v_int32x8
 Eight 32-bit signed integer values.
 
typedef v_reg< int64, 2 > v_int64x2
 Two 64-bit signed integer values.
 
typedef v_reg< int64, 4 > v_int64x4
 Four 64-bit signed integer values.
 
typedef v_reg< int64, 8 > v_int64x8
 Eight 64-bit signed integer values.
 
typedef v_reg< schar, 16 > v_int8x16
 Sixteen 8-bit signed integer values.
 
typedef v_reg< schar, 32 > v_int8x32
 Thirty two 8-bit signed integer values.
 
typedef v_reg< schar, 64 > v_int8x64
 Sixty four 8-bit signed integer values.
 
typedef v_reg< ushort, 16 > v_uint16x16
 Sixteen 16-bit unsigned integer values.
 
typedef v_reg< ushort, 32 > v_uint16x32
 Thirty two 16-bit unsigned integer values.
 
typedef v_reg< ushort, 8 > v_uint16x8
 Eight 16-bit unsigned integer values.
 
typedef v_reg< unsigned, 16 > v_uint32x16
 Sixteen 32-bit unsigned integer values.
 
typedef v_reg< unsigned, 4 > v_uint32x4
 Four 32-bit unsigned integer values.
 
typedef v_reg< unsigned, 8 > v_uint32x8
 Eight 32-bit unsigned integer values.
 
typedef v_reg< uint64, 2 > v_uint64x2
 Two 64-bit unsigned integer values.
 
typedef v_reg< uint64, 4 > v_uint64x4
 Four 64-bit unsigned integer values.
 
typedef v_reg< uint64, 8 > v_uint64x8
 Eight 64-bit unsigned integer values.
 
typedef v_reg< uchar, 16 > v_uint8x16
 Sixteen 8-bit unsigned integer values.
 
typedef v_reg< uchar, 32 > v_uint8x32
 Thirty two 8-bit unsigned integer values.
 
typedef v_reg< uchar, 64 > v_uint8x64
 Sixty four 8-bit unsigned 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< int64_t, 2 > Vec2l
 
typedef Vec< int64_t, 3 > Vec3l
 
typedef Vec< int64_t, 4 > Vec4l
 
typedef Vec< int64_t, 6 > Vec6l
 
typedef Vec< int64_t, 8 > Vec8l
 
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  { STEREO_ZERO_DISPARITY =0x00400 }
 
enum  {
  CALIB_CB_ADAPTIVE_THRESH = 1 ,
  CALIB_CB_NORMALIZE_IMAGE = 2 ,
  CALIB_CB_FILTER_QUADS = 4 ,
  CALIB_CB_FAST_CHECK = 8 ,
  CALIB_CB_EXHAUSTIVE = 16 ,
  CALIB_CB_ACCURACY = 32 ,
  CALIB_CB_LARGER = 64 ,
  CALIB_CB_MARKER = 128 ,
  CALIB_CB_PLAIN = 256
}
 
enum  {
  CALIB_CB_SYMMETRIC_GRID = 1 ,
  CALIB_CB_ASYMMETRIC_GRID = 2 ,
  CALIB_CB_CLUSTERING = 4
}
 
enum  {
  CALIB_USE_INTRINSIC_GUESS = 0x00001 ,
  CALIB_FIX_ASPECT_RATIO = 0x00002 ,
  CALIB_FIX_PRINCIPAL_POINT = 0x00004 ,
  CALIB_ZERO_TANGENT_DIST = 0x00008 ,
  CALIB_FIX_FOCAL_LENGTH = 0x00010 ,
  CALIB_FIX_K1 = 0x00020 ,
  CALIB_FIX_K2 = 0x00040 ,
  CALIB_FIX_K3 = 0x00080 ,
  CALIB_FIX_K4 = 0x00800 ,
  CALIB_FIX_K5 = 0x01000 ,
  CALIB_FIX_K6 = 0x02000 ,
  CALIB_RATIONAL_MODEL = 0x04000 ,
  CALIB_THIN_PRISM_MODEL = 0x08000 ,
  CALIB_FIX_S1_S2_S3_S4 = 0x10000 ,
  CALIB_TILTED_MODEL = 0x40000 ,
  CALIB_FIX_TAUX_TAUY = 0x80000 ,
  CALIB_USE_QR = 0x100000 ,
  CALIB_FIX_TANGENT_DIST = 0x200000 ,
  CALIB_FIX_INTRINSIC = 0x00100 ,
  CALIB_SAME_FOCAL_LENGTH = 0x00200 ,
  CALIB_ZERO_DISPARITY = 0x00400 ,
  CALIB_USE_LU = (1 << 17) ,
  CALIB_USE_EXTRINSIC_GUESS = (1 << 22) ,
  CALIB_RECOMPUTE_EXTRINSIC = (1 << 23) ,
  CALIB_CHECK_COND = (1 << 24) ,
  CALIB_FIX_SKEW = (1 << 25) ,
  CALIB_STEREO_REGISTRATION = (1 << 26)
}
 
enum  {
  INPAINT_NS = 0 ,
  INPAINT_TELEA = 1
}
 
enum  { LDR_SIZE = 256 }
 
enum  {
  NORMAL_CLONE = 1 ,
  MIXED_CLONE = 2 ,
  MONOCHROME_TRANSFER = 3
}
 seamlessClone algorithm flags More...
 
enum  {
  RECURS_FILTER = 1 ,
  NORMCONV_FILTER = 2
}
 Edge preserving filters. More...
 
enum  {
  CASCADE_DO_CANNY_PRUNING = 1 ,
  CASCADE_SCALE_IMAGE = 2 ,
  CASCADE_FIND_BIGGEST_OBJECT = 4 ,
  CASCADE_DO_ROUGH_SEARCH = 8
}
 
enum  {
  simd128_width = 16 ,
  simd256_width = 32 ,
  simd512_width = 64 ,
  simdmax_width = simd512_width
}
 
enum  {
  OPEN_CAMERA = 300 ,
  CLOSE_CAMERA ,
  UPDATE_IMAGE_ELEMENT ,
  SHOW_TRACKBAR
}
 
enum  {
  COLORSPACE_GRAY =0 ,
  COLORSPACE_RGBA =1 ,
  COLORSPACE_BGR =2 ,
  COLORSPACE_YUV444P =3
}
 
enum  {
  OPTFLOW_USE_INITIAL_FLOW = 4 ,
  OPTFLOW_LK_GET_MIN_EIGENVALS = 8 ,
  OPTFLOW_FARNEBACK_GAUSSIAN = 256
}
 
enum  {
  MOTION_TRANSLATION = 0 ,
  MOTION_EUCLIDEAN = 1 ,
  MOTION_AFFINE = 2 ,
  MOTION_HOMOGRAPHY = 3
}
 
enum  {
  LMEDS = 4 ,
  RANSAC = 8 ,
  RHO = 16 ,
  USAC_DEFAULT = 32 ,
  USAC_PARALLEL = 33 ,
  USAC_FM_8PTS = 34 ,
  USAC_FAST = 35 ,
  USAC_ACCURATE = 36 ,
  USAC_PROSAC = 37 ,
  USAC_MAGSAC = 38
}
 type of the robust estimation algorithm More...
 
enum  {
  FM_7POINT = 1 ,
  FM_8POINT = 2 ,
  FM_LMEDS = 4 ,
  FM_RANSAC = 8
}
 the algorithm for finding fundamental matrix More...
 
enum  AccessFlag {
  ACCESS_READ =1<<24 ,
  ACCESS_WRITE =1<<25 ,
  ACCESS_RW =3<<24 ,
  ACCESS_MASK =ACCESS_RW ,
  ACCESS_FAST =1<<26
}
 
enum  AdaptiveThresholdTypes {
  ADAPTIVE_THRESH_MEAN_C = 0 ,
  ADAPTIVE_THRESH_GAUSSIAN_C = 1
}
 
enum  AlgorithmHint {
  ALGO_HINT_DEFAULT = 0 ,
  ALGO_HINT_ACCURATE = 1 ,
  ALGO_HINT_APPROX = 2
}
 Flags that allow to midify some functions behavior. Used as set of flags. More...
 
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
}
 
enum  CameraModel {
  CALIB_MODEL_PINHOLE = 0 ,
  CALIB_MODEL_FISHEYE = 1
}
 
enum  CmpTypes {
  CMP_EQ = 0 ,
  CMP_GT = 1 ,
  CMP_GE = 2 ,
  CMP_LT = 3 ,
  CMP_LE = 4 ,
  CMP_NE = 5
}
 comparison types More...
 
enum  Codecs { MJPEG }
 
enum  ColorConversionCodes {
  COLOR_BGR2BGRA = 0 ,
  COLOR_RGB2RGBA = COLOR_BGR2BGRA ,
  COLOR_BGRA2BGR = 1 ,
  COLOR_RGBA2RGB = COLOR_BGRA2BGR ,
  COLOR_BGR2RGBA = 2 ,
  COLOR_RGB2BGRA = COLOR_BGR2RGBA ,
  COLOR_RGBA2BGR = 3 ,
  COLOR_BGRA2RGB = COLOR_RGBA2BGR ,
  COLOR_BGR2RGB = 4 ,
  COLOR_RGB2BGR = COLOR_BGR2RGB ,
  COLOR_BGRA2RGBA = 5 ,
  COLOR_RGBA2BGRA = COLOR_BGRA2RGBA ,
  COLOR_BGR2GRAY = 6 ,
  COLOR_RGB2GRAY = 7 ,
  COLOR_GRAY2BGR = 8 ,
  COLOR_GRAY2RGB = COLOR_GRAY2BGR ,
  COLOR_GRAY2BGRA = 9 ,
  COLOR_GRAY2RGBA = COLOR_GRAY2BGRA ,
  COLOR_BGRA2GRAY = 10 ,
  COLOR_RGBA2GRAY = 11 ,
  COLOR_BGR2BGR565 = 12 ,
  COLOR_RGB2BGR565 = 13 ,
  COLOR_BGR5652BGR = 14 ,
  COLOR_BGR5652RGB = 15 ,
  COLOR_BGRA2BGR565 = 16 ,
  COLOR_RGBA2BGR565 = 17 ,
  COLOR_BGR5652BGRA = 18 ,
  COLOR_BGR5652RGBA = 19 ,
  COLOR_GRAY2BGR565 = 20 ,
  COLOR_BGR5652GRAY = 21 ,
  COLOR_BGR2BGR555 = 22 ,
  COLOR_RGB2BGR555 = 23 ,
  COLOR_BGR5552BGR = 24 ,
  COLOR_BGR5552RGB = 25 ,
  COLOR_BGRA2BGR555 = 26 ,
  COLOR_RGBA2BGR555 = 27 ,
  COLOR_BGR5552BGRA = 28 ,
  COLOR_BGR5552RGBA = 29 ,
  COLOR_GRAY2BGR555 = 30 ,
  COLOR_BGR5552GRAY = 31 ,
  COLOR_BGR2XYZ = 32 ,
  COLOR_RGB2XYZ = 33 ,
  COLOR_XYZ2BGR = 34 ,
  COLOR_XYZ2RGB = 35 ,
  COLOR_BGR2YCrCb = 36 ,
  COLOR_RGB2YCrCb = 37 ,
  COLOR_YCrCb2BGR = 38 ,
  COLOR_YCrCb2RGB = 39 ,
  COLOR_BGR2HSV = 40 ,
  COLOR_RGB2HSV = 41 ,
  COLOR_BGR2Lab = 44 ,
  COLOR_RGB2Lab = 45 ,
  COLOR_BGR2Luv = 50 ,
  COLOR_RGB2Luv = 51 ,
  COLOR_BGR2HLS = 52 ,
  COLOR_RGB2HLS = 53 ,
  COLOR_HSV2BGR = 54 ,
  COLOR_HSV2RGB = 55 ,
  COLOR_Lab2BGR = 56 ,
  COLOR_Lab2RGB = 57 ,
  COLOR_Luv2BGR = 58 ,
  COLOR_Luv2RGB = 59 ,
  COLOR_HLS2BGR = 60 ,
  COLOR_HLS2RGB = 61 ,
  COLOR_BGR2HSV_FULL = 66 ,
  COLOR_RGB2HSV_FULL = 67 ,
  COLOR_BGR2HLS_FULL = 68 ,
  COLOR_RGB2HLS_FULL = 69 ,
  COLOR_HSV2BGR_FULL = 70 ,
  COLOR_HSV2RGB_FULL = 71 ,
  COLOR_HLS2BGR_FULL = 72 ,
  COLOR_HLS2RGB_FULL = 73 ,
  COLOR_LBGR2Lab = 74 ,
  COLOR_LRGB2Lab = 75 ,
  COLOR_LBGR2Luv = 76 ,
  COLOR_LRGB2Luv = 77 ,
  COLOR_Lab2LBGR = 78 ,
  COLOR_Lab2LRGB = 79 ,
  COLOR_Luv2LBGR = 80 ,
  COLOR_Luv2LRGB = 81 ,
  COLOR_BGR2YUV = 82 ,
  COLOR_RGB2YUV = 83 ,
  COLOR_YUV2BGR = 84 ,
  COLOR_YUV2RGB = 85 ,
  COLOR_YUV2RGB_NV12 = 90 ,
  COLOR_YUV2BGR_NV12 = 91 ,
  COLOR_YUV2RGB_NV21 = 92 ,
  COLOR_YUV2BGR_NV21 = 93 ,
  COLOR_YUV420sp2RGB = COLOR_YUV2RGB_NV21 ,
  COLOR_YUV420sp2BGR = COLOR_YUV2BGR_NV21 ,
  COLOR_YUV2RGBA_NV12 = 94 ,
  COLOR_YUV2BGRA_NV12 = 95 ,
  COLOR_YUV2RGBA_NV21 = 96 ,
  COLOR_YUV2BGRA_NV21 = 97 ,
  COLOR_YUV420sp2RGBA = COLOR_YUV2RGBA_NV21 ,
  COLOR_YUV420sp2BGRA = COLOR_YUV2BGRA_NV21 ,
  COLOR_YUV2RGB_YV12 = 98 ,
  COLOR_YUV2BGR_YV12 = 99 ,
  COLOR_YUV2RGB_IYUV = 100 ,
  COLOR_YUV2BGR_IYUV = 101 ,
  COLOR_YUV2RGB_I420 = COLOR_YUV2RGB_IYUV ,
  COLOR_YUV2BGR_I420 = COLOR_YUV2BGR_IYUV ,
  COLOR_YUV420p2RGB = COLOR_YUV2RGB_YV12 ,
  COLOR_YUV420p2BGR = COLOR_YUV2BGR_YV12 ,
  COLOR_YUV2RGBA_YV12 = 102 ,
  COLOR_YUV2BGRA_YV12 = 103 ,
  COLOR_YUV2RGBA_IYUV = 104 ,
  COLOR_YUV2BGRA_IYUV = 105 ,
  COLOR_YUV2RGBA_I420 = COLOR_YUV2RGBA_IYUV ,
  COLOR_YUV2BGRA_I420 = COLOR_YUV2BGRA_IYUV ,
  COLOR_YUV420p2RGBA = COLOR_YUV2RGBA_YV12 ,
  COLOR_YUV420p2BGRA = COLOR_YUV2BGRA_YV12 ,
  COLOR_YUV2GRAY_420 = 106 ,
  COLOR_YUV2GRAY_NV21 = COLOR_YUV2GRAY_420 ,
  COLOR_YUV2GRAY_NV12 = COLOR_YUV2GRAY_420 ,
  COLOR_YUV2GRAY_YV12 = COLOR_YUV2GRAY_420 ,
  COLOR_YUV2GRAY_IYUV = COLOR_YUV2GRAY_420 ,
  COLOR_YUV2GRAY_I420 = COLOR_YUV2GRAY_420 ,
  COLOR_YUV420sp2GRAY = COLOR_YUV2GRAY_420 ,
  COLOR_YUV420p2GRAY = COLOR_YUV2GRAY_420 ,
  COLOR_YUV2RGB_UYVY = 107 ,
  COLOR_YUV2BGR_UYVY = 108 ,
  COLOR_YUV2RGB_Y422 = COLOR_YUV2RGB_UYVY ,
  COLOR_YUV2BGR_Y422 = COLOR_YUV2BGR_UYVY ,
  COLOR_YUV2RGB_UYNV = COLOR_YUV2RGB_UYVY ,
  COLOR_YUV2BGR_UYNV = COLOR_YUV2BGR_UYVY ,
  COLOR_YUV2RGBA_UYVY = 111 ,
  COLOR_YUV2BGRA_UYVY = 112 ,
  COLOR_YUV2RGBA_Y422 = COLOR_YUV2RGBA_UYVY ,
  COLOR_YUV2BGRA_Y422 = COLOR_YUV2BGRA_UYVY ,
  COLOR_YUV2RGBA_UYNV = COLOR_YUV2RGBA_UYVY ,
  COLOR_YUV2BGRA_UYNV = COLOR_YUV2BGRA_UYVY ,
  COLOR_YUV2RGB_YUY2 = 115 ,
  COLOR_YUV2BGR_YUY2 = 116 ,
  COLOR_YUV2RGB_YVYU = 117 ,
  COLOR_YUV2BGR_YVYU = 118 ,
  COLOR_YUV2RGB_YUYV = COLOR_YUV2RGB_YUY2 ,
  COLOR_YUV2BGR_YUYV = COLOR_YUV2BGR_YUY2 ,
  COLOR_YUV2RGB_YUNV = COLOR_YUV2RGB_YUY2 ,
  COLOR_YUV2BGR_YUNV = COLOR_YUV2BGR_YUY2 ,
  COLOR_YUV2RGBA_YUY2 = 119 ,
  COLOR_YUV2BGRA_YUY2 = 120 ,
  COLOR_YUV2RGBA_YVYU = 121 ,
  COLOR_YUV2BGRA_YVYU = 122 ,
  COLOR_YUV2RGBA_YUYV = COLOR_YUV2RGBA_YUY2 ,
  COLOR_YUV2BGRA_YUYV = COLOR_YUV2BGRA_YUY2 ,
  COLOR_YUV2RGBA_YUNV = COLOR_YUV2RGBA_YUY2 ,
  COLOR_YUV2BGRA_YUNV = COLOR_YUV2BGRA_YUY2 ,
  COLOR_YUV2GRAY_UYVY = 123 ,
  COLOR_YUV2GRAY_YUY2 = 124 ,
  COLOR_YUV2GRAY_UYNV = COLOR_YUV2GRAY_UYVY ,
  COLOR_YUV2GRAY_YVYU = COLOR_YUV2GRAY_YUY2 ,
  COLOR_YUV2GRAY_YUYV = COLOR_YUV2GRAY_YUY2 ,
  COLOR_YUV2GRAY_YUNV = COLOR_YUV2GRAY_YUY2 ,
  COLOR_RGBA2mRGBA = 125 ,
  COLOR_mRGBA2RGBA = 126 ,
  COLOR_RGB2YUV_I420 = 127 ,
  COLOR_BGR2YUV_I420 = 128 ,
  COLOR_RGB2YUV_IYUV = COLOR_RGB2YUV_I420 ,
  COLOR_BGR2YUV_IYUV = COLOR_BGR2YUV_I420 ,
  COLOR_RGBA2YUV_I420 = 129 ,
  COLOR_BGRA2YUV_I420 = 130 ,
  COLOR_RGBA2YUV_IYUV = COLOR_RGBA2YUV_I420 ,
  COLOR_BGRA2YUV_IYUV = COLOR_BGRA2YUV_I420 ,
  COLOR_RGB2YUV_YV12 = 131 ,
  COLOR_BGR2YUV_YV12 = 132 ,
  COLOR_RGBA2YUV_YV12 = 133 ,
  COLOR_BGRA2YUV_YV12 = 134 ,
  COLOR_BayerBG2BGR = 46 ,
  COLOR_BayerGB2BGR = 47 ,
  COLOR_BayerRG2BGR = 48 ,
  COLOR_BayerGR2BGR = 49 ,
  COLOR_BayerRGGB2BGR = COLOR_BayerBG2BGR ,
  COLOR_BayerGRBG2BGR = COLOR_BayerGB2BGR ,
  COLOR_BayerBGGR2BGR = COLOR_BayerRG2BGR ,
  COLOR_BayerGBRG2BGR = COLOR_BayerGR2BGR ,
  COLOR_BayerRGGB2RGB = COLOR_BayerBGGR2BGR ,
  COLOR_BayerGRBG2RGB = COLOR_BayerGBRG2BGR ,
  COLOR_BayerBGGR2RGB = COLOR_BayerRGGB2BGR ,
  COLOR_BayerGBRG2RGB = COLOR_BayerGRBG2BGR ,
  COLOR_BayerBG2RGB = COLOR_BayerRG2BGR ,
  COLOR_BayerGB2RGB = COLOR_BayerGR2BGR ,
  COLOR_BayerRG2RGB = COLOR_BayerBG2BGR ,
  COLOR_BayerGR2RGB = COLOR_BayerGB2BGR ,
  COLOR_BayerBG2GRAY = 86 ,
  COLOR_BayerGB2GRAY = 87 ,
  COLOR_BayerRG2GRAY = 88 ,
  COLOR_BayerGR2GRAY = 89 ,
  COLOR_BayerRGGB2GRAY = COLOR_BayerBG2GRAY ,
  COLOR_BayerGRBG2GRAY = COLOR_BayerGB2GRAY ,
  COLOR_BayerBGGR2GRAY = COLOR_BayerRG2GRAY ,
  COLOR_BayerGBRG2GRAY = COLOR_BayerGR2GRAY ,
  COLOR_BayerBG2BGR_VNG = 62 ,
  COLOR_BayerGB2BGR_VNG = 63 ,
  COLOR_BayerRG2BGR_VNG = 64 ,
  COLOR_BayerGR2BGR_VNG = 65 ,
  COLOR_BayerRGGB2BGR_VNG = COLOR_BayerBG2BGR_VNG ,
  COLOR_BayerGRBG2BGR_VNG = COLOR_BayerGB2BGR_VNG ,
  COLOR_BayerBGGR2BGR_VNG = COLOR_BayerRG2BGR_VNG ,
  COLOR_BayerGBRG2BGR_VNG = COLOR_BayerGR2BGR_VNG ,
  COLOR_BayerRGGB2RGB_VNG = COLOR_BayerBGGR2BGR_VNG ,
  COLOR_BayerGRBG2RGB_VNG = COLOR_BayerGBRG2BGR_VNG ,
  COLOR_BayerBGGR2RGB_VNG = COLOR_BayerRGGB2BGR_VNG ,
  COLOR_BayerGBRG2RGB_VNG = COLOR_BayerGRBG2BGR_VNG ,
  COLOR_BayerBG2RGB_VNG = COLOR_BayerRG2BGR_VNG ,
  COLOR_BayerGB2RGB_VNG = COLOR_BayerGR2BGR_VNG ,
  COLOR_BayerRG2RGB_VNG = COLOR_BayerBG2BGR_VNG ,
  COLOR_BayerGR2RGB_VNG = COLOR_BayerGB2BGR_VNG ,
  COLOR_BayerBG2BGR_EA = 135 ,
  COLOR_BayerGB2BGR_EA = 136 ,
  COLOR_BayerRG2BGR_EA = 137 ,
  COLOR_BayerGR2BGR_EA = 138 ,
  COLOR_BayerRGGB2BGR_EA = COLOR_BayerBG2BGR_EA ,
  COLOR_BayerGRBG2BGR_EA = COLOR_BayerGB2BGR_EA ,
  COLOR_BayerBGGR2BGR_EA = COLOR_BayerRG2BGR_EA ,
  COLOR_BayerGBRG2BGR_EA = COLOR_BayerGR2BGR_EA ,
  COLOR_BayerRGGB2RGB_EA = COLOR_BayerBGGR2BGR_EA ,
  COLOR_BayerGRBG2RGB_EA = COLOR_BayerGBRG2BGR_EA ,
  COLOR_BayerBGGR2RGB_EA = COLOR_BayerRGGB2BGR_EA ,
  COLOR_BayerGBRG2RGB_EA = COLOR_BayerGRBG2BGR_EA ,
  COLOR_BayerBG2RGB_EA = COLOR_BayerRG2BGR_EA ,
  COLOR_BayerGB2RGB_EA = COLOR_BayerGR2BGR_EA ,
  COLOR_BayerRG2RGB_EA = COLOR_BayerBG2BGR_EA ,
  COLOR_BayerGR2RGB_EA = COLOR_BayerGB2BGR_EA ,
  COLOR_BayerBG2BGRA = 139 ,
  COLOR_BayerGB2BGRA = 140 ,
  COLOR_BayerRG2BGRA = 141 ,
  COLOR_BayerGR2BGRA = 142 ,
  COLOR_BayerRGGB2BGRA = COLOR_BayerBG2BGRA ,
  COLOR_BayerGRBG2BGRA = COLOR_BayerGB2BGRA ,
  COLOR_BayerBGGR2BGRA = COLOR_BayerRG2BGRA ,
  COLOR_BayerGBRG2BGRA = COLOR_BayerGR2BGRA ,
  COLOR_BayerRGGB2RGBA = COLOR_BayerBGGR2BGRA ,
  COLOR_BayerGRBG2RGBA = COLOR_BayerGBRG2BGRA ,
  COLOR_BayerBGGR2RGBA = COLOR_BayerRGGB2BGRA ,
  COLOR_BayerGBRG2RGBA = COLOR_BayerGRBG2BGRA ,
  COLOR_BayerBG2RGBA = COLOR_BayerRG2BGRA ,
  COLOR_BayerGB2RGBA = COLOR_BayerGR2BGRA ,
  COLOR_BayerRG2RGBA = COLOR_BayerBG2BGRA ,
  COLOR_BayerGR2RGBA = COLOR_BayerGB2BGRA ,
  COLOR_RGB2YUV_UYVY = 143 ,
  COLOR_BGR2YUV_UYVY = 144 ,
  COLOR_RGB2YUV_Y422 = COLOR_RGB2YUV_UYVY ,
  COLOR_BGR2YUV_Y422 = COLOR_BGR2YUV_UYVY ,
  COLOR_RGB2YUV_UYNV = COLOR_RGB2YUV_UYVY ,
  COLOR_BGR2YUV_UYNV = COLOR_BGR2YUV_UYVY ,
  COLOR_RGBA2YUV_UYVY = 145 ,
  COLOR_BGRA2YUV_UYVY = 146 ,
  COLOR_RGBA2YUV_Y422 = COLOR_RGBA2YUV_UYVY ,
  COLOR_BGRA2YUV_Y422 = COLOR_BGRA2YUV_UYVY ,
  COLOR_RGBA2YUV_UYNV = COLOR_RGBA2YUV_UYVY ,
  COLOR_BGRA2YUV_UYNV = COLOR_BGRA2YUV_UYVY ,
  COLOR_RGB2YUV_YUY2 = 147 ,
  COLOR_BGR2YUV_YUY2 = 148 ,
  COLOR_RGB2YUV_YVYU = 149 ,
  COLOR_BGR2YUV_YVYU = 150 ,
  COLOR_RGB2YUV_YUYV = COLOR_RGB2YUV_YUY2 ,
  COLOR_BGR2YUV_YUYV = COLOR_BGR2YUV_YUY2 ,
  COLOR_RGB2YUV_YUNV = COLOR_RGB2YUV_YUY2 ,
  COLOR_BGR2YUV_YUNV = COLOR_BGR2YUV_YUY2 ,
  COLOR_RGBA2YUV_YUY2 = 151 ,
  COLOR_BGRA2YUV_YUY2 = 152 ,
  COLOR_RGBA2YUV_YVYU = 153 ,
  COLOR_BGRA2YUV_YVYU = 154 ,
  COLOR_RGBA2YUV_YUYV = COLOR_RGBA2YUV_YUY2 ,
  COLOR_BGRA2YUV_YUYV = COLOR_BGRA2YUV_YUY2 ,
  COLOR_RGBA2YUV_YUNV = COLOR_RGBA2YUV_YUY2 ,
  COLOR_BGRA2YUV_YUNV = COLOR_BGRA2YUV_YUY2 ,
  COLOR_COLORCVT_MAX = 155
}
 
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 ,
  COLORMAP_MAGMA = 13 ,
  COLORMAP_INFERNO = 14 ,
  COLORMAP_PLASMA = 15 ,
  COLORMAP_VIRIDIS = 16 ,
  COLORMAP_CIVIDIS = 17 ,
  COLORMAP_TWILIGHT = 18 ,
  COLORMAP_TWILIGHT_SHIFTED = 19 ,
  COLORMAP_TURBO = 20 ,
  COLORMAP_DEEPGREEN = 21
}
 GNU Octave/MATLAB equivalent colormaps. More...
 
enum  ConnectedComponentsAlgorithmsTypes {
  CCL_DEFAULT = -1 ,
  CCL_WU = 0 ,
  CCL_GRANA = 1 ,
  CCL_BOLELLI = 2 ,
  CCL_SAUF = 3 ,
  CCL_BBDT = 4 ,
  CCL_SPAGHETTI = 5
}
 connected components algorithm 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 statistics More...
 
enum  ContourApproximationModes {
  CHAIN_CODE = 0 ,
  CHAIN_APPROX_NONE = 1 ,
  CHAIN_APPROX_SIMPLE = 2 ,
  CHAIN_APPROX_TC89_L1 = 3 ,
  CHAIN_APPROX_TC89_KCOS = 4 ,
  LINK_RUNS = 5
}
 the contour approximation algorithm More...
 
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  DataLayout {
  DATA_LAYOUT_UNKNOWN = 0 ,
  DATA_LAYOUT_ND = 1 ,
  DATA_LAYOUT_NCHW = 2 ,
  DATA_LAYOUT_NCDHW = 3 ,
  DATA_LAYOUT_NHWC = 4 ,
  DATA_LAYOUT_NDHWC = 5 ,
  DATA_LAYOUT_PLANAR = 6 ,
  DATA_LAYOUT_BLOCK = 7 ,
  DNN_LAYOUT_UNKNOWN = 0 ,
  DNN_LAYOUT_ND = 1 ,
  DNN_LAYOUT_NCHW = 2 ,
  DNN_LAYOUT_NCDHW = 3 ,
  DNN_LAYOUT_NHWC = 4 ,
  DNN_LAYOUT_NDHWC = 5 ,
  DNN_LAYOUT_PLANAR = 6 ,
  DNN_LAYOUT_BLOCK = 7
}
 Enum of data layout for model inference. More...
 
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  DftFlags {
  DFT_INVERSE = 1 ,
  DFT_SCALE = 2 ,
  DFT_ROWS = 4 ,
  DFT_COMPLEX_OUTPUT = 16 ,
  DFT_REAL_OUTPUT = 32 ,
  DFT_COMPLEX_INPUT = 64 ,
  DCT_INVERSE = DFT_INVERSE ,
  DCT_ROWS = DFT_ROWS
}
 
enum  DistanceTransformLabelTypes {
  DIST_LABEL_CCOMP = 0 ,
  DIST_LABEL_PIXEL = 1
}
 distanceTransform algorithm flags More...
 
enum  DistanceTransformMasks {
  DIST_MASK_3 = 3 ,
  DIST_MASK_5 = 5 ,
  DIST_MASK_PRECISE = 0
}
 Mask size for distance transform. 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
}
 
enum struct  DrawMatchesFlags {
  DrawMatchesFlags::DEFAULT = 0 ,
  DrawMatchesFlags::DRAW_OVER_OUTIMG = 1 ,
  DrawMatchesFlags::NOT_DRAW_SINGLE_POINTS = 2 ,
  DrawMatchesFlags::DRAW_RICH_KEYPOINTS = 4
}
 
enum  FloodFillFlags {
  FLOODFILL_FIXED_RANGE = 1 << 16 ,
  FLOODFILL_MASK_ONLY = 1 << 17
}
 floodfill algorithm flags More...
 
enum  GemmFlags {
  GEMM_1_T = 1 ,
  GEMM_2_T = 2 ,
  GEMM_3_T = 4
}
 generalized matrix multiplication flags 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 ,
  GC_EVAL_FREEZE_MODEL = 3
}
 GrabCut algorithm flags. More...
 
enum  HandEyeCalibrationMethod {
  CALIB_HAND_EYE_TSAI = 0 ,
  CALIB_HAND_EYE_PARK = 1 ,
  CALIB_HAND_EYE_HORAUD = 2 ,
  CALIB_HAND_EYE_ANDREFF = 3 ,
  CALIB_HAND_EYE_DANIILIDIS = 4
}
 
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
}
 
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
}
 
enum  HoughModes {
  HOUGH_STANDARD = 0 ,
  HOUGH_PROBABILISTIC = 1 ,
  HOUGH_MULTI_SCALE = 2 ,
  HOUGH_GRADIENT = 3 ,
  HOUGH_GRADIENT_ALT = 4
}
 Variants of a Hough transform. More...
 
enum  ImreadModes {
  IMREAD_UNCHANGED = -1 ,
  IMREAD_GRAYSCALE = 0 ,
  IMREAD_COLOR_BGR = 1 ,
  IMREAD_COLOR = 1 ,
  IMREAD_ANYDEPTH = 2 ,
  IMREAD_ANYCOLOR = 4 ,
  IMREAD_LOAD_GDAL = 8 ,
  IMREAD_REDUCED_GRAYSCALE_2 = 16 ,
  IMREAD_REDUCED_COLOR_2 = 17 ,
  IMREAD_REDUCED_GRAYSCALE_4 = 32 ,
  IMREAD_REDUCED_COLOR_4 = 33 ,
  IMREAD_REDUCED_GRAYSCALE_8 = 64 ,
  IMREAD_REDUCED_COLOR_8 = 65 ,
  IMREAD_IGNORE_ORIENTATION = 128 ,
  IMREAD_COLOR_RGB = 256
}
 Imread flags. More...
 
enum  ImwriteEXRCompressionFlags {
  IMWRITE_EXR_COMPRESSION_NO = 0 ,
  IMWRITE_EXR_COMPRESSION_RLE = 1 ,
  IMWRITE_EXR_COMPRESSION_ZIPS = 2 ,
  IMWRITE_EXR_COMPRESSION_ZIP = 3 ,
  IMWRITE_EXR_COMPRESSION_PIZ = 4 ,
  IMWRITE_EXR_COMPRESSION_PXR24 = 5 ,
  IMWRITE_EXR_COMPRESSION_B44 = 6 ,
  IMWRITE_EXR_COMPRESSION_B44A = 7 ,
  IMWRITE_EXR_COMPRESSION_DWAA = 8 ,
  IMWRITE_EXR_COMPRESSION_DWAB = 9
}
 
enum  ImwriteEXRTypeFlags {
  IMWRITE_EXR_TYPE_HALF = 1 ,
  IMWRITE_EXR_TYPE_FLOAT = 2
}
 
enum  ImwriteFlags {
  IMWRITE_JPEG_QUALITY = 1 ,
  IMWRITE_JPEG_PROGRESSIVE = 2 ,
  IMWRITE_JPEG_OPTIMIZE = 3 ,
  IMWRITE_JPEG_RST_INTERVAL = 4 ,
  IMWRITE_JPEG_LUMA_QUALITY = 5 ,
  IMWRITE_JPEG_CHROMA_QUALITY = 6 ,
  IMWRITE_JPEG_SAMPLING_FACTOR = 7 ,
  IMWRITE_PNG_COMPRESSION = 16 ,
  IMWRITE_PNG_STRATEGY = 17 ,
  IMWRITE_PNG_BILEVEL = 18 ,
  IMWRITE_PXM_BINARY = 32 ,
  IMWRITE_EXR_TYPE = (3 << 4) + 0 ,
  IMWRITE_EXR_COMPRESSION = (3 << 4) + 1 ,
  IMWRITE_EXR_DWA_COMPRESSION_LEVEL = (3 << 4) + 2 ,
  IMWRITE_WEBP_QUALITY = 64 ,
  IMWRITE_HDR_COMPRESSION = (5 << 4) + 0 ,
  IMWRITE_PAM_TUPLETYPE = 128 ,
  IMWRITE_TIFF_RESUNIT = 256 ,
  IMWRITE_TIFF_XDPI = 257 ,
  IMWRITE_TIFF_YDPI = 258 ,
  IMWRITE_TIFF_COMPRESSION = 259 ,
  IMWRITE_TIFF_ROWSPERSTRIP = 278 ,
  IMWRITE_TIFF_PREDICTOR = 317 ,
  IMWRITE_JPEG2000_COMPRESSION_X1000 = 272 ,
  IMWRITE_AVIF_QUALITY = 512 ,
  IMWRITE_AVIF_DEPTH = 513 ,
  IMWRITE_AVIF_SPEED = 514
}
 Imwrite flags. More...
 
enum  ImwriteHDRCompressionFlags {
  IMWRITE_HDR_COMPRESSION_NONE = 0 ,
  IMWRITE_HDR_COMPRESSION_RLE = 1
}
 Imwrite HDR specific values for IMWRITE_HDR_COMPRESSION parameter key. More...
 
enum  ImwriteJPEGSamplingFactorParams {
  IMWRITE_JPEG_SAMPLING_FACTOR_411 = 0x411111 ,
  IMWRITE_JPEG_SAMPLING_FACTOR_420 = 0x221111 ,
  IMWRITE_JPEG_SAMPLING_FACTOR_422 = 0x211111 ,
  IMWRITE_JPEG_SAMPLING_FACTOR_440 = 0x121111 ,
  IMWRITE_JPEG_SAMPLING_FACTOR_444 = 0x111111
}
 
enum  ImwritePAMFlags {
  IMWRITE_PAM_FORMAT_NULL = 0 ,
  IMWRITE_PAM_FORMAT_BLACKANDWHITE = 1 ,
  IMWRITE_PAM_FORMAT_GRAYSCALE = 2 ,
  IMWRITE_PAM_FORMAT_GRAYSCALE_ALPHA = 3 ,
  IMWRITE_PAM_FORMAT_RGB = 4 ,
  IMWRITE_PAM_FORMAT_RGB_ALPHA = 5
}
 Imwrite PAM specific tupletype flags used to define the 'TUPLETYPE' field of a PAM file. More...
 
enum  ImwritePNGFlags {
  IMWRITE_PNG_STRATEGY_DEFAULT = 0 ,
  IMWRITE_PNG_STRATEGY_FILTERED = 1 ,
  IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY = 2 ,
  IMWRITE_PNG_STRATEGY_RLE = 3 ,
  IMWRITE_PNG_STRATEGY_FIXED = 4
}
 Imwrite PNG specific flags used to tune the compression algorithm. More...
 
enum  ImwriteTiffCompressionFlags {
  IMWRITE_TIFF_COMPRESSION_NONE = 1 ,
  IMWRITE_TIFF_COMPRESSION_CCITTRLE = 2 ,
  IMWRITE_TIFF_COMPRESSION_CCITTFAX3 = 3 ,
  IMWRITE_TIFF_COMPRESSION_CCITT_T4 = 3 ,
  IMWRITE_TIFF_COMPRESSION_CCITTFAX4 = 4 ,
  IMWRITE_TIFF_COMPRESSION_CCITT_T6 = 4 ,
  IMWRITE_TIFF_COMPRESSION_LZW = 5 ,
  IMWRITE_TIFF_COMPRESSION_OJPEG = 6 ,
  IMWRITE_TIFF_COMPRESSION_JPEG = 7 ,
  IMWRITE_TIFF_COMPRESSION_T85 = 9 ,
  IMWRITE_TIFF_COMPRESSION_T43 = 10 ,
  IMWRITE_TIFF_COMPRESSION_NEXT = 32766 ,
  IMWRITE_TIFF_COMPRESSION_CCITTRLEW = 32771 ,
  IMWRITE_TIFF_COMPRESSION_PACKBITS = 32773 ,
  IMWRITE_TIFF_COMPRESSION_THUNDERSCAN = 32809 ,
  IMWRITE_TIFF_COMPRESSION_IT8CTPAD = 32895 ,
  IMWRITE_TIFF_COMPRESSION_IT8LW = 32896 ,
  IMWRITE_TIFF_COMPRESSION_IT8MP = 32897 ,
  IMWRITE_TIFF_COMPRESSION_IT8BL = 32898 ,
  IMWRITE_TIFF_COMPRESSION_PIXARFILM = 32908 ,
  IMWRITE_TIFF_COMPRESSION_PIXARLOG = 32909 ,
  IMWRITE_TIFF_COMPRESSION_DEFLATE = 32946 ,
  IMWRITE_TIFF_COMPRESSION_ADOBE_DEFLATE = 8 ,
  IMWRITE_TIFF_COMPRESSION_DCS = 32947 ,
  IMWRITE_TIFF_COMPRESSION_JBIG = 34661 ,
  IMWRITE_TIFF_COMPRESSION_SGILOG = 34676 ,
  IMWRITE_TIFF_COMPRESSION_SGILOG24 = 34677 ,
  IMWRITE_TIFF_COMPRESSION_JP2000 = 34712 ,
  IMWRITE_TIFF_COMPRESSION_LERC = 34887 ,
  IMWRITE_TIFF_COMPRESSION_LZMA = 34925 ,
  IMWRITE_TIFF_COMPRESSION_ZSTD = 50000 ,
  IMWRITE_TIFF_COMPRESSION_WEBP = 50001 ,
  IMWRITE_TIFF_COMPRESSION_JXL = 50002
}
 
enum  ImwriteTiffPredictorFlags {
  IMWRITE_TIFF_PREDICTOR_NONE = 1 ,
  IMWRITE_TIFF_PREDICTOR_HORIZONTAL = 2 ,
  IMWRITE_TIFF_PREDICTOR_FLOATINGPOINT = 3
}
 
enum  InterpolationFlags {
  INTER_NEAREST = 0 ,
  INTER_LINEAR = 1 ,
  INTER_CUBIC = 2 ,
  INTER_AREA = 3 ,
  INTER_LANCZOS4 = 4 ,
  INTER_LINEAR_EXACT = 5 ,
  INTER_NEAREST_EXACT = 6 ,
  INTER_MAX = 7 ,
  WARP_FILL_OUTLIERS = 8 ,
  WARP_INVERSE_MAP = 16 ,
  WARP_RELATIVE_MAP = 32
}
 interpolation algorithm More...
 
enum  InterpolationMasks {
  INTER_BITS = 5 ,
  INTER_BITS2 = INTER_BITS * 2 ,
  INTER_TAB_SIZE = 1 << INTER_BITS ,
  INTER_TAB_SIZE2 = INTER_TAB_SIZE * INTER_TAB_SIZE
}
 
enum  KmeansFlags {
  KMEANS_RANDOM_CENTERS = 0 ,
  KMEANS_PP_CENTERS = 2 ,
  KMEANS_USE_INITIAL_LABELS = 1
}
 k-means flags More...
 
enum  LineSegmentDetectorModes {
  LSD_REFINE_NONE = 0 ,
  LSD_REFINE_STD = 1 ,
  LSD_REFINE_ADV = 2
}
 Variants of Line Segment Detector. More...
 
enum  LineTypes {
  FILLED = -1 ,
  LINE_4 = 4 ,
  LINE_8 = 8 ,
  LINE_AA = 16
}
 
enum  LocalOptimMethod {
  LOCAL_OPTIM_NULL =0 ,
  LOCAL_OPTIM_INNER_LO =1 ,
  LOCAL_OPTIM_INNER_AND_ITER_LO =2 ,
  LOCAL_OPTIM_GC =3 ,
  LOCAL_OPTIM_SIGMA =4
}
 
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
}
 
enum class  MatrixType {
  MatrixType::AUTO = 0 ,
  MatrixType::DENSE = 1 ,
  MatrixType::SPARSE = 2
}
 Type of matrix used in LevMarq solver. More...
 
enum  MorphShapes {
  MORPH_RECT = 0 ,
  MORPH_CROSS = 1 ,
  MORPH_ELLIPSE = 2
}
 shape of the structuring element 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  MouseEventFlags {
  EVENT_FLAG_LBUTTON = 1 ,
  EVENT_FLAG_RBUTTON = 2 ,
  EVENT_FLAG_MBUTTON = 4 ,
  EVENT_FLAG_CTRLKEY = 8 ,
  EVENT_FLAG_SHIFTKEY = 16 ,
  EVENT_FLAG_ALTKEY = 32
}
 Mouse Event Flags see cv::MouseCallback. More...
 
enum  MouseEventTypes {
  EVENT_MOUSEMOVE = 0 ,
  EVENT_LBUTTONDOWN = 1 ,
  EVENT_RBUTTONDOWN = 2 ,
  EVENT_MBUTTONDOWN = 3 ,
  EVENT_LBUTTONUP = 4 ,
  EVENT_RBUTTONUP = 5 ,
  EVENT_MBUTTONUP = 6 ,
  EVENT_LBUTTONDBLCLK = 7 ,
  EVENT_RBUTTONDBLCLK = 8 ,
  EVENT_MBUTTONDBLCLK = 9 ,
  EVENT_MOUSEWHEEL = 10 ,
  EVENT_MOUSEHWHEEL = 11
}
 Mouse Events see cv::MouseCallback. More...
 
enum  NeighborSearchMethod {
  NEIGH_FLANN_KNN =0 ,
  NEIGH_GRID =1 ,
  NEIGH_FLANN_RADIUS =2
}
 
enum  NormTypes {
  NORM_INF = 1 ,
  NORM_L1 = 2 ,
  NORM_L2 = 4 ,
  NORM_L2SQR = 5 ,
  NORM_HAMMING = 6 ,
  NORM_HAMMING2 = 7 ,
  NORM_TYPE_MASK = 7 ,
  NORM_RELATIVE = 8 ,
  NORM_MINMAX = 32
}
 
enum class  OdometryAlgoType {
  COMMON = 0 ,
  FAST = 1
}
 
enum  OdometryFramePyramidType {
  PYR_IMAGE = 0 ,
  PYR_DEPTH = 1 ,
  PYR_MASK = 2 ,
  PYR_CLOUD = 3 ,
  PYR_DIX = 4 ,
  PYR_DIY = 5 ,
  PYR_TEXMASK = 6 ,
  PYR_NORM = 7 ,
  PYR_NORMMASK = 8 ,
  N_PYRAMIDS
}
 
enum class  OdometryType {
  DEPTH = 0 ,
  RGB = 1 ,
  RGB_DEPTH = 2
}
 
enum struct  Param {
  Param::INT =0 ,
  Param::BOOLEAN =1 ,
  Param::REAL =2 ,
  Param::STRING =3 ,
  Param::MAT =4 ,
  Param::MAT_VECTOR =5 ,
  Param::ALGORITHM =6 ,
  Param::FLOAT =7 ,
  Param::UNSIGNED_INT =8 ,
  Param::UINT64 =9 ,
  Param::UCHAR =11 ,
  Param::SCALAR =12
}
 
enum  PolishingMethod {
  NONE_POLISHER =0 ,
  LSQ_POLISHER =1 ,
  MAGSAC =2 ,
  COV_POLISHER =3
}
 
enum  PutTextFlags {
  PUT_TEXT_ALIGN_LEFT =0 ,
  PUT_TEXT_ALIGN_CENTER =1 ,
  PUT_TEXT_ALIGN_RIGHT =2 ,
  PUT_TEXT_ALIGN_MASK =3 ,
  PUT_TEXT_ORIGIN_TL =0 ,
  PUT_TEXT_ORIGIN_BL =32 ,
  PUT_TEXT_WRAP =128
}
 Defines various put text flags. More...
 
enum  QtButtonTypes {
  QT_PUSH_BUTTON = 0 ,
  QT_CHECKBOX = 1 ,
  QT_RADIOBOX = 2 ,
  QT_NEW_BUTTONBAR = 1024
}
 Qt "button" type. More...
 
enum  QtFontStyles {
  QT_STYLE_NORMAL = 0 ,
  QT_STYLE_ITALIC = 1 ,
  QT_STYLE_OBLIQUE = 2
}
 Qt font style. More...
 
enum  QtFontWeights {
  QT_FONT_LIGHT = 25 ,
  QT_FONT_NORMAL = 50 ,
  QT_FONT_DEMIBOLD = 63 ,
  QT_FONT_BOLD = 75 ,
  QT_FONT_BLACK = 87
}
 Qt font weight. More...
 
enum  QuatAssumeType {
  QUAT_ASSUME_NOT_UNIT ,
  QUAT_ASSUME_UNIT
}
 Unit quaternion flag. More...
 
enum  RectanglesIntersectTypes {
  INTERSECT_NONE = 0 ,
  INTERSECT_PARTIAL = 1 ,
  INTERSECT_FULL = 2
}
 types of intersection between rectangles More...
 
enum  ReduceTypes {
  REDUCE_SUM = 0 ,
  REDUCE_AVG = 1 ,
  REDUCE_MAX = 2 ,
  REDUCE_MIN = 3 ,
  REDUCE_SUM2 = 4
}
 
enum  RetrievalModes {
  RETR_EXTERNAL = 0 ,
  RETR_LIST = 1 ,
  RETR_CCOMP = 2 ,
  RETR_TREE = 3 ,
  RETR_FLOODFILL = 4
}
 mode of the contour retrieval algorithm More...
 
enum  RgbdPlaneMethod { RGBD_PLANE_METHOD_DEFAULT }
 
enum  RobotWorldHandEyeCalibrationMethod {
  CALIB_ROBOT_WORLD_HAND_EYE_SHAH = 0 ,
  CALIB_ROBOT_WORLD_HAND_EYE_LI = 1
}
 
enum  RotateFlags {
  ROTATE_90_CLOCKWISE = 0 ,
  ROTATE_180 = 1 ,
  ROTATE_90_COUNTERCLOCKWISE = 2
}
 
enum  SacMethod { SAC_METHOD_RANSAC }
 type of the robust estimation algorithm More...
 
enum  SacModelType {
  SAC_MODEL_PLANE ,
  SAC_MODEL_SPHERE
}
 
enum  SamplingMethod {
  SAMPLING_UNIFORM =0 ,
  SAMPLING_PROGRESSIVE_NAPSAC =1 ,
  SAMPLING_NAPSAC =2 ,
  SAMPLING_PROSAC =3
}
 
enum  ScoreMethod {
  SCORE_METHOD_RANSAC =0 ,
  SCORE_METHOD_MSAC =1 ,
  SCORE_METHOD_MAGSAC =2 ,
  SCORE_METHOD_LMEDS =3
}
 
enum  ShapeMatchModes {
  CONTOURS_MATCH_I1 =1 ,
  CONTOURS_MATCH_I2 =2 ,
  CONTOURS_MATCH_I3 =3
}
 Shape matching methods. More...
 
enum  SolveLPResult {
  SOLVELP_LOST = -3 ,
  SOLVELP_UNBOUNDED = -2 ,
  SOLVELP_UNFEASIBLE = -1 ,
  SOLVELP_SINGLE = 0 ,
  SOLVELP_MULTI = 1
}
 return codes for cv::solveLP() function More...
 
enum  SolvePnPMethod {
  SOLVEPNP_ITERATIVE = 0 ,
  SOLVEPNP_EPNP = 1 ,
  SOLVEPNP_P3P = 2 ,
  SOLVEPNP_DLS = 3 ,
  SOLVEPNP_UPNP = 4 ,
  SOLVEPNP_AP3P = 5 ,
  SOLVEPNP_IPPE = 6 ,
  SOLVEPNP_IPPE_SQUARE = 7 ,
  SOLVEPNP_SQPNP = 8
}
 
enum  SortFlags {
  SORT_EVERY_ROW = 0 ,
  SORT_EVERY_COLUMN = 1 ,
  SORT_ASCENDING = 0 ,
  SORT_DESCENDING = 16
}
 
enum  SpecialFilter { FILTER_SCHARR = -1 }
 
enum  StreamType {
  db ,
  dc ,
  pc ,
  wb
}
 
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  ThresholdTypes {
  THRESH_BINARY = 0 ,
  THRESH_BINARY_INV = 1 ,
  THRESH_TRUNC = 2 ,
  THRESH_TOZERO = 3 ,
  THRESH_TOZERO_INV = 4 ,
  THRESH_MASK = 7 ,
  THRESH_OTSU = 8 ,
  THRESH_TRIANGLE = 16
}
 
enum  TriangleCullingMode {
  RASTERIZE_CULLING_NONE = 0 ,
  RASTERIZE_CULLING_CW = 1 ,
  RASTERIZE_CULLING_CCW = 2
}
 Face culling settings: what faces are drawn after face culling. More...
 
enum  TriangleGlCompatibleMode {
  RASTERIZE_COMPAT_DISABLED = 0 ,
  RASTERIZE_COMPAT_INVDEPTH = 1
}
 GL compatibility settings. More...
 
enum  TriangleShadingType {
  RASTERIZE_SHADING_WHITE = 0 ,
  RASTERIZE_SHADING_FLAT = 1 ,
  RASTERIZE_SHADING_SHADED = 2
}
 Triangle fill settings. More...
 
enum  UMatUsageFlags {
  USAGE_DEFAULT = 0 ,
  USAGE_ALLOCATE_HOST_MEMORY = 1 << 0 ,
  USAGE_ALLOCATE_DEVICE_MEMORY = 1 << 1 ,
  USAGE_ALLOCATE_SHARED_MEMORY = 1 << 2 ,
  __UMAT_USAGE_FLAGS_32BIT = 0x7fffffff
}
 Usage flags for allocator. More...
 
enum  UndistortTypes {
  PROJ_SPHERICAL_ORTHO = 0 ,
  PROJ_SPHERICAL_EQRECT = 1
}
 cv::undistort mode More...
 
enum class  VariableType {
  VariableType::LINEAR = 0 ,
  VariableType::SO3 = 1 ,
  VariableType::SE3 = 2
}
 Type of variables used in LevMarq solver. More...
 
enum  VideoCaptureAPIs {
  CAP_ANY = 0 ,
  CAP_V4L = 200 ,
  CAP_V4L2 = CAP_V4L ,
  CAP_FIREWIRE = 300 ,
  CAP_FIREWARE = CAP_FIREWIRE ,
  CAP_IEEE1394 = CAP_FIREWIRE ,
  CAP_DC1394 = CAP_FIREWIRE ,
  CAP_CMU1394 = CAP_FIREWIRE ,
  CAP_DSHOW = 700 ,
  CAP_PVAPI = 800 ,
  CAP_ANDROID = 1000 ,
  CAP_XIAPI = 1100 ,
  CAP_AVFOUNDATION = 1200 ,
  CAP_MSMF = 1400 ,
  CAP_WINRT = 1410 ,
  CAP_INTELPERC = 1500 ,
  CAP_REALSENSE = 1500 ,
  CAP_OPENNI2 = 1600 ,
  CAP_OPENNI2_ASUS = 1610 ,
  CAP_OPENNI2_ASTRA = 1620 ,
  CAP_GPHOTO2 = 1700 ,
  CAP_GSTREAMER = 1800 ,
  CAP_FFMPEG = 1900 ,
  CAP_IMAGES = 2000 ,
  CAP_ARAVIS = 2100 ,
  CAP_OPENCV_MJPEG = 2200 ,
  CAP_INTEL_MFX = 2300 ,
  CAP_XINE = 2400 ,
  CAP_UEYE = 2500 ,
  CAP_OBSENSOR = 2600
}
 cv::VideoCapture API backends identifier. More...
 
enum  VideoCaptureProperties {
  CAP_PROP_POS_MSEC =0 ,
  CAP_PROP_POS_FRAMES =1 ,
  CAP_PROP_POS_AVI_RATIO =2 ,
  CAP_PROP_FRAME_WIDTH =3 ,
  CAP_PROP_FRAME_HEIGHT =4 ,
  CAP_PROP_FPS =5 ,
  CAP_PROP_FOURCC =6 ,
  CAP_PROP_FRAME_COUNT =7 ,
  CAP_PROP_FORMAT =8 ,
  CAP_PROP_MODE =9 ,
  CAP_PROP_BRIGHTNESS =10 ,
  CAP_PROP_CONTRAST =11 ,
  CAP_PROP_SATURATION =12 ,
  CAP_PROP_HUE =13 ,
  CAP_PROP_GAIN =14 ,
  CAP_PROP_EXPOSURE =15 ,
  CAP_PROP_CONVERT_RGB =16 ,
  CAP_PROP_WHITE_BALANCE_BLUE_U =17 ,
  CAP_PROP_RECTIFICATION =18 ,
  CAP_PROP_MONOCHROME =19 ,
  CAP_PROP_SHARPNESS =20 ,
  CAP_PROP_AUTO_EXPOSURE =21 ,
  CAP_PROP_GAMMA =22 ,
  CAP_PROP_TEMPERATURE =23 ,
  CAP_PROP_TRIGGER =24 ,
  CAP_PROP_TRIGGER_DELAY =25 ,
  CAP_PROP_WHITE_BALANCE_RED_V =26 ,
  CAP_PROP_ZOOM =27 ,
  CAP_PROP_FOCUS =28 ,
  CAP_PROP_GUID =29 ,
  CAP_PROP_ISO_SPEED =30 ,
  CAP_PROP_BACKLIGHT =32 ,
  CAP_PROP_PAN =33 ,
  CAP_PROP_TILT =34 ,
  CAP_PROP_ROLL =35 ,
  CAP_PROP_IRIS =36 ,
  CAP_PROP_SETTINGS =37 ,
  CAP_PROP_BUFFERSIZE =38 ,
  CAP_PROP_AUTOFOCUS =39 ,
  CAP_PROP_SAR_NUM =40 ,
  CAP_PROP_SAR_DEN =41 ,
  CAP_PROP_BACKEND =42 ,
  CAP_PROP_CHANNEL =43 ,
  CAP_PROP_AUTO_WB =44 ,
  CAP_PROP_WB_TEMPERATURE =45 ,
  CAP_PROP_CODEC_PIXEL_FORMAT =46 ,
  CAP_PROP_BITRATE =47 ,
  CAP_PROP_ORIENTATION_META =48 ,
  CAP_PROP_ORIENTATION_AUTO =49 ,
  CAP_PROP_HW_ACCELERATION =50 ,
  CAP_PROP_HW_DEVICE =51 ,
  CAP_PROP_HW_ACCELERATION_USE_OPENCL =52 ,
  CAP_PROP_OPEN_TIMEOUT_MSEC =53 ,
  CAP_PROP_READ_TIMEOUT_MSEC =54 ,
  CAP_PROP_STREAM_OPEN_TIME_USEC =55 ,
  CAP_PROP_VIDEO_TOTAL_CHANNELS = 56 ,
  CAP_PROP_VIDEO_STREAM = 57 ,
  CAP_PROP_AUDIO_STREAM = 58 ,
  CAP_PROP_AUDIO_POS = 59 ,
  CAP_PROP_AUDIO_SHIFT_NSEC = 60 ,
  CAP_PROP_AUDIO_DATA_DEPTH = 61 ,
  CAP_PROP_AUDIO_SAMPLES_PER_SECOND = 62 ,
  CAP_PROP_AUDIO_BASE_INDEX = 63 ,
  CAP_PROP_AUDIO_TOTAL_CHANNELS = 64 ,
  CAP_PROP_AUDIO_TOTAL_STREAMS = 65 ,
  CAP_PROP_AUDIO_SYNCHRONIZE = 66 ,
  CAP_PROP_LRF_HAS_KEY_FRAME = 67 ,
  CAP_PROP_CODEC_EXTRADATA_INDEX = 68 ,
  CAP_PROP_FRAME_TYPE = 69 ,
  CAP_PROP_N_THREADS = 70 ,
  CAP_PROP_PTS = 71 ,
  CAP_PROP_DTS_DELAY = 72
}
 cv::VideoCapture generic properties identifier. More...
 
enum  VideoWriterProperties {
  VIDEOWRITER_PROP_QUALITY = 1 ,
  VIDEOWRITER_PROP_FRAMEBYTES = 2 ,
  VIDEOWRITER_PROP_NSTRIPES = 3 ,
  VIDEOWRITER_PROP_IS_COLOR = 4 ,
  VIDEOWRITER_PROP_DEPTH = 5 ,
  VIDEOWRITER_PROP_HW_ACCELERATION = 6 ,
  VIDEOWRITER_PROP_HW_DEVICE = 7 ,
  VIDEOWRITER_PROP_HW_ACCELERATION_USE_OPENCL = 8 ,
  VIDEOWRITER_PROP_RAW_VIDEO = 9 ,
  VIDEOWRITER_PROP_KEY_INTERVAL = 10 ,
  VIDEOWRITER_PROP_KEY_FLAG = 11 ,
  VIDEOWRITER_PROP_PTS = 12 ,
  VIDEOWRITER_PROP_DTS_DELAY = 13
}
 cv::VideoWriter generic properties identifier. More...
 
enum class  VolumeType {
  TSDF = 0 ,
  HashTSDF = 1 ,
  ColorTSDF = 2
}
 
enum  WarpPolarMode {
  WARP_POLAR_LINEAR = 0 ,
  WARP_POLAR_LOG = 256
}
 Specify the polar mapping mode. More...
 
enum  WindowFlags {
  WINDOW_NORMAL = 0x00000000 ,
  WINDOW_AUTOSIZE = 0x00000001 ,
  WINDOW_OPENGL = 0x00001000 ,
  WINDOW_FULLSCREEN = 1 ,
  WINDOW_FREERATIO = 0x00000100 ,
  WINDOW_KEEPRATIO = 0x00000000 ,
  WINDOW_GUI_EXPANDED =0x00000000 ,
  WINDOW_GUI_NORMAL = 0x00000010
}
 Flags for cv::namedWindow. More...
 
enum  WindowPropertyFlags {
  WND_PROP_FULLSCREEN = 0 ,
  WND_PROP_AUTOSIZE = 1 ,
  WND_PROP_ASPECT_RATIO = 2 ,
  WND_PROP_OPENGL = 3 ,
  WND_PROP_VISIBLE = 4 ,
  WND_PROP_TOPMOST = 5 ,
  WND_PROP_VSYNC = 6
}
 Flags for cv::setWindowProperty / cv::getWindowProperty. More...
 
Hardware acceleration support
enum  VideoAccelerationType {
  VIDEO_ACCELERATION_NONE = 0 ,
  VIDEO_ACCELERATION_ANY = 1 ,
  VIDEO_ACCELERATION_D3D11 = 2 ,
  VIDEO_ACCELERATION_VAAPI = 3 ,
  VIDEO_ACCELERATION_MFX = 4
}
 Video Acceleration type. More...
 
IEEE 1394 drivers
enum  {
  CAP_PROP_DC1394_OFF = -4 ,
  CAP_PROP_DC1394_MODE_MANUAL = -3 ,
  CAP_PROP_DC1394_MODE_AUTO = -2 ,
  CAP_PROP_DC1394_MODE_ONE_PUSH_AUTO = -1 ,
  CAP_PROP_DC1394_MAX = 31
}
 Modes of the IEEE 1394 controlling registers (can be: auto, manual, auto single push, absolute Latter allowed with any other mode) every feature can have only one mode turned on at a time. More...
 
OpenNI (for Kinect)
enum  {
  CAP_OPENNI_DEPTH_GENERATOR = 1 << 31 ,
  CAP_OPENNI_IMAGE_GENERATOR = 1 << 30 ,
  CAP_OPENNI_IR_GENERATOR = 1 << 29 ,
  CAP_OPENNI_GENERATORS_MASK = CAP_OPENNI_DEPTH_GENERATOR + CAP_OPENNI_IMAGE_GENERATOR + CAP_OPENNI_IR_GENERATOR
}
 OpenNI map generators. More...
 
enum  {
  CAP_PROP_OPENNI_OUTPUT_MODE = 100 ,
  CAP_PROP_OPENNI_FRAME_MAX_DEPTH = 101 ,
  CAP_PROP_OPENNI_BASELINE = 102 ,
  CAP_PROP_OPENNI_FOCAL_LENGTH = 103 ,
  CAP_PROP_OPENNI_REGISTRATION = 104 ,
  CAP_PROP_OPENNI_REGISTRATION_ON = CAP_PROP_OPENNI_REGISTRATION ,
  CAP_PROP_OPENNI_APPROX_FRAME_SYNC = 105 ,
  CAP_PROP_OPENNI_MAX_BUFFER_SIZE = 106 ,
  CAP_PROP_OPENNI_CIRCLE_BUFFER = 107 ,
  CAP_PROP_OPENNI_MAX_TIME_DURATION = 108 ,
  CAP_PROP_OPENNI_GENERATOR_PRESENT = 109 ,
  CAP_PROP_OPENNI2_SYNC = 110 ,
  CAP_PROP_OPENNI2_MIRROR = 111
}
 Properties of cameras available through OpenNI backend. More...
 
enum  {
  CAP_OPENNI_IMAGE_GENERATOR_PRESENT = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT ,
  CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = CAP_OPENNI_IMAGE_GENERATOR + CAP_PROP_OPENNI_OUTPUT_MODE ,
  CAP_OPENNI_DEPTH_GENERATOR_PRESENT = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT ,
  CAP_OPENNI_DEPTH_GENERATOR_BASELINE = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_BASELINE ,
  CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_FOCAL_LENGTH ,
  CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = CAP_OPENNI_DEPTH_GENERATOR + CAP_PROP_OPENNI_REGISTRATION ,
  CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION_ON = CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION ,
  CAP_OPENNI_IR_GENERATOR_PRESENT = CAP_OPENNI_IR_GENERATOR + CAP_PROP_OPENNI_GENERATOR_PRESENT
}
 OpenNI shortcuts. More...
 
enum  {
  CAP_OPENNI_DEPTH_MAP = 0 ,
  CAP_OPENNI_POINT_CLOUD_MAP = 1 ,
  CAP_OPENNI_DISPARITY_MAP = 2 ,
  CAP_OPENNI_DISPARITY_MAP_32F = 3 ,
  CAP_OPENNI_VALID_DEPTH_MASK = 4 ,
  CAP_OPENNI_BGR_IMAGE = 5 ,
  CAP_OPENNI_GRAY_IMAGE = 6 ,
  CAP_OPENNI_IR_IMAGE = 7
}
 OpenNI data given from depth generator. More...
 
enum  {
  CAP_OPENNI_VGA_30HZ = 0 ,
  CAP_OPENNI_SXGA_15HZ = 1 ,
  CAP_OPENNI_SXGA_30HZ = 2 ,
  CAP_OPENNI_QVGA_30HZ = 3 ,
  CAP_OPENNI_QVGA_60HZ = 4
}
 Supported output modes of OpenNI image generator. More...
 
GStreamer
enum  { CAP_PROP_GSTREAMER_QUEUE_LENGTH = 200 }
 
PvAPI, Prosilica GigE SDK
enum  {
  CAP_PROP_PVAPI_MULTICASTIP = 300 ,
  CAP_PROP_PVAPI_FRAMESTARTTRIGGERMODE = 301 ,
  CAP_PROP_PVAPI_DECIMATIONHORIZONTAL = 302 ,
  CAP_PROP_PVAPI_DECIMATIONVERTICAL = 303 ,
  CAP_PROP_PVAPI_BINNINGX = 304 ,
  CAP_PROP_PVAPI_BINNINGY = 305 ,
  CAP_PROP_PVAPI_PIXELFORMAT = 306
}
 PVAPI. More...
 
enum  {
  CAP_PVAPI_FSTRIGMODE_FREERUN = 0 ,
  CAP_PVAPI_FSTRIGMODE_SYNCIN1 = 1 ,
  CAP_PVAPI_FSTRIGMODE_SYNCIN2 = 2 ,
  CAP_PVAPI_FSTRIGMODE_FIXEDRATE = 3 ,
  CAP_PVAPI_FSTRIGMODE_SOFTWARE = 4
}
 PVAPI: FrameStartTriggerMode. More...
 
enum  {
  CAP_PVAPI_DECIMATION_OFF = 1 ,
  CAP_PVAPI_DECIMATION_2OUTOF4 = 2 ,
  CAP_PVAPI_DECIMATION_2OUTOF8 = 4 ,
  CAP_PVAPI_DECIMATION_2OUTOF16 = 8
}
 PVAPI: DecimationHorizontal, DecimationVertical. More...
 
enum  {
  CAP_PVAPI_PIXELFORMAT_MONO8 = 1 ,
  CAP_PVAPI_PIXELFORMAT_MONO16 = 2 ,
  CAP_PVAPI_PIXELFORMAT_BAYER8 = 3 ,
  CAP_PVAPI_PIXELFORMAT_BAYER16 = 4 ,
  CAP_PVAPI_PIXELFORMAT_RGB24 = 5 ,
  CAP_PVAPI_PIXELFORMAT_BGR24 = 6 ,
  CAP_PVAPI_PIXELFORMAT_RGBA32 = 7 ,
  CAP_PVAPI_PIXELFORMAT_BGRA32 = 8
}
 PVAPI: PixelFormat. More...
 
XIMEA Camera API
enum  {
  CAP_PROP_XI_DOWNSAMPLING = 400 ,
  CAP_PROP_XI_DATA_FORMAT = 401 ,
  CAP_PROP_XI_OFFSET_X = 402 ,
  CAP_PROP_XI_OFFSET_Y = 403 ,
  CAP_PROP_XI_TRG_SOURCE = 404 ,
  CAP_PROP_XI_TRG_SOFTWARE = 405 ,
  CAP_PROP_XI_GPI_SELECTOR = 406 ,
  CAP_PROP_XI_GPI_MODE = 407 ,
  CAP_PROP_XI_GPI_LEVEL = 408 ,
  CAP_PROP_XI_GPO_SELECTOR = 409 ,
  CAP_PROP_XI_GPO_MODE = 410 ,
  CAP_PROP_XI_LED_SELECTOR = 411 ,
  CAP_PROP_XI_LED_MODE = 412 ,
  CAP_PROP_XI_MANUAL_WB = 413 ,
  CAP_PROP_XI_AUTO_WB = 414 ,
  CAP_PROP_XI_AEAG = 415 ,
  CAP_PROP_XI_EXP_PRIORITY = 416 ,
  CAP_PROP_XI_AE_MAX_LIMIT = 417 ,
  CAP_PROP_XI_AG_MAX_LIMIT = 418 ,
  CAP_PROP_XI_AEAG_LEVEL = 419 ,
  CAP_PROP_XI_TIMEOUT = 420 ,
  CAP_PROP_XI_EXPOSURE = 421 ,
  CAP_PROP_XI_EXPOSURE_BURST_COUNT = 422 ,
  CAP_PROP_XI_GAIN_SELECTOR = 423 ,
  CAP_PROP_XI_GAIN = 424 ,
  CAP_PROP_XI_DOWNSAMPLING_TYPE = 426 ,
  CAP_PROP_XI_BINNING_SELECTOR = 427 ,
  CAP_PROP_XI_BINNING_VERTICAL = 428 ,
  CAP_PROP_XI_BINNING_HORIZONTAL = 429 ,
  CAP_PROP_XI_BINNING_PATTERN = 430 ,
  CAP_PROP_XI_DECIMATION_SELECTOR = 431 ,
  CAP_PROP_XI_DECIMATION_VERTICAL = 432 ,
  CAP_PROP_XI_DECIMATION_HORIZONTAL = 433 ,
  CAP_PROP_XI_DECIMATION_PATTERN = 434 ,
  CAP_PROP_XI_TEST_PATTERN_GENERATOR_SELECTOR = 587 ,
  CAP_PROP_XI_TEST_PATTERN = 588 ,
  CAP_PROP_XI_IMAGE_DATA_FORMAT = 435 ,
  CAP_PROP_XI_SHUTTER_TYPE = 436 ,
  CAP_PROP_XI_SENSOR_TAPS = 437 ,
  CAP_PROP_XI_AEAG_ROI_OFFSET_X = 439 ,
  CAP_PROP_XI_AEAG_ROI_OFFSET_Y = 440 ,
  CAP_PROP_XI_AEAG_ROI_WIDTH = 441 ,
  CAP_PROP_XI_AEAG_ROI_HEIGHT = 442 ,
  CAP_PROP_XI_BPC = 445 ,
  CAP_PROP_XI_WB_KR = 448 ,
  CAP_PROP_XI_WB_KG = 449 ,
  CAP_PROP_XI_WB_KB = 450 ,
  CAP_PROP_XI_WIDTH = 451 ,
  CAP_PROP_XI_HEIGHT = 452 ,
  CAP_PROP_XI_REGION_SELECTOR = 589 ,
  CAP_PROP_XI_REGION_MODE = 595 ,
  CAP_PROP_XI_LIMIT_BANDWIDTH = 459 ,
  CAP_PROP_XI_SENSOR_DATA_BIT_DEPTH = 460 ,
  CAP_PROP_XI_OUTPUT_DATA_BIT_DEPTH = 461 ,
  CAP_PROP_XI_IMAGE_DATA_BIT_DEPTH = 462 ,
  CAP_PROP_XI_OUTPUT_DATA_PACKING = 463 ,
  CAP_PROP_XI_OUTPUT_DATA_PACKING_TYPE = 464 ,
  CAP_PROP_XI_IS_COOLED = 465 ,
  CAP_PROP_XI_COOLING = 466 ,
  CAP_PROP_XI_TARGET_TEMP = 467 ,
  CAP_PROP_XI_CHIP_TEMP = 468 ,
  CAP_PROP_XI_HOUS_TEMP = 469 ,
  CAP_PROP_XI_HOUS_BACK_SIDE_TEMP = 590 ,
  CAP_PROP_XI_SENSOR_BOARD_TEMP = 596 ,
  CAP_PROP_XI_CMS = 470 ,
  CAP_PROP_XI_APPLY_CMS = 471 ,
  CAP_PROP_XI_IMAGE_IS_COLOR = 474 ,
  CAP_PROP_XI_COLOR_FILTER_ARRAY = 475 ,
  CAP_PROP_XI_GAMMAY = 476 ,
  CAP_PROP_XI_GAMMAC = 477 ,
  CAP_PROP_XI_SHARPNESS = 478 ,
  CAP_PROP_XI_CC_MATRIX_00 = 479 ,
  CAP_PROP_XI_CC_MATRIX_01 = 480 ,
  CAP_PROP_XI_CC_MATRIX_02 = 481 ,
  CAP_PROP_XI_CC_MATRIX_03 = 482 ,
  CAP_PROP_XI_CC_MATRIX_10 = 483 ,
  CAP_PROP_XI_CC_MATRIX_11 = 484 ,
  CAP_PROP_XI_CC_MATRIX_12 = 485 ,
  CAP_PROP_XI_CC_MATRIX_13 = 486 ,
  CAP_PROP_XI_CC_MATRIX_20 = 487 ,
  CAP_PROP_XI_CC_MATRIX_21 = 488 ,
  CAP_PROP_XI_CC_MATRIX_22 = 489 ,
  CAP_PROP_XI_CC_MATRIX_23 = 490 ,
  CAP_PROP_XI_CC_MATRIX_30 = 491 ,
  CAP_PROP_XI_CC_MATRIX_31 = 492 ,
  CAP_PROP_XI_CC_MATRIX_32 = 493 ,
  CAP_PROP_XI_CC_MATRIX_33 = 494 ,
  CAP_PROP_XI_DEFAULT_CC_MATRIX = 495 ,
  CAP_PROP_XI_TRG_SELECTOR = 498 ,
  CAP_PROP_XI_ACQ_FRAME_BURST_COUNT = 499 ,
  CAP_PROP_XI_DEBOUNCE_EN = 507 ,
  CAP_PROP_XI_DEBOUNCE_T0 = 508 ,
  CAP_PROP_XI_DEBOUNCE_T1 = 509 ,
  CAP_PROP_XI_DEBOUNCE_POL = 510 ,
  CAP_PROP_XI_LENS_MODE = 511 ,
  CAP_PROP_XI_LENS_APERTURE_VALUE = 512 ,
  CAP_PROP_XI_LENS_FOCUS_MOVEMENT_VALUE = 513 ,
  CAP_PROP_XI_LENS_FOCUS_MOVE = 514 ,
  CAP_PROP_XI_LENS_FOCUS_DISTANCE = 515 ,
  CAP_PROP_XI_LENS_FOCAL_LENGTH = 516 ,
  CAP_PROP_XI_LENS_FEATURE_SELECTOR = 517 ,
  CAP_PROP_XI_LENS_FEATURE = 518 ,
  CAP_PROP_XI_DEVICE_MODEL_ID = 521 ,
  CAP_PROP_XI_DEVICE_SN = 522 ,
  CAP_PROP_XI_IMAGE_DATA_FORMAT_RGB32_ALPHA = 529 ,
  CAP_PROP_XI_IMAGE_PAYLOAD_SIZE = 530 ,
  CAP_PROP_XI_TRANSPORT_PIXEL_FORMAT = 531 ,
  CAP_PROP_XI_SENSOR_CLOCK_FREQ_HZ = 532 ,
  CAP_PROP_XI_SENSOR_CLOCK_FREQ_INDEX = 533 ,
  CAP_PROP_XI_SENSOR_OUTPUT_CHANNEL_COUNT = 534 ,
  CAP_PROP_XI_FRAMERATE = 535 ,
  CAP_PROP_XI_COUNTER_SELECTOR = 536 ,
  CAP_PROP_XI_COUNTER_VALUE = 537 ,
  CAP_PROP_XI_ACQ_TIMING_MODE = 538 ,
  CAP_PROP_XI_AVAILABLE_BANDWIDTH = 539 ,
  CAP_PROP_XI_BUFFER_POLICY = 540 ,
  CAP_PROP_XI_LUT_EN = 541 ,
  CAP_PROP_XI_LUT_INDEX = 542 ,
  CAP_PROP_XI_LUT_VALUE = 543 ,
  CAP_PROP_XI_TRG_DELAY = 544 ,
  CAP_PROP_XI_TS_RST_MODE = 545 ,
  CAP_PROP_XI_TS_RST_SOURCE = 546 ,
  CAP_PROP_XI_IS_DEVICE_EXIST = 547 ,
  CAP_PROP_XI_ACQ_BUFFER_SIZE = 548 ,
  CAP_PROP_XI_ACQ_BUFFER_SIZE_UNIT = 549 ,
  CAP_PROP_XI_ACQ_TRANSPORT_BUFFER_SIZE = 550 ,
  CAP_PROP_XI_BUFFERS_QUEUE_SIZE = 551 ,
  CAP_PROP_XI_ACQ_TRANSPORT_BUFFER_COMMIT = 552 ,
  CAP_PROP_XI_RECENT_FRAME = 553 ,
  CAP_PROP_XI_DEVICE_RESET = 554 ,
  CAP_PROP_XI_COLUMN_FPN_CORRECTION = 555 ,
  CAP_PROP_XI_ROW_FPN_CORRECTION = 591 ,
  CAP_PROP_XI_SENSOR_MODE = 558 ,
  CAP_PROP_XI_HDR = 559 ,
  CAP_PROP_XI_HDR_KNEEPOINT_COUNT = 560 ,
  CAP_PROP_XI_HDR_T1 = 561 ,
  CAP_PROP_XI_HDR_T2 = 562 ,
  CAP_PROP_XI_KNEEPOINT1 = 563 ,
  CAP_PROP_XI_KNEEPOINT2 = 564 ,
  CAP_PROP_XI_IMAGE_BLACK_LEVEL = 565 ,
  CAP_PROP_XI_HW_REVISION = 571 ,
  CAP_PROP_XI_DEBUG_LEVEL = 572 ,
  CAP_PROP_XI_AUTO_BANDWIDTH_CALCULATION = 573 ,
  CAP_PROP_XI_FFS_FILE_ID = 594 ,
  CAP_PROP_XI_FFS_FILE_SIZE = 580 ,
  CAP_PROP_XI_FREE_FFS_SIZE = 581 ,
  CAP_PROP_XI_USED_FFS_SIZE = 582 ,
  CAP_PROP_XI_FFS_ACCESS_KEY = 583 ,
  CAP_PROP_XI_SENSOR_FEATURE_SELECTOR = 585 ,
  CAP_PROP_XI_SENSOR_FEATURE_VALUE = 586
}
 Properties of cameras available through XIMEA SDK backend. More...
 
ARAVIS Camera API
enum  { CAP_PROP_ARAVIS_AUTOTRIGGER = 600 }
 Properties of cameras available through ARAVIS backend. More...
 
AVFoundation framework for iOS
enum  {
  CAP_PROP_IOS_DEVICE_FOCUS = 9001 ,
  CAP_PROP_IOS_DEVICE_EXPOSURE = 9002 ,
  CAP_PROP_IOS_DEVICE_FLASH = 9003 ,
  CAP_PROP_IOS_DEVICE_WHITEBALANCE = 9004 ,
  CAP_PROP_IOS_DEVICE_TORCH = 9005
}
 Properties of cameras available through AVFOUNDATION backend. More...
 
Smartek Giganetix GigEVisionSDK
enum  {
  CAP_PROP_GIGA_FRAME_OFFSET_X = 10001 ,
  CAP_PROP_GIGA_FRAME_OFFSET_Y = 10002 ,
  CAP_PROP_GIGA_FRAME_WIDTH_MAX = 10003 ,
  CAP_PROP_GIGA_FRAME_HEIGH_MAX = 10004 ,
  CAP_PROP_GIGA_FRAME_SENS_WIDTH = 10005 ,
  CAP_PROP_GIGA_FRAME_SENS_HEIGH = 10006
}
 Properties of cameras available through Smartek Giganetix Ethernet Vision backend. More...
 
Intel Perceptual Computing SDK
enum  {
  CAP_PROP_INTELPERC_PROFILE_COUNT = 11001 ,
  CAP_PROP_INTELPERC_PROFILE_IDX = 11002 ,
  CAP_PROP_INTELPERC_DEPTH_LOW_CONFIDENCE_VALUE = 11003 ,
  CAP_PROP_INTELPERC_DEPTH_SATURATION_VALUE = 11004 ,
  CAP_PROP_INTELPERC_DEPTH_CONFIDENCE_THRESHOLD = 11005 ,
  CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_HORZ = 11006 ,
  CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_VERT = 11007
}
 
enum  {
  CAP_INTELPERC_DEPTH_GENERATOR = 1 << 29 ,
  CAP_INTELPERC_IMAGE_GENERATOR = 1 << 28 ,
  CAP_INTELPERC_IR_GENERATOR = 1 << 27 ,
  CAP_INTELPERC_GENERATORS_MASK = CAP_INTELPERC_DEPTH_GENERATOR + CAP_INTELPERC_IMAGE_GENERATOR + CAP_INTELPERC_IR_GENERATOR
}
 Intel Perceptual Streams. More...
 
enum  {
  CAP_INTELPERC_DEPTH_MAP = 0 ,
  CAP_INTELPERC_UVDEPTH_MAP = 1 ,
  CAP_INTELPERC_IR_MAP = 2 ,
  CAP_INTELPERC_IMAGE = 3
}
 
gPhoto2 connection
enum  {
  CAP_PROP_GPHOTO2_PREVIEW = 17001 ,
  CAP_PROP_GPHOTO2_WIDGET_ENUMERATE = 17002 ,
  CAP_PROP_GPHOTO2_RELOAD_CONFIG = 17003 ,
  CAP_PROP_GPHOTO2_RELOAD_ON_CHANGE = 17004 ,
  CAP_PROP_GPHOTO2_COLLECT_MSGS = 17005 ,
  CAP_PROP_GPHOTO2_FLUSH_MSGS = 17006 ,
  CAP_PROP_SPEED = 17007 ,
  CAP_PROP_APERTURE = 17008 ,
  CAP_PROP_EXPOSUREPROGRAM = 17009 ,
  CAP_PROP_VIEWFINDER = 17010
}
 gPhoto2 properties More...
 
Images backend
enum  {
  CAP_PROP_IMAGES_BASE = 18000 ,
  CAP_PROP_IMAGES_LAST = 19000
}
 Images backend properties. More...
 
OBSENSOR (for Orbbec 3D-Sensor device/module )
enum  VideoCaptureOBSensorDataType {
  CAP_OBSENSOR_DEPTH_MAP = 0 ,
  CAP_OBSENSOR_BGR_IMAGE = 1 ,
  CAP_OBSENSOR_IR_IMAGE = 2
}
 OBSENSOR data given from image generator. More...
 
enum  VideoCaptureOBSensorGenerators {
  CAP_OBSENSOR_DEPTH_GENERATOR = 1 << 29 ,
  CAP_OBSENSOR_IMAGE_GENERATOR = 1 << 28 ,
  CAP_OBSENSOR_IR_GENERATOR = 1 << 27 ,
  CAP_OBSENSOR_GENERATORS_MASK = CAP_OBSENSOR_DEPTH_GENERATOR + CAP_OBSENSOR_IMAGE_GENERATOR + CAP_OBSENSOR_IR_GENERATOR
}
 OBSENSOR stream generator. More...
 
enum  VideoCaptureOBSensorProperties {
  CAP_PROP_OBSENSOR_INTRINSIC_FX =26001 ,
  CAP_PROP_OBSENSOR_INTRINSIC_FY =26002 ,
  CAP_PROP_OBSENSOR_INTRINSIC_CX =26003 ,
  CAP_PROP_OBSENSOR_INTRINSIC_CY =26004
}
 OBSENSOR properties. More...
 

Functions

softdouble abs (softdouble a)
 
softfloat abs (softfloat a)
 Absolute value.
 
static uchar abs (uchar a)
 
static uint64 abs (uint64 a)
 
static unsigned abs (unsigned a)
 
static ushort abs (ushort a)
 
void absdiff (InputArray src1, InputArray src2, OutputArray dst)
 Calculates the per-element absolute difference between two arrays or between an array and a scalar.
 
void accumulate (InputArray src, InputOutputArray dst, InputArray mask=noArray())
 Adds an image to the accumulator image.
 
void accumulateProduct (InputArray src1, InputArray src2, InputOutputArray dst, InputArray mask=noArray())
 Adds the per-element product of two input images to the accumulator image.
 
void accumulateSquare (InputArray src, InputOutputArray dst, InputArray mask=noArray())
 Adds the square of a source image to the accumulator image.
 
void accumulateWeighted (InputArray src, InputOutputArray dst, double alpha, InputArray mask=noArray())
 Updates a running average.
 
template<typename T >
Quat< T > acos (const Quat< T > &q)
 
template<typename T >
Quat< T > acosh (const Quat< T > &q)
 
void adaptiveThreshold (InputArray src, OutputArray dst, double maxValue, int adaptiveMethod, int thresholdType, int blockSize, double C)
 Applies an adaptive threshold to an array.
 
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.
 
void addText (const Mat &img, const String &text, Point org, const QtFont &font)
 Draws a text on the image.
 
void addText (const Mat &img, const String &text, Point org, const String &nameFont, int pointSize=-1, Scalar color=Scalar::all(0), int weight=QT_FONT_NORMAL, int style=QT_STYLE_NORMAL, int spacing=0)
 Draws a text on the image.
 
void addWeighted (InputArray src1, double alpha, InputArray src2, double beta, double gamma, OutputArray dst, int dtype=-1)
 Calculates the weighted sum of two arrays.
 
template<typename _Tp >
static _TpalignPtr (_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.
 
void applyColorMap (InputArray src, OutputArray dst, InputArray userColor)
 Applies a user colormap on a given image.
 
void applyColorMap (InputArray src, OutputArray dst, int colormap)
 Applies a GNU Octave/MATLAB equivalent colormap on a given image.
 
void approxPolyDP (InputArray curve, OutputArray approxCurve, double epsilon, bool closed)
 Approximates a polygonal curve(s) with the specified precision.
 
void approxPolyN (InputArray curve, OutputArray approxCurve, int nsides, float epsilon_percentage=-1.0, bool ensure_convex=true)
 Approximates a polygon with a convex hull with a specified accuracy and number of sides.
 
double arcLength (InputArray curve, bool closed)
 Calculates a contour perimeter or a curve length.
 
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 an arrow segment pointing from the first point to the second one.
 
template<typename T >
Quat< T > asin (const Quat< T > &q)
 
template<typename T >
Quat< T > asinh (const Quat< T > &q)
 
template<typename T >
Quat< T > atan (const Quat< T > &q)
 
template<typename T >
Quat< T > atanh (const Quat< T > &q)
 
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
 
void bilateralFilter (InputArray src, OutputArray dst, int d, double sigmaColor, double sigmaSpace, int borderType=BORDER_DEFAULT)
 Applies the bilateral filter to an image.
 
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.
 
void bitwise_not (InputArray src, OutputArray dst, InputArray mask=noArray())
 Inverts every bit of an array.
 
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.
 
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.
 
void blendLinear (InputArray src1, InputArray src2, InputArray weights1, InputArray weights2, OutputArray dst)
 
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.
 
int borderInterpolate (int p, int len, int borderType)
 Computes the source location of an extrapolated pixel.
 
Rect boundingRect (InputArray array)
 Calculates the up-right bounding rectangle of a point set or non-zero pixels of gray-scale image.
 
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.
 
void boxPoints (RotatedRect box, OutputArray points)
 Finds the four vertices of a rotated rect. Useful to draw the rotated rectangle.
 
void broadcast (InputArray src, const MatShape &shape, OutputArray dst)
 Broadcast the given Mat to the given shape.
 
void broadcast (InputArray src, InputArray shape, OutputArray dst)
 Broadcast the given Mat to the given shape.
 
int buildOpticalFlowPyramid (InputArray img, OutputArrayOfArrays pyramid, Size winSize, int maxLevel, bool withDerivatives=true, int pyrBorder=BORDER_REFLECT_101, int derivBorder=BORDER_CONSTANT, bool tryReuseInputImage=true)
 Constructs the image pyramid which can be passed to calcOpticalFlowPyrLK.
 
void buildPyramid (InputArray src, OutputArrayOfArrays dst, int maxlevel, int borderType=BORDER_DEFAULT)
 Constructs the Gaussian pyramid for an image.
 
void calcBackProject (const Mat *images, int nimages, const int *channels, const SparseMat &hist, OutputArray backProject, const float **ranges, double scale=1, bool uniform=true)
 
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.
 
void calcBackProject (InputArrayOfArrays images, const std::vector< int > &channels, InputArray hist, OutputArray dst, const std::vector< float > &ranges, double scale)
 
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.
 
void calcCovarMatrix (InputArray samples, OutputArray covar, InputOutputArray mean, int flags, int ctype=CV_64F)
 
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.
 
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)
 
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)
 
void calcOpticalFlowFarneback (InputArray prev, InputArray next, InputOutputArray flow, double pyr_scale, int levels, int winsize, int iterations, int poly_n, double poly_sigma, int flags)
 Computes a dense optical flow using the Gunnar Farneback's algorithm.
 
void calcOpticalFlowPyrLK (InputArray prevImg, InputArray nextImg, InputArray prevPts, InputOutputArray nextPts, OutputArray status, OutputArray err, Size winSize=Size(21, 21), int maxLevel=3, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 0.01), int flags=0, double minEigThreshold=1e-4)
 Calculates an optical flow for a sparse feature set using the iterative Lucas-Kanade method with pyramids.
 
double calibrateCamera (InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints, Size imageSize, InputOutputArray cameraMatrix, InputOutputArray distCoeffs, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, int flags=0, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 100, DBL_EPSILON))
 
double calibrateCamera (InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints, Size imageSize, InputOutputArray cameraMatrix, InputOutputArray distCoeffs, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, OutputArray stdDeviationsIntrinsics, OutputArray stdDeviationsExtrinsics, OutputArray perViewErrors, int flags=0, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 100, DBL_EPSILON))
 Finds the camera intrinsic and extrinsic parameters from several views of a calibration pattern.
 
double calibrateCameraRO (InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints, Size imageSize, int iFixedPoint, InputOutputArray cameraMatrix, InputOutputArray distCoeffs, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, OutputArray newObjPoints, int flags=0, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 100, DBL_EPSILON))
 
double calibrateCameraRO (InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints, Size imageSize, int iFixedPoint, InputOutputArray cameraMatrix, InputOutputArray distCoeffs, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, OutputArray newObjPoints, OutputArray stdDeviationsIntrinsics, OutputArray stdDeviationsExtrinsics, OutputArray stdDeviationsObjPoints, OutputArray perViewErrors, int flags=0, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 100, DBL_EPSILON))
 Finds the camera intrinsic and extrinsic parameters from several views of a calibration pattern.
 
void calibrateHandEye (InputArrayOfArrays R_gripper2base, InputArrayOfArrays t_gripper2base, InputArrayOfArrays R_target2cam, InputArrayOfArrays t_target2cam, OutputArray R_cam2gripper, OutputArray t_cam2gripper, HandEyeCalibrationMethod method=CALIB_HAND_EYE_TSAI)
 Computes Hand-Eye calibration: \(_{}^{g}\textrm{T}_c\).
 
double calibrateMultiview (InputArrayOfArrays objPoints, const std::vector< std::vector< Mat > > &imagePoints, const std::vector< cv::Size > &imageSize, InputArray detectionMask, InputArray models, InputOutputArrayOfArrays Ks, InputOutputArrayOfArrays distortions, InputOutputArrayOfArrays Rs, InputOutputArrayOfArrays Ts, InputArray flagsForIntrinsics=noArray(), int flags=0)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
double calibrateMultiview (InputArrayOfArrays objPoints, const std::vector< std::vector< Mat > > &imagePoints, const std::vector< cv::Size > &imageSize, InputArray detectionMask, InputArray models, InputOutputArrayOfArrays Ks, InputOutputArrayOfArrays distortions, InputOutputArrayOfArrays Rs, InputOutputArrayOfArrays Ts, OutputArray initializationPairs, OutputArrayOfArrays rvecs0, OutputArrayOfArrays tvecs0, OutputArray perFrameErrors, InputArray flagsForIntrinsics=noArray(), int flags=0)
 Estimates intrinsics and extrinsics (camera pose) for multi-camera system a.k.a multiview calibration.
 
void calibrateRobotWorldHandEye (InputArrayOfArrays R_world2cam, InputArrayOfArrays t_world2cam, InputArrayOfArrays R_base2gripper, InputArrayOfArrays t_base2gripper, OutputArray R_base2world, OutputArray t_base2world, OutputArray R_gripper2cam, OutputArray t_gripper2cam, RobotWorldHandEyeCalibrationMethod method=CALIB_ROBOT_WORLD_HAND_EYE_SHAH)
 Computes Robot-World/Hand-Eye calibration: \(_{}^{w}\textrm{T}_b\) and \(_{}^{c}\textrm{T}_g\).
 
void calibrationMatrixValues (InputArray cameraMatrix, Size imageSize, double apertureWidth, double apertureHeight, double &fovx, double &fovy, double &focalLength, Point2d &principalPoint, double &aspectRatio)
 Computes useful camera characteristics from the camera intrinsic matrix.
 
RotatedRect CamShift (InputArray probImage, Rect &window, TermCriteria criteria)
 Finds an object center, size, and orientation.
 
void Canny (InputArray dx, InputArray dy, OutputArray edges, double threshold1, double threshold2, bool L2gradient=false)
 
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 [48] .
 
void cartToPolar (InputArray x, InputArray y, OutputArray magnitude, OutputArray angle, bool angleInDegrees=false)
 Calculates the magnitude and angle of 2D vectors.
 
softfloat cbrt (const softfloat &a)
 Cube root.
 
bool checkChessboard (InputArray img, Size size)
 
bool checkHardwareSupport (int feature)
 Returns true if the specified feature is supported by the host hardware.
 
bool checkRange (InputArray a, bool quiet=true, Point *pos=0, double minVal=-DBL_MAX, double maxVal=DBL_MAX)
 Checks every element of an input array for invalid values.
 
bool Cholesky (double *A, size_t astep, int m, double *b, size_t bstep, int n)
 
bool Cholesky (float *A, size_t astep, int m, float *b, size_t bstep, int n)
 
void circle (InputOutputArray img, Point center, int radius, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0)
 Draws a circle.
 
bool clipLine (Rect imgRect, Point &pt1, Point &pt2)
 
bool clipLine (Size imgSize, Point &pt1, Point &pt2)
 Clips the line against the image rectangle.
 
bool clipLine (Size2l imgSize, Point2l &pt1, Point2l &pt2)
 
void colorChange (InputArray src, InputArray mask, OutputArray dst, float red_mul=1.0f, float green_mul=1.0f, float blue_mul=1.0f)
 Given an original color image, two differently colored versions of this image can be mixed seamlessly.
 
void compare (InputArray src1, InputArray src2, OutputArray dst, int cmpop)
 Performs the per-element comparison of two arrays or an array and scalar value.
 
double compareHist (const SparseMat &H1, const SparseMat &H2, int method)
 
double compareHist (InputArray H1, InputArray H2, int method)
 Compares two histograms.
 
void completeSymm (InputOutputArray m, bool lowerToUpper=false)
 Copies the lower or the upper half of a square matrix to its another half.
 
void composeRT (InputArray rvec1, InputArray tvec1, InputArray rvec2, InputArray tvec2, OutputArray rvec3, OutputArray tvec3, OutputArray dr3dr1=noArray(), OutputArray dr3dt1=noArray(), OutputArray dr3dr2=noArray(), OutputArray dr3dt2=noArray(), OutputArray dt3dr1=noArray(), OutputArray dt3dt1=noArray(), OutputArray dt3dr2=noArray(), OutputArray dt3dt2=noArray())
 Combines two rotation-and-shift transformations.
 
void computeCorrespondEpilines (InputArray points, int whichImage, InputArray F, OutputArray lines)
 For points in an image of a stereo pair, computes the corresponding epilines in the other image.
 
double computeECC (InputArray templateImage, InputArray inputImage, InputArray inputMask=noArray())
 Computes the Enhanced Correlation Coefficient value between two images [80] .
 
void computeRecallPrecisionCurve (const std::vector< std::vector< DMatch > > &matches1to2, const std::vector< std::vector< uchar > > &correctMatches1to2Mask, std::vector< Point2f > &recallPrecisionCurve)
 
int connectedComponents (InputArray image, OutputArray labels, int connectivity, int ltype, int ccltype)
 computes the connected components labeled image of boolean image
 
int connectedComponents (InputArray image, OutputArray labels, int connectivity=8, int ltype=CV_32S)
 
int connectedComponentsWithStats (InputArray image, OutputArray labels, OutputArray stats, OutputArray centroids, int connectivity, int ltype, int ccltype)
 computes the connected components labeled image of boolean image and also produces a statistics output for each label
 
int connectedComponentsWithStats (InputArray image, OutputArray labels, OutputArray stats, OutputArray centroids, int connectivity=8, int ltype=CV_32S)
 
double contourArea (InputArray contour, bool oriented=false)
 Calculates a contour area.
 
void convertMaps (InputArray map1, InputArray map2, OutputArray dstmap1, OutputArray dstmap2, int dstmap1type, bool nninterpolation=false)
 Converts image transformation maps from one representation to another.
 
void convertPointsFromHomogeneous (InputArray src, OutputArray dst, int dtype=-1)
 Converts points from homogeneous to Euclidean space.
 
void convertPointsHomogeneous (InputArray src, OutputArray dst)
 Converts points to/from homogeneous coordinates.
 
void convertPointsToHomogeneous (InputArray src, OutputArray dst, int dtype=-1)
 Converts points from Euclidean to homogeneous space.
 
void convertScaleAbs (InputArray src, OutputArray dst, double alpha=1, double beta=0)
 Scales, calculates absolute values, and converts the result to 8-bit.
 
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.
 
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.
 
void copyTo (InputArray src, OutputArray dst, InputArray mask)
 This is an overloaded member function, provided for convenience (python) Copies the matrix to another one. When the operation mask is specified, if the Mat::create call shown above reallocates the matrix, the newly allocated matrix is initialized with all zeros before copying the data.
 
void cornerEigenValsAndVecs (InputArray src, OutputArray dst, int blockSize, int ksize, int borderType=BORDER_DEFAULT)
 Calculates eigenvalues and eigenvectors of image blocks for corner detection.
 
void cornerHarris (InputArray src, OutputArray dst, int blockSize, int ksize, double k, int borderType=BORDER_DEFAULT)
 Harris corner detector.
 
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.
 
void cornerSubPix (InputArray image, InputOutputArray corners, Size winSize, Size zeroZone, TermCriteria criteria)
 Refines the corner locations.
 
void correctMatches (InputArray F, InputArray points1, InputArray points2, OutputArray newPoints1, OutputArray newPoints2)
 Refines coordinates of corresponding points.
 
template<typename T >
Quat< T > cos (const Quat< T > &q)
 
softdouble cos (const softdouble &a)
 Cosine.
 
template<typename T >
Quat< T > cosh (const Quat< T > &q)
 
int countNonZero (InputArray src)
 Counts non-zero array elements.
 
Ptr< AffineTransformercreateAffineTransformer (bool fullAffine)
 
Ptr< AlignMTBcreateAlignMTB (int max_bits=6, int exclude_range=4, bool cut=true)
 Creates AlignMTB object.
 
Ptr< BackgroundSubtractorKNNcreateBackgroundSubtractorKNN (int history=500, double dist2Threshold=400.0, bool detectShadows=true)
 Creates KNN Background Subtractor.
 
Ptr< BackgroundSubtractorMOG2createBackgroundSubtractorMOG2 (int history=500, double varThreshold=16, bool detectShadows=true)
 Creates MOG2 Background Subtractor.
 
int createButton (const String &bar_name, ButtonCallback on_change, void *userdata=0, int type=QT_PUSH_BUTTON, bool initial_button_state=false)
 Attaches a button to the control panel.
 
Ptr< CalibrateDebeveccreateCalibrateDebevec (int samples=70, float lambda=10.0f, bool random=false)
 Creates CalibrateDebevec object.
 
Ptr< CalibrateRobertsoncreateCalibrateRobertson (int max_iter=30, float threshold=0.01f)
 Creates CalibrateRobertson object.
 
Ptr< HistogramCostExtractorcreateChiHistogramCostExtractor (int nDummies=25, float defaultCost=0.2f)
 
Ptr< CLAHEcreateCLAHE (double clipLimit=40.0, Size tileGridSize=Size(8, 8))
 Creates a smart pointer to a cv::CLAHE class and initializes it.
 
Ptr< HistogramCostExtractorcreateEMDHistogramCostExtractor (int flag=DIST_L2, int nDummies=25, float defaultCost=0.2f)
 
Ptr< HistogramCostExtractorcreateEMDL1HistogramCostExtractor (int nDummies=25, float defaultCost=0.2f)
 
Ptr< BaseCascadeClassifier::MaskGeneratorcreateFaceDetectionMaskGenerator ()
 
Ptr< GeneralizedHoughBallardcreateGeneralizedHoughBallard ()
 Creates a smart pointer to a cv::GeneralizedHoughBallard class and initializes it.
 
Ptr< GeneralizedHoughGuilcreateGeneralizedHoughGuil ()
 Creates a smart pointer to a cv::GeneralizedHoughGuil class and initializes it.
 
void createHanningWindow (OutputArray dst, Size winSize, int type)
 This function computes a Hanning window coefficients in two dimensions.
 
Ptr< HausdorffDistanceExtractorcreateHausdorffDistanceExtractor (int distanceFlag=cv::NORM_L2, float rankProp=0.6f)
 
Ptr< LineSegmentDetectorcreateLineSegmentDetector (LineSegmentDetectorModes 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.
 
Ptr< MergeDebeveccreateMergeDebevec ()
 Creates MergeDebevec object.
 
Ptr< MergeMertenscreateMergeMertens (float contrast_weight=1.0f, float saturation_weight=1.0f, float exposure_weight=0.0f)
 Creates MergeMertens object.
 
Ptr< MergeRobertsoncreateMergeRobertson ()
 Creates MergeRobertson object.
 
Ptr< HistogramCostExtractorcreateNormHistogramCostExtractor (int flag=DIST_L2, int nDummies=25, float defaultCost=0.2f)
 
Ptr< ShapeContextDistanceExtractorcreateShapeContextDistanceExtractor (int nAngularBins=12, int nRadialBins=4, float innerRadius=0.2f, float outerRadius=2, int iterations=3, const Ptr< HistogramCostExtractor > &comparer=createChiHistogramCostExtractor(), const Ptr< ShapeTransformer > &transformer=createThinPlateSplineShapeTransformer())
 
Ptr< StitchercreateStitcher (bool try_use_gpu=false)
 
Ptr< StitchercreateStitcherScans (bool try_use_gpu=false)
 
Ptr< ThinPlateSplineShapeTransformercreateThinPlateSplineShapeTransformer (double regularizationParameter=0)
 
Ptr< TonemapcreateTonemap (float gamma=1.0f)
 Creates simple linear mapper with gamma correction.
 
Ptr< TonemapDragocreateTonemapDrago (float gamma=1.0f, float saturation=1.0f, float bias=0.85f)
 Creates TonemapDrago object.
 
Ptr< TonemapMantiukcreateTonemapMantiuk (float gamma=1.0f, float scale=0.7f, float saturation=1.0f)
 Creates TonemapMantiuk object.
 
Ptr< TonemapReinhardcreateTonemapReinhard (float gamma=1.0f, float intensity=0.0f, float light_adapt=1.0f, float color_adapt=0.0f)
 Creates TonemapReinhard object.
 
int createTrackbar (const String &trackbarname, const String &winname, int *value, int count, TrackbarCallback onChange=0, void *userdata=0)
 Creates a trackbar and attaches it to the specified window.
 
template<typename T >
Quat< T > crossProduct (const Quat< T > &p, const Quat< T > &q)
 
static double cubeRoot (double val)
 
float cubeRoot (float val)
 Computes the cube root of an argument.
 
const std::string currentUIFramework ()
 HighGUI backend used.
 
template<typename _Tp >
static void cv2eigen (const Mat &src, Eigen::Matrix< _Tp, 1, Eigen::Dynamic > &dst)
 
template<typename _Tp , int _rows, int _cols, int _options, int _maxRows, int _maxCols>
static void cv2eigen (const Mat &src, Eigen::Matrix< _Tp, _rows, _cols, _options, _maxRows, _maxCols > &dst)
 
template<typename _Tp >
static void cv2eigen (const Mat &src, Eigen::Matrix< _Tp, Eigen::Dynamic, 1 > &dst)
 
template<typename _Tp >
static void cv2eigen (const Mat &src, Eigen::Matrix< _Tp, Eigen::Dynamic, Eigen::Dynamic > &dst)
 
template<typename _Tp >
static void cv2eigen (const Mat &src, Eigen::Matrix< _Tp, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > &dst)
 
template<typename _Tp , int _layout>
static void cv2eigen (const Mat &src, Eigen::Tensor< _Tp, 3, _layout > &dst)
 Converts a cv::Mat to an Eigen::Tensor.
 
template<typename _Tp , int _cols>
static void cv2eigen (const Matx< _Tp, 1, _cols > &src, Eigen::Matrix< _Tp, 1, Eigen::Dynamic > &dst)
 
template<typename _Tp , int _rows>
static void cv2eigen (const Matx< _Tp, _rows, 1 > &src, Eigen::Matrix< _Tp, Eigen::Dynamic, 1 > &dst)
 
template<typename _Tp , int _rows, int _cols, int _options, int _maxRows, int _maxCols>
static void cv2eigen (const Matx< _Tp, _rows, _cols > &src, Eigen::Matrix< _Tp, _rows, _cols, _options, _maxRows, _maxCols > &dst)
 
template<typename _Tp , int _rows, int _cols>
static void cv2eigen (const Matx< _Tp, _rows, _cols > &src, Eigen::Matrix< _Tp, Eigen::Dynamic, Eigen::Dynamic > &dst)
 
template<typename _Tp , int _rows, int _cols>
static void cv2eigen (const Matx< _Tp, _rows, _cols > &src, Eigen::Matrix< _Tp, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > &dst)
 
template<typename _Tp >
static Eigen::TensorMap< Eigen::Tensor< _Tp, 3, Eigen::RowMajor > > cv2eigen_tensormap (InputArray src)
 Maps cv::Mat data to an Eigen::TensorMap.
 
template<typename _Tp >
_Tp cv_abs (_Tp x)
 
float cv_abs (bfloat x)
 
float cv_abs (hfloat x)
 
unsigned cv_abs (int x)
 
uint64 cv_abs (int64 x)
 
int cv_abs (schar x)
 
int cv_abs (short x)
 
int cv_abs (uchar x)
 
uint64 cv_abs (uint64 x)
 
unsigned cv_abs (unsigned x)
 
int cv_abs (ushort x)
 
template<typename _Tp >
_Tp cv_absdiff (_Tp x, _Tp y)
 
float cv_absdiff (bfloat x, bfloat y)
 
float cv_absdiff (hfloat x, hfloat y)
 
unsigned cv_absdiff (int x, int y)
 
int cv_absdiff (schar x, schar y)
 
int cv_absdiff (short x, short y)
 
int cv_absdiff (uchar x, uchar y)
 
uint64 cv_absdiff (uint64 x, uint64 y)
 
unsigned cv_absdiff (unsigned x, unsigned y)
 
int cv_absdiff (ushort x, ushort y)
 
void cvtColor (InputArray src, OutputArray dst, int code, int dstCn=0, AlgorithmHint hint=cv::ALGO_HINT_DEFAULT)
 Converts an image from one color space to another.
 
void cvtColorTwoPlane (InputArray src1, InputArray src2, OutputArray dst, int code, AlgorithmHint hint=cv::ALGO_HINT_DEFAULT)
 Converts an image from one color space to another where the source image is stored in two planes.
 
void dct (InputArray src, OutputArray dst, int flags=0)
 Performs a forward or inverse discrete Cosine transform of 1D or 2D array.
 
void decolor (InputArray src, OutputArray grayscale, OutputArray color_boost)
 Transforms a color image to a grayscale image. It is a basic tool in digital printing, stylized black-and-white photograph rendering, and in many single channel image processing applications [176] .
 
void decomposeEssentialMat (InputArray E, OutputArray R1, OutputArray R2, OutputArray t)
 Decompose an essential matrix to possible rotations and translation.
 
int decomposeHomographyMat (InputArray H, InputArray K, OutputArrayOfArrays rotations, OutputArrayOfArrays translations, OutputArrayOfArrays normals)
 Decompose a homography matrix to rotation(s), translation(s) and plane normal(s).
 
void decomposeProjectionMatrix (InputArray projMatrix, OutputArray cameraMatrix, OutputArray rotMatrix, OutputArray transVect, OutputArray rotMatrixX=noArray(), OutputArray rotMatrixY=noArray(), OutputArray rotMatrixZ=noArray(), OutputArray eulerAngles=noArray())
 Decomposes a projection matrix into a rotation matrix and a camera intrinsic matrix.
 
void demosaicing (InputArray src, OutputArray dst, int code, int dstCn=0)
 main function for all demosaicing processes
 
void denoise_TVL1 (const std::vector< Mat > &observations, Mat &result, double lambda=1.0, int niters=30)
 Primal-dual algorithm is an algorithm for solving special types of variational problems (that is, finding a function to minimize some functional). As the image denoising, in particular, may be seen as the variational problem, primal-dual algorithm then can be used to perform denoising and this is exactly what is implemented.
 
void depthTo3d (InputArray depth, InputArray K, OutputArray points3d, InputArray mask=noArray())
 
void depthTo3dSparse (InputArray depth, InputArray in_K, InputArray in_points, OutputArray points3d)
 
const char * depthToString (int depth)
 
void destroyAllWindows ()
 Destroys all of the HighGUI windows.
 
void destroyWindow (const String &winname)
 Destroys the specified window.
 
void detailEnhance (InputArray src, OutputArray dst, float sigma_s=10, float sigma_r=0.15f)
 This filter enhances the details of a particular image.
 
template<typename _Tp , int m>
static double determinant (const Matx< _Tp, m, m > &a)
 
double determinant (InputArray mtx)
 Returns the determinant of a square floating-point matrix.
 
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.
 
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.
 
void displayOverlay (const String &winname, const String &text, int delayms=0)
 Displays a text on a window image as an overlay for a specified duration.
 
void displayStatusBar (const String &winname, const String &text, int delayms=0)
 Displays a text on the window statusbar during the specified period of time.
 
void distanceTransform (InputArray src, OutputArray dst, int distanceType, int maskSize, int dstType=CV_32F)
 
void distanceTransform (InputArray src, OutputArray dst, OutputArray labels, int distanceType, int maskSize, int labelType=DIST_LABEL_CCOMP)
 Calculates the distance to the closest zero pixel for each pixel of the source image.
 
void divide (double scale, InputArray src2, OutputArray dst, int dtype=-1)
 
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.
 
void divSpectrums (InputArray a, InputArray b, OutputArray c, int flags, bool conjB=false)
 Performs the per-element division of the first Fourier spectrum by the second Fourier spectrum.
 
static int divUp (int a, unsigned int b)
 Integer division with result round up.
 
static size_t divUp (size_t a, unsigned int b)
 
void drawChessboardCorners (InputOutputArray image, Size patternSize, InputArray corners, bool patternWasFound)
 Renders the detected chessboard corners.
 
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.
 
void drawFrameAxes (InputOutputArray image, InputArray cameraMatrix, InputArray distCoeffs, InputArray rvec, InputArray tvec, float length, int thickness=3)
 Draw axes of the world/object coordinate system from pose estimation.
 
void drawKeypoints (InputArray image, const std::vector< KeyPoint > &keypoints, InputOutputArray outImage, const Scalar &color=Scalar::all(-1), DrawMatchesFlags flags=DrawMatchesFlags::DEFAULT)
 Draws keypoints.
 
void drawMarker (InputOutputArray 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.
 
void drawMatches (InputArray img1, const std::vector< KeyPoint > &keypoints1, InputArray img2, const std::vector< KeyPoint > &keypoints2, const std::vector< DMatch > &matches1to2, InputOutputArray outImg, const int matchesThickness, const Scalar &matchColor=Scalar::all(-1), const Scalar &singlePointColor=Scalar::all(-1), const std::vector< char > &matchesMask=std::vector< char >(), DrawMatchesFlags flags=DrawMatchesFlags::DEFAULT)
 
void drawMatches (InputArray img1, const std::vector< KeyPoint > &keypoints1, InputArray img2, const std::vector< KeyPoint > &keypoints2, const std::vector< DMatch > &matches1to2, InputOutputArray outImg, const Scalar &matchColor=Scalar::all(-1), const Scalar &singlePointColor=Scalar::all(-1), const std::vector< char > &matchesMask=std::vector< char >(), DrawMatchesFlags flags=DrawMatchesFlags::DEFAULT)
 Draws the found matches of keypoints from two images.
 
void drawMatches (InputArray img1, const std::vector< KeyPoint > &keypoints1, InputArray img2, const std::vector< KeyPoint > &keypoints2, const std::vector< std::vector< DMatch > > &matches1to2, InputOutputArray outImg, const Scalar &matchColor=Scalar::all(-1), const Scalar &singlePointColor=Scalar::all(-1), const std::vector< std::vector< char > > &matchesMask=std::vector< std::vector< char > >(), DrawMatchesFlags flags=DrawMatchesFlags::DEFAULT)
 
static void dumpOpenCLInformation ()
 
void edgePreservingFilter (InputArray src, OutputArray dst, int flags=1, float sigma_s=60, float sigma_r=0.4f)
 Filtering is the fundamental operation in image and video processing. Edge-preserving smoothing filters are used in many different applications [101] .
 
bool eigen (InputArray src, OutputArray eigenvalues, OutputArray eigenvectors=noArray())
 Calculates eigenvalues and eigenvectors of a symmetric matrix.
 
template<typename _Tp , int _rows, int _cols, int _options, int _maxRows, int _maxCols>
static void eigen2cv (const Eigen::Matrix< _Tp, _rows, _cols, _options, _maxRows, _maxCols > &src, Matx< _Tp, _rows, _cols > &dst)
 
template<typename _Tp , int _rows, int _cols, int _options, int _maxRows, int _maxCols>
static void eigen2cv (const Eigen::Matrix< _Tp, _rows, _cols, _options, _maxRows, _maxCols > &src, OutputArray dst)
 
template<typename _Tp , int _layout>
static void eigen2cv (const Eigen::Tensor< _Tp, 3, _layout > &src, OutputArray dst)
 Converts an Eigen::Tensor to a cv::Mat.
 
void eigenNonSymmetric (InputArray src, OutputArray eigenvalues, OutputArray eigenvectors)
 Calculates eigenvalues and eigenvectors of a non-symmetric matrix (real eigenvalues only).
 
void ellipse (InputOutputArray img, const RotatedRect &box, const Scalar &color, int thickness=1, int lineType=LINE_8)
 
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 ellipse2Poly (Point center, Size axes, int angle, int arcStart, int arcEnd, int delta, std::vector< Point > &pts)
 Approximates an elliptic arc with a polyline.
 
void ellipse2Poly (Point2d center, Size2d axes, int angle, int arcStart, int arcEnd, int delta, std::vector< Point2d > &pts)
 
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.
 
float EMDL1 (InputArray signature1, InputArray signature2)
 Computes the "minimal work" distance between two weighted point configurations base on the papers "EMD-L1: An efficient and Robust Algorithm for comparing histogram-based descriptors", by Haibin Ling and Kazunori Okuda; and "The Earth Mover's Distance is the Mallows Distance: Some Insights from Statistics", by Elizaveta Levina and Peter Bickel.
 
void equalizeHist (InputArray src, OutputArray dst)
 Equalizes the histogram of a grayscale image.
 
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.
 
void error (const Exception &exc)
 Signals an error and raises the exception.
 
void error (Error::Code code, const String &err, const char *func, const char *file, int line)
 Signals an error and raises the exception.
 
Mat estimateAffine2D (InputArray from, InputArray to, OutputArray inliers=noArray(), int method=RANSAC, double ransacReprojThreshold=3, size_t maxIters=2000, double confidence=0.99, size_t refineIters=10)
 Computes an optimal affine transformation between two 2D point sets.
 
Mat estimateAffine2D (InputArray pts1, InputArray pts2, OutputArray inliers, const UsacParams &params)
 
cv::Mat estimateAffine3D (InputArray src, InputArray dst, double *scale=nullptr, bool force_rotation=true)
 Computes an optimal affine transformation between two 3D point sets.
 
int estimateAffine3D (InputArray src, InputArray dst, OutputArray out, OutputArray inliers, double ransacThreshold=3, double confidence=0.99)
 Computes an optimal affine transformation between two 3D point sets.
 
cv::Mat estimateAffinePartial2D (InputArray from, InputArray to, OutputArray inliers=noArray(), int method=RANSAC, double ransacReprojThreshold=3, size_t maxIters=2000, double confidence=0.99, size_t refineIters=10)
 Computes an optimal limited affine transformation with 4 degrees of freedom between two 2D point sets.
 
Scalar estimateChessboardSharpness (InputArray image, Size patternSize, InputArray corners, float rise_distance=0.8F, bool vertical=false, OutputArray sharpness=noArray())
 Estimates the sharpness of a detected chessboard.
 
Mat estimateRigidTransform (InputArray src, InputArray dst, bool fullAffine)
 Computes an optimal affine transformation between two 2D point sets.
 
int estimateTranslation3D (InputArray src, InputArray dst, OutputArray out, OutputArray inliers, double ransacThreshold=3, double confidence=0.99)
 Computes an optimal translation between two 3D point sets.
 
void evaluateFeatureDetector (const Mat &img1, const Mat &img2, const Mat &H1to2, std::vector< KeyPoint > *keypoints1, std::vector< KeyPoint > *keypoints2, float &repeatability, int &correspCount, const Ptr< FeatureDetector > &fdetector=Ptr< FeatureDetector >())
 
template<typename T >
Quat< T > exp (const Quat< T > &q)
 
softdouble exp (const softdouble &a)
 
softfloat exp (const softfloat &a)
 Exponent.
 
void exp (InputArray src, OutputArray dst)
 Calculates the exponent of every array element.
 
void extractChannel (InputArray src, OutputArray dst, int coi)
 Extracts a single channel from src (coi is 0-based index)
 
int farthestPointSampling (OutputArray sampled_point_flags, InputArray input_pts, float sampled_scale, float dist_lower_limit=0, RNG *rng=nullptr)
 
int farthestPointSampling (OutputArray sampled_point_flags, InputArray input_pts, int sampled_pts_size, float dist_lower_limit=0, RNG *rng=nullptr)
 Point cloud sampling by Farthest Point Sampling(FPS).
 
void FAST (InputArray image, std::vector< KeyPoint > &keypoints, int threshold, bool nonmaxSuppression=true, FastFeatureDetector::DetectorType type=FastFeatureDetector::TYPE_9_16)
 Detects corners using the FAST algorithm.
 
float fastAtan2 (float y, float x)
 Calculates the angle of a 2D vector in degrees.
 
void fastFree (void *ptr)
 Deallocates a memory buffer.
 
void * fastMalloc (size_t bufSize)
 Allocates an aligned memory buffer.
 
void fastNlMeansDenoising (InputArray src, OutputArray dst, const std::vector< float > &h, int templateWindowSize=7, int searchWindowSize=21, int normType=NORM_L2)
 Perform image denoising using Non-local Means Denoising algorithm http://www.ipol.im/pub/algo/bcm_non_local_means_denoising/ with several computational optimizations. Noise expected to be a gaussian white noise.
 
void fastNlMeansDenoising (InputArray src, OutputArray dst, float h=3, int templateWindowSize=7, int searchWindowSize=21)
 Perform image denoising using Non-local Means Denoising algorithm http://www.ipol.im/pub/algo/bcm_non_local_means_denoising/ with several computational optimizations. Noise expected to be a gaussian white noise.
 
void fastNlMeansDenoisingColored (InputArray src, OutputArray dst, float h=3, float hColor=3, int templateWindowSize=7, int searchWindowSize=21)
 Modification of fastNlMeansDenoising function for colored images.
 
void fastNlMeansDenoisingColoredMulti (InputArrayOfArrays srcImgs, OutputArray dst, int imgToDenoiseIndex, int temporalWindowSize, float h=3, float hColor=3, int templateWindowSize=7, int searchWindowSize=21)
 Modification of fastNlMeansDenoisingMulti function for colored images sequences.
 
void fastNlMeansDenoisingMulti (InputArrayOfArrays srcImgs, OutputArray dst, int imgToDenoiseIndex, int temporalWindowSize, const std::vector< float > &h, int templateWindowSize=7, int searchWindowSize=21, int normType=NORM_L2)
 Modification of fastNlMeansDenoising function for images sequence where consecutive images have been captured in small period of time. For example video. This version of the function is for grayscale images or for manual manipulation with colorspaces. See [44] for more details (open access here).
 
void fastNlMeansDenoisingMulti (InputArrayOfArrays srcImgs, OutputArray dst, int imgToDenoiseIndex, int temporalWindowSize, float h=3, int templateWindowSize=7, int searchWindowSize=21)
 Modification of fastNlMeansDenoising function for images sequence where consecutive images have been captured in small period of time. For example video. This version of the function is for grayscale images or for manual manipulation with colorspaces. See [44] for more details (open access here).
 
void fillConvexPoly (InputOutputArray img, const Point *pts, int npts, const Scalar &color, int lineType=LINE_8, int shift=0)
 
void fillConvexPoly (InputOutputArray img, InputArray points, const Scalar &color, int lineType=LINE_8, int shift=0)
 Fills a convex polygon.
 
void 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 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.
 
void filter2D (InputArray src, OutputArray dst, InputArray kernel, const Filter2DParams &params=Filter2DParams())
 
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.
 
void filterHomographyDecompByVisibleRefpoints (InputArrayOfArrays rotations, InputArrayOfArrays normals, InputArray beforePoints, InputArray afterPoints, OutputArray possibleSolutions, InputArray pointsMask=noArray())
 Filters homography decompositions based on additional information.
 
void filterSpeckles (InputOutputArray img, double newVal, int maxSpeckleSize, double maxDiff, InputOutputArray buf=noArray())
 Filters off small noise blobs (speckles) in the disparity map.
 
bool find4QuadCornerSubpix (InputArray img, InputOutputArray corners, Size region_size)
 finds subpixel-accurate positions of the chessboard corners
 
bool findChessboardCorners (InputArray image, Size patternSize, OutputArray corners, int flags=CALIB_CB_ADAPTIVE_THRESH+CALIB_CB_NORMALIZE_IMAGE)
 Finds the positions of internal corners of the chessboard.
 
bool findChessboardCornersSB (InputArray image, Size patternSize, OutputArray corners, int flags, OutputArray meta)
 Finds the positions of internal corners of the chessboard using a sector based approach.
 
bool findChessboardCornersSB (InputArray image, Size patternSize, OutputArray corners, int flags=0)
 
bool findCirclesGrid (InputArray image, Size patternSize, OutputArray centers, int flags, const Ptr< FeatureDetector > &blobDetector, const CirclesGridFinderParameters &parameters)
 Finds centers in the grid of circles.
 
bool findCirclesGrid (InputArray image, Size patternSize, OutputArray centers, int flags=CALIB_CB_SYMMETRIC_GRID, const Ptr< FeatureDetector > &blobDetector=SimpleBlobDetector::create())
 
void findContours (InputArray image, OutputArrayOfArrays contours, int mode, int method, Point offset=Point())
 
void findContours (InputArray image, OutputArrayOfArrays contours, OutputArray hierarchy, int mode, int method, Point offset=Point())
 Finds contours in a binary image.
 
void findContoursLinkRuns (InputArray image, OutputArrayOfArrays contours)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
void findContoursLinkRuns (InputArray image, OutputArrayOfArrays contours, OutputArray hierarchy)
 Find contours using link runs algorithm.
 
Mat findEssentialMat (InputArray points1, InputArray points2, double focal=1.0, Point2d pp=Point2d(0, 0), int method=RANSAC, double prob=0.999, double threshold=1.0, int maxIters=1000, OutputArray mask=noArray())
 
Mat findEssentialMat (InputArray points1, InputArray points2, InputArray cameraMatrix, int method=RANSAC, double prob=0.999, double threshold=1.0, int maxIters=1000, OutputArray mask=noArray())
 Calculates an essential matrix from the corresponding points in two images.
 
Mat findEssentialMat (InputArray points1, InputArray points2, InputArray cameraMatrix1, InputArray cameraMatrix2, InputArray dist_coeff1, InputArray dist_coeff2, OutputArray mask, const UsacParams &params)
 
Mat findEssentialMat (InputArray points1, InputArray points2, InputArray cameraMatrix1, InputArray distCoeffs1, InputArray cameraMatrix2, InputArray distCoeffs2, int method=RANSAC, double prob=0.999, double threshold=1.0, OutputArray mask=noArray())
 Calculates an essential matrix from the corresponding points in two images from potentially two different cameras.
 
Mat findFundamentalMat (InputArray points1, InputArray points2, int method, double ransacReprojThreshold, double confidence, int maxIters, OutputArray mask=noArray())
 Calculates a fundamental matrix from the corresponding points in two images.
 
Mat findFundamentalMat (InputArray points1, InputArray points2, int method=FM_RANSAC, double ransacReprojThreshold=3., double confidence=0.99, OutputArray mask=noArray())
 
Mat findFundamentalMat (InputArray points1, InputArray points2, OutputArray mask, const UsacParams &params)
 
Mat findFundamentalMat (InputArray points1, InputArray points2, OutputArray mask, int method=FM_RANSAC, double ransacReprojThreshold=3., double confidence=0.99)
 
Mat findHomography (InputArray srcPoints, InputArray dstPoints, int method=0, double ransacReprojThreshold=3, OutputArray mask=noArray(), const int maxIters=2000, const double confidence=0.995)
 Finds a perspective transformation between two planes.
 
Mat findHomography (InputArray srcPoints, InputArray dstPoints, OutputArray mask, const UsacParams &params)
 
Mat findHomography (InputArray srcPoints, InputArray dstPoints, OutputArray mask, int method=0, double ransacReprojThreshold=3)
 
void findNonZero (InputArray src, OutputArray idx)
 Returns the list of locations of non-zero pixels.
 
void findPlanes (InputArray points3d, InputArray normals, OutputArray mask, OutputArray plane_coefficients, int block_size=40, int min_size=40 *40, double threshold=0.01, double sensor_error_a=0, double sensor_error_b=0, double sensor_error_c=0, RgbdPlaneMethod method=RGBD_PLANE_METHOD_DEFAULT)
 
double findTransformECC (InputArray templateImage, InputArray inputImage, InputOutputArray warpMatrix, int motionType, TermCriteria criteria, InputArray inputMask, int gaussFiltSize)
 Finds the geometric transform (warp) between two images in terms of the ECC criterion [80] .
 
double findTransformECC (InputArray templateImage, InputArray inputImage, InputOutputArray warpMatrix, int motionType=MOTION_AFFINE, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 50, 0.001), InputArray inputMask=noArray())
 
void finiteMask (InputArray src, OutputArray mask)
 Generates a mask of finite float values, i.e. not NaNs nor Infs.
 
RotatedRect fitEllipse (InputArray points)
 Fits an ellipse around a set of 2D points.
 
RotatedRect fitEllipseAMS (InputArray points)
 Fits an ellipse around a set of 2D points.
 
RotatedRect fitEllipseDirect (InputArray points)
 Fits an ellipse around a set of 2D points.
 
void fitLine (InputArray points, OutputArray line, int distType, double param, double reps, double aeps)
 Fits a line to a 2D or 3D point set.
 
void flip (InputArray src, OutputArray dst, int flipCode)
 Flips a 2D array around vertical, horizontal, or both axes.
 
void flipND (InputArray src, OutputArray dst, int axis)
 Flips a n-dimensional at given axis.
 
int floodFill (InputOutputArray image, InputOutputArray mask, Point seedPoint, Scalar newVal, Rect *rect=0, Scalar loDiff=Scalar(), Scalar upDiff=Scalar(), int flags=4)
 Fills a connected component with the given color.
 
int floodFill (InputOutputArray image, Point seedPoint, Scalar newVal, Rect *rect=0, Scalar loDiff=Scalar(), Scalar upDiff=Scalar(), int flags=4)
 
QtFont fontQt (const String &nameFont, int pointSize=-1, Scalar color=Scalar::all(0), int weight=QT_FONT_NORMAL, int style=QT_STYLE_NORMAL, int spacing=0)
 Creates the font to draw a text on an image.
 
String format (const char *fmt,...)
 Returns a text string formatted using the printf-like expression.
 
void GaussianBlur (InputArray src, OutputArray dst, Size ksize, double sigmaX, double sigmaY=0, int borderType=BORDER_DEFAULT, AlgorithmHint hint=cv::ALGO_HINT_DEFAULT)
 Blurs an image using a Gaussian filter.
 
void gemm (InputArray src1, InputArray src2, double alpha, InputArray src3, double beta, OutputArray dst, int flags=0)
 Performs generalized matrix multiplication.
 
Mat getAffineTransform (const Point2f src[], const Point2f dst[])
 Calculates an affine transform from three pairs of the corresponding points.
 
Mat getAffineTransform (InputArray src, InputArray dst)
 
const StringgetBuildInformation ()
 Returns full configuration time cmake output.
 
std::string getCPUFeaturesLine ()
 Returns list of CPU features enabled during compilation.
 
int64 getCPUTickCount ()
 Returns the number of CPU ticks.
 
AlgorithmHint getDefaultAlgorithmHint ()
 Returns AlgorithmHint defined during OpenCV compilation. Defines ALGO_HINT_DEFAULT behavior.
 
Mat getDefaultNewCameraMatrix (InputArray cameraMatrix, Size imgsize=Size(), bool centerPrincipalPoint=false)
 Returns the default new camera matrix.
 
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.
 
static size_t getElemSize (int type)
 
double getFontScaleFromHeight (const int fontFace, const int pixelHeight, const int thickness=1)
 Calculates the font-specific size to use to achieve a given height in pixels.
 
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.
 
Mat getGaussianKernel (int ksize, double sigma, int ktype=CV_64F)
 Returns Gaussian filter coefficients.
 
String getHardwareFeatureName (int feature)
 Returns feature name by ID.
 
int getMouseWheelDelta (int flags)
 Gets the mouse-wheel motion delta, when handling mouse-wheel events cv::EVENT_MOUSEWHEEL and cv::EVENT_MOUSEHWHEEL.
 
int getNearestPoint (const std::vector< Point2f > &recallPrecisionCurve, float l_precision)
 
int getNumberOfCPUs ()
 Returns the number of logical CPUs available for the process.
 
int getNumThreads ()
 Returns the number of threads used by OpenCV for parallel regions.
 
int getOptimalDFTSize (int vecsize)
 Returns the optimal DFT size for a given vector size.
 
Mat getOptimalNewCameraMatrix (InputArray cameraMatrix, InputArray distCoeffs, Size imageSize, double alpha, Size newImgSize=Size(), Rect *validPixROI=0, bool centerPrincipalPoint=false)
 Returns the new camera intrinsic matrix based on the free scaling parameter.
 
Mat getPerspectiveTransform (const Point2f src[], const Point2f dst[], int solveMethod=DECOMP_LU)
 
Mat getPerspectiveTransform (InputArray src, InputArray dst, int solveMethod=DECOMP_LU)
 Calculates a perspective transform from four pairs of the corresponding points.
 
float getRecall (const std::vector< Point2f > &recallPrecisionCurve, float l_precision)
 
void getRectSubPix (InputArray image, Size patchSize, Point2f center, OutputArray patch, int patchType=-1)
 Retrieves a pixel rectangle from an image with sub-pixel accuracy.
 
Mat getRotationMatrix2D (Point2f center, double angle, double scale)
 Calculates an affine matrix of 2D rotation.
 
Matx23d getRotationMatrix2D_ (Point2f center, double angle, double scale)
 
Mat getStructuringElement (int shape, Size ksize, Point anchor=Point(-1,-1))
 Returns a structuring element of the specified size and shape for morphological operations.
 
Size getTextSize (const String &text, int fontFace, double fontScale, int thickness, int *baseLine)
 Calculates the width and height of a text string.
 
Rect getTextSize (Size imgsize, const String &text, Point org, FontFace &fface, int size, int weight=0, PutTextFlags flags=PUT_TEXT_ALIGN_LEFT, Range wrap=Range())
 Calculates the bounding rect for the text.
 
int getThreadNum ()
 Returns the index of the currently executed thread within the current parallel region. Always returns 0 if called outside of parallel region.
 
int64 getTickCount ()
 Returns the number of ticks.
 
double getTickFrequency ()
 Returns the number of ticks per second.
 
int getTrackbarPos (const String &trackbarname, const String &winname)
 Returns the trackbar position.
 
void getUndistortRectangles (InputArray cameraMatrix, InputArray distCoeffs, InputArray R, InputArray newCameraMatrix, Size imgSize, Rect_< double > &inner, Rect_< double > &outer)
 Returns the inscribed and bounding rectangles for the "undisorted" image plane.
 
Rect getValidDisparityROI (Rect roi1, Rect roi2, int minDisparity, int numberOfDisparities, int blockSize)
 computes valid disparity ROI from the valid ROIs of the rectified images (that are returned by stereoRectify)
 
int getVersionMajor ()
 Returns major library version.
 
int getVersionMinor ()
 Returns minor library version.
 
int getVersionRevision ()
 Returns revision field of the library version.
 
String getVersionString ()
 Returns library version string.
 
Rect getWindowImageRect (const String &winname)
 Provides rectangle of image in the window.
 
double getWindowProperty (const String &winname, int prop_id)
 Provides parameters of a window.
 
void glob (String pattern, std::vector< String > &result, bool recursive=false)
 Searches for files matching the specified pattern in a directory.
 
void 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 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)
 Same as above, but returns also quality measure of the detected corners.
 
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.
 
void grabCut (InputArray img, InputOutputArray mask, Rect rect, InputOutputArray bgdModel, InputOutputArray fgdModel, int iterCount, int mode=GC_EVAL)
 Runs the GrabCut algorithm.
 
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=0.2)
 
void groupRectangles (std::vector< Rect > &rectList, std::vector< int > &weights, int groupThreshold, double eps=0.2)
 
void groupRectangles_meanshift (std::vector< Rect > &rectList, std::vector< double > &foundWeights, std::vector< double > &foundScales, double detectThreshold=0.0, Size winDetSize=Size(64, 128))
 
bool hasNonZero (InputArray src)
 Checks for the presence of at least one non-zero array element.
 
CV_EXPORTS_W bool haveImageReader (const String &filename)
 Checks if the specified image file can be decoded by OpenCV.
 
CV_EXPORTS_W bool haveImageWriter (const String &filename)
 Checks if the specified image file or specified file extension can be encoded by OpenCV.
 
void hconcat (const Mat *src, size_t nsrc, OutputArray dst)
 Applies horizontal concatenation to given matrices.
 
void hconcat (InputArray src1, InputArray src2, OutputArray dst)
 
void hconcat (InputArrayOfArrays src, OutputArray dst)
 
hfloat hfloatFromBits (ushort 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.
 
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.
 
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.
 
void 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)
 Finds lines in a set of points using the standard Hough transform.
 
static void HoughLinesWithAccumulator (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 and get accumulator.
 
void HuMoments (const Moments &m, OutputArray hu)
 
void HuMoments (const Moments &moments, double hu[7])
 Calculates seven Hu invariants.
 
std::string icvExtractPattern (const std::string &filename, unsigned *offset)
 
void idct (InputArray src, OutputArray dst, int flags=0)
 Calculates the inverse Discrete Cosine Transform of a 1D or 2D array.
 
void idft (InputArray src, OutputArray dst, int flags=0, int nonzeroRows=0)
 Calculates the inverse Discrete Fourier Transform of a 1D or 2D array.
 
void illuminationChange (InputArray src, InputArray mask, OutputArray dst, float alpha=0.2f, float beta=0.4f)
 Applying an appropriate non-linear transformation to the gradient field inside the selection and then integrating back with a Poisson solver, modifies locally the apparent illumination of an image.
 
CV_EXPORTS_W size_t imcount (const String &filename, int flags=IMREAD_ANYCOLOR)
 Returns the number of images inside the given file.
 
CV_EXPORTS_W Mat imdecode (InputArray buf, int flags)
 Reads an image from a buffer in memory.
 
CV_EXPORTS Mat imdecode (InputArray buf, int flags, Mat *dst)
 
CV_EXPORTS_W bool imdecodemulti (InputArray buf, int flags, CV_OUT std::vector< Mat > &mats, const cv::Range &range=Range::all())
 Reads a multi-page image from a buffer in memory.
 
CV_EXPORTS_W bool imencode (const String &ext, InputArray img, CV_OUT std::vector< uchar > &buf, const std::vector< int > &params=std::vector< int >())
 Encodes an image into a memory buffer.
 
CV_EXPORTS_W bool imencodemulti (const String &ext, InputArrayOfArrays imgs, CV_OUT std::vector< uchar > &buf, const std::vector< int > &params=std::vector< int >())
 Encodes array of images into a memory buffer.
 
CV_EXPORTS_W Mat imread (const String &filename, int flags=IMREAD_COLOR_BGR)
 Loads an image from a file.
 
CV_EXPORTS_W void imread (const String &filename, OutputArray dst, int flags=IMREAD_COLOR_BGR)
 Loads an image from a file.
 
CV_EXPORTS_W bool imreadmulti (const String &filename, CV_OUT std::vector< Mat > &mats, int flags=IMREAD_ANYCOLOR)
 Loads a multi-page image from a file.
 
CV_EXPORTS_W bool imreadmulti (const String &filename, CV_OUT std::vector< Mat > &mats, int start, int count, int flags=IMREAD_ANYCOLOR)
 Loads images of a multi-page image from a file.
 
void imshow (const String &winname, const ogl::Texture2D &tex)
 Displays OpenGL 2D texture in the specified window.
 
void imshow (const String &winname, InputArray mat)
 Displays an image in the specified window.
 
CV_EXPORTS_W bool imwrite (const String &filename, InputArray img, const std::vector< int > &params=std::vector< int >())
 Saves an image to a specified file.
 
static CV_WRAP bool imwritemulti (const String &filename, InputArrayOfArrays img, const std::vector< int > &params=std::vector< int >())
 multi-image overload for bindings
 
Mat initCameraMatrix2D (InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints, Size imageSize, double aspectRatio=1.0)
 Finds an initial camera intrinsic matrix from 3D-2D point correspondences.
 
void initInverseRectificationMap (InputArray cameraMatrix, InputArray distCoeffs, InputArray R, InputArray newCameraMatrix, const Size &size, int m1type, OutputArray map1, OutputArray map2)
 Computes the projection and inverse-rectification transformation map. In essense, this is the inverse of initUndistortRectifyMap to accomodate stereo-rectification of projectors ('inverse-cameras') in projector-camera pairs.
 
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.
 
float initWideAngleProjMap (InputArray cameraMatrix, InputArray distCoeffs, Size imageSize, int destImageWidth, int m1type, OutputArray map1, OutputArray map2, enum UndistortTypes projType=PROJ_SPHERICAL_EQRECT, double alpha=0)
 initializes maps for remap for wide-angle
 
static float initWideAngleProjMap (InputArray cameraMatrix, InputArray distCoeffs, Size imageSize, int destImageWidth, int m1type, OutputArray map1, OutputArray map2, int projType, double alpha=0)
 
void inpaint (InputArray src, InputArray inpaintMask, OutputArray dst, double inpaintRadius, int flags)
 Restores the selected region in an image using the region neighborhood.
 
void inRange (InputArray src, InputArray lowerb, InputArray upperb, OutputArray dst)
 Checks if array elements lie between the elements of two other arrays.
 
void insertChannel (InputArray src, InputOutputArray dst, int coi)
 Inserts a single channel to dst (coi is 0-based index)
 
void integral (InputArray src, OutputArray sum, int sdepth=-1)
 
void integral (InputArray src, OutputArray sum, OutputArray sqsum, int sdepth=-1, int sqdepth=-1)
 
void integral (InputArray src, OutputArray sum, OutputArray sqsum, OutputArray tilted, int sdepth=-1, int sqdepth=-1)
 Calculates the integral of an image.
 
float intersectConvexConvex (InputArray p1, InputArray p2, OutputArray p12, bool handleNested=true)
 Finds intersection of two convex polygons.
 
template<typename T >
Quat< T > inv (const Quat< T > &q, QuatAssumeType assumeUnit=QUAT_ASSUME_NOT_UNIT)
 
double invert (InputArray src, OutputArray dst, int flags=DECOMP_LU)
 Finds the inverse or pseudo-inverse of a matrix.
 
void invertAffineTransform (InputArray M, OutputArray iM)
 Inverts an affine transformation.
 
template<int N, typename T >
static bool isAligned (const T &data)
 Alignment check of passed values.
 
template<int N>
static bool isAligned (const void *p1)
 
template<int N>
static bool isAligned (const void *p1, const void *p2)
 
template<int N>
static bool isAligned (const void *p1, const void *p2, const void *p3)
 
template<int N>
static bool isAligned (const void *p1, const void *p2, const void *p3, const void *p4)
 
bool isContourConvex (InputArray contour)
 Tests a contour convexity.
 
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 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.
 
std::string layoutToString (DataLayout layout)
 
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 linearPolar (InputArray src, OutputArray dst, Point2f center, double maxRadius, int flags)
 Remaps an image to polar coordinates space.
 
void loadMesh (const String &filename, OutputArray vertices, OutputArrayOfArrays indices, OutputArray normals=noArray(), OutputArray colors=noArray(), OutputArray texCoords=noArray())
 Loads a mesh from a file.
 
void loadPointCloud (const String &filename, OutputArray vertices, OutputArray normals=noArray(), OutputArray rgb=noArray())
 Loads a point cloud from a file.
 
void loadWindowParameters (const String &windowName)
 Loads parameters of the specified window.
 
template<typename T >
Quat< T > log (const Quat< T > &q, QuatAssumeType assumeUnit=QUAT_ASSUME_NOT_UNIT)
 
softdouble log (const softdouble &a)
 
softfloat log (const softfloat &a)
 Natural logarithm.
 
void log (InputArray src, OutputArray dst)
 Calculates the natural logarithm of every array element.
 
void logPolar (InputArray src, OutputArray dst, Point2f center, double M, int flags)
 Remaps an image to semilog-polar coordinates space.
 
int LU (double *A, size_t astep, int m, double *b, size_t bstep, int n)
 
int LU (float *A, size_t astep, int m, float *b, size_t bstep, int n)
 
void LUT (InputArray src, InputArray lut, OutputArray dst)
 Performs a look-up table transform of an array.
 
void magnitude (InputArray x, InputArray y, OutputArray magnitude)
 Calculates the magnitude of 2D vectors.
 
double Mahalanobis (InputArray v1, InputArray v2, InputArray icovar)
 Calculates the Mahalanobis distance between two vectors.
 
template<typename _Tp , typename ... A1>
static Ptr< _TpmakePtr (const A1 &... a1)
 
double matchShapes (InputArray contour1, InputArray contour2, int method, double parameter)
 Compares two shapes.
 
void matchTemplate (InputArray image, InputArray templ, OutputArray result, int method, InputArray mask=noArray())
 Compares a template against overlapped image regions.
 
void matMulDeriv (InputArray A, InputArray B, OutputArray dABdA, OutputArray dABdB)
 Computes partial derivatives of the matrix product for each multiplied matrix.
 
void max (const Mat &src1, const Mat &src2, Mat &dst)
 
softdouble max (const softdouble &a, const softdouble &b)
 
softfloat max (const softfloat &a, const softfloat &b)
 
void max (const UMat &src1, const UMat &src2, UMat &dst)
 
void max (InputArray src1, InputArray src2, OutputArray dst)
 Calculates per-element maximum of two arrays or an array and a scalar.
 
Scalar mean (InputArray src, InputArray mask=noArray())
 Calculates an average (mean) of array elements.
 
int meanShift (InputArray probImage, Rect &window, TermCriteria criteria)
 Finds an object on a back projection image.
 
void meanStdDev (InputArray src, OutputArray mean, OutputArray stddev, InputArray mask=noArray())
 
void medianBlur (InputArray src, OutputArray dst, int ksize)
 Blurs an image using the median filter.
 
void merge (const Mat *mv, size_t count, OutputArray dst)
 Creates one multi-channel array out of several single-channel ones.
 
void merge (InputArrayOfArrays mv, OutputArray dst)
 
void min (const Mat &src1, const Mat &src2, Mat &dst)
 
softdouble min (const softdouble &a, const softdouble &b)
 
softfloat min (const softfloat &a, const softfloat &b)
 Min and Max functions.
 
void min (const UMat &src1, const UMat &src2, UMat &dst)
 
void min (InputArray src1, InputArray src2, OutputArray dst)
 Calculates per-element minimum of two arrays or an array and a scalar.
 
RotatedRect minAreaRect (InputArray points)
 Finds a rotated rectangle of the minimum area enclosing the input 2D point set.
 
void minEnclosingCircle (InputArray points, Point2f &center, float &radius)
 Finds a circle of the minimum area enclosing a 2D point set.
 
double minEnclosingTriangle (InputArray points, OutputArray triangle)
 Finds a triangle of minimum area enclosing a 2D point set and returns its area.
 
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.
 
void minMaxLoc (const SparseMat &a, double *minVal, double *maxVal, int *minIdx=0, int *maxIdx=0)
 
void minMaxLoc (InputArray src, double *minVal, double *maxVal=0, Point *minLoc=0, Point *maxLoc=0, InputArray mask=noArray())
 Finds the global minimum and maximum in an array.
 
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.
 
void mixChannels (InputArrayOfArrays src, InputOutputArrayOfArrays dst, const int *fromTo, size_t npairs)
 
void mixChannels (InputArrayOfArrays src, InputOutputArrayOfArrays dst, const std::vector< int > &fromTo)
 
Moments moments (InputArray array, bool binaryImage=false)
 Calculates all of the moments up to the third order of a polygon or rasterized shape.
 
static Scalar morphologyDefaultBorderValue ()
 returns "magic" border value for erosion and dilation. It is automatically transformed to Scalar::all(-DBL_MAX) for dilation.
 
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.
 
void moveWindow (const String &winname, int x, int y)
 Moves the window to the specified position.
 
softdouble mulAdd (const softdouble &a, const softdouble &b, const softdouble &c)
 
softfloat mulAdd (const softfloat &a, const softfloat &b, const softfloat &c)
 Fused Multiplication and Addition.
 
void mulSpectrums (InputArray a, InputArray b, OutputArray c, int flags, bool conjB=false)
 Performs the per-element multiplication of two Fourier spectrums.
 
void multiply (InputArray src1, InputArray src2, OutputArray dst, double scale=1, int dtype=-1)
 Calculates the per-element scaled product of two arrays.
 
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.
 
void namedWindow (const String &winname, int flags=WINDOW_AUTOSIZE)
 Creates a window.
 
InputOutputArray noArray ()
 Returns an empty InputArray or OutputArray.
 
template<typename _Tp , int m, int n>
static double norm (const Matx< _Tp, m, n > &M)
 
template<typename _Tp , int m, int n>
static double norm (const Matx< _Tp, m, n > &M, int normType)
 
double norm (const SparseMat &src, int normType)
 
double norm (InputArray src1, InputArray src2, int normType=NORM_L2, InputArray mask=noArray())
 Calculates an absolute difference norm or a relative difference norm.
 
double norm (InputArray src1, int normType=NORM_L2, InputArray mask=noArray())
 Calculates the absolute norm of an array.
 
void normalEstimate (OutputArray normals, OutputArray curvatures, InputArray input_pts, InputArrayOfArrays nn_idx, int max_neighbor_num=0)
 Estimate the normal and curvature of each point in point cloud from NN results.
 
void normalize (const SparseMat &src, SparseMat &dst, double alpha, int normType)
 
template<typename _Tp , int cn>
Vec< _Tp, cn > normalize (const Vec< _Tp, cn > &v)
 
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.
 
template<typename _Tp , typename _AccTp >
static _AccTp normInf (const _Tp *a, const _Tp *b, int n)
 
template<typename _Tp , typename _AccTp >
static _AccTp normInf (const _Tp *a, int n)
 
template<typename _Tp , typename _AccTp >
static _AccTp normL1 (const _Tp *a, const _Tp *b, int n)
 
template<typename _Tp , typename _AccTp >
static _AccTp normL1 (const _Tp *a, int n)
 
template<typename _Tp , typename _AccTp >
static _AccTp normL2Sqr (const _Tp *a, const _Tp *b, int n)
 
template<typename _Tp , typename _AccTp >
static _AccTp normL2Sqr (const _Tp *a, int n)
 
bool operator!= (const FileNodeIterator &it1, const FileNodeIterator &it2)
 
bool operator!= (const MatShape &shape1, const MatShape &shape2)
 
template<typename _Tp , int m, int n>
static bool operator!= (const Matx< _Tp, m, n > &a, const Matx< _Tp, m, n > &b)
 
template<typename T , typename V >
static V operator* (const Affine3< T > &affine, const V &vector)
 V is a 3-element vector with member fields x, y and z.
 
template<typename T >
static Affine3< T > operator* (const Affine3< T > &affine1, const Affine3< T > &affine2)
 
static Vec3d operator* (const Affine3d &affine, const Vec3d &vector)
 
static Vec3f operator* (const Affine3f &affine, const Vec3f &vector)
 
template<typename _Tp , int m, int n, int l>
static Matx< _Tp, m, n > operator* (const Matx< _Tp, m, l > &a, const Matx< _Tp, l, n > &b)
 
template<typename _Tp , int m, int n>
static Vec< _Tp, m > operator* (const Matx< _Tp, m, n > &a, const Vec< _Tp, n > &b)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > operator* (const Matx< _Tp, m, n > &a, double alpha)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > operator* (const Matx< _Tp, m, n > &a, float alpha)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > operator* (const Matx< _Tp, m, n > &a, int alpha)
 
template<typename T >
Quat< T > operator* (const Quat< T > &, const T)
 
template<typename T >
Quat< T > operator* (const T, const Quat< T > &)
 
template<typename _Tp >
Vec< _Tp, 4 > operator* (const Vec< _Tp, 4 > &v1, const Vec< _Tp, 4 > &v2)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > operator* (const Vec< _Tp, cn > &a, double alpha)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > operator* (const Vec< _Tp, cn > &a, float alpha)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > operator* (const Vec< _Tp, cn > &a, int alpha)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > operator* (double alpha, const Matx< _Tp, m, n > &a)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > operator* (double alpha, const Vec< _Tp, cn > &a)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > operator* (float alpha, const Matx< _Tp, m, n > &a)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > operator* (float alpha, const Vec< _Tp, cn > &a)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > operator* (int alpha, const Matx< _Tp, m, n > &a)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > operator* (int alpha, const Vec< _Tp, cn > &a)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > & operator*= (Matx< _Tp, m, n > &a, double alpha)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > & operator*= (Matx< _Tp, m, n > &a, float alpha)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > & operator*= (Matx< _Tp, m, n > &a, int alpha)
 
template<typename _Tp >
Vec< _Tp, 4 > & operator*= (Vec< _Tp, 4 > &v1, const Vec< _Tp, 4 > &v2)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > & operator*= (Vec< _Tp, cn > &a, double alpha)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > & operator*= (Vec< _Tp, cn > &a, float alpha)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > & operator*= (Vec< _Tp, cn > &a, int alpha)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > operator+ (const Matx< _Tp, m, n > &a, const Matx< _Tp, m, n > &b)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > operator+ (const Vec< _Tp, cn > &a, const Vec< _Tp, cn > &b)
 
template<typename _Tp1 , typename _Tp2 , int m, int n>
static Matx< _Tp1, m, n > & operator+= (Matx< _Tp1, m, n > &a, const Matx< _Tp2, m, n > &b)
 
template<typename _Tp1 , typename _Tp2 , int cn>
static Vec< _Tp1, cn > & operator+= (Vec< _Tp1, cn > &a, const Vec< _Tp2, cn > &b)
 
static ptrdiff_t operator- (const FileNodeIterator &it1, const FileNodeIterator &it2)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > operator- (const Matx< _Tp, m, n > &a)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > operator- (const Matx< _Tp, m, n > &a, const Matx< _Tp, m, n > &b)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > operator- (const Vec< _Tp, cn > &a)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > operator- (const Vec< _Tp, cn > &a, const Vec< _Tp, cn > &b)
 
template<typename _Tp1 , typename _Tp2 , int m, int n>
static Matx< _Tp1, m, n > & operator-= (Matx< _Tp1, m, n > &a, const Matx< _Tp2, m, n > &b)
 
template<typename _Tp1 , typename _Tp2 , int cn>
static Vec< _Tp1, cn > & operator-= (Vec< _Tp1, cn > &a, const Vec< _Tp2, cn > &b)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > operator/ (const Matx< _Tp, m, n > &a, double alpha)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > operator/ (const Matx< _Tp, m, n > &a, float alpha)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > operator/ (const Vec< _Tp, cn > &a, double alpha)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > operator/ (const Vec< _Tp, cn > &a, float alpha)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > operator/ (const Vec< _Tp, cn > &a, int alpha)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > & operator/= (Matx< _Tp, m, n > &a, double alpha)
 
template<typename _Tp , int m, int n>
static Matx< _Tp, m, n > & operator/= (Matx< _Tp, m, n > &a, float alpha)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > & operator/= (Vec< _Tp, cn > &a, double alpha)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > & operator/= (Vec< _Tp, cn > &a, float alpha)
 
template<typename _Tp , int cn>
static Vec< _Tp, cn > & operator/= (Vec< _Tp, cn > &a, int alpha)
 
static bool operator< (const FileNodeIterator &it1, const FileNodeIterator &it2)
 
static FileStorageoperator<< (FileStorage &fs, char *value)
 Writes data to a file storage.
 
template<typename _Tp >
static FileStorageoperator<< (FileStorage &fs, const _Tp &value)
 Writes data to a file storage.
 
static FileStorageoperator<< (FileStorage &fs, const char *str)
 Writes data to a file storage.
 
FileStorageoperator<< (FileStorage &fs, const String &str)
 Writes string to a file storage.
 
template<typename _Tp >
std::ostream & operator<< (std::ostream &, const DualQuat< _Tp > &)
 
template<typename _Tp >
std::ostream & operator<< (std::ostream &, const Quat< _Tp > &)
 
template<typename S >
std::ostream & operator<< (std::ostream &, const Quat< S > &)
 
static std::ostream & operator<< (std::ostream &out, const TickMeter &tm)
 output operator
 
static Stringoperator<< (String &out, const Mat &mtx)
 
static Stringoperator<< (String &out, Ptr< Formatted > fmtd)
 
bool operator== (const FileNodeIterator &it1, const FileNodeIterator &it2)
 
bool operator== (const MatShape &shape1, const MatShape &shape2)
 
template<typename _Tp , int m, int n>
static bool operator== (const Matx< _Tp, m, n > &a, const Matx< _Tp, m, n > &b)
 
template<typename _Tp >
static void operator>> (const FileNode &n, _Tp &value)
 Reads data from a file storage.
 
static void operator>> (const FileNode &n, DMatch &m)
 Reads DMatch from a file storage.
 
static void operator>> (const FileNode &n, KeyPoint &kpt)
 Reads KeyPoint from a file storage.
 
template<typename _Tp >
static void operator>> (const FileNode &n, std::vector< _Tp > &vec)
 Reads data from a file storage.
 
template<typename _Tp >
static FileNodeIteratoroperator>> (FileNodeIterator &it, _Tp &value)
 Reads data from a file storage.
 
template<typename _Tp >
static FileNodeIteratoroperator>> (FileNodeIterator &it, std::vector< _Tp > &vec)
 Reads data from a file storage.
 
void parallel_for_ (const Range &range, const ParallelLoopBody &body, double nstripes=-1.)
 Parallel data processor.
 
static void parallel_for_ (const Range &range, std::function< void(const Range &)> functor, double nstripes=-1.)
 
template<typename _Tp , class _EqPredicate >
int partition (const std::vector< _Tp > &vec, std::vector< int > &labels, _EqPredicate predicate=_EqPredicate())
 Splits an element set into equivalency classes.
 
void patchNaNs (InputOutputArray a, double val=0)
 Replaces NaNs by given number.
 
void PCABackProject (InputArray data, InputArray mean, InputArray eigenvectors, OutputArray result)
 
void PCACompute (InputArray data, InputOutputArray mean, OutputArray eigenvectors, double retainedVariance)
 
void PCACompute (InputArray data, InputOutputArray mean, OutputArray eigenvectors, int maxComponents=0)
 
void PCACompute (InputArray data, InputOutputArray mean, OutputArray eigenvectors, OutputArray eigenvalues, double retainedVariance)
 
void PCACompute (InputArray data, InputOutputArray mean, OutputArray eigenvectors, OutputArray eigenvalues, int maxComponents=0)
 
void PCAProject (InputArray data, InputArray mean, InputArray eigenvectors, OutputArray result)
 
void pencilSketch (InputArray src, OutputArray dst1, OutputArray dst2, float sigma_s=60, float sigma_r=0.07f, float shade_factor=0.02f)
 Pencil-like non-photorealistic line drawing.
 
void perspectiveTransform (InputArray src, OutputArray dst, InputArray m)
 Performs the perspective matrix transformation of vectors.
 
void phase (InputArray x, InputArray y, OutputArray angle, bool angleInDegrees=false)
 Calculates the rotation angle of 2D vectors.
 
Point2d phaseCorrelate (InputArray src1, InputArray src2, InputArray window=noArray(), double *response=0)
 The function is used to detect translational shifts that occur between two images.
 
double pointPolygonTest (InputArray contour, Point2f pt, bool measureDist)
 Performs a point-in-contour test.
 
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.
 
int pollKey ()
 Polls for a pressed key.
 
void 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 polylines (InputOutputArray img, InputArrayOfArrays pts, bool isClosed, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0)
 Draws several polygonal curves.
 
softdouble pow (const softdouble &a, const softdouble &b)
 
softfloat pow (const softfloat &a, const softfloat &b)
 Raising to the power.
 
void pow (InputArray src, double power, OutputArray dst)
 Raises every array element to a power.
 
template<typename T >
Quat< T > power (const Quat< T > &q, const Quat< T > &p, QuatAssumeType assumeUnit=QUAT_ASSUME_NOT_UNIT)
 
template<typename T >
Quat< T > power (const Quat< T > &q, const T x, QuatAssumeType assumeUnit=QUAT_ASSUME_NOT_UNIT)
 
void preCornerDetect (InputArray src, OutputArray dst, int ksize, int borderType=BORDER_DEFAULT)
 Calculates a feature map for corner detection.
 
void projectPoints (InputArray objectPoints, InputArray rvec, InputArray tvec, InputArray cameraMatrix, InputArray distCoeffs, OutputArray imagePoints, OutputArray dpdr, OutputArray dpdt, OutputArray dpdf=noArray(), OutputArray dpdc=noArray(), OutputArray dpdk=noArray(), OutputArray dpdo=noArray(), double aspectRatio=0.)
 
void projectPoints (InputArray objectPoints, InputArray rvec, InputArray tvec, InputArray cameraMatrix, InputArray distCoeffs, OutputArray imagePoints, OutputArray jacobian=noArray(), double aspectRatio=0)
 Projects 3D points to an image plane.
 
double PSNR (InputArray src1, InputArray src2, double R=255.)
 Computes the Peak Signal-to-Noise Ratio (PSNR) image quality metric.
 
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.
 
Point putText (InputOutputArray img, const String &text, Point org, Scalar color, FontFace &fface, int size, int weight=0, PutTextFlags flags=PUT_TEXT_ALIGN_LEFT, Range wrap=Range())
 Draws a text string using specified font.
 
void pyrDown (InputArray src, OutputArray dst, const Size &dstsize=Size(), int borderType=BORDER_DEFAULT)
 Blurs an image and downsamples it.
 
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.
 
void pyrUp (InputArray src, OutputArray dst, const Size &dstsize=Size(), int borderType=BORDER_DEFAULT)
 Upsamples an image and then blurs it.
 
void randn (InputOutputArray dst, InputArray mean, InputArray stddev)
 Fills the array with normally distributed random numbers.
 
void randomSampling (OutputArray sampled_pts, InputArray input_pts, float sampled_scale, RNG *rng=nullptr)
 
void randomSampling (OutputArray sampled_pts, InputArray input_pts, int sampled_pts_size, RNG *rng=nullptr)
 Point cloud sampling by randomly select points.
 
void randShuffle (InputOutputArray dst, double iterFactor=1., RNG *rng=0)
 Shuffles the array elements randomly.
 
void randu (InputOutputArray dst, InputArray low, InputArray high)
 Generates a single uniformly-distributed random number or an array of random numbers.
 
template<typename _Tp >
static _InputArray rawIn (_Tp &v)
 
template<typename _Tp >
static _InputOutputArray rawInOut (_Tp &v)
 
template<typename _Tp >
static _OutputArray rawOut (_Tp &v)
 
void read (const FileNode &fn, optflow::GPCTree::Node &node, optflow::GPCTree::Node)
 
template<typename _Tp , typename std::enable_if< std::is_enum< _Tp >::value >::type * = nullptr>
static void read (const FileNode &node, _Tp &value, const _Tp &default_value=static_cast< _Tp >(0))
 
static void read (const FileNode &node, bool &value, bool default_value)
 
template<typename _Tp >
static void read (const FileNode &node, Complex< _Tp > &value, const Complex< _Tp > &default_value)
 
void read (const FileNode &node, DMatch &value, const DMatch &default_value)
 
void read (const FileNode &node, double &value, double default_value)
 
void read (const FileNode &node, float &value, float default_value)
 
void read (const FileNode &node, int &value, int default_value)
 
void read (const FileNode &node, int64_t &value, int64_t default_value)
 
void read (const FileNode &node, KeyPoint &value, const KeyPoint &default_value)
 
void read (const FileNode &node, Mat &mat, const Mat &default_mat=Mat())
 
template<typename _Tp , int m, int n>
static void read (const FileNode &node, Matx< _Tp, m, n > &value, const Matx< _Tp, m, n > &default_matx=Matx< _Tp, m, n >())
 
template<typename _Tp >
static void read (const FileNode &node, Point3_< _Tp > &value, const Point3_< _Tp > &default_value)
 
template<typename _Tp >
static void read (const FileNode &node, Point_< _Tp > &value, const Point_< _Tp > &default_value)
 
static void read (const FileNode &node, Range &value, const Range &default_value)
 
template<typename _Tp >
static void read (const FileNode &node, Rect_< _Tp > &value, const Rect_< _Tp > &default_value)
 
template<typename _Tp >
static void read (const FileNode &node, Scalar_< _Tp > &value, const Scalar_< _Tp > &default_value)
 
static void read (const FileNode &node, schar &value, schar default_value)
 
static void read (const FileNode &node, short &value, short default_value)
 
template<typename _Tp >
static void read (const FileNode &node, Size_< _Tp > &value, const Size_< _Tp > &default_value)
 
void read (const FileNode &node, SparseMat &mat, const SparseMat &default_mat=SparseMat())
 
void read (const FileNode &node, std::string &value, const std::string &default_value)
 
template<typename _Tp >
static void read (const FileNode &node, std::vector< _Tp > &vec, const std::vector< _Tp > &default_value=std::vector< _Tp >())
 
static void read (const FileNode &node, std::vector< DMatch > &vec, const std::vector< DMatch > &default_value)
 
static void read (const FileNode &node, std::vector< KeyPoint > &vec, const std::vector< KeyPoint > &default_value)
 
static void read (const FileNode &node, uchar &value, uchar default_value)
 
static void read (const FileNode &node, ushort &value, ushort default_value)
 
template<typename _Tp , int cn>
static void read (const FileNode &node, Vec< _Tp, cn > &value, const Vec< _Tp, cn > &default_value)
 
template<typename _Tp >
static void read (FileNodeIterator &it, std::vector< _Tp > &vec, size_t maxCount=(size_t) INT_MAX)
 
Mat readOpticalFlow (const String &path)
 Read a .flo file.
 
int recoverPose (InputArray E, InputArray points1, InputArray points2, InputArray cameraMatrix, OutputArray R, OutputArray t, double distanceThresh, InputOutputArray mask=noArray(), OutputArray triangulatedPoints=noArray())
 
int recoverPose (InputArray E, InputArray points1, InputArray points2, InputArray cameraMatrix, OutputArray R, OutputArray t, InputOutputArray mask=noArray())
 Recovers the relative camera rotation and the translation from an estimated essential matrix and the corresponding points in two images, using chirality check. Returns the number of inliers that pass the check.
 
int recoverPose (InputArray E, InputArray points1, InputArray points2, OutputArray R, OutputArray t, double focal=1.0, Point2d pp=Point2d(0, 0), InputOutputArray mask=noArray())
 
int recoverPose (InputArray points1, InputArray points2, InputArray cameraMatrix1, InputArray distCoeffs1, InputArray cameraMatrix2, InputArray distCoeffs2, OutputArray E, OutputArray R, OutputArray t, int method=cv::RANSAC, double prob=0.999, double threshold=1.0, InputOutputArray mask=noArray())
 Recovers the relative camera rotation and the translation from corresponding points in two images from two different cameras, using chirality check. Returns the number of inliers that pass the check.
 
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 rectangle (InputOutputArray img, Rect rec, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0)
 
float rectify3Collinear (InputArray _cameraMatrix1, InputArray _distCoeffs1, InputArray _cameraMatrix2, InputArray _distCoeffs2, InputArray _cameraMatrix3, InputArray _distCoeffs3, InputArrayOfArrays _imgpt1, InputArrayOfArrays _imgpt3, Size imageSize, InputArray _Rmat12, InputArray _Tmat12, InputArray _Rmat13, InputArray _Tmat13, OutputArray _Rmat1, OutputArray _Rmat2, OutputArray _Rmat3, OutputArray _Pmat1, OutputArray _Pmat2, OutputArray _Pmat3, OutputArray _Qmat, double alpha, Size newImgSize, Rect *roi1, Rect *roi2, int flags)
 
ErrorCallback redirectError (ErrorCallback errCallback, void *userdata=0, void **prevUserdata=0)
 Sets the new error handler and the optional user data.
 
void reduce (InputArray src, OutputArray dst, int dim, int rtype, int dtype=-1)
 Reduces a matrix to a vector.
 
void reduceArgMax (InputArray src, OutputArray dst, int axis, bool lastIndex=false)
 Finds indices of max elements along provided axis.
 
void reduceArgMin (InputArray src, OutputArray dst, int axis, bool lastIndex=false)
 Finds indices of min elements along provided axis.
 
double registerCameras (InputArrayOfArrays objectPoints1, InputArrayOfArrays objectPoints2, InputArrayOfArrays imagePoints1, InputArrayOfArrays imagePoints2, InputArray cameraMatrix1, InputArray distCoeffs1, CameraModel cameraModel1, InputArray cameraMatrix2, InputArray distCoeffs2, CameraModel cameraModel2, InputOutputArray R, InputOutputArray T, OutputArray E, OutputArray F, OutputArray perViewErrors, int flags=0, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 100, 1e-6))
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
double registerCameras (InputArrayOfArrays objectPoints1, InputArrayOfArrays objectPoints2, InputArrayOfArrays imagePoints1, InputArrayOfArrays imagePoints2, InputArray cameraMatrix1, InputArray distCoeffs1, CameraModel cameraModel1, InputArray cameraMatrix2, InputArray distCoeffs2, CameraModel cameraModel2, InputOutputArray R, InputOutputArray T, OutputArray E, OutputArray F, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, OutputArray perViewErrors, int flags=0, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 100, 1e-6))
 Calibrates a camera pair set up. This function finds the extrinsic parameters between the two cameras.
 
void registerDepth (InputArray unregisteredCameraMatrix, InputArray registeredCameraMatrix, InputArray registeredDistCoeffs, InputArray Rt, InputArray unregisteredDepth, const Size &outputImagePlaneSize, OutputArray registeredDepth, bool depthDilation=false)
 
void remap (InputArray src, OutputArray dst, InputArray map1, InputArray map2, int interpolation, int borderMode=BORDER_CONSTANT, const Scalar &borderValue=Scalar(), AlgorithmHint hint=cv::ALGO_HINT_DEFAULT)
 Applies a generic geometrical transformation to an image.
 
Mat repeat (const Mat &src, int ny, int nx)
 
void repeat (InputArray src, int ny, int nx, OutputArray dst)
 Fills the output array with repeated copies of the input array.
 
void reprojectImageTo3D (InputArray disparity, OutputArray _3dImage, InputArray Q, bool handleMissingValues=false, int ddepth=-1)
 Reprojects a disparity image to 3D space.
 
void rescaleDepth (InputArray in, int type, OutputArray out, double depth_factor=1000.0)
 
void resize (InputArray src, OutputArray dst, Size dsize, double fx=0, double fy=0, int interpolation=INTER_LINEAR)
 Resizes an image.
 
void resizeWindow (const String &winname, const cv::Size &size)
 
void resizeWindow (const String &winname, int width, int height)
 Resizes the window to the specified size.
 
void Rodrigues (InputArray src, OutputArray dst, OutputArray jacobian=noArray())
 Converts a rotation matrix to a rotation vector or vice versa.
 
void rotate (InputArray src, OutputArray dst, int rotateCode)
 Rotates a 2D array in multiples of 90 degrees. The function cv::rotate rotates the array in one of three different ways: Rotate by 90 degrees clockwise (rotateCode = ROTATE_90_CLOCKWISE). Rotate by 180 degrees clockwise (rotateCode = ROTATE_180). Rotate by 270 degrees clockwise (rotateCode = ROTATE_90_COUNTERCLOCKWISE).
 
int rotatedRectangleIntersection (const RotatedRect &rect1, const RotatedRect &rect2, OutputArray intersectingRegion)
 Finds out if there is any intersection between two rotated rectangles.
 
static int roundUp (int a, unsigned int b)
 Round first value up to the nearest multiple of second value.
 
static size_t roundUp (size_t a, unsigned int b)
 
Vec3d RQDecomp3x3 (InputArray src, OutputArray mtxR, OutputArray mtxQ, OutputArray Qx=noArray(), OutputArray Qy=noArray(), OutputArray Qz=noArray())
 Computes an RQ decomposition of 3x3 matrices.
 
double sampsonDistance (InputArray pt1, InputArray pt2, InputArray F)
 Calculates the Sampson Distance between two points.
 
template<typename _Tp >
static _Tp saturate_cast (bfloat v)
 
template<typename _Tp >
static _Tp saturate_cast (bool v)
 
template<typename _Tp >
static _Tp saturate_cast (double v)
 
template<typename _Tp >
static _Tp saturate_cast (float v)
 
template<typename _Tp >
static _Tp saturate_cast (hfloat v)
 
template<typename _Tp >
static _Tp saturate_cast (int v)
 
template<typename _Tp >
static _Tp saturate_cast (int64 v)
 
template<typename _Tp >
static _Tp saturate_cast (schar v)
 
template<typename _Tp >
static _Tp saturate_cast (short v)
 
template<typename _Tp >
static _Tp saturate_cast (softdouble a)
 
template<typename _Tp >
static _Tp saturate_cast (softfloat a)
 Saturate casts.
 
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 (uint64 v)
 
template<typename _Tp >
static _Tp saturate_cast (unsigned v)
 
template<typename _Tp >
static _Tp saturate_cast (ushort v)
 
template<>
bfloat saturate_cast< bfloat > (bfloat v)
 
template<>
bfloat saturate_cast< bfloat > (double v)
 
template<>
bfloat saturate_cast< bfloat > (float v)
 
template<>
bfloat saturate_cast< bfloat > (hfloat v)
 
template<>
bfloat saturate_cast< bfloat > (int v)
 
template<>
bfloat saturate_cast< bfloat > (int64 v)
 
template<>
bfloat saturate_cast< bfloat > (schar v)
 
template<>
bfloat saturate_cast< bfloat > (short v)
 
template<>
bfloat saturate_cast< bfloat > (uchar v)
 
template<>
bfloat saturate_cast< bfloat > (uint64 v)
 
template<>
bfloat saturate_cast< bfloat > (unsigned v)
 
template<>
bfloat saturate_cast< bfloat > (ushort v)
 
template<>
bool saturate_cast< bool > (bfloat v)
 
template<>
bool saturate_cast< bool > (double v)
 
template<>
bool saturate_cast< bool > (float v)
 
template<>
bool saturate_cast< bool > (hfloat v)
 
template<>
bool saturate_cast< bool > (int v)
 
template<>
bool saturate_cast< bool > (int64_t v)
 
template<>
bool saturate_cast< bool > (schar v)
 
template<>
bool saturate_cast< bool > (short v)
 
template<>
bool saturate_cast< bool > (uchar v)
 
template<>
bool saturate_cast< bool > (uint64_t v)
 
template<>
bool saturate_cast< bool > (unsigned v)
 
template<>
bool saturate_cast< bool > (ushort v)
 
template<>
hfloat saturate_cast< hfloat > (bfloat v)
 
template<>
hfloat saturate_cast< hfloat > (double v)
 
template<>
hfloat saturate_cast< hfloat > (float v)
 
template<>
hfloat saturate_cast< hfloat > (hfloat v)
 
template<>
hfloat saturate_cast< hfloat > (int v)
 
template<>
hfloat saturate_cast< hfloat > (int64 v)
 
template<>
hfloat saturate_cast< hfloat > (schar v)
 
template<>
hfloat saturate_cast< hfloat > (short v)
 
template<>
hfloat saturate_cast< hfloat > (uchar v)
 
template<>
hfloat saturate_cast< hfloat > (uint64 v)
 
template<>
hfloat saturate_cast< hfloat > (unsigned v)
 
template<>
hfloat saturate_cast< hfloat > (ushort v)
 
template<>
int64 saturate_cast< int64 > (double v)
 
template<>
int64 saturate_cast< int64 > (float v)
 
template<>
int64 saturate_cast< int64 > (uint64 v)
 
template<>
int64_t saturate_cast< int64_t > (softdouble a)
 
template<>
int64_t saturate_cast< int64_t > (softfloat a)
 
template<>
schar saturate_cast< schar > (double v)
 
template<>
schar saturate_cast< schar > (float v)
 
template<>
schar saturate_cast< schar > (int v)
 
template<>
schar saturate_cast< schar > (int64 v)
 
template<>
schar saturate_cast< schar > (short v)
 
template<>
schar saturate_cast< schar > (softdouble a)
 
template<>
schar saturate_cast< schar > (softfloat a)
 
template<>
schar saturate_cast< schar > (uchar v)
 
template<>
schar saturate_cast< schar > (uint64 v)
 
template<>
schar saturate_cast< schar > (unsigned v)
 
template<>
schar saturate_cast< schar > (ushort v)
 
template<>
short saturate_cast< short > (double v)
 
template<>
short saturate_cast< short > (float v)
 
template<>
short saturate_cast< short > (int v)
 
template<>
short saturate_cast< short > (int64 v)
 
template<>
short saturate_cast< short > (softdouble a)
 
template<>
short saturate_cast< short > (softfloat a)
 
template<>
short saturate_cast< short > (uint64 v)
 
template<>
short saturate_cast< short > (unsigned v)
 
template<>
short saturate_cast< short > (ushort v)
 
template<>
uchar saturate_cast< uchar > (double v)
 
template<>
uchar saturate_cast< uchar > (float v)
 
template<>
uchar saturate_cast< uchar > (int v)
 
template<>
uchar saturate_cast< uchar > (int64 v)
 
template<>
uchar saturate_cast< uchar > (schar v)
 
template<>
uchar saturate_cast< uchar > (short v)
 
template<>
uchar saturate_cast< uchar > (softdouble a)
 
template<>
uchar saturate_cast< uchar > (softfloat a)
 
template<>
uchar saturate_cast< uchar > (uint64 v)
 
template<>
uchar saturate_cast< uchar > (unsigned v)
 
template<>
uchar saturate_cast< uchar > (ushort v)
 
template<>
uint64 saturate_cast< uint64 > (double v)
 
template<>
uint64 saturate_cast< uint64 > (float v)
 
template<>
uint64 saturate_cast< uint64 > (int v)
 
template<>
uint64 saturate_cast< uint64 > (int64 v)
 
template<>
uint64 saturate_cast< uint64 > (schar v)
 
template<>
uint64 saturate_cast< uint64 > (short v)
 
template<>
uint64_t saturate_cast< uint64_t > (softdouble a)
 
template<>
uint64_t saturate_cast< uint64_t > (softfloat a)
 
template<>
unsigned saturate_cast< unsigned > (double v)
 
template<>
unsigned saturate_cast< unsigned > (float v)
 
template<>
unsigned saturate_cast< unsigned > (int v)
 
template<>
unsigned saturate_cast< unsigned > (int64 v)
 
template<>
unsigned saturate_cast< unsigned > (schar v)
 
template<>
unsigned saturate_cast< unsigned > (short v)
 
template<>
unsigned saturate_cast< unsigned > (softdouble a)
 
template<>
unsigned saturate_cast< unsigned > (softfloat a)
 Saturate cast to unsigned integer and unsigned long long integer We intentionally do not clip negative numbers, to make -1 become 0xffffffff etc.
 
template<>
unsigned saturate_cast< unsigned > (uint64 v)
 
template<>
ushort saturate_cast< ushort > (double v)
 
template<>
ushort saturate_cast< ushort > (float v)
 
template<>
ushort saturate_cast< ushort > (int v)
 
template<>
ushort saturate_cast< ushort > (int64 v)
 
template<>
ushort saturate_cast< ushort > (schar v)
 
template<>
ushort saturate_cast< ushort > (short v)
 
template<>
ushort saturate_cast< ushort > (softdouble a)
 
template<>
ushort saturate_cast< ushort > (softfloat a)
 
template<>
ushort saturate_cast< ushort > (uint64 v)
 
template<>
ushort saturate_cast< ushort > (unsigned v)
 
void saveMesh (const String &filename, InputArray vertices, InputArrayOfArrays indices, InputArray normals=noArray(), InputArray colors=noArray(), InputArray texCoords=noArray())
 Saves a mesh to a specified file.
 
void savePointCloud (const String &filename, InputArray vertices, InputArray normals=noArray(), InputArray rgb=noArray())
 Saves a point cloud to a specified file.
 
void saveWindowParameters (const String &windowName)
 Saves parameters of the specified window.
 
void scaleAdd (InputArray src1, double alpha, InputArray src2, OutputArray dst)
 Calculates the sum of a scaled array and another array.
 
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.
 
void seamlessClone (InputArray src, InputArray dst, InputArray mask, Point p, OutputArray blend, int flags)
 Image editing tasks concern either global changes (color/intensity corrections, filters, deformations) or local changes concerned to a selection. Here we are interested in achieving local changes, ones that are restricted to a region manually selected (ROI), in a seamless and effortless manner. The extent of the changes ranges from slight distortions to complete replacement by novel content [215] .
 
Rect selectROI (const String &windowName, InputArray img, bool showCrosshair=true, bool fromCenter=false, bool printNotice=true)
 Allows users to select a ROI on the given image.
 
Rect selectROI (InputArray img, bool showCrosshair=true, bool fromCenter=false, bool printNotice=true)
 
void selectROIs (const String &windowName, InputArray img, std::vector< Rect > &boundingBoxes, bool showCrosshair=true, bool fromCenter=false, bool printNotice=true)
 Allows users to select multiple ROIs on the given image.
 
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.
 
bool setBreakOnError (bool flag)
 Sets/resets the break-on-error mode.
 
void setIdentity (InputOutputArray mtx, const Scalar &s=Scalar(1))
 Initializes a scaled identity matrix.
 
void setMouseCallback (const String &winname, MouseCallback onMouse, void *userdata=0)
 Sets mouse handler for the specified window.
 
void setNumThreads (int nthreads)
 OpenCV will try to set the number of threads for subsequent parallel regions.
 
void setOpenGlContext (const String &winname)
 Sets the specified window as current OpenGL context.
 
void setOpenGlDrawCallback (const String &winname, OpenGlDrawCallback onOpenGlDraw, void *userdata=0)
 Sets a callback function to be called to draw on top of displayed image.
 
void setRNGSeed (int seed)
 Sets state of default random number generator.
 
void setTrackbarMax (const String &trackbarname, const String &winname, int maxval)
 Sets the trackbar maximum position.
 
void setTrackbarMin (const String &trackbarname, const String &winname, int minval)
 Sets the trackbar minimum position.
 
void setTrackbarPos (const String &trackbarname, const String &winname, int pos)
 Sets the trackbar position.
 
void setUseOptimized (bool onoff)
 Enables or disables the optimized code.
 
void setWindowProperty (const String &winname, int prop_id, double prop_value)
 Changes parameters of a window dynamically.
 
void setWindowTitle (const String &winname, const String &title)
 Updates window title.
 
template<typename T >
Quat< T > sin (const Quat< T > &q)
 
softdouble sin (const softdouble &a)
 Sine.
 
template<typename T >
Quat< T > sinh (const Quat< T > &q)
 
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.
 
bool solve (InputArray src1, InputArray src2, OutputArray dst, int flags=DECOMP_LU)
 Solves one or more linear systems or least-squares problems.
 
int solveCubic (InputArray coeffs, OutputArray roots)
 Finds the real roots of a cubic equation.
 
int solveLP (InputArray Func, InputArray Constr, OutputArray z)
 
int solveLP (InputArray Func, InputArray Constr, OutputArray z, double constr_eps)
 Solve given (non-integer) linear programming problem using the Simplex Algorithm (Simplex Method).
 
int solveP3P (InputArray objectPoints, InputArray imagePoints, InputArray cameraMatrix, InputArray distCoeffs, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, int flags)
 Finds an object pose from 3 3D-2D point correspondences.
 
bool solvePnP (InputArray objectPoints, InputArray imagePoints, InputArray cameraMatrix, InputArray distCoeffs, OutputArray rvec, OutputArray tvec, bool useExtrinsicGuess=false, int flags=SOLVEPNP_ITERATIVE)
 Finds an object pose from 3D-2D point correspondences.
 
int solvePnPGeneric (InputArray objectPoints, InputArray imagePoints, InputArray cameraMatrix, InputArray distCoeffs, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, bool useExtrinsicGuess=false, int flags=SOLVEPNP_ITERATIVE, InputArray rvec=noArray(), InputArray tvec=noArray(), OutputArray reprojectionError=noArray())
 Finds an object pose from 3D-2D point correspondences.
 
bool solvePnPRansac (InputArray objectPoints, InputArray imagePoints, InputArray cameraMatrix, InputArray distCoeffs, OutputArray rvec, OutputArray tvec, bool useExtrinsicGuess=false, int iterationsCount=100, float reprojectionError=8.0, double confidence=0.99, OutputArray inliers=noArray(), int flags=SOLVEPNP_ITERATIVE)
 Finds an object pose from 3D-2D point correspondences using the RANSAC scheme.
 
bool solvePnPRansac (InputArray objectPoints, InputArray imagePoints, InputOutputArray cameraMatrix, InputArray distCoeffs, OutputArray rvec, OutputArray tvec, OutputArray inliers, const UsacParams &params=UsacParams())
 
void solvePnPRefineLM (InputArray objectPoints, InputArray imagePoints, InputArray cameraMatrix, InputArray distCoeffs, InputOutputArray rvec, InputOutputArray tvec, TermCriteria criteria=TermCriteria(TermCriteria::EPS+TermCriteria::COUNT, 20, FLT_EPSILON))
 Refine a pose (the translation and the rotation that transform a 3D point expressed in the object coordinate frame to the camera coordinate frame) from a 3D-2D point correspondences and starting from an initial solution.
 
void solvePnPRefineVVS (InputArray objectPoints, InputArray imagePoints, InputArray cameraMatrix, InputArray distCoeffs, InputOutputArray rvec, InputOutputArray tvec, TermCriteria criteria=TermCriteria(TermCriteria::EPS+TermCriteria::COUNT, 20, FLT_EPSILON), double VVSlambda=1)
 Refine a pose (the translation and the rotation that transform a 3D point expressed in the object coordinate frame to the camera coordinate frame) from a 3D-2D point correspondences and starting from an initial solution.
 
double solvePoly (InputArray coeffs, OutputArray roots, int maxIters=300)
 Finds the real or complex roots of a polynomial equation.
 
void sort (InputArray src, OutputArray dst, int flags)
 Sorts each row or each column of a matrix.
 
void sortIdx (InputArray src, OutputArray dst, int flags)
 Sorts each row or each column of a matrix.
 
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.
 
void split (const Mat &src, Mat *mvbegin)
 Divides a multi-channel array into several single-channel arrays.
 
void split (InputArray m, OutputArrayOfArrays mv)
 
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.
 
template<typename S >
Quat< S > sqrt (const Quat< S > &q, QuatAssumeType assumeUnit=QUAT_ASSUME_NOT_UNIT)
 
softdouble sqrt (const softdouble &a)
 
softfloat sqrt (const softfloat &a)
 Square root.
 
void sqrt (InputArray src, OutputArray dst)
 Calculates a square root of array elements.
 
void stackBlur (InputArray src, OutputArray dst, Size ksize)
 Blurs an image using the stackBlur.
 
int startLoop (int(*pt2Func)(int argc, char *argv[]), int argc, char *argv[])
 
int startWindowThread ()
 
double stereoCalibrate (InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints1, InputArrayOfArrays imagePoints2, InputOutputArray cameraMatrix1, InputOutputArray distCoeffs1, InputOutputArray cameraMatrix2, InputOutputArray distCoeffs2, Size imageSize, InputOutputArray R, InputOutputArray T, OutputArray E, OutputArray F, OutputArray perViewErrors, int flags=CALIB_FIX_INTRINSIC, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 1e-6))
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
double stereoCalibrate (InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints1, InputArrayOfArrays imagePoints2, InputOutputArray cameraMatrix1, InputOutputArray distCoeffs1, InputOutputArray cameraMatrix2, InputOutputArray distCoeffs2, Size imageSize, InputOutputArray R, InputOutputArray T, OutputArray E, OutputArray F, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, OutputArray perViewErrors, int flags=CALIB_FIX_INTRINSIC, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 100, 1e-6))
 Calibrates a stereo camera set up. This function finds the intrinsic parameters for each of the two cameras and the extrinsic parameters between the two cameras.
 
double stereoCalibrate (InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints1, InputArrayOfArrays imagePoints2, InputOutputArray cameraMatrix1, InputOutputArray distCoeffs1, InputOutputArray cameraMatrix2, InputOutputArray distCoeffs2, Size imageSize, OutputArray R, OutputArray T, OutputArray E, OutputArray F, int flags=CALIB_FIX_INTRINSIC, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 100, 1e-6))
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 
void stereoRectify (InputArray cameraMatrix1, InputArray distCoeffs1, InputArray cameraMatrix2, InputArray distCoeffs2, Size imageSize, InputArray R, InputArray T, OutputArray R1, OutputArray R2, OutputArray P1, OutputArray P2, OutputArray Q, int flags=STEREO_ZERO_DISPARITY, double alpha=-1, Size newImageSize=Size(), Rect *validPixROI1=0, Rect *validPixROI2=0)
 Computes rectification transforms for each head of a calibrated stereo camera.
 
bool stereoRectifyUncalibrated (InputArray points1, InputArray points2, InputArray F, Size imgSize, OutputArray H1, OutputArray H2, double threshold=5)
 Computes a rectification transform for an uncalibrated stereo camera.
 
void stopLoop ()
 
void stylization (InputArray src, OutputArray dst, float sigma_s=60, float sigma_r=0.45f)
 Stylization aims to produce digital imagery with a wide variety of effects not focused on photorealism. Edge-aware filters are ideal for stylization, as they can abstract regions of low contrast while preserving, or enhancing, high-contrast features.
 
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.
 
Scalar sum (InputArray src)
 Calculates the sum of array elements.
 
void SVBackSubst (InputArray w, InputArray u, InputArray vt, InputArray rhs, OutputArray dst)
 
void SVDecomp (InputArray src, OutputArray w, OutputArray u, OutputArray vt, int flags=0)
 
void swap (Mat &a, Mat &b)
 Swaps two matrices.
 
void swap (UMat &a, UMat &b)
 
template<typename T >
Quat< T > tan (const Quat< T > &q)
 
template<typename T >
Quat< T > tanh (const Quat< T > &q)
 
String tempfile (const char *suffix=0)
 Generates a unique temporary file name.
 
void terminate (Error::Code code, const String &err, const char *func, const char *file, int line) CV_NOEXCEPT
 Signals an error and terminate application.
 
void textureFlattening (InputArray src, InputArray mask, OutputArray dst, float low_threshold=30, float high_threshold=45, int kernel_size=3)
 By retaining only the gradients at edge locations, before integrating with the Poisson solver, one washes out the texture of the selected region, giving its contents a flat aspect. Here Canny Edge Detector is used.
 
RNGtheRNG ()
 Returns the default random number generator.
 
double threshold (InputArray src, OutputArray dst, double thresh, double maxval, int type)
 Applies a fixed-level threshold to each array element.
 
static std::string toLowerCase (const std::string &str)
 
static std::string toUpperCase (const std::string &str)
 
template<typename _Tp , int m, int n>
static double trace (const Matx< _Tp, m, n > &a)
 
Scalar trace (InputArray mtx)
 Returns the trace of a matrix.
 
void transform (InputArray src, OutputArray dst, InputArray m)
 Performs the matrix transformation of every array element.
 
void transpose (InputArray src, OutputArray dst)
 Transposes a matrix.
 
void transposeND (InputArray src, const std::vector< int > &order, OutputArray dst)
 Transpose for n-dimensional matrices.
 
void triangleRasterize (InputArray vertices, InputArray indices, InputArray colors, InputOutputArray colorBuf, InputOutputArray depthBuf, InputArray world2cam, double fovY, double zNear, double zFar, const TriangleRasterizeSettings &settings=TriangleRasterizeSettings())
 Renders a set of triangles on a depth and color image.
 
void triangleRasterizeColor (InputArray vertices, InputArray indices, InputArray colors, InputOutputArray colorBuf, InputArray world2cam, double fovY, double zNear, double zFar, const TriangleRasterizeSettings &settings=TriangleRasterizeSettings())
 Overloaded version of triangleRasterize() with color-only rendering.
 
void triangleRasterizeDepth (InputArray vertices, InputArray indices, InputOutputArray depthBuf, InputArray world2cam, double fovY, double zNear, double zFar, const TriangleRasterizeSettings &settings=TriangleRasterizeSettings())
 Overloaded version of triangleRasterize() with depth-only rendering.
 
void triangulatePoints (InputArray projMatr1, InputArray projMatr2, InputArray projPoints1, InputArray projPoints2, OutputArray points4D)
 This function reconstructs 3-dimensional points (in homogeneous coordinates) by using their observations with a stereo camera.
 
String typeToString (int type)
 
void undistort (InputArray src, OutputArray dst, InputArray cameraMatrix, InputArray distCoeffs, InputArray newCameraMatrix=noArray())
 Transforms an image to compensate for lens distortion.
 
void undistortImagePoints (InputArray src, OutputArray dst, InputArray cameraMatrix, InputArray distCoeffs, TermCriteria=TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 5, 0.01))
 Compute undistorted image points position.
 
void undistortPoints (InputArray src, OutputArray dst, InputArray cameraMatrix, InputArray distCoeffs, InputArray R=noArray(), InputArray P=noArray(), TermCriteria criteria=TermCriteria(TermCriteria::MAX_ITER, 5, 0.01))
 Computes the ideal point coordinates from the observed point coordinates.
 
void updateWindow (const String &winname)
 Force window to redraw its context and call draw callback ( See cv::setOpenGlDrawCallback ).
 
bool useOptimized ()
 Returns the status of optimized code usage.
 
void v256_cleanup ()
 
template<typename _Tp >
v_reg< _Tp, simd256_width/sizeof(_Tp)> v256_load (const _Tp *ptr)
 Load 256-bit length register contents from memory.
 
template<typename _Tp >
v_reg< _Tp, simd256_width/sizeof(_Tp)> v256_load_aligned (const _Tp *ptr)
 Load register contents from memory (aligned)
 
template<typename _Tp >
v_reg< typename V_TypeTraits< _Tp >::w_type, simd256_width/sizeof(typename V_TypeTraits< _Tp >::w_type)> v256_load_expand (const _Tp *ptr)
 Load register contents from memory with double expand.
 
v_reg< float, simd256_width/sizeof(float)> v256_load_expand (const hfloat *ptr)
 
template<typename _Tp >
v_reg< typename V_TypeTraits< _Tp >::q_type, simd256_width/sizeof(typename V_TypeTraits< _Tp >::q_type)> v256_load_expand_q (const _Tp *ptr)
 Load register contents from memory with quad expand.
 
template<typename _Tp >
v_reg< _Tp, simd256_width/sizeof(_Tp)> v256_load_halves (const _Tp *loptr, const _Tp *hiptr)
 Load register contents from two memory blocks.
 
template<typename _Tp >
v_reg< _Tp, simd256_width/sizeof(_Tp)> v256_load_low (const _Tp *ptr)
 Load 128-bits of data to lower part (high part is undefined).
 
void v512_cleanup ()
 
template<typename _Tp >
v_reg< _Tp, simd512_width/sizeof(_Tp)> v512_load (const _Tp *ptr)
 Load 512-bit length register contents from memory.
 
template<typename _Tp >
v_reg< _Tp, simd512_width/sizeof(_Tp)> v512_load_aligned (const _Tp *ptr)
 Load register contents from memory (aligned)
 
template<typename _Tp >
v_reg< typename V_TypeTraits< _Tp >::w_type, simd512_width/sizeof(typename V_TypeTraits< _Tp >::w_type)> v512_load_expand (const _Tp *ptr)
 Load register contents from memory with double expand.
 
v_reg< float, simd512_width/sizeof(float)> v512_load_expand (const hfloat *ptr)
 
template<typename _Tp >
v_reg< typename V_TypeTraits< _Tp >::q_type, simd512_width/sizeof(typename V_TypeTraits< _Tp >::q_type)> v512_load_expand_q (const _Tp *ptr)
 Load register contents from memory with quad expand.
 
template<typename _Tp >
v_reg< _Tp, simd512_width/sizeof(_Tp)> v512_load_halves (const _Tp *loptr, const _Tp *hiptr)
 Load register contents from two memory blocks.
 
template<typename _Tp >
v_reg< _Tp, simd512_width/sizeof(_Tp)> v512_load_low (const _Tp *ptr)
 Load 256-bits of data to lower part (high part is undefined).
 
template<typename _Tp , int n>
v_reg< typename V_TypeTraits< _Tp >::abs_type, n > v_abs (const v_reg< _Tp, n > &a)
 Absolute value of elements.
 
template<typename _Tp , int n>
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.
 
template<int n>
v_reg< double, n > v_absdiff (const v_reg< double, n > &a, const v_reg< double, n > &b)
 
template<int n>
v_reg< float, n > v_absdiff (const v_reg< float, n > &a, const v_reg< float, n > &b)
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_absdiffs (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Saturating absolute difference.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_add (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Add values.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_add_wrap (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Add values without saturation.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_and (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Bitwise AND.
 
template<int i, typename _Tp , int n>
v_reg< _Tp, n > v_broadcast_element (const v_reg< _Tp, n > &a)
 Broadcast i-th element of vector.
 
template<int n>
v_reg< int, n *2 > v_ceil (const v_reg< double, n > &a)
 
template<int n>
v_reg< int, n > v_ceil (const v_reg< float, n > &a)
 Ceil elements.
 
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.
 
void v_cleanup ()
 
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>
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_cos (const v_reg< _Tp, n > &a)
 Cosine \( cos(x) \) of elements.
 
template<int n>
v_reg< float, n *2 > v_cvt_f32 (const v_reg< double, n > &a)
 Convert lower half to float.
 
template<int n>
v_reg< float, n *2 > v_cvt_f32 (const v_reg< double, n > &a, const v_reg< double, n > &b)
 Convert to float.
 
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/2)> v_cvt_f64 (const v_reg< float, n > &a)
 Convert lower half to double.
 
template<int n>
v_reg< double, n/2 > v_cvt_f64 (const v_reg< int, n > &a)
 Convert lower half to double.
 
template<int n>
v_reg< double, n > v_cvt_f64 (const v_reg< int64, n > &a)
 Convert to double.
 
template<int n>
v_reg< double,(n/2)> v_cvt_f64_high (const v_reg< float, n > &a)
 Convert to double high part of vector.
 
template<int n>
v_reg< double,(n/2)> v_cvt_f64_high (const v_reg< int, n > &a)
 Convert to double high part of vector.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_div (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Divide values.
 
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>
v_reg< typename V_TypeTraits< _Tp >::w_type, n/2 > v_dotprod (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b, const v_reg< typename V_TypeTraits< _Tp >::w_type, n/2 > &c)
 Dot product of elements.
 
template<typename _Tp , int n>
v_reg< typename V_TypeTraits< _Tp >::q_type, n/4 > v_dotprod_expand (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Dot product of elements and expand.
 
template<typename _Tp , int n>
v_reg< typename V_TypeTraits< _Tp >::q_type, n/4 > v_dotprod_expand (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b, const v_reg< typename V_TypeTraits< _Tp >::q_type, n/4 > &c)
 Dot product of elements.
 
template<int n>
v_reg< double, n/2 > v_dotprod_expand (const v_reg< int, n > &a, const v_reg< int, n > &b)
 
template<int n>
v_reg< double, n/2 > v_dotprod_expand (const v_reg< int, n > &a, const v_reg< int, n > &b, const v_reg< double, n/2 > &c)
 
template<typename _Tp , int n>
v_reg< typename V_TypeTraits< _Tp >::q_type, n/4 > v_dotprod_expand_fast (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Fast Dot product of elements and expand.
 
template<typename _Tp , int n>
v_reg< typename V_TypeTraits< _Tp >::q_type, n/4 > v_dotprod_expand_fast (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b, const v_reg< typename V_TypeTraits< _Tp >::q_type, n/4 > &c)
 Fast Dot product of elements.
 
template<int n>
v_reg< double, n/2 > v_dotprod_expand_fast (const v_reg< int, n > &a, const v_reg< int, n > &b)
 
template<int n>
v_reg< double, n/2 > v_dotprod_expand_fast (const v_reg< int, n > &a, const v_reg< int, n > &b, const v_reg< double, n/2 > &c)
 
template<typename _Tp , int n>
v_reg< typename V_TypeTraits< _Tp >::w_type, n/2 > v_dotprod_fast (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Fast Dot product of elements.
 
template<typename _Tp , int n>
v_reg< typename V_TypeTraits< _Tp >::w_type, n/2 > v_dotprod_fast (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b, const v_reg< typename V_TypeTraits< _Tp >::w_type, n/2 > &c)
 Fast Dot product of elements.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_eq (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Equal comparison.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_erf (const v_reg< _Tp, n > &a)
 Error function.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_exp (const v_reg< _Tp, n > &a)
 Exponential \( e^x \) of elements.
 
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>
v_reg< typename V_TypeTraits< _Tp >::w_type, n/2 > v_expand_high (const v_reg< _Tp, n > &a)
 Expand higher values to the wider pack type.
 
template<typename _Tp , int n>
v_reg< typename V_TypeTraits< _Tp >::w_type, n/2 > v_expand_low (const v_reg< _Tp, n > &a)
 Expand lower values to the wider pack type.
 
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 s, typename _Tp , int n>
_Tp v_extract_n (const v_reg< _Tp, n > &v)
 Vector extract.
 
template<int n>
v_reg< int, n *2 > v_floor (const v_reg< double, n > &a)
 
template<int n>
v_reg< int, n > v_floor (const v_reg< float, n > &a)
 Floor elements.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_fma (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< _Tp, n > v_ge (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Greater-than or equal comparison.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_gt (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Greater-than comparison.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_interleave_pairs (const v_reg< _Tp, n > &vec)
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_interleave_quads (const v_reg< _Tp, n > &vec)
 
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_le (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Less-than or equal comparison.
 
template<typename _Tp >
v_reg< _Tp, simd128_width/sizeof(_Tp)> v_load (const _Tp *ptr)
 Load register contents from memory.
 
template<typename _Tp >
v_reg< _Tp, simd128_width/sizeof(_Tp)> v_load_aligned (const _Tp *ptr)
 Load register contents from memory (aligned)
 
template<typename _Tp , int n>
void v_load_deinterleave (const _Tp *ptr, v_reg< _Tp, n > &a, v_reg< _Tp, n > &b)
 Load and deinterleave (2 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)
 Load and deinterleave (3 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 (4 channels)
 
template<typename _Tp >
v_reg< typename V_TypeTraits< _Tp >::w_type, simd128_width/sizeof(typename V_TypeTraits< _Tp >::w_type)> v_load_expand (const _Tp *ptr)
 Load register contents from memory with double expand.
 
v_reg< float, simd128_width/sizeof(float)> v_load_expand (const hfloat *ptr)
 
template<typename _Tp >
v_reg< typename V_TypeTraits< _Tp >::q_type, simd128_width/sizeof(typename V_TypeTraits< _Tp >::q_type)> v_load_expand_q (const _Tp *ptr)
 Load register contents from memory with quad expand.
 
template<typename _Tp >
v_reg< _Tp, simd128_width/sizeof(_Tp)> v_load_halves (const _Tp *loptr, const _Tp *hiptr)
 Load register contents from two memory blocks.
 
template<typename _Tp >
v_reg< _Tp, simd128_width/sizeof(_Tp)> v_load_low (const _Tp *ptr)
 Load 64-bits of data to lower part (high part is undefined).
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_log (const v_reg< _Tp, n > &a)
 Natural logarithm \( \log(x) \) of elements.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_lt (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Less-than comparison.
 
template<typename _Tp >
v_reg< _Tp, simd128_width/sizeof(_Tp)> v_lut (const _Tp *tab, const int *idx)
 
template<int n>
v_reg< double, n/2 > v_lut (const double *tab, const v_reg< int, n > &idx)
 
template<int n>
v_reg< float, n > v_lut (const float *tab, const v_reg< int, n > &idx)
 
template<int n>
v_reg< int, n > v_lut (const int *tab, const v_reg< int, n > &idx)
 
template<int n>
v_reg< unsigned, n > v_lut (const unsigned *tab, const v_reg< int, n > &idx)
 
template<int n>
void v_lut_deinterleave (const double *tab, const v_reg< int, n *2 > &idx, v_reg< double, n > &x, v_reg< double, n > &y)
 
template<int n>
void v_lut_deinterleave (const float *tab, const v_reg< int, n > &idx, v_reg< float, n > &x, v_reg< float, n > &y)
 
template<typename _Tp >
v_reg< _Tp, simd128_width/sizeof(_Tp)> v_lut_pairs (const _Tp *tab, const int *idx)
 
template<typename _Tp >
v_reg< _Tp, simd128_width/sizeof(_Tp)> v_lut_quads (const _Tp *tab, const int *idx)
 
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<int n>
v_reg< float, n > v_matmul (const v_reg< float, n > &v, const v_reg< float, n > &a, const v_reg< float, n > &b, const v_reg< float, n > &c, const v_reg< float, n > &d)
 Matrix multiplication.
 
template<int n>
v_reg< float, n > v_matmuladd (const v_reg< float, n > &v, const v_reg< float, n > &a, const v_reg< float, n > &b, const v_reg< float, n > &c, const v_reg< float, n > &d)
 Matrix multiplication and add.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_max (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Choose max values for each pair.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_min (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Choose min values for each pair.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_mul (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Multiply values.
 
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.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_mul_hi (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Multiply and extract high part.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_mul_wrap (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Multiply values without saturation.
 
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)
 A synonym for v_fma.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_ne (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Not equal comparison.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_not (const v_reg< _Tp, n > &a)
 Bitwise NOT.
 
template<int n>
v_reg< double, n > v_not_nan (const v_reg< double, n > &a)
 
template<int n>
v_reg< float, n > v_not_nan (const v_reg< float, n > &a)
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_or (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Bitwise OR.
 
template<int n>
void v_pack_store (hfloat *ptr, const v_reg< float, n > &v)
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_pack_triplets (const v_reg< _Tp, n > &vec)
 
template<typename _Tp , int n>
v_reg< typename V_TypeTraits< _Tp >::abs_type, n > v_popcount (const v_reg< _Tp, n > &a)
 Count the 1 bits in the vector lanes and return result as corresponding unsigned type.
 
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<typename _Tp , int n>
_Tp v_reduce_max (const v_reg< _Tp, n > &a)
 Find one max value.
 
template<typename _Tp , int n>
_Tp v_reduce_min (const v_reg< _Tp, n > &a)
 Find one min value.
 
template<typename _Tp , int n>
V_TypeTraits< typenameV_TypeTraits< _Tp >::abs_type >::sum_type v_reduce_sad (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Sum absolute differences of values.
 
template<typename _Tp , int n>
V_TypeTraits< _Tp >::sum_type v_reduce_sum (const v_reg< _Tp, n > &a)
 Sum packed values.
 
template<int n>
v_reg< float, n > v_reduce_sum4 (const v_reg< float, n > &a, const v_reg< float, n > &b, const v_reg< float, n > &c, const v_reg< float, n > &d)
 Sums all elements of each input vector, returns the vector of sums.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_reverse (const v_reg< _Tp, n > &a)
 Vector reverse order.
 
template<int imm, typename _Tp , int n>
v_reg< _Tp, n > v_rotate_left (const v_reg< _Tp, n > &a)
 Element shift left among vector.
 
template<int imm, typename _Tp , int n>
v_reg< _Tp, n > v_rotate_left (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 
template<int imm, typename _Tp , int n>
v_reg< _Tp, n > v_rotate_right (const v_reg< _Tp, n > &a)
 Element shift right among vector.
 
template<int imm, typename _Tp , int n>
v_reg< _Tp, n > v_rotate_right (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 
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_round (const v_reg< double, n > &a, const v_reg< double, n > &b)
 
template<int n>
v_reg< int, n > v_round (const v_reg< float, n > &a)
 Round elements.
 
template<typename _Tp , int n>
int v_scan_forward (const v_reg< _Tp, n > &a)
 Get first negative lane index.
 
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)
 Per-element select (blend operation)
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_shl (const v_reg< _Tp, n > &a, int imm)
 Bitwise shift left.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_shr (const v_reg< _Tp, n > &a, int imm)
 Bitwise shift right.
 
template<typename _Tp , int n>
int v_signmask (const v_reg< _Tp, n > &a)
 Get negative values mask.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_sin (const v_reg< _Tp, n > &a)
 Sine \( sin(x) \) of elements.
 
template<typename _Tp , int n>
void v_sincos (const v_reg< _Tp, n > &x, v_reg< _Tp, n > &s, v_reg< _Tp, n > &c)
 Compute sine \( sin(x) \) and cosine \( cos(x) \) of elements at the same time.
 
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_sqrt (const v_reg< _Tp, n > &a)
 Square root of elements.
 
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 (_Tp *ptr, const v_reg< _Tp, n > &a, hal::StoreMode)
 
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>
void v_store_aligned (_Tp *ptr, const v_reg< _Tp, n > &a, hal::StoreMode)
 
template<typename _Tp , int n>
void v_store_aligned_nocache (_Tp *ptr, const v_reg< _Tp, n > &a)
 
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_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, hal::StoreMode=hal::STORE_UNALIGNED)
 Interleave and store (4 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, hal::StoreMode=hal::STORE_UNALIGNED)
 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, hal::StoreMode=hal::STORE_UNALIGNED)
 Interleave and store (2 channels)
 
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>
v_reg< _Tp, n > v_sub (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Subtract values.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_sub_wrap (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Subtract values without saturation.
 
template<typename _Tp , int n>
void v_transpose4x4 (v_reg< _Tp, n > &a0, const v_reg< _Tp, n > &a1, const v_reg< _Tp, n > &a2, const v_reg< _Tp, n > &a3, v_reg< _Tp, n > &b0, v_reg< _Tp, n > &b1, v_reg< _Tp, n > &b2, v_reg< _Tp, n > &b3)
 Transpose 4x4 matrix.
 
template<int n>
v_reg< int, n *2 > v_trunc (const v_reg< double, n > &a)
 
template<int n>
v_reg< int, n > v_trunc (const v_reg< float, n > &a)
 Truncate elements.
 
template<typename _Tp , int n>
v_reg< _Tp, n > v_xor (const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
 Bitwise XOR.
 
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.
 
void validateDisparity (InputOutputArray disparity, InputArray cost, int minDisparity, int numberOfDisparities, int disp12MaxDisp=1)
 validates disparity using the left-right check. The matrix "cost" should be computed by the stereo correspondence algorithm
 
void vconcat (const Mat *src, size_t nsrc, OutputArray dst)
 Applies vertical concatenation to given matrices.
 
void vconcat (InputArray src1, InputArray src2, OutputArray dst)
 
void vconcat (InputArrayOfArrays src, OutputArray dst)
 
int voxelGridSampling (OutputArray sampled_point_flags, InputArray input_pts, float length, float width, float height)
 Point cloud sampling by Voxel Grid filter downsampling.
 
int waitKey (int delay=0)
 Waits for a pressed key.
 
int waitKeyEx (int delay=0)
 Similar to waitKey, but returns full key code.
 
void warpAffine (InputArray src, OutputArray dst, InputArray M, Size dsize, int flags=INTER_LINEAR, int borderMode=BORDER_CONSTANT, const Scalar &borderValue=Scalar(), AlgorithmHint hint=cv::ALGO_HINT_DEFAULT)
 Applies an affine transformation to an image.
 
void warpFrame (InputArray depth, InputArray image, InputArray mask, InputArray Rt, InputArray cameraMatrix, OutputArray warpedDepth=noArray(), OutputArray warpedImage=noArray(), OutputArray warpedMask=noArray())
 
void warpPerspective (InputArray src, OutputArray dst, InputArray M, Size dsize, int flags=INTER_LINEAR, int borderMode=BORDER_CONSTANT, const Scalar &borderValue=Scalar(), AlgorithmHint hint=cv::ALGO_HINT_DEFAULT)
 Applies a perspective transformation to an image.
 
void warpPolar (InputArray src, OutputArray dst, Size dsize, Point2f center, double maxRadius, int flags)
 Remaps an image to polar or semilog-polar coordinates space.
 
void watershed (InputArray image, InputOutputArray markers)
 Performs a marker-based image segmentation using the watershed algorithm.
 
void winrt_imshow ()
 
void winrt_initContainer (::Windows::UI::Xaml::Controls::Panel^ container)
 Initializes container component that will be used to hold generated window content.
 
void winrt_onVisibilityChanged (bool visible)
 
void winrt_setFrameContainer (::Windows::UI::Xaml::Controls::Image^ image)
 
template<typename ... Args>
void winrt_startMessageLoop (std::function< void(Args...)> &&callback, Args... args)
 
template<typename ... Args>
void winrt_startMessageLoop (void callback(Args...), Args... args)
 
template void winrt_startMessageLoop (void callback(void))
 
float wrapperEMD (InputArray signature1, InputArray signature2, int distType, InputArray cost=noArray(), Ptr< float > lowerBound=Ptr< float >(), OutputArray flow=noArray())
 
template<typename _Tp >
static void write (FileStorage &fs, const _Tp &value)
 
template<typename _Tp >
static void write (FileStorage &fs, const Complex< _Tp > &c)
 
template<>
void write (FileStorage &fs, const double &value)
 
template<>
void write (FileStorage &fs, const float &value)
 
template<>
void write (FileStorage &fs, const int &value)
 
template<typename _Tp , int m, int n>
static void write (FileStorage &fs, const Matx< _Tp, m, n > &x)
 
template<typename _Tp >
static void write (FileStorage &fs, const Point3_< _Tp > &pt)
 
template<typename _Tp >
static void write (FileStorage &fs, const Point_< _Tp > &pt)
 
static void write (FileStorage &fs, const Range &r)
 
template<typename _Tp >
static void write (FileStorage &fs, const Rect_< _Tp > &r)
 
template<typename _Tp >
static void write (FileStorage &fs, const Scalar_< _Tp > &s)
 
template<typename _Tp >
static void write (FileStorage &fs, const Size_< _Tp > &sz)
 
template<typename _Tp >
static void write (FileStorage &fs, const std::vector< _Tp > &vec)
 
template<typename _Tp , typename std::enable_if< std::is_enum< _Tp >::value >::type * = nullptr>
static void write (FileStorage &fs, const String &name, const _Tp &val)
 
template<typename _Tp >
static void write (FileStorage &fs, const String &name, const Complex< _Tp > &c)
 
static void write (FileStorage &fs, const String &name, const DMatch &m)
 
static void write (FileStorage &fs, const String &name, const KeyPoint &kpt)
 
void write (FileStorage &fs, const String &name, const Mat &value)
 
template<typename _Tp , int m, int n>
static void write (FileStorage &fs, const String &name, const Matx< _Tp, m, n > &x)
 
void write (FileStorage &fs, const String &name, const optflow::GPCTree::Node &node)
 
template<typename _Tp >
static void write (FileStorage &fs, const String &name, const Point3_< _Tp > &pt)
 
template<typename _Tp >
static void write (FileStorage &fs, const String &name, const Point_< _Tp > &pt)
 
static void write (FileStorage &fs, const String &name, const Range &r)
 
template<typename _Tp >
static void write (FileStorage &fs, const String &name, const Rect_< _Tp > &r)
 
template<typename _Tp >
static void write (FileStorage &fs, const String &name, const Scalar_< _Tp > &s)
 
template<typename _Tp >
static void write (FileStorage &fs, const String &name, const Size_< _Tp > &sz)
 
void write (FileStorage &fs, const String &name, const SparseMat &value)
 
template<typename _Tp >
static void write (FileStorage &fs, const String &name, const std::vector< _Tp > &vec)
 
template<typename _Tp >
static void write (FileStorage &fs, const String &name, const std::vector< std::vector< _Tp > > &vec)
 
void write (FileStorage &fs, const String &name, const String &value)
 
template<typename _Tp , int cn>
static void write (FileStorage &fs, const String &name, const Vec< _Tp, cn > &v)
 
void write (FileStorage &fs, const String &name, double value)
 
void write (FileStorage &fs, const String &name, float value)
 
void write (FileStorage &fs, const String &name, int value)
 
void write (FileStorage &fs, const String &name, int64_t value)
 
template<>
void write (FileStorage &fs, const String &value)
 
template<typename _Tp , int cn>
static void write (FileStorage &fs, const Vec< _Tp, cn > &v)
 
bool writeOpticalFlow (const String &path, InputArray flow)
 Write a .flo to disk.
 
void writeScalar (FileStorage &fs, const String &value)
 
void writeScalar (FileStorage &fs, double value)
 
void writeScalar (FileStorage &fs, float value)
 
void writeScalar (FileStorage &fs, int value)
 
void writeScalar (FileStorage &fs, int64_t value)
 
Init with zero

Create new vector with zero elements

v_uint8x16 v_setzero_u8 ()
 
template<>
v_uint8x16 v_setzero_ ()
 
v_int8x16 v_setzero_s8 ()
 
template<>
v_int8x16 v_setzero_ ()
 
v_uint16x8 v_setzero_u16 ()
 
template<>
v_uint16x8 v_setzero_ ()
 
v_int16x8 v_setzero_s16 ()
 
template<>
v_int16x8 v_setzero_ ()
 
v_uint32x4 v_setzero_u32 ()
 
template<>
v_uint32x4 v_setzero_ ()
 
v_int32x4 v_setzero_s32 ()
 
template<>
v_int32x4 v_setzero_ ()
 
v_float32x4 v_setzero_f32 ()
 
template<>
v_float32x4 v_setzero_ ()
 
v_float64x2 v_setzero_f64 ()
 
template<>
v_float64x2 v_setzero_ ()
 
v_uint64x2 v_setzero_u64 ()
 
template<>
v_uint64x2 v_setzero_ ()
 
v_int64x2 v_setzero_s64 ()
 
template<>
v_int64x2 v_setzero_ ()
 
v_uint8x32 v256_setzero_u8 ()
 
template<>
v_uint8x32 v_setzero_ ()
 
v_int8x32 v256_setzero_s8 ()
 
template<>
v_int8x32 v_setzero_ ()
 
v_uint16x16 v256_setzero_u16 ()
 
template<>
v_uint16x16 v_setzero_ ()
 
v_int16x16 v256_setzero_s16 ()
 
template<>
v_int16x16 v_setzero_ ()
 
v_uint32x8 v256_setzero_u32 ()
 
template<>
v_uint32x8 v_setzero_ ()
 
v_int32x8 v256_setzero_s32 ()
 
template<>
v_int32x8 v_setzero_ ()
 
v_float32x8 v256_setzero_f32 ()
 
template<>
v_float32x8 v_setzero_ ()
 
v_float64x4 v256_setzero_f64 ()
 
template<>
v_float64x4 v_setzero_ ()
 
v_uint64x4 v256_setzero_u64 ()
 
template<>
v_uint64x4 v_setzero_ ()
 
v_int64x4 v256_setzero_s64 ()
 
template<>
v_int64x4 v_setzero_ ()
 
v_uint8x64 v512_setzero_u8 ()
 
template<>
v_uint8x64 v_setzero_ ()
 
v_int8x64 v512_setzero_s8 ()
 
template<>
v_int8x64 v_setzero_ ()
 
v_uint16x32 v512_setzero_u16 ()
 
template<>
v_uint16x32 v_setzero_ ()
 
v_int16x32 v512_setzero_s16 ()
 
template<>
v_int16x32 v_setzero_ ()
 
v_uint32x16 v512_setzero_u32 ()
 
template<>
v_uint32x16 v_setzero_ ()
 
v_int32x16 v512_setzero_s32 ()
 
template<>
v_int32x16 v_setzero_ ()
 
v_float32x16 v512_setzero_f32 ()
 
template<>
v_float32x16 v_setzero_ ()
 
v_float64x8 v512_setzero_f64 ()
 
template<>
v_float64x8 v_setzero_ ()
 
v_uint64x8 v512_setzero_u64 ()
 
template<>
v_uint64x8 v_setzero_ ()
 
v_int64x8 v512_setzero_s64 ()
 
template<>
v_int64x8 v_setzero_ ()
 
Init with value

Create new vector with elements set to a specific value

v_uint8x16 v_setall_u8 (uchar val)
 
template<>
v_uint8x16 v_setall_ (uchar val)
 
v_int8x16 v_setall_s8 (schar val)
 
template<>
v_int8x16 v_setall_ (schar val)
 
v_uint16x8 v_setall_u16 (ushort val)
 
template<>
v_uint16x8 v_setall_ (ushort val)
 
v_int16x8 v_setall_s16 (short val)
 
template<>
v_int16x8 v_setall_ (short val)
 
v_uint32x4 v_setall_u32 (unsigned val)
 
template<>
v_uint32x4 v_setall_ (unsigned val)
 
v_int32x4 v_setall_s32 (int val)
 
template<>
v_int32x4 v_setall_ (int val)
 
v_float32x4 v_setall_f32 (float val)
 
template<>
v_float32x4 v_setall_ (float val)
 
v_float64x2 v_setall_f64 (double val)
 
template<>
v_float64x2 v_setall_ (double val)
 
v_uint64x2 v_setall_u64 (uint64 val)
 
template<>
v_uint64x2 v_setall_ (uint64 val)
 
v_int64x2 v_setall_s64 (int64 val)
 
template<>
v_int64x2 v_setall_ (int64 val)
 
v_uint8x32 v256_setall_u8 (uchar val)
 
template<>
v_uint8x32 v_setall_ (uchar val)
 
v_int8x32 v256_setall_s8 (schar val)
 
template<>
v_int8x32 v_setall_ (schar val)
 
v_uint16x16 v256_setall_u16 (ushort val)
 
template<>
v_uint16x16 v_setall_ (ushort val)
 
v_int16x16 v256_setall_s16 (short val)
 
template<>
v_int16x16 v_setall_ (short val)
 
v_uint32x8 v256_setall_u32 (unsigned val)
 
template<>
v_uint32x8 v_setall_ (unsigned val)
 
v_int32x8 v256_setall_s32 (int val)
 
template<>
v_int32x8 v_setall_ (int val)
 
v_float32x8 v256_setall_f32 (float val)
 
template<>
v_float32x8 v_setall_ (float val)
 
v_float64x4 v256_setall_f64 (double val)
 
template<>
v_float64x4 v_setall_ (double val)
 
v_uint64x4 v256_setall_u64 (uint64 val)
 
template<>
v_uint64x4 v_setall_ (uint64 val)
 
v_int64x4 v256_setall_s64 (int64 val)
 
template<>
v_int64x4 v_setall_ (int64 val)
 
v_uint8x64 v512_setall_u8 (uchar val)
 
template<>
v_uint8x64 v_setall_ (uchar val)
 
v_int8x64 v512_setall_s8 (schar val)
 
template<>
v_int8x64 v_setall_ (schar val)
 
v_uint16x32 v512_setall_u16 (ushort val)
 
template<>
v_uint16x32 v_setall_ (ushort val)
 
v_int16x32 v512_setall_s16 (short val)
 
template<>
v_int16x32 v_setall_ (short val)
 
v_uint32x16 v512_setall_u32 (unsigned val)
 
template<>
v_uint32x16 v_setall_ (unsigned val)
 
v_int32x16 v512_setall_s32 (int val)
 
template<>
v_int32x16 v_setall_ (int val)
 
v_float32x16 v512_setall_f32 (float val)
 
template<>
v_float32x16 v_setall_ (float val)
 
v_float64x8 v512_setall_f64 (double val)
 
template<>
v_float64x8 v_setall_ (double val)
 
v_uint64x8 v512_setall_u64 (uint64 val)
 
template<>
v_uint64x8 v_setall_ (uint64 val)
 
v_int64x8 v512_setall_s64 (int64 val)
 
template<>
v_int64x8 v_setall_ (int64 val)
 
Reinterpret

Convert vector to different type without modifying underlying data.

template<typename _Tp0 , int n0>
v_reg< uchar, n0 *sizeof(_Tp0)/sizeof(uchar)> v_reinterpret_as_u8 (const v_reg< _Tp0, n0 > &a)
 
template<typename _Tp0 , int n0>
v_reg< schar, n0 *sizeof(_Tp0)/sizeof(schar)> v_reinterpret_as_s8 (const v_reg< _Tp0, n0 > &a)
 
template<typename _Tp0 , int n0>
v_reg< ushort, n0 *sizeof(_Tp0)/sizeof(ushort)> v_reinterpret_as_u16 (const v_reg< _Tp0, n0 > &a)
 
template<typename _Tp0 , int n0>
v_reg< short, n0 *sizeof(_Tp0)/sizeof(short)> v_reinterpret_as_s16 (const v_reg< _Tp0, n0 > &a)
 
template<typename _Tp0 , int n0>
v_reg< unsigned, n0 *sizeof(_Tp0)/sizeof(unsigned)> v_reinterpret_as_u32 (const v_reg< _Tp0, n0 > &a)
 
template<typename _Tp0 , int n0>
v_reg< int, n0 *sizeof(_Tp0)/sizeof(int)> v_reinterpret_as_s32 (const v_reg< _Tp0, n0 > &a)
 
template<typename _Tp0 , int n0>
v_reg< float, n0 *sizeof(_Tp0)/sizeof(float)> v_reinterpret_as_f32 (const v_reg< _Tp0, n0 > &a)
 
template<typename _Tp0 , int n0>
v_reg< double, n0 *sizeof(_Tp0)/sizeof(double)> v_reinterpret_as_f64 (const v_reg< _Tp0, n0 > &a)
 
template<typename _Tp0 , int n0>
v_reg< uint64, n0 *sizeof(_Tp0)/sizeof(uint64)> v_reinterpret_as_u64 (const v_reg< _Tp0, n0 > &a)
 
template<typename _Tp0 , int n0>
v_reg< int64, n0 *sizeof(_Tp0)/sizeof(int64)> v_reinterpret_as_s64 (const v_reg< _Tp0, n0 > &a)
 
Left shift

Shift left

template<int shift, int n>
v_reg< ushort, n > v_shl (const v_reg< ushort, n > &a)
 
template<int shift, int n>
v_reg< short, n > v_shl (const v_reg< short, n > &a)
 
template<int shift, int n>
v_reg< unsigned, n > v_shl (const v_reg< unsigned, n > &a)
 
template<int shift, int n>
v_reg< int, n > v_shl (const v_reg< int, n > &a)
 
template<int shift, int n>
v_reg< uint64, n > v_shl (const v_reg< uint64, n > &a)
 
template<int shift, int n>
v_reg< int64, n > v_shl (const v_reg< int64, n > &a)
 
Right shift

Shift right

template<int shift, int n>
v_reg< ushort, n > v_shr (const v_reg< ushort, n > &a)
 
template<int shift, int n>
v_reg< short, n > v_shr (const v_reg< short, n > &a)
 
template<int shift, int n>
v_reg< unsigned, n > v_shr (const v_reg< unsigned, n > &a)
 
template<int shift, int n>
v_reg< int, n > v_shr (const v_reg< int, n > &a)
 
template<int shift, int n>
v_reg< uint64, n > v_shr (const v_reg< uint64, n > &a)
 
template<int shift, int n>
v_reg< int64, n > v_shr (const v_reg< int64, n > &a)
 
Rounding shift

Rounding shift right

template<int shift, int n>
v_reg< ushort, n > v_rshr (const v_reg< ushort, n > &a)
 
template<int shift, int n>
v_reg< short, n > v_rshr (const v_reg< short, n > &a)
 
template<int shift, int n>
v_reg< unsigned, n > v_rshr (const v_reg< unsigned, n > &a)
 
template<int shift, int n>
v_reg< int, n > v_rshr (const v_reg< int, n > &a)
 
template<int shift, int n>
v_reg< uint64, n > v_rshr (const v_reg< uint64, n > &a)
 
template<int shift, int n>
v_reg< int64, n > v_rshr (const v_reg< int64, n > &a)
 
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.

  • pack: for 16-, 32- and 64-bit integer input types
  • pack_u: for 16- and 32-bit signed integer input types
Note
All variants except 64-bit use saturation.
template<int n>
v_reg< uchar, 2 *n > v_pack (const v_reg< ushort, n > &a, const v_reg< ushort, n > &b)
 
template<int n>
v_reg< schar, 2 *n > v_pack (const v_reg< short, n > &a, const v_reg< short, n > &b)
 
template<int n>
v_reg< ushort, 2 *n > v_pack (const v_reg< unsigned, n > &a, const v_reg< unsigned, n > &b)
 
template<int n>
v_reg< short, 2 *n > v_pack (const v_reg< int, n > &a, const v_reg< int, n > &b)
 
template<int n>
v_reg< unsigned, 2 *n > v_pack (const v_reg< uint64, n > &a, const v_reg< uint64, n > &b)
 
template<int n>
v_reg< int, 2 *n > v_pack (const v_reg< int64, n > &a, const v_reg< int64, n > &b)
 
template<int n>
v_reg< uchar, 2 *n > v_pack_u (const v_reg< short, n > &a, const v_reg< short, n > &b)
 
template<int n>
v_reg< ushort, 2 *n > v_pack_u (const v_reg< int, n > &a, const v_reg< int, n > &b)
 
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.

  • pack: for 16-, 32- and 64-bit integer input types
  • pack_u: for 16- and 32-bit signed integer input types
Note
All variants except 64-bit use saturation.
template<int shift, int n>
v_reg< uchar, 2 *n > v_rshr_pack (const v_reg< ushort, n > &a, const v_reg< ushort, n > &b)
 
template<int shift, int n>
v_reg< schar, 2 *n > v_rshr_pack (const v_reg< short, n > &a, const v_reg< short, n > &b)
 
template<int shift, int n>
v_reg< ushort, 2 *n > v_rshr_pack (const v_reg< unsigned, n > &a, const v_reg< unsigned, n > &b)
 
template<int shift, int n>
v_reg< short, 2 *n > v_rshr_pack (const v_reg< int, n > &a, const v_reg< int, n > &b)
 
template<int shift, int n>
v_reg< unsigned, 2 *n > v_rshr_pack (const v_reg< uint64, n > &a, const v_reg< uint64, n > &b)
 
template<int shift, int n>
v_reg< int, 2 *n > v_rshr_pack (const v_reg< int64, n > &a, const v_reg< int64, n > &b)
 
template<int shift, int n>
v_reg< uchar, 2 *n > v_rshr_pack_u (const v_reg< short, n > &a, const v_reg< short, n > &b)
 
template<int shift, int n>
v_reg< ushort, 2 *n > v_rshr_pack_u (const v_reg< int, n > &a, const v_reg< int, n > &b)
 
Pack and store

Store values from the input vector into memory with pack

Values will be stored into memory with conversion to narrower type. Variant with u suffix converts to corresponding unsigned type.

  • pack: for 16-, 32- and 64-bit integer input types
  • pack_u: for 16- and 32-bit signed integer input types
Note
All variants except 64-bit use saturation.
template<int n>
void v_pack_store (uchar *ptr, const v_reg< ushort, n > &a)
 
template<int n>
void v_pack_store (schar *ptr, const v_reg< short, n > &a)
 
template<int n>
void v_pack_store (ushort *ptr, const v_reg< unsigned, n > &a)
 
template<int n>
void v_pack_store (short *ptr, const v_reg< int, n > &a)
 
template<int n>
void v_pack_store (unsigned *ptr, const v_reg< uint64, n > &a)
 
template<int n>
void v_pack_store (int *ptr, const v_reg< int64, n > &a)
 
template<int n>
void v_pack_u_store (uchar *ptr, const v_reg< short, n > &a)
 
template<int n>
void v_pack_u_store (ushort *ptr, const v_reg< int, n > &a)
 
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.

  • pack: for 16-, 32- and 64-bit integer input types
  • pack_u: for 16- and 32-bit signed integer input types
Note
All variants except 64-bit use saturation.
template<int shift, int n>
void v_rshr_pack_store (uchar *ptr, const v_reg< ushort, n > &a)
 
template<int shift, int n>
void v_rshr_pack_store (schar *ptr, const v_reg< short, n > &a)
 
template<int shift, int n>
void v_rshr_pack_store (ushort *ptr, const v_reg< unsigned, n > &a)
 
template<int shift, int n>
void v_rshr_pack_store (short *ptr, const v_reg< int, n > &a)
 
template<int shift, int n>
void v_rshr_pack_store (unsigned *ptr, const v_reg< uint64, n > &a)
 
template<int shift, int n>
void v_rshr_pack_store (int *ptr, const v_reg< int64, n > &a)
 
template<int shift, int n>
void v_rshr_pack_u_store (uchar *ptr, const v_reg< short, n > &a)
 
template<int shift, int n>
void v_rshr_pack_u_store (ushort *ptr, const v_reg< int, n > &a)
 
Pack boolean values

Pack boolean values from multiple vectors to one unsigned 8-bit integer vector

Note
Must provide valid boolean values to guarantee same result for all architectures.
template<int n>
v_reg< uchar, 2 *n > v_pack_b (const v_reg< ushort, n > &a, const v_reg< ushort, n > &b)
 ! For 16-bit boolean values
 
template<int n>
v_reg< uchar, 4 *n > v_pack_b (const v_reg< unsigned, n > &a, const v_reg< unsigned, n > &b, const v_reg< unsigned, n > &c, const v_reg< unsigned, n > &d)
 
template<int n>
v_reg< uchar, 8 *n > v_pack_b (const v_reg< uint64, n > &a, const v_reg< uint64, n > &b, const v_reg< uint64, n > &c, const v_reg< uint64, n > &d, const v_reg< uint64, n > &e, const v_reg< uint64, n > &f, const v_reg< uint64, n > &g, const v_reg< uint64, n > &h)
 

Variables

static const unsigned char popCountTable []
 

Typedef Documentation

◆ FPDenormalsIgnoreHintScope

◆ frame_iterator

typedef frame_list::iterator cv::frame_iterator

◆ frame_list

typedef std::deque< std::pair<uint64_t, uint32_t> > cv::frame_list

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
STEREO_ZERO_DISPARITY 

◆ anonymous enum

anonymous enum
Enumerator
COLORSPACE_GRAY 
COLORSPACE_RGBA 
COLORSPACE_BGR 
COLORSPACE_YUV444P 

◆ Codecs

enum cv::Codecs
Enumerator
MJPEG 

◆ OdometryAlgoType

enum class cv::OdometryAlgoType
strong

These constants are used to set the speed and accuracy of odometry

Parameters
COMMONaccurate but not so fast
FASTless accurate but faster
Enumerator
COMMON 
FAST 

◆ OdometryFramePyramidType

Indicates what pyramid is to access using getPyramidAt() method:

Enumerator
PYR_IMAGE 
Python: cv.PYR_IMAGE

The pyramid of grayscale images.

PYR_DEPTH 
Python: cv.PYR_DEPTH

The pyramid of depth images.

PYR_MASK 
Python: cv.PYR_MASK

The pyramid of masks.

PYR_CLOUD 
Python: cv.PYR_CLOUD

The pyramid of point clouds, produced from the pyramid of depths.

PYR_DIX 
Python: cv.PYR_DIX

The pyramid of dI/dx derivative images.

PYR_DIY 
Python: cv.PYR_DIY

The pyramid of dI/dy derivative images.

PYR_TEXMASK 
Python: cv.PYR_TEXMASK

The pyramid of "textured" masks (i.e. additional masks for normals or grayscale images)

PYR_NORM 
Python: cv.PYR_NORM

The pyramid of normals.

PYR_NORMMASK 
Python: cv.PYR_NORMMASK

The pyramid of normals masks.

N_PYRAMIDS 
Python: cv.N_PYRAMIDS

◆ OdometryType

enum class cv::OdometryType
strong

These constants are used to set a type of data which odometry will use

Parameters
DEPTHonly depth data
RGBonly rgb image
RGB_DEPTHdepth and rgb data simultaneously
Enumerator
DEPTH 
RGB 
RGB_DEPTH 

◆ StreamType

Enumerator
db 
dc 
pc 
wb 

◆ VolumeType

enum class cv::VolumeType
strong
Enumerator
TSDF 
HashTSDF 
ColorTSDF 

Function Documentation

◆ abs() [1/4]

static uchar cv::abs ( uchar  a)
inlinestatic
Here is the call graph for this function:

◆ abs() [2/4]

static uint64 cv::abs ( uint64  a)
inlinestatic
Here is the call graph for this function:

◆ abs() [3/4]

static unsigned cv::abs ( unsigned  a)
inlinestatic
Here is the call graph for this function:

◆ abs() [4/4]

static ushort cv::abs ( ushort  a)
inlinestatic
Here is the call graph for this function:

◆ depthToString()

const char * cv::depthToString ( int  depth)

Returns string of cv::Mat depth value: CV_8U -> "CV_8U" or "<invalid depth>"

◆ dumpOpenCLInformation()

static void cv::dumpOpenCLInformation ( )
static
Here is the call graph for this function:

◆ hfloatFromBits()

hfloat cv::hfloatFromBits ( ushort  w)
inline

◆ HoughLinesWithAccumulator()

static void cv::HoughLinesWithAccumulator ( 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 
)
inlinestatic
Python:
cv.HoughLinesWithAccumulator(image, rho, theta, threshold[, lines[, srn[, stn[, min_theta[, max_theta]]]]]) -> lines

Finds lines in a binary image using the standard Hough transform and get accumulator.

Note
This function is for bindings use only. Use original function in C++ code
See also
HoughLines
Here is the call graph for this function:

◆ icvExtractPattern()

std::string cv::icvExtractPattern ( const std::string &  filename,
unsigned *  offset 
)

◆ operator!=()

bool cv::operator!= ( const FileNodeIterator it1,
const FileNodeIterator it2 
)

◆ operator-()

static ptrdiff_t cv::operator- ( const FileNodeIterator it1,
const FileNodeIterator it2 
)
inlinestatic
Here is the call graph for this function:

◆ operator<()

static bool cv::operator< ( const FileNodeIterator it1,
const FileNodeIterator it2 
)
inlinestatic
Here is the call graph for this function:

◆ operator<<() [1/4]

static FileStorage & cv::operator<< ( FileStorage fs,
char *  value 
)
inlinestatic

Writes data to a file storage.

◆ operator<<() [2/4]

template<typename _Tp >
static FileStorage & cv::operator<< ( FileStorage fs,
const _Tp value 
)
inlinestatic

Writes data to a file storage.

Here is the call graph for this function:

◆ operator<<() [3/4]

static FileStorage & cv::operator<< ( FileStorage fs,
const char *  str 
)
inlinestatic

Writes data to a file storage.

◆ operator<<() [4/4]

FileStorage & cv::operator<< ( FileStorage fs,
const String str 
)

Writes string to a file storage.

◆ operator==()

bool cv::operator== ( const FileNodeIterator it1,
const FileNodeIterator it2 
)

◆ operator>>() [1/6]

template<typename _Tp >
static void cv::operator>> ( const FileNode n,
_Tp value 
)
inlinestatic

Reads data from a file storage.

Here is the call graph for this function:

◆ operator>>() [2/6]

static void cv::operator>> ( const FileNode n,
DMatch m 
)
inlinestatic

Reads DMatch from a file storage.

Here is the call graph for this function:

◆ operator>>() [3/6]

static void cv::operator>> ( const FileNode n,
KeyPoint kpt 
)
inlinestatic

Reads KeyPoint from a file storage.

Here is the call graph for this function:

◆ operator>>() [4/6]

template<typename _Tp >
static void cv::operator>> ( const FileNode n,
std::vector< _Tp > &  vec 
)
inlinestatic

Reads data from a file storage.

Here is the call graph for this function:

◆ operator>>() [5/6]

template<typename _Tp >
static FileNodeIterator & cv::operator>> ( FileNodeIterator it,
_Tp value 
)
inlinestatic

Reads data from a file storage.

Here is the call graph for this function:

◆ operator>>() [6/6]

template<typename _Tp >
static FileNodeIterator & cv::operator>> ( FileNodeIterator it,
std::vector< _Tp > &  vec 
)
inlinestatic

Reads data from a file storage.

◆ read() [1/29]

void cv::read ( const FileNode fn,
optflow::GPCTree::Node node,
optflow::GPCTree::Node   
)

◆ read() [2/29]

template<typename _Tp , typename std::enable_if< std::is_enum< _Tp >::value >::type * = nullptr>
static void cv::read ( const FileNode node,
_Tp value,
const _Tp default_value = static_cast<_Tp>(0) 
)
inlinestatic
Here is the call graph for this function:

◆ read() [3/29]

static void cv::read ( const FileNode node,
bool &  value,
bool  default_value 
)
inlinestatic
Here is the call graph for this function:

◆ read() [4/29]

template<typename _Tp >
static void cv::read ( const FileNode node,
Complex< _Tp > &  value,
const Complex< _Tp > &  default_value 
)
inlinestatic
Here is the call graph for this function:

◆ read() [5/29]

void cv::read ( const FileNode node,
DMatch value,
const DMatch default_value 
)

◆ read() [6/29]

void cv::read ( const FileNode node,
double &  value,
double  default_value 
)

◆ read() [7/29]

void cv::read ( const FileNode node,
float &  value,
float  default_value 
)

◆ read() [8/29]

void cv::read ( const FileNode node,
int &  value,
int  default_value 
)

◆ read() [9/29]

void cv::read ( const FileNode node,
int64_t &  value,
int64_t  default_value 
)

◆ read() [10/29]

void cv::read ( const FileNode node,
KeyPoint value,
const KeyPoint default_value 
)

◆ read() [11/29]

void cv::read ( const FileNode node,
Mat mat,
const Mat default_mat = Mat() 
)

◆ read() [12/29]

template<typename _Tp , int m, int n>
static void cv::read ( const FileNode node,
Matx< _Tp, m, n > &  value,
const Matx< _Tp, m, n > &  default_matx = Matx<_Tp, m, n>() 
)
inlinestatic
Here is the call graph for this function:

◆ read() [13/29]

template<typename _Tp >
static void cv::read ( const FileNode node,
Point3_< _Tp > &  value,
const Point3_< _Tp > &  default_value 
)
inlinestatic
Here is the call graph for this function:

◆ read() [14/29]

template<typename _Tp >
static void cv::read ( const FileNode node,
Point_< _Tp > &  value,
const Point_< _Tp > &  default_value 
)
inlinestatic
Here is the call graph for this function:

◆ read() [15/29]

static void cv::read ( const FileNode node,
Range value,
const Range default_value 
)
inlinestatic
Here is the call graph for this function:

◆ read() [16/29]

template<typename _Tp >
static void cv::read ( const FileNode node,
Rect_< _Tp > &  value,
const Rect_< _Tp > &  default_value 
)
inlinestatic
Here is the call graph for this function:

◆ read() [17/29]

template<typename _Tp >
static void cv::read ( const FileNode node,
Scalar_< _Tp > &  value,
const Scalar_< _Tp > &  default_value 
)
inlinestatic
Here is the call graph for this function:

◆ read() [18/29]

static void cv::read ( const FileNode node,
schar value,
schar  default_value 
)
inlinestatic
Here is the call graph for this function:

◆ read() [19/29]

static void cv::read ( const FileNode node,
short &  value,
short  default_value 
)
inlinestatic
Here is the call graph for this function:

◆ read() [20/29]

template<typename _Tp >
static void cv::read ( const FileNode node,
Size_< _Tp > &  value,
const Size_< _Tp > &  default_value 
)
inlinestatic
Here is the call graph for this function:

◆ read() [21/29]

void cv::read ( const FileNode node,
SparseMat mat,
const SparseMat default_mat = SparseMat() 
)

◆ read() [22/29]

void cv::read ( const FileNode node,
std::string &  value,
const std::string &  default_value 
)

◆ read() [23/29]

template<typename _Tp >
static void cv::read ( const FileNode node,
std::vector< _Tp > &  vec,
const std::vector< _Tp > &  default_value = std::vector<_Tp>() 
)
inlinestatic
Here is the call graph for this function:

◆ read() [24/29]

static void cv::read ( const FileNode node,
std::vector< DMatch > &  vec,
const std::vector< DMatch > &  default_value 
)
inlinestatic
Here is the call graph for this function:

◆ read() [25/29]

static void cv::read ( const FileNode node,
std::vector< KeyPoint > &  vec,
const std::vector< KeyPoint > &  default_value 
)
inlinestatic
Here is the call graph for this function:

◆ read() [26/29]

static void cv::read ( const FileNode node,
uchar value,
uchar  default_value 
)
inlinestatic
Here is the call graph for this function:

◆ read() [27/29]

static void cv::read ( const FileNode node,
ushort value,
ushort  default_value 
)
inlinestatic
Here is the call graph for this function:

◆ read() [28/29]

template<typename _Tp , int cn>
static void cv::read ( const FileNode node,
Vec< _Tp, cn > &  value,
const Vec< _Tp, cn > &  default_value 
)
inlinestatic
Here is the call graph for this function:

◆ read() [29/29]

template<typename _Tp >
static void cv::read ( FileNodeIterator it,
std::vector< _Tp > &  vec,
size_t  maxCount = (size_t)INT_MAX 
)
inlinestatic

◆ typeToString()

String cv::typeToString ( int  type)

Returns string of cv::Mat depth value: CV_8UC3 -> "CV_8UC3" or "<invalid type>"

◆ write() [1/37]

template<typename _Tp >
static void cv::write ( FileStorage fs,
const _Tp value 
)
inlinestatic
Here is the call graph for this function:

◆ write() [2/37]

template<typename _Tp >
static void cv::write ( FileStorage fs,
const Complex< _Tp > &  c 
)
inlinestatic
Here is the call graph for this function:

◆ write() [3/37]

template<>
void cv::write ( FileStorage fs,
const double &  value 
)
inline
Here is the call graph for this function:

◆ write() [4/37]

template<>
void cv::write ( FileStorage fs,
const float &  value 
)
inline
Here is the call graph for this function:

◆ write() [5/37]

template<>
void cv::write ( FileStorage fs,
const int &  value 
)
inline
Here is the call graph for this function:

◆ write() [6/37]

template<typename _Tp , int m, int n>
static void cv::write ( FileStorage fs,
const Matx< _Tp, m, n > &  x 
)
inlinestatic
Here is the call graph for this function:

◆ write() [7/37]

template<typename _Tp >
static void cv::write ( FileStorage fs,
const Point3_< _Tp > &  pt 
)
inlinestatic
Here is the call graph for this function:

◆ write() [8/37]

template<typename _Tp >
static void cv::write ( FileStorage fs,
const Point_< _Tp > &  pt 
)
inlinestatic
Here is the call graph for this function:

◆ write() [9/37]

static void cv::write ( FileStorage fs,
const Range r 
)
inlinestatic
Here is the call graph for this function:

◆ write() [10/37]

template<typename _Tp >
static void cv::write ( FileStorage fs,
const Rect_< _Tp > &  r 
)
inlinestatic
Here is the call graph for this function:

◆ write() [11/37]

template<typename _Tp >
static void cv::write ( FileStorage fs,
const Scalar_< _Tp > &  s 
)
inlinestatic
Here is the call graph for this function:

◆ write() [12/37]

template<typename _Tp >
static void cv::write ( FileStorage fs,
const Size_< _Tp > &  sz 
)
inlinestatic
Here is the call graph for this function:

◆ write() [13/37]

template<typename _Tp >
static void cv::write ( FileStorage fs,
const std::vector< _Tp > &  vec 
)
inlinestatic

◆ write() [14/37]

template<typename _Tp , typename std::enable_if< std::is_enum< _Tp >::value >::type * = nullptr>
static void cv::write ( FileStorage fs,
const String name,
const _Tp val 
)
inlinestatic
Here is the call graph for this function:

◆ write() [15/37]

template<typename _Tp >
static void cv::write ( FileStorage fs,
const String name,
const Complex< _Tp > &  c 
)
inlinestatic
Here is the call graph for this function:

◆ write() [16/37]

static void cv::write ( FileStorage fs,
const String name,
const DMatch m 
)
inlinestatic
Here is the call graph for this function:

◆ write() [17/37]

static void cv::write ( FileStorage fs,
const String name,
const KeyPoint kpt 
)
inlinestatic
Here is the call graph for this function:

◆ write() [18/37]

void cv::write ( FileStorage fs,
const String name,
const Mat value 
)

◆ write() [19/37]

template<typename _Tp , int m, int n>
static void cv::write ( FileStorage fs,
const String name,
const Matx< _Tp, m, n > &  x 
)
inlinestatic
Here is the call graph for this function:

◆ write() [20/37]

void cv::write ( FileStorage fs,
const String name,
const optflow::GPCTree::Node node 
)

◆ write() [21/37]

template<typename _Tp >
static void cv::write ( FileStorage fs,
const String name,
const Point3_< _Tp > &  pt 
)
inlinestatic
Here is the call graph for this function:

◆ write() [22/37]

template<typename _Tp >
static void cv::write ( FileStorage fs,
const String name,
const Point_< _Tp > &  pt 
)
inlinestatic
Here is the call graph for this function:

◆ write() [23/37]

static void cv::write ( FileStorage fs,
const String name,
const Range r 
)
inlinestatic
Here is the call graph for this function:

◆ write() [24/37]

template<typename _Tp >
static void cv::write ( FileStorage fs,
const String name,
const Rect_< _Tp > &  r 
)
inlinestatic
Here is the call graph for this function:

◆ write() [25/37]

template<typename _Tp >
static void cv::write ( FileStorage fs,
const String name,
const Scalar_< _Tp > &  s 
)
inlinestatic
Here is the call graph for this function:

◆ write() [26/37]

template<typename _Tp >
static void cv::write ( FileStorage fs,
const String name,
const Size_< _Tp > &  sz 
)
inlinestatic
Here is the call graph for this function:

◆ write() [27/37]

void cv::write ( FileStorage fs,
const String name,
const SparseMat value 
)

◆ write() [28/37]

template<typename _Tp >
static void cv::write ( FileStorage fs,
const String name,
const std::vector< _Tp > &  vec 
)
inlinestatic
Here is the call graph for this function:

◆ write() [29/37]

template<typename _Tp >
static void cv::write ( FileStorage fs,
const String name,
const std::vector< std::vector< _Tp > > &  vec 
)
inlinestatic
Here is the call graph for this function:

◆ write() [30/37]

void cv::write ( FileStorage fs,
const String name,
const String value 
)

◆ write() [31/37]

template<typename _Tp , int cn>
static void cv::write ( FileStorage fs,
const String name,
const Vec< _Tp, cn > &  v 
)
inlinestatic
Here is the call graph for this function:

◆ write() [32/37]

void cv::write ( FileStorage fs,
const String name,
double  value 
)

◆ write() [33/37]

void cv::write ( FileStorage fs,
const String name,
float  value 
)

◆ write() [34/37]

void cv::write ( FileStorage fs,
const String name,
int  value 
)

◆ write() [35/37]

void cv::write ( FileStorage fs,
const String name,
int64_t  value 
)

◆ write() [36/37]

template<>
void cv::write ( FileStorage fs,
const String value 
)
inline
Here is the call graph for this function:

◆ write() [37/37]

template<typename _Tp , int cn>
static void cv::write ( FileStorage fs,
const Vec< _Tp, cn > &  v 
)
inlinestatic
Here is the call graph for this function:

◆ writeScalar() [1/5]

void cv::writeScalar ( FileStorage fs,
const String value 
)

◆ writeScalar() [2/5]

void cv::writeScalar ( FileStorage fs,
double  value 
)

◆ writeScalar() [3/5]

void cv::writeScalar ( FileStorage fs,
float  value 
)

◆ writeScalar() [4/5]

void cv::writeScalar ( FileStorage fs,
int  value 
)

◆ writeScalar() [5/5]

void cv::writeScalar ( FileStorage fs,
int64_t  value 
)