cv Namespace Reference 核心功能 » 实用程序、系统函数及宏 核心功能 » 实用程序、系统函数及宏 » Logging facilities


"black box" representation of the file storage associated with a file on disk. 更多...

名称空间

aruco
bgsegm
bioinspired
ccalib
cnn_3dobj
cuda
cudacodec
cudev
datasets
detail
details
directx
dnn
dnn_objdetect
dnn_superres
dpm
dynafu
Error
face
fisheye
The methods in this namespace use a so-called fisheye camera model.
flann
freetype
ft
gapi
gimpl
hal
hdf
hfs
img_hash
instr
internal
kinfu
line_descriptor
linemod
ml
motempl
multicalib
ocl
ogl
omnidir
optflow
ovis
phase_unwrapping
plot
ppf_match_3d
quality
randpattern
reg
rgbd
saliency
samples
sfm
stereo
structured_light
superres
tbm
text
tld
tracking
traits
util
utils
va_intel
videoio_registry
videostab
viz
xfeatures2d
ximgproc
xobjdetect
xphoto

class _InputArray
This is the proxy class for passing read-only input arrays into OpenCV functions. 更多...
class _InputOutputArray
class _OutputArray
This type is very similar to InputArray except that it is used for input/output and output function parameters. 更多...
struct Accumulator
struct Accumulator< char >
struct Accumulator< short >
struct Accumulator< unsigned char >
struct Accumulator< unsigned short >
class Affine3
Affine transform. 更多...
class AffineTransformer
Wrapper class for the OpenCV Affine Transformation algorithm. : 更多...
class AffineWarper
Affine warper factory class. 更多...
class AgastFeatureDetector
Wrapping class for feature detection using the AGAST method. : 更多...
class AKAZE
Class implementing the AKAZE keypoint detector and descriptor extractor, described in [5] . 更多...
class Algorithm
This is a base class for all more or less complex algorithms in OpenCV. 更多...
class AlignExposures
The base class for algorithms that align images of the same scene with different exposures. 更多...
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. 更多...
class Allocator
class AsyncArray
Returns result of asynchronous operations. 更多...
class AsyncPromise
Provides result of asynchronous operations. 更多...
class AutoBuffer
Automatically Allocated Buffer Class. 更多...
class AVIReadContainer
class AVIWriteContainer
class BackgroundSubtractor
Base class for background/foreground segmentation. : 更多...
class BackgroundSubtractorKNN
K-nearest neighbours - based Background/Foreground Segmentation Algorithm . 更多...
class BackgroundSubtractorMOG2
Gaussian Mixture-based Background/Foreground Segmentation Algorithm . 更多...
class BaseCascadeClassifier
class BaseClassifier
class BFMatcher
Brute-force descriptor matcher. 更多...
class BOWImgDescriptorExtractor
Class to compute an image descriptor using the bag of visual words . 更多...
class BOWKMeansTrainer
kmeans -based class to train visual vocabulary using the bag of visual words approach. : 更多...
class BOWTrainer
Abstract base class for training the bag of visual words vocabulary from a set of descriptors. 更多...
class BRISK
Class implementing the BRISK keypoint detector and descriptor extractor, described in [129] . 更多...
class BufferPoolController
class CalibrateCRF
The base class for camera response calibration algorithms. 更多...
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. 更多...
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. 更多...
class CascadeClassifier
Cascade classifier class for object detection. 更多...
class ChiHistogramCostExtractor
An Chi based cost extraction. : 更多...
struct CirclesGridFinderParameters
class CLAHE
Base class for Contrast Limited Adaptive Histogram Equalization. 更多...
class ClassifierThreshold
class ClfMilBoost
class ClfOnlineStump
class CommandLineParser
Designed for command line parsing. 更多...
class Complex
A complex number class. 更多...
class CompressedRectilinearPortraitWarper
class CompressedRectilinearWarper
class ConjGradSolver
This class is used to perform the non-linear non-constrained minimization of a function with known gradient,. 更多...
class CvFeatureEvaluator
class CvFeatureParams
class CvHaarEvaluator
class CvHaarFeatureParams
class CvHOGEvaluator
struct CvHOGFeatureParams
class CvLBPEvaluator
struct CvLBPFeatureParams
class CvParams
class CylindricalWarper
Cylindrical warper factory class. 更多...
class DataDepth
A helper class for cv::DataType . 更多...
class DataType
Template "trait" class for OpenCV primitive data types. 更多...
class DataType< Affine3< _Tp > >
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< float16_t >
class DataType< float2 >
class DataType< float3 >
class DataType< float4 >
class DataType< int >
class DataType< int1 >
class DataType< int2 >
class DataType< int3 >
class DataType< int4 >
class DataType< Matx< _Tp, m, n > >
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< ushort >
class DataType< ushort1 >
class DataType< ushort2 >
class DataType< ushort3 >
class DataType< ushort4 >
class DataType< Vec< _Tp, cn > >
struct DefaultDeleter< CvCapture >
struct DefaultDeleter< CvHaarClassifierCascade >
struct DefaultDeleter< CvVideoWriter >
class DenseOpticalFlow
class DescriptorMatcher
Abstract base class for matching keypoint descriptors. 更多...
class DetectionBasedTracker
struct DetectionROI
struct for detection region of interest (ROI) 更多...
class Detector
class DISOpticalFlow
DIS optical flow algorithm. 更多...
class DMatch
Class for matching keypoint descriptors. 更多...
class DownhillSolver
This class is used to perform the non-linear non-constrained minimization of a function,. 更多...
class EMDHistogramCostExtractor
An EMD based cost extraction. : 更多...
class EMDL1HistogramCostExtractor
An EMD-L1 based cost extraction. : 更多...
class EstimatedGaussDistribution
class Exception
Class passed to an error. 更多...
class FarnebackOpticalFlow
Class computing a dense optical flow using the Gunnar Farneback's algorithm. 更多...
class FastFeatureDetector
Wrapping class for feature detection using the FAST method. : 更多...
class Feature2D
Abstract base class for 2D image feature detectors and descriptor extractors. 更多...
class FileNode
File Storage Node 类。 更多...
class FileNodeIterator
used to iterate through sequences and mappings. 更多...
class FileStorage
XML/YAML/JSON file storage class that encapsulates all the information necessary for writing or reading data to/from a file. 更多...
class FisheyeWarper
class FlannBasedMatcher
Flann-based descriptor matcher. 更多...
class float16_t
class Formatted
class Formatter
class GArg
class GArray
struct GArrayDesc
class GCall
struct GCompileArg
Represents an arbitrary compilation argument. 更多...
class GCompiled
Represents a compiled computation (graph). Can only be used with image / data formats & resolutions it was compiled for, with some exceptions. 更多...
class GComputation
GComputation class represents a captured computation graph. GComputation objects form boundaries for expression code user writes with G-API, allowing to compile and execute it. 更多...
class GComputationT
This class is a typed wrapper over a regular GComputation . 更多...
class GComputationT< R(Args...)>
class GComputationT< std::tuple< R... >(Args...)>
class GCPUContext
class GCPUKernel
class GCPUKernelImpl
class GeneralizedHough
finds arbitrary template in the grayscale image using Generalized Hough Transform 更多...
class GeneralizedHoughBallard
finds arbitrary template in the grayscale image using Generalized Hough Transform 更多...
class GeneralizedHoughGuil
finds arbitrary template in the grayscale image using Generalized Hough Transform 更多...
class GFluidKernel
class GFluidKernelImpl
struct GFluidOutputRois
This structure allows to control the output image region which Fluid backend will produce in the graph. 更多...
struct GFluidParallelFor
This structure allows to customize the way how Fluid executes parallel regions. 更多...
struct GFluidParallelOutputRois
This structure forces Fluid backend to generate multiple parallel output regions in the graph. These regions execute in parallel. 更多...
class GFTTDetector
Wrapping class for feature detection using the goodFeaturesToTrack function. : 更多...
struct GInfer
struct GInferBase
struct GInferList
struct GInferListBase
struct GIOProtoArgs
struct GKernel
struct GKernelImpl
class GKernelType
class GKernelType< K, std::function< R(Args...)> >
class GKernelTypeM
class GKernelTypeM< K, std::function< std::tuple< R... >(Args...)> >
class GMat
struct GMatDesc
class GMatP
class GNetworkType
class GNetworkType< K, std::function< R(Args...)> >
class GNetworkType< K, std::function< std::tuple< R... >(Args...)> >
class GOCLContext
class GOCLKernel
class GOCLKernelImpl
struct GPlaidMLContext
class GPlaidMLKernel
class GPlaidMLKernelImpl
struct graph_dump_path
Ask G-API to dump compiled graph in Graphviz format under the given file name. 更多...
class GScalar
struct GScalarDesc
class GStreamingCompiled
Represents a computation (graph) compiled for streaming. 更多...
struct GTransform
class GTransformImpl
class GTransformImpl< K, std::function< R(Args...)> >
struct Hamming
class HausdorffDistanceExtractor
A simple Hausdorff distance measure between shapes defined by contours. 更多...
class HistogramCostExtractor
Abstract base class for histogram cost algorithms. 更多...
struct HOGDescriptor
Implementation of HOG (Histogram of Oriented Gradients) descriptor and object detector. 更多...
struct In_Tag
class KalmanFilter
Kalman filter class. 更多...
class KAZE
Class implementing the KAZE keypoint detector and descriptor extractor, described in [6] . 更多...
class KeyPoint
Data structure for salient point detectors. 更多...
class KeyPointsFilter
A class filters a vector of keypoints. 更多...
struct L1
struct L2
class LDA
线性判别分析。 更多...
class LineIterator
行迭代器。 更多...
class LineSegmentDetector
Line segment detector class. 更多...
class LMSolver
class Mat
n-dimensional dense array class 更多...
class Mat_
Template matrix class derived from Mat . 更多...
class MatAllocator
Custom array allocator. 更多...
class MatCommaInitializer_
Comma-separated Matrix Initializer. 更多...
class MatConstIterator
class MatConstIterator_
Matrix read-only iterator. 更多...
class MatExpr
Matrix expression representation. 更多...
class MatIterator_
Matrix read-write iterator. 更多...
class MatOp
struct MatSize
struct MatStep
class Matx
Template class for small matrices whose type and size are known at compilation time. 更多...
class MatxCommaInitializer
Comma-separated Matrix Initializer. 更多...
class MercatorWarper
class MergeDebevec
The resulting HDR image is calculated as weighted average of the exposures considering exposure values and camera response. 更多...
class MergeExposures
The base class algorithms that can merge exposure sequence to a single image. 更多...
class MergeMertens
Pixels are weighted using contrast, saturation and well-exposedness measures, than images are combined using laplacian pyramids. 更多...
class MergeRobertson
The resulting HDR image is calculated as weighted average of the exposures considering exposure values and camera response. 更多...
class MinProblemSolver
Basic interface for all solvers. 更多...
class Moments
struct returned by cv::moments 更多...
class MSER
Maximally stable extremal region extractor. 更多...
class MultiTracker
This class is used to track multiple objects using the specified tracker algorithm. 更多...
class MultiTracker_Alt
Base abstract class for the long-term Multi Object Trackers: 更多...
class MultiTrackerTLD
Multi Object Tracker for TLD. 更多...
class NAryMatIterator
n-ary multi-dimensional array iterator. 更多...
class Node
class NormHistogramCostExtractor
A norm based cost extraction. : 更多...
class ORB
Class implementing the ORB ( oriented BRIEF ) keypoint detector and descriptor extractor. 更多...
struct Out_Tag
class PaniniPortraitWarper
class PaniniWarper
class ParallelLoopBody
Base class for parallel data processors. 更多...
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. 更多...
class PlaneWarper
Plane warper factory class. 更多...
class Point3_
Template class for 3D points specified by its coordinates x , y and z . 更多...
class Point_
Template class for 2D points specified by its coordinates x and y . 更多...
class PyRotationWarper
class QRCodeDetector
struct QtFont
QtFont available only for Qt. See cv::fontQt . 更多...
class Range
Template class specifying a continuous subsequence (slice) of a sequence. 更多...
class Rect_
Template class for 2D rectangles. 更多...
class RNG
Random Number Generator. 更多...
class RNG_MT19937
Mersenne Twister random number generator. 更多...
class RotatedRect
The class represents rotated (i.e. not up-right) rectangles on a plane. 更多...
class Scalar_
Template class for a 4-element vector derived from Vec . 更多...
class ShapeContextDistanceExtractor
Implementation of the Shape Context descriptor and matching algorithm. 更多...
class ShapeDistanceExtractor
Abstract base class for shape distance algorithms. 更多...
class ShapeTransformer
Abstract base class for shape transformation algorithms. 更多...
class SimilarRects
class SimpleBlobDetector
Class for extracting blobs from an image. : 更多...
class Size_
Template class for specifying the size of an image or rectangle. 更多...
struct SL2
struct softdouble
struct softfloat
class SparseMat
The class SparseMat represents multi-dimensional sparse numerical arrays. 更多...
class SparseMat_
Template sparse n-dimensional array class derived from SparseMat . 更多...
class SparseMatConstIterator
Read-Only Sparse Matrix Iterator. 更多...
class SparseMatConstIterator_
Template Read-Only Sparse Matrix Iterator Class. 更多...
class SparseMatIterator
Read-write Sparse Matrix Iterator. 更多...
class SparseMatIterator_
Template Read-Write Sparse Matrix Iterator Class. 更多...
class SparseOpticalFlow
Base interface for sparse optical flow algorithms. 更多...
class SparsePyrLKOpticalFlow
Class used for calculating a sparse optical flow. 更多...
class SphericalWarper
Spherical warper factory class. 更多...
class StereoBM
Class for computing stereo correspondence using the block matching algorithm, introduced and contributed to OpenCV by K. Konolige. 更多...
class StereographicWarper
class StereoMatcher
The base class for stereo correspondence algorithms. 更多...
class StereoSGBM
The class implements the modified H. Hirschmuller algorithm [102] that differs from the original one as follows: 更多...
class Stitcher
High level image stitcher. 更多...
class StrongClassifierDirectSelection
class Subdiv2D
class SVD
Singular Value Decomposition. 更多...
class TermCriteria
The class defining termination criteria for iterative algorithms. 更多...
class ThinPlateSplineShapeTransformer
Definition of the transformation. 更多...
class TickMeter
a Class to measure passing time. 更多...
class TLSData
Simple TLS data class. 更多...
class TLSDataAccumulator
TLS data accumulator with gathering methods. 更多...
class TLSDataContainer
class Tonemap
Base class for tonemapping algorithms - tools that are used to map HDR image to 8-bit range. 更多...
class TonemapDrago
Adaptive logarithmic mapping is a fast global tonemapping algorithm that scales the image in logarithmic domain. 更多...
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. 更多...
class TonemapReinhard
This is a global tonemapping operator that models human visual system. 更多...
class Tracker
Base abstract class for the long-term tracker: 更多...
class TrackerBoosting
the Boosting tracker 更多...
class TrackerCSRT
the CSRT tracker 更多...
class TrackerFeature
Abstract base class for TrackerFeature that represents the feature. 更多...
class TrackerFeatureFeature2d
TrackerFeature based on Feature2D . 更多...
class TrackerFeatureHAAR
TrackerFeature based on HAAR features, used by TrackerMIL and many others algorithms. 更多...
class TrackerFeatureHOG
TrackerFeature based on HOG. 更多...
class TrackerFeatureLBP
TrackerFeature based on LBP. 更多...
class TrackerFeatureSet
Class that manages the extraction and selection of features. 更多...
class TrackerGOTURN
the GOTURN (Generic Object Tracking Using Regression Networks) tracker 更多...
class TrackerKCF
the KCF (Kernelized Correlation Filter) tracker 更多...
class TrackerMedianFlow
the Median Flow tracker 更多...
class TrackerMIL
The MIL algorithm trains a classifier in an online manner to separate the object from the background. 更多...
class TrackerModel
Abstract class that represents the model of the target. It must be instantiated by specialized tracker. 更多...
class TrackerMOSSE
the MOSSE (Minimum Output Sum of Squared Error) tracker 更多...
class TrackerSampler
Class that manages the sampler in order to select regions for the update the model of the tracker [AAM] Sampling e Labeling. See table I and section III B. 更多...
class TrackerSamplerAlgorithm
Abstract base class for TrackerSamplerAlgorithm that represents the algorithm for the specific sampler. 更多...
class TrackerSamplerCS
TrackerSampler based on CS (current state), used by algorithm TrackerBoosting . 更多...
class TrackerSamplerCSC
TrackerSampler based on CSC (current state centered), used by MIL algorithm TrackerMIL . 更多...
class TrackerSamplerPF
This sampler is based on particle filtering. 更多...
class TrackerStateEstimator
Abstract base class for TrackerStateEstimator that estimates the most likely target state. 更多...
class TrackerStateEstimatorAdaBoosting
TrackerStateEstimatorAdaBoosting based on ADA-Boosting. 更多...
class TrackerStateEstimatorMILBoosting
TrackerStateEstimator based on Boosting. 更多...
class TrackerStateEstimatorSVM
TrackerStateEstimator based on SVM. 更多...
class TrackerTargetState
Abstract base class for TrackerTargetState that represents a possible state of the target. 更多...
class TrackerTLD
the TLD (Tracking, learning and detection) tracker 更多...
class TransverseMercatorWarper
class UMat
struct UMatData
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. 更多...
class Vec
Template class for short numerical vectors, a partial case of Matx . 更多...
class VecCommaInitializer
Comma-separated Vec Initializer. 更多...
class VideoCapture
Class for video capturing from video files, image sequences or cameras. 更多...
class VideoWriter
Video writer class. 更多...
class WarperCreator
Image warper factories base class. 更多...
class WeakClassifierHaarFeature

Typedefs

typedef Affine3 < double > Affine3d
typedef Affine3 < float > Affine3f
typedef std::lock_guard< cv::Mutex > AutoLock
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 std::vector< std::pair< Ptr < TrackerTargetState >, float > > ConfidenceMap
Represents the model of the target at frame \(k\) (all states and scores) 更多...
typedef Feature2D DescriptorExtractor
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 frame_list::iterator frame_iterator
typedef std::deque< std::pair< uint64_t , uint32_t > > frame_list
使用 GArgs = std::vector< GArg >
使用 GCompileArgs = std::vector< GCompileArg >
使用 GMetaArg = util::variant < util::monostate , GMatDesc , GScalarDesc , GArrayDesc >
使用 GMetaArgs = std::vector< GMetaArg >
使用 GProtoArg = util::variant < GMat , GMatP , GScalar , detail::GArrayU >
使用 GProtoArgs = std::vector< GProtoArg >
使用 GProtoInputArgs = GIOProtoArgs < In_Tag >
使用 GProtoOutputArgs = GIOProtoArgs < Out_Tag >
使用 GRunArg = util::variant < cv::Mat , cv::Scalar , cv::UMat , cv::gapi::wip::IStreamSource::Ptr , cv::gapi::own::Mat , cv::gapi::own::Scalar , cv::detail::VectorRef >
使用 GRunArgP = util::variant < cv::Mat *, cv::Scalar *, cv::UMat *, cv::gapi::own::Mat *, cv::gapi::own::Scalar *, cv::detail::VectorRef >
使用 GRunArgs = std::vector< GRunArg >
使用 GRunArgsP = std::vector< GRunArgP >
使用 GShapes = std::vector< GShape >
typedef Hamming HammingLUT
typedef const _InputArray & InputArray
typedef InputArray InputArrayOfArrays
typedef const _InputOutputArray & InputOutputArray
typedef InputOutputArray InputOutputArrayOfArrays
typedef :: int16_t int16_t
typedef :: int32_t int32_t
typedef :: int64_t int64_t
typedef :: int8_t int8_t
typedef Mat_ < uchar > Mat1b
typedef Mat_ < double > Mat1d
typedef Mat_ < float > Mat1f
typedef Mat_ < int > Mat1i
typedef Mat_ < short > Mat1s
typedef Mat_ < ushort > Mat1w
typedef Mat_ < Vec2b > Mat2b
typedef Mat_ < Vec2d > Mat2d
typedef Mat_ < Vec2f > Mat2f
typedef Mat_ < Vec2i > Mat2i
typedef Mat_ < Vec2s > Mat2s
typedef Mat_ < Vec2w > Mat2w
typedef Mat_ < Vec3b > Mat3b
typedef Mat_ < Vec3d > Mat3d
typedef Mat_ < Vec3f > Mat3f
typedef Mat_ < Vec3i > Mat3i
typedef Mat_ < Vec3s > Mat3s
typedef Mat_ < Vec3w > Mat3w
typedef Mat_ < Vec4b > Mat4b
typedef Mat_ < Vec4d > Mat4d
typedef Mat_ < Vec4f > Mat4f
typedef Mat_ < Vec4i > Mat4i
typedef Mat_ < Vec4s > Mat4s
typedef Mat_ < Vec4w > Mat4w
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 _OutputArray & OutputArray
typedef OutputArray OutputArrayOfArrays
typedef Point2i Point
typedef Point_ < double > Point2d
typedef Point_ < float > Point2f
typedef Point_ < int > Point2i
typedef Point_ < int64 > Point2l
typedef Point3_ < double > Point3d
typedef Point3_ < float > Point3f
typedef Point3_ < int > Point3i
template<typename _Tp >
使用 Ptr = std::shared_ptr< _Tp >
typedef Rect2i Rect
typedef Rect_ < double > Rect2d
typedef Rect_ < float > Rect2f
typedef Rect_ < int > Rect2i
typedef Scalar_ < double > Scalar
typedef Size2i Size
typedef Size_ < double > Size2d
typedef Size_ < float > Size2f
typedef Size_ < int > Size2i
typedef Size_ < int64 > Size2l
typedef std::string 字符串
typedef void(* TrackbarCallback ) (int pos, void *userdata)
Callback function for Trackbar see cv::createTrackbar . 更多...
typedef std::vector< Ptr < TrackerTargetState > > Trajectory
Represents the estimate states for all frames. 更多...
typedef :: uint16_t uint16_t
typedef :: uint32_t uint32_t
typedef :: uint64_t uint64_t
typedef :: uint8_t uint8_t
typedef v_reg < float, 4 > v_float32x4
Four 32-bit floating point values (single precision) 更多...
typedef v_reg < double, 2 > v_float64x2
Two 64-bit floating point values (double precision) 更多...
typedef v_reg < short, 8 > v_int16x8
Eight 16-bit signed integer values. 更多...
typedef v_reg < int, 4 > v_int32x4
Four 32-bit signed integer values. 更多...
typedef v_reg < int64 , 2 > v_int64x2
Two 64-bit signed integer values. 更多...
typedef v_reg < schar , 16 > v_int8x16
Sixteen 8-bit signed integer values. 更多...
typedef v_reg < ushort , 8 > v_uint16x8
Eight 16-bit unsigned integer values. 更多...
typedef v_reg < unsigned, 4 > v_uint32x4
Four 32-bit unsigned integer values. 更多...
typedef v_reg < uint64 , 2 > v_uint64x2
Two 64-bit unsigned integer values. 更多...
typedef v_reg < uchar , 16 > v_uint8x16
Sixteen 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 < 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

枚举

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
}
type of the robust estimation algorithm 更多...
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
}
enum {
CALIB_CB_SYMMETRIC_GRID = 1,
CALIB_CB_ASYMMETRIC_GRID = 2,
CALIB_CB_CLUSTERING = 4
}
enum {
CALIB_NINTRINSIC = 18,
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)
}
enum {
FM_7POINT = 1,
FM_8POINT = 2,
FM_LMEDS = 4,
FM_RANSAC = 8
}
the algorithm for finding fundamental matrix 更多...
enum {
CASCADE_DO_CANNY_PRUNING = 1,
CASCADE_SCALE_IMAGE = 2,
CASCADE_FIND_BIGGEST_OBJECT = 4,
CASCADE_DO_ROUGH_SEARCH = 8
}
enum {
INPAINT_NS = 0,
INPAINT_TELEA = 1
}
enum { LDR_SIZE = 256 }
enum {
NORMAL_CLONE = 1,
MIXED_CLONE = 2,
MONOCHROME_TRANSFER = 3
}
seamlessClone algorithm flags 更多...
enum {
RECURS_FILTER = 1,
NORMCONV_FILTER = 2
}
Edge preserving filters. 更多...
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 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 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 CmpTypes {
CMP_EQ = 0,
CMP_GT = 1,
CMP_GE = 2,
CMP_LT = 3,
CMP_LE = 4,
CMP_NE = 5
}
comparison types 更多...
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_Y422 = COLOR_YUV2GRAY_UYVY,
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_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_BayerBG2BGR_VNG = 62,
COLOR_BayerGB2BGR_VNG = 63,
COLOR_BayerRG2BGR_VNG = 64,
COLOR_BayerGR2BGR_VNG = 65,
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_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_BayerBG2RGBA = COLOR_BayerRG2BGRA,
COLOR_BayerGB2RGBA = COLOR_BayerGR2BGRA,
COLOR_BayerRG2RGBA = COLOR_BayerBG2BGRA,
COLOR_BayerGR2RGBA = COLOR_BayerGB2BGRA,
COLOR_COLORCVT_MAX = 143
}
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
}
GNU Octave/MATLAB equivalent colormaps. 更多...
enum ConnectedComponentsAlgorithmsTypes {
CCL_WU = 0,
CCL_DEFAULT = -1,
CCL_GRANA = 1
}
connected components algorithm 更多...
enum ConnectedComponentsTypes {
CC_STAT_LEFT = 0,
CC_STAT_TOP = 1,
CC_STAT_WIDTH = 2,
CC_STAT_HEIGHT = 3,
CC_STAT_AREA = 4
}
connected components algorithm output formats 更多...
enum ContourApproximationModes {
CHAIN_APPROX_NONE = 1,
CHAIN_APPROX_SIMPLE = 2,
CHAIN_APPROX_TC89_L1 = 3,
CHAIN_APPROX_TC89_KCOS = 4
}
the contour approximation algorithm 更多...
enum CovarFlags {
COVAR_SCRAMBLED = 0,
COVAR_NORMAL = 1,
COVAR_USE_AVG = 2,
COVAR_SCALE = 4,
COVAR_ROWS = 8,
COVAR_COLS = 16
}
Covariation flags. 更多...
enum DecompTypes {
DECOMP_LU = 0,
DECOMP_SVD = 1,
DECOMP_EIG = 2,
DECOMP_CHOLESKY = 3,
DECOMP_QR = 4,
DECOMP_NORMAL = 16
}
matrix decomposition types 更多...
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 更多...
enum DistanceTransformMasks {
DIST_MASK_3 = 3,
DIST_MASK_5 = 5,
DIST_MASK_PRECISE = 0
}
Mask size for distance transform. 更多...
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 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 更多...
enum GemmFlags {
GEMM_1_T = 1,
GEMM_2_T = 2,
GEMM_3_T = 4
}
generalized matrix multiplication flags 更多...
enum GrabCutClasses {
GC_BGD = 0,
GC_FGD = 1,
GC_PR_BGD = 2,
GC_PR_FGD = 3
}
class of the pixel in GrabCut algorithm 更多...
enum GrabCutModes {
GC_INIT_WITH_RECT = 0,
GC_INIT_WITH_MASK = 1,
GC_EVAL = 2,
GC_EVAL_FREEZE_MODEL = 3
}
GrabCut algorithm flags. 更多...
enum GShape : int {
GShape::GMAT ,
GShape::GSCALAR ,
GShape::GARRAY
}
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
}
Variants of a Hough transform. 更多...
enum ImreadModes {
IMREAD_UNCHANGED = -1,
IMREAD_GRAYSCALE = 0,
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 flags. 更多...
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_PNG_COMPRESSION = 16,
IMWRITE_PNG_STRATEGY = 17,
IMWRITE_PNG_BILEVEL = 18,
IMWRITE_PXM_BINARY = 32,
IMWRITE_EXR_TYPE = (3 << 4) + 0,
IMWRITE_WEBP_QUALITY = 64,
IMWRITE_PAM_TUPLETYPE = 128,
IMWRITE_TIFF_RESUNIT = 256,
IMWRITE_TIFF_XDPI = 257,
IMWRITE_TIFF_YDPI = 258,
IMWRITE_TIFF_COMPRESSION = 259,
IMWRITE_JPEG2000_COMPRESSION_X1000 = 272
}
Imwrite flags. 更多...
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 'TUPETYPE' field of a PAM file. 更多...
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. 更多...
enum InterpolationFlags {
INTER_NEAREST = 0,
INTER_LINEAR = 1,
INTER_CUBIC = 2,
INTER_AREA = 3,
INTER_LANCZOS4 = 4,
INTER_LINEAR_EXACT = 5,
INTER_MAX = 7,
WARP_FILL_OUTLIERS = 8,
WARP_INVERSE_MAP = 16
}
interpolation algorithm 更多...
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 更多...
enum LineSegmentDetectorModes {
LSD_REFINE_NONE = 0,
LSD_REFINE_STD = 1,
LSD_REFINE_ADV = 2
}
Variants of Line Segment Detector. 更多...
enum LineTypes {
FILLED = -1,
LINE_4 = 4,
LINE_8 = 8,
LINE_AA = 16
}
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 MorphShapes {
MORPH_RECT = 0,
MORPH_CROSS = 1,
MORPH_ELLIPSE = 2
}
shape of the structuring element 更多...
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 更多...
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 . 更多...
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 . 更多...
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 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 QtButtonTypes {
QT_PUSH_BUTTON = 0,
QT_CHECKBOX = 1,
QT_RADIOBOX = 2,
QT_NEW_BUTTONBAR = 1024
}
Qt "button" type. 更多...
enum QtFontStyles {
QT_STYLE_NORMAL = 0,
QT_STYLE_ITALIC = 1,
QT_STYLE_OBLIQUE = 2
}
Qt font style. 更多...
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. 更多...
enum RectanglesIntersectTypes {
INTERSECT_NONE = 0,
INTERSECT_PARTIAL = 1,
INTERSECT_FULL = 2
}
types of intersection between rectangles 更多...
enum ReduceTypes {
REDUCE_SUM = 0,
REDUCE_AVG = 1,
REDUCE_MAX = 2,
REDUCE_MIN = 3
}
enum RetrievalModes {
RETR_EXTERNAL = 0,
RETR_LIST = 1,
RETR_CCOMP = 2,
RETR_TREE = 3,
RETR_FLOODFILL = 4
}
mode of the contour retrieval algorithm 更多...
enum RotateFlags {
ROTATE_90_CLOCKWISE = 0,
ROTATE_180 = 1,
ROTATE_90_COUNTERCLOCKWISE = 2
}
enum ShapeMatchModes {
CONTOURS_MATCH_I1 =1,
CONTOURS_MATCH_I2 =2,
CONTOURS_MATCH_I3 =3
}
Shape matching methods. 更多...
enum SolveLPResult {
SOLVELP_UNBOUNDED = -2,
SOLVELP_UNFEASIBLE = -1,
SOLVELP_SINGLE = 0,
SOLVELP_MULTI = 1
}
return codes for cv::solveLP() function 更多...
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
}
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 更多...
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 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. 更多...
enum UndistortTypes {
PROJ_SPHERICAL_ORTHO = 0,
PROJ_SPHERICAL_EQRECT = 1
}
cv::undistort mode 更多...
enum VideoCaptureAPIs {
CAP_ANY = 0,
CAP_VFW = 200,
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_QT = 500,
CAP_UNICAP = 600,
CAP_DSHOW = 700,
CAP_PVAPI = 800,
CAP_OPENNI = 900,
CAP_OPENNI_ASUS = 910,
CAP_ANDROID = 1000,
CAP_XIAPI = 1100,
CAP_AVFOUNDATION = 1200,
CAP_GIGANETIX = 1300,
CAP_MSMF = 1400,
CAP_WINRT = 1410,
CAP_INTELPERC = 1500,
CAP_REALSENSE = 1500,
CAP_OPENNI2 = 1600,
CAP_OPENNI2_ASUS = 1610,
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
}
VideoCapture API backends identifier. 更多...
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
}
VideoCapture generic properties identifier. 更多...
enum VideoWriterProperties {
VIDEOWRITER_PROP_QUALITY = 1,
VIDEOWRITER_PROP_FRAMEBYTES = 2,
VIDEOWRITER_PROP_NSTRIPES = 3
}
VideoWriter generic properties identifier. 更多...
enum WarpPolarMode {
WARP_POLAR_LINEAR = 0,
WARP_POLAR_LOG = 256
}
Specify the polar mapping mode. 更多...
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 . 更多...
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
}
Flags for cv::setWindowProperty / cv::getWindowProperty . 更多...
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. 更多...
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. 更多...
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. 更多...
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. 更多...
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. 更多...
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. 更多...
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. 更多...
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. 更多...
enum {
CAP_PVAPI_DECIMATION_OFF = 1,
CAP_PVAPI_DECIMATION_2OUTOF4 = 2,
CAP_PVAPI_DECIMATION_2OUTOF8 = 4,
CAP_PVAPI_DECIMATION_2OUTOF16 = 8
}
PVAPI: DecimationHorizontal, DecimationVertical. 更多...
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. 更多...
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. 更多...
AVFoundation framework for iOS

OS X Lion will have the same API

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. 更多...
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. 更多...
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. 更多...
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 更多...
Images backend
enum {
CAP_PROP_IMAGES_BASE = 18000,
CAP_PROP_IMAGES_LAST = 19000
}
Images backend properties. 更多...

函数

template<class Feature >
void _writeFeatures (const std::vector< Feature > features, FileStorage &fs, const Mat &featureMap)
static uchar abs ( uchar a)
static ushort abs ( ushort a)
static unsigned abs (unsigned a)
static uint64 abs ( uint64 a)
softfloat abs ( softfloat a)
Absolute value. 更多...
softdouble abs ( softdouble 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. 更多...
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 字符串 &text, Point org, const QtFont &font)
在图像上绘制文本。 更多...
void addText (const Mat &img, const 字符串 &text, Point org, const 字符串 &nameFont, int pointSize=-1, Scalar color= Scalar::all (0), int weight= QT_FONT_NORMAL , int style= QT_STYLE_NORMAL , int spacing=0)
在图像上绘制文本。 更多...
void addWeighted ( InputArray src1, double alpha, InputArray src2, double beta, double gamma, OutputArray dst, int dtype=-1)
Calculates the weighted sum of two arrays. 更多...
void AGAST ( InputArray image, std::vector< KeyPoint > &keypoints, int threshold , bool nonmaxSuppression=true)
void AGAST ( InputArray image, std::vector< KeyPoint > &keypoints, int threshold , bool nonmaxSuppression, AgastFeatureDetector::DetectorType type)
Detects corners using the AGAST algorithm. 更多...
template<typename _Tp >
static _Tp * alignPtr (_Tp *ptr, int n=(int) sizeof(_Tp))
Aligns a pointer to the specified number of bytes. 更多...
static size_t alignSize (size_t sz, int n)
Aligns a buffer size to the specified number of bytes. 更多...
void applyColorMap ( InputArray src, OutputArray dst, int colormap)
Applies a GNU Octave/MATLAB equivalent colormap on a given image. 更多...
void applyColorMap ( InputArray src, OutputArray dst, InputArray userColor)
Applies a user colormap on a given image. 更多...
void approxPolyDP ( InputArray curve, OutputArray approxCurve, double epsilon, bool closed)
Approximates a polygonal curve(s) with the specified precision. 更多...
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 a arrow segment pointing from the first point to the second one. 更多...
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. 更多...
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, InputArray hist, OutputArray backProject, const float **ranges, double scale=1, bool uniform=true)
Calculates the back projection of a histogram. 更多...
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 ( 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)
float calcNormFactor (const Mat & sum , const Mat &sqSum)
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, OutputArray stdDeviationsIntrinsics, OutputArray stdDeviationsExtrinsics, OutputArray perViewErrors, int flags=0, TermCriteria criteria= TermCriteria ( TermCriteria::COUNT + TermCriteria::EPS , 30, DBL_EPSILON))
Finds the camera intrinsic and extrinsic parameters from several views of a calibration pattern. 更多...
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 , 30, 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 , 30, 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 , 30, DBL_EPSILON))
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\). 更多...
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 matrix. 更多...
RotatedRect CamShift ( InputArray probImage, Rect &window, TermCriteria criteria)
Finds an object center, size, and orientation. 更多...
bool can_describe (const GMetaArg &meta, const GRunArg &arg)
bool can_describe (const GMetaArgs &metas, const GRunArgs &args)
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 [35] . 更多...
void Canny ( InputArray dx, InputArray dy, OutputArray edges, double threshold1, double threshold2, bool L2gradient=false)
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 (float *A, size_t astep, int m, float *b, size_t bstep, int n)
bool Cholesky (double *A, size_t astep, int m, double *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 ( Size imgSize, Point &pt1, Point &pt2)
Clips the line against the image rectangle. 更多...
bool clipLine ( Size2l imgSize, Point2l &pt1, Point2l &pt2)
bool clipLine ( Rect imgRect, Point &pt1, Point &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 ( InputArray H1, InputArray H2, int method)
Compares two histograms. 更多...
double compareHist (const SparseMat &H1, const SparseMat &H2, int method)
template<typename... Ts>
GCompileArgs compile_args (Ts &&... args)
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 [60] . 更多...
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 convertFp16 ( InputArray src, OutputArray dst)
把数组转换成半精度浮点数。 更多...
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)
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)
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. 更多...
softdouble cos (const softdouble &a)
Cosine. 更多...
int countNonZero ( InputArray src)
Counts non-zero array elements. 更多...
Ptr < AffineTransformer > createAffineTransformer (bool fullAffine)
Ptr < AlignMTB > createAlignMTB (int max_bits=6, int exclude_range=4, bool cut=true)
创建 AlignMTB 对象。 更多...
Ptr < BackgroundSubtractorKNN > createBackgroundSubtractorKNN (int history=500, double dist2Threshold=400.0, bool detectShadows=true)
Creates KNN Background Subtractor. 更多...
Ptr < BackgroundSubtractorMOG2 > createBackgroundSubtractorMOG2 (int history=500, double varThreshold=16, bool detectShadows=true)
Creates MOG2 Background Subtractor. 更多...
int createButton (const 字符串 &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 < CalibrateDebevec > createCalibrateDebevec (int samples=70, float lambda=10.0f, bool random=false)
创建 CalibrateDebevec 对象。 更多...
Ptr < CalibrateRobertson > createCalibrateRobertson (int max_iter=30, float threshold =0.01f)
创建 CalibrateRobertson 对象。 更多...
Ptr < HistogramCostExtractor > createChiHistogramCostExtractor (int nDummies=25, float defaultCost=0.2f)
Ptr < CLAHE > createCLAHE (double clipLimit=40.0, Size tileGridSize= Size (8, 8))
Creates a smart pointer to a cv::CLAHE class and initializes it. 更多...
Ptr < HistogramCostExtractor > createEMDHistogramCostExtractor (int flag= DIST_L2 , int nDummies=25, float defaultCost=0.2f)
Ptr < HistogramCostExtractor > createEMDL1HistogramCostExtractor (int nDummies=25, float defaultCost=0.2f)
Ptr < BaseCascadeClassifier::MaskGenerator > createFaceDetectionMaskGenerator ()
Ptr < GeneralizedHoughBallard > createGeneralizedHoughBallard ()
Creates a smart pointer to a cv::GeneralizedHoughBallard class and initializes it. 更多...
Ptr < GeneralizedHoughGuil > createGeneralizedHoughGuil ()
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 < HausdorffDistanceExtractor > createHausdorffDistanceExtractor (int distanceFlag= cv::NORM_L2 , float rankProp=0.6f)
Ptr < LineSegmentDetector > createLineSegmentDetector (int _refine= LSD_REFINE_STD , double _scale=0.8, double _sigma_scale=0.6, double _quant=2.0, double _ang_th=22.5, double _log_eps=0, double _density_th=0.7, int _n_bins=1024)
Creates a smart pointer to a LineSegmentDetector object and initializes it. 更多...
Ptr < MergeDebevec > createMergeDebevec ()
创建 MergeDebevec 对象。 更多...
Ptr < MergeMertens > createMergeMertens (float contrast_weight=1.0f, float saturation_weight=1.0f, float exposure_weight=0.0f)
创建 MergeMertens 对象。 更多...
Ptr < MergeRobertson > createMergeRobertson ()
创建 MergeRobertson 对象。 更多...
Ptr < HistogramCostExtractor > createNormHistogramCostExtractor (int flag= DIST_L2 , int nDummies=25, float defaultCost=0.2f)
Ptr < ShapeContextDistanceExtractor > createShapeContextDistanceExtractor (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 < Stitcher > createStitcher (bool try_use_gpu=false)
Ptr < Stitcher > createStitcherScans (bool try_use_gpu=false)
Ptr < ThinPlateSplineShapeTransformer > createThinPlateSplineShapeTransformer (double regularizationParameter=0)
Ptr < Tonemap > createTonemap (float gamma=1.0f)
Creates simple linear mapper with gamma correction. 更多...
Ptr < TonemapDrago > createTonemapDrago (float gamma=1.0f, float saturation=1.0f, float bias=0.85f)
创建 TonemapDrago 对象。 更多...
Ptr < TonemapMantiuk > createTonemapMantiuk (float gamma=1.0f, float scale=0.7f, float saturation=1.0f)
创建 TonemapMantiuk 对象。 更多...
Ptr < TonemapReinhard > createTonemapReinhard (float gamma=1.0f, float intensity=0.0f, float light_adapt=1.0f, float color_adapt=0.0f)
创建 TonemapReinhard 对象。 更多...
int createTrackbar (const 字符串 &trackbarname, const 字符串 &winname, int *value, int count, TrackbarCallback onChange=0, void *userdata=0)
Creates a trackbar and attaches it to the specified window. 更多...
float cubeRoot (float val)
Computes the cube root of an argument. 更多...
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 , 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 >
static void cv2eigen (const Mat &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 > &dst)
template<typename _Tp >
static void cv2eigen (const Mat &src, Eigen::Matrix< _Tp, Eigen::Dynamic, 1 > &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 >
static void cv2eigen (const Mat &src, Eigen::Matrix< _Tp, 1, Eigen::Dynamic > &dst)
template<typename _Tp , int _cols>
static void cv2eigen (const Matx < _Tp, 1, _cols > &src, Eigen::Matrix< _Tp, 1, Eigen::Dynamic > &dst)
template<typename _Tp >
_Tp cv_abs (_Tp x)
int cv_abs ( uchar x)
int cv_abs ( schar x)
int cv_abs ( ushort x)
int cv_abs (short x)
void cvtColor ( InputArray src, OutputArray dst, int code, int dstCn=0)
Converts an image from one color space to another. 更多...
void cvtColorTwoPlane ( InputArray src1, InputArray src2, OutputArray dst, int code)
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 [144] . 更多...
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 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. 更多...
const char * depthToString (int depth)
template<typename U >
GArrayDesc descr_of (const std::vector< U > &)
GScalarDesc descr_of (const cv::Scalar &scalar)
GScalarDesc descr_of (const cv::gapi::own::Scalar &scalar)
GMetaArg descr_of (const GRunArg &arg)
GMetaArgs descr_of (const GRunArgs &args)
GMatDesc descr_of (const cv::Mat &mat)
GMatDesc descr_of (const cv::UMat &mat)
cv::GMetaArgs descrs_of (const std::vector< cv::Mat > &vec)
cv::GMetaArgs descrs_of (const std::vector< cv::UMat > &vec)
void destroyAllWindows ()
Destroys all of the HighGUI windows. 更多...
void destroyWindow (const 字符串 &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 字符串 &winname, const 字符串 &text, int delayms=0)
Displays a text on a window image as an overlay for a specified duration. 更多...
void displayStatusBar (const 字符串 &winname, const 字符串 &text, int delayms=0)
Displays a text on the window statusbar during the specified period of time. 更多...
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 distanceTransform ( InputArray src, OutputArray dst, int distanceType, int maskSize, int dstType= CV_32F )
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 divide (double scale, InputArray src2, OutputArray dst, int dtype=-1)
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 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 [78] . 更多...
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, OutputArray 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, Matx < _Tp, _rows, _cols > &dst)
void eigenNonSymmetric ( InputArray src, OutputArray eigenvalues, OutputArray eigenvectors)
Calculates eigenvalues and eigenvectors of a non-symmetric matrix (real eigenvalues only). 更多...
void ellipse ( InputOutputArray img, Point center, Size axes, double angle, double startAngle, double endAngle, const Scalar &color, int thickness=1, int lineType= LINE_8 , int shift=0)
Draws a simple or thick elliptic arc or fills an ellipse sector. 更多...
void ellipse ( InputOutputArray img, const RotatedRect &box, const Scalar &color, int thickness=1, int lineType= LINE_8 )
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. 更多...
static GArrayDesc empty_array_desc ()
static GMatDesc empty_gmat_desc ()
static GScalarDesc empty_scalar_desc ()
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 (int _code, const 字符串 &_err, const char *_func, const char *_file, int _line)
Signals an error and raises the exception. 更多...
cv::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. 更多...
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. 更多...
Mat estimateRigidTransform ( InputArray src, InputArray dst, bool fullAffine)
Computes an optimal affine transformation between two 2D 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 >())
softfloat exp (const softfloat &a)
Exponent. 更多...
softdouble exp (const softdouble &a)
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) 更多...
void FAST ( InputArray image, std::vector< KeyPoint > &keypoints, int threshold , bool nonmaxSuppression=true)
void FAST ( InputArray image, std::vector< KeyPoint > &keypoints, int threshold , bool nonmaxSuppression, FastFeatureDetector::DetectorType type)
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, 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 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 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, 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. For more details see http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.131.6394 更多...
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. For more details see http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.131.6394 更多...
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, 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=0)
Finds the positions of internal corners of the chessboard using a sector based approach. 更多...
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, OutputArray hierarchy, int mode, int method, Point offset= Point ())
Finds contours in a binary image. 更多...
void findContours ( InputArray image, OutputArrayOfArrays contours, int mode, int method, Point offset= Point ())
Mat findEssentialMat ( InputArray points1, InputArray points2, InputArray cameraMatrix, 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. 更多...
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, OutputArray mask= noArray ())
Mat findFundamentalMat ( InputArray points1, InputArray points2, int method= FM_RANSAC , double ransacReprojThreshold=3., double confidence=0.99, OutputArray mask= noArray ())
Calculates a fundamental matrix from the corresponding points in two images. 更多...
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, int method=0, double ransacReprojThreshold=3)
void findNonZero ( InputArray src, OutputArray idx)
Returns the list of locations of non-zero pixels. 更多...
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 [60] . 更多...
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 ())
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. 更多...
int floodFill ( InputOutputArray image, Point seedPoint, Scalar newVal, Rect *rect=0, Scalar loDiff= Scalar (), Scalar upDiff= Scalar (), int flags=4)
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. 更多...
QtFont fontQt (const 字符串 &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. 更多...
void GaussianBlur ( InputArray src, OutputArray dst, Size ksize, double sigmaX, double sigmaY=0, int borderType= BORDER_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 字符串 & getBuildInformation ()
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. 更多...
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. 更多...
字符串 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 matrix based on the free scaling parameter. 更多...
Mat getPerspectiveTransform ( InputArray src, InputArray dst, int solveMethod= DECOMP_LU )
Calculates a perspective transform from four pairs of the corresponding points. 更多...
Mat getPerspectiveTransform (const Point2f src[], const Point2f dst[], int solveMethod= DECOMP_LU )
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 字符串 &text, int fontFace, double fontScale, int thickness, int *baseLine)
Calculates the width and height of a text string. 更多...
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 字符串 &trackbarname, const 字符串 &winname)
Returns the trackbar position. 更多...
Rect getValidDisparityROI ( Rect roi1, Rect roi2, int minDisparity, int numberOfDisparities, int SADWindowSize)
computes valid disparity ROI from the valid ROIs of the rectified images (that are returned by cv::stereoRectify() ) 更多...
int getVersionMajor ()
Returns major library version. 更多...
int getVersionMinor ()
Returns minor library version. 更多...
int getVersionRevision ()
Returns revision field of the library version. 更多...
字符串 getVersionString ()
Returns library version string. 更多...
Rect getWindowImageRect (const 字符串 &winname)
Provides rectangle of image in the window. 更多...
double getWindowProperty (const 字符串 &winname, int prop_id)
Provides parameters of a window. 更多...
template<typename... Ts>
GProtoInputArgs GIn (Ts &&... ts)
template<typename... Ts>
GRunArgs gin (const Ts &... args)
void glob ( 字符串 pattern, std::vector< 字符串 > &result, bool recursive=false)
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 goodFeaturesToTrack ( InputArray image, OutputArray corners, int maxCorners, double qualityLevel, double minDistance, InputArray mask, int blockSize, int gradientSize, bool useHarrisDetector=false, double k=0.04)
template<typename... Ts>
GProtoOutputArgs GOut (Ts &&... ts)
template<typename... Ts>
GProtoOutputArgs GOut (const std::tuple< Ts... > &ts)
template<typename... Ts>
GProtoOutputArgs GOut (std::tuple< Ts... > &&ts)
template<typename... Ts>
GRunArgsP gout (Ts &... args)
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=0.2)
Groups the object candidate rectangles. 更多...
void groupRectangles (std::vector< Rect > &rectList, std::vector< int > &weights, int groupThreshold, double eps=0.2)
void groupRectangles (std::vector< Rect > &rectList, int groupThreshold, double eps, std::vector< int > *weights, std::vector< double > *levelWeights)
void groupRectangles (std::vector< Rect > &rectList, std::vector< int > &rejectLevels, std::vector< double > &levelWeights, 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 haveImageReader (const 字符串 &filename)
Returns true if the specified image can be decoded by OpenCV. 更多...
bool haveImageWriter (const 字符串 &filename)
Returns true if an image with the specified filename can be encoded by OpenCV. 更多...
bool haveOpenVX ()
Check if use of OpenVX is possible. 更多...
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)
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. 更多...
void HuMoments (const Moments & moments , double hu[7])
Calculates seven Hu invariants. 更多...
void HuMoments (const Moments &m, OutputArray hu)