 |
OpenCV
4.2.0
Open Source Computer Vision
|
|
| cv |
| "black box" representation of the file storage associated with a file on disk.
|
|
| cv::aruco |
|
|
void | cv::aruco::_drawPlanarBoardImpl (Board *board, Size outSize, OutputArray img, int marginSize=0, int borderBits=1) |
| Implementation of drawPlanarBoard that accepts a raw Board pointer. More...
|
|
double | cv::aruco::calibrateCameraAruco (InputArrayOfArrays corners, InputArray ids, InputArray counter, const Ptr< Board > &board, 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)) |
| Calibrate a camera using aruco markers. More...
|
|
double | cv::aruco::calibrateCameraAruco (InputArrayOfArrays corners, InputArray ids, InputArray counter, const Ptr< Board > &board, Size imageSize, InputOutputArray cameraMatrix, InputOutputArray distCoeffs, OutputArrayOfArrays rvecs=noArray(), OutputArrayOfArrays tvecs=noArray(), int flags=0, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, DBL_EPSILON)) |
| It's the same function as calibrateCameraAruco but without calibration error estimation. More...
|
|
void | cv::aruco::detectMarkers (InputArray image, const Ptr< Dictionary > &dictionary, OutputArrayOfArrays corners, OutputArray ids, const Ptr< DetectorParameters > ¶meters=DetectorParameters::create(), OutputArrayOfArrays rejectedImgPoints=noArray(), InputArray cameraMatrix=noArray(), InputArray distCoeff=noArray()) |
| Basic marker detection. More...
|
|
void | cv::aruco::drawAxis (InputOutputArray image, InputArray cameraMatrix, InputArray distCoeffs, InputArray rvec, InputArray tvec, float length) |
| Draw coordinate system axis from pose estimation. More...
|
|
void | cv::aruco::drawDetectedMarkers (InputOutputArray image, InputArrayOfArrays corners, InputArray ids=noArray(), Scalar borderColor=Scalar(0, 255, 0)) |
| Draw detected markers in image. More...
|
|
void | cv::aruco::drawMarker (const Ptr< Dictionary > &dictionary, int id, int sidePixels, OutputArray img, int borderBits=1) |
| Draw a canonical marker image. More...
|
|
void | cv::aruco::drawPlanarBoard (const Ptr< Board > &board, Size outSize, OutputArray img, int marginSize=0, int borderBits=1) |
| Draw a planar board. More...
|
|
int | cv::aruco::estimatePoseBoard (InputArrayOfArrays corners, InputArray ids, const Ptr< Board > &board, InputArray cameraMatrix, InputArray distCoeffs, InputOutputArray rvec, InputOutputArray tvec, bool useExtrinsicGuess=false) |
| Pose estimation for a board of markers. More...
|
|
void | cv::aruco::estimatePoseSingleMarkers (InputArrayOfArrays corners, float markerLength, InputArray cameraMatrix, InputArray distCoeffs, OutputArray rvecs, OutputArray tvecs, OutputArray _objPoints=noArray()) |
| Pose estimation for single markers. More...
|
|
void | cv::aruco::getBoardObjectAndImagePoints (const Ptr< Board > &board, InputArrayOfArrays detectedCorners, InputArray detectedIds, OutputArray objPoints, OutputArray imgPoints) |
| Given a board configuration and a set of detected markers, returns the corresponding image points and object points to call solvePnP. More...
|
|
void | cv::aruco::refineDetectedMarkers (InputArray image, const Ptr< Board > &board, InputOutputArrayOfArrays detectedCorners, InputOutputArray detectedIds, InputOutputArrayOfArrays rejectedCorners, InputArray cameraMatrix=noArray(), InputArray distCoeffs=noArray(), float minRepDistance=10.f, float errorCorrectionRate=3.f, bool checkAllOrders=true, OutputArray recoveredIdxs=noArray(), const Ptr< DetectorParameters > ¶meters=DetectorParameters::create()) |
| Refind not detected markers based on the already detected and the board layout. More...
|
|
virtual int getMaxIters() const =0
DescriptorStorageFormat
Definition: objdetect.hpp:379
Definition: all_layers.hpp:75
virtual void assign(const MatExpr &expr, Mat &m, int type=-1) const =0
Definition: gkernel.hpp:46
_OutputArray(const ogl::Buffer &buf)
Definition: traits.hpp:57
bool getUseIlluminationModel() const
double scale
Definition: descriptor.hpp:701
virtual ~FacemarkAAM()
Definition: facemarkAAM.hpp:154
Distance::ResultType DistanceType
Definition: flann.hpp:164
void edgePreservingFilter(InputArray src, OutputArray dst, int d, double threshold)
Smoothes an image using the Edge-Preserving filter.
TrackerSampler()
Constructor.
BestOf2NearestRangeMatcher(int range_width=5, bool try_use_gpu=false, float match_conf=0.3f, int num_matches_thresh1=6, int num_matches_thresh2=6)
int uniform(int a, int b)
returns uniformly distributed integer random number from [a,b) range
void copyTo(OutputArray arr, cuda::Stream &stream) const
float32x2_t cv_vrecp_f32(float32x2_t val)
Definition: neon_utils.hpp:90
virtual int getWarpingsNumber() const =0
Number of warpings per scale.
MaskFrameSource(const Ptr< IFrameSource > &source)
Definition: frame_source.hpp:92
void normalizedEightPointSolver(InputArray x1, InputArray x2, OutputArray F)
Estimate the fundamental matrix between two dataset of 2D point (image coords space).
auto compileStreaming(const Ts &... metas) -> typename std::enable_if< detail::are_meta_descrs< Ts... >::value, GStreamingCompiled >::type
Definition: gcomputation.hpp:463
Matrix read-write iterator.
Definition: mat.hpp:3133
int defaultDir
Definition: ml.hpp:1168
int nativeVectorWidthLong() const
@ COLOR_YUV2RGBA_I420
Definition: imgproc.hpp:659
v_reg< _Tp, n > v_pack_triplets(const v_reg< _Tp, n > &vec)
Definition: intrin_cpp.hpp:2093
virtual bool pull(Data &data)=0
DetectionBasedTracker(cv::Ptr< IDetector > mainDetector, cv::Ptr< IDetector > trackingDetector, const Parameters ¶ms)
Definition: gkernel.hpp:283
virtual float getScale() const =0
static softdouble max()
Biggest finite value.
Definition: softfloat.hpp:358
Definition: resize.hpp:78
#define CV_16F
Definition: interface.h:80
int type() const
returns element type
@ TYPE_GENERAL
Definition: instrumentation.hpp:47
virtual void setPolyN(int val)=0
A class to post process model predictions.
Definition: core_detect.hpp:39
int rows
Definition: warping.hpp:79
void mapForward(float x, float y, float &u, float &v)
void mapForward(float x, float y, float &u, float &v)
virtual bool update(InputArray depth)=0
Process next depth frame.
@ CAP_PROP_XI_DOWNSAMPLING_TYPE
Change image downsampling type.
Definition: videoio.hpp:359
Matx33d mat3
Definition: msm_epfl.hpp:64
virtual void balanceWhite(InputArray src, OutputArray dst)=0
Applies white balancing to the input image.
int depth
Definition: pd_inria.hpp:77
const GMatDesc & meta() const
Definition: gfluidbuffer.hpp:137
int floodFill(InputOutputArray image, Point seedPoint, Scalar newVal, Rect *rect=0, Scalar loDiff=Scalar(), Scalar upDiff=Scalar(), int flags=4)
virtual void setMinScore(float value)=0
Sets the min score of boxes to detect.
AgastFeatureDetector_Impl(int _threshold, bool _nonmaxSuppression, int _type)
Definition: agast.txt:7484
double rintd(double x)
Definition: saturate.hpp:85
__device__ static __forceinline__ int idx_high(int i, int len)
Definition: extrapolation.hpp:204
Definition: functional.hpp:270
Point pos() const
returns the current iterator position
Vec< uchar, 3 > Vec3b
Definition: matx.hpp:401
static Ptr< ICPOdometry > create(const Mat &cameraMatrix=Mat(), float minDepth=Odometry::DEFAULT_MIN_DEPTH(), float maxDepth=Odometry::DEFAULT_MAX_DEPTH(), float maxDepthDiff=Odometry::DEFAULT_MAX_DEPTH_DIFF(), float maxPointsPart=Odometry::DEFAULT_MAX_POINTS_PART(), const std::vector< int > &iterCounts=std::vector< int >(), int transformType=Odometry::RIGID_BODY_MOTION)
bool parseStrl(char stream_id, Codecs codec_)
float classifyF(const Mat &x, int i)
virtual void generateFeatures() CV_OVERRIDE
virtual int getRICSLICType() const =0
Parameter to choose superpixel algorithm variant to use:
@ CPU_AVX512_KNL
Knights Landing with AVX-512F/CD/ER/PF.
Definition: cvdef.h:312
static cv::GArray< U > get(GCompoundContext &ctx, int idx)
Definition: gcompoundkernel.hpp:60
virtual float getKappa() const =0
Returns the scale sensitivity.
@ CAP_PROP_DC1394_OFF
turn the feature off (not controlled manually nor automatically).
Definition: videoio.hpp:206
Mat reshape(int cn, int rows=0) const
Changes the shape and/or the number of channels of a 2D matrix without copying the data.
@ COLOR_RGBA2YUV_IYUV
Definition: imgproc.hpp:731
Class computing stereo correspondence using the constant space belief propagation algorithm....
Definition: cudastereo.hpp:218
Definition: gcompoundkernel.hpp:31
float samplerInitInRadius
radius for gathering positive instances during init
Definition: tracker.hpp:1072
UMat dst_mask_
Definition: blenders.hpp:94
~MultiTracker() CV_OVERRIDE
Destructor.
T * ptr() const
Definition: NCV.hpp:823
Matx< _Tp, n, m > t() const
transpose the matrix
@ SORT_DESCENDING
Definition: core.hpp:160
void mapBackward(float u, float v, float &x, float &y)
void setCurrentConfidenceMap(ConfidenceMap &confidenceMap)
Set the current confidenceMap.
@ CALIB_FIX_K2
Definition: omnidir.hpp:59
__device__ __forceinline__ int atomicAdd(int *address, int val)
Definition: atomic.hpp:58
char2 type
Definition: vec_traits.hpp:77
int pyramidLevels() const
Get number of pyramid levels used by this detector.
Definition: linemod.hpp:369
virtual int descriptorSize() const
void setTargetResponses(const Mat &responses)
Set the features extracted from TrackerFeatureSet.
@ NCVPipeObjDet_UseFairImageScaling
Definition: NCVHaarObjectDetection.hpp:355
_OutputArray(std::vector< std::vector< _Tp > > &vec)
Definition: goclkernel.hpp:101
static _InputOutputArray rawInOut(_Tp &v)
bool getUseGlobalMotionPrior() const
TrackedObjects objects
Detected objects;.
Definition: tracking_by_matching.hpp:380
@ Uncompressed_YV12
Y,V,U (4:2:0)
Definition: cudacodec.hpp:261
static int roundUp(int a, unsigned int b)
Round first value up to the nearest multiple of second value.
Definition: utility.hpp:508
virtual void compute(InputArray left, InputArray right, OutputArray disparity)=0
Computes disparity map for the specified stereo pair.
std::tuple< Args... > InArgs
Definition: gkernel.hpp:196
std::vector< int > getUnconnectedOutLayers() const
Returns indexes of layers with unconnected outputs.
Affine3< Y > cast() const
static Ptr< SR_general100 > create()
@ CAP_PROP_INTELPERC_PROFILE_IDX
Definition: videoio.hpp:521
RotatedRect fitEllipseDirect(InputArray points)
Fits an ellipse around a set of 2D points.
static void AGAST_5_8(InputArray _img, std::vector< KeyPoint > &keypoints, int threshold)
Definition: agast.txt:55
void cvtThreePlaneYUVtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx)
HoughOp
Specifies binary operations.
Definition: fast_hough_transform.hpp:89
@ FEATURE_SET_COMPUTE_10
Definition: cuda.hpp:769
void clear() CV_OVERRIDE
Clear dataset and internal data.
virtual double getL2HysThreshold() const =0
virtual void setGamma(double val)=0
Definition: onlineBoosting.hpp:174
virtual int getUniquenessRatio() const =0
std::vector< std::pair< int, int > > edges_
Definition: motion_estimators.hpp:215
void setEpsX(double epsX)
sets the epsilon used during the horizontal scan of QR code stop marker detection.
void accumulateProduct(InputArray src1, InputArray src2, InputOutputArray dst, InputArray mask=noArray())
Adds the per-element product of two input images to the accumulator image.
TrackerFeature based on LBP.
Definition: tracker.hpp:1040
double focal_length_x
Definition: simple_pipeline.hpp:109
Definition: goclkernel.hpp:141
Class computing a dense optical flow using the Gunnar Farneback's algorithm.
Definition: cudaoptflow.hpp:257
std::vector< GArg > GArgs
Definition: garg.hpp:86
void sub8s(const schar *src1, size_t step1, const schar *src2, size_t step2, schar *dst, size_t step, int width, int height, void *)
virtual const std::vector< Split > & getSplits() const =0
Returns all the splits.
static Mat diag(const Mat &d)
creates a diagonal matrix
@ StsBadSize
the input/output structure size is incorrect
Definition: base.hpp:101
virtual int getMiniBatchSize() const =0
virtual Size prepareFrameCache(Ptr< OdometryFrame > &frame, int cacheType) const
@ NCV_HAAR_TOO_LARGE_FEATURES
Definition: NCV.hpp:346
This structure specifies which FreeType font to use by FText primitives.
Definition: render.hpp:85
Matx< float, 4, 4 > Matx44f
Definition: matx.hpp:245
__host__ GpuMat_ colRange(Range r) const
GMatDesc withSize(cv::Size sz) const
Definition: gmat.hpp:136
virtual bool empty() const CV_OVERRIDE=0
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
virtual int getMaxBoxes() const =0
Returns the max number of boxes to detect.
Definition: gfluidkernel.hpp:415
cv::Scalar m_s
Definition: gcpukernel.hpp:182
static __device__ double atomicMax(double *address, double val)
Definition: atomic.hpp:180
__device__ static __forceinline__ uint blockSize()
Definition: block.hpp:63
void initializeStereoCalibration(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints1, InputArrayOfArrays imagePoints2, const Size &size1, const Size &size2, OutputArray om, OutputArray T, OutputArrayOfArrays omL, OutputArrayOfArrays tL, OutputArray K1, OutputArray D1, OutputArray K2, OutputArray D2, double &xi1, double &xi2, int flags, OutputArray idx)
int radius
The radius of the circle.
Definition: render.hpp:233
Context & initializeContextFromD3D11Device(ID3D11Device *pD3D11Device)
Creates OpenCL context from D3D11 device.
static Ptr< Dictionary > create(int nMarkers, int markerSize, const Ptr< Dictionary > &baseDictionary, int randomSeed=0)
virtual void run(InputArrayOfArrays points2d)=0
Model and solver parameters.
Definition: NCVBroxOpticalFlow.hpp:70
Data structure describing the reconstruction options.
Definition: simple_pipeline.hpp:139
virtual int getNMixtures() const =0
Returns the number of gaussian components in the background model.
virtual void collectGarbage()=0
Releases all inner buffers.
virtual void read(const FileNode &) CV_OVERRIDE
Reads algorithm parameters from a file storage.
@ CAP_PROP_FRAME_WIDTH
Width of the frames in the video stream.
Definition: videoio.hpp:135
Definition: reduce_to_vec.hpp:66
uint2 _ui2
Definition: NCVHaarObjectDetection.hpp:80
std::vector< const uint8_t * > m_linePtrs
Definition: gfluidbuffer.hpp:50
@ CAP_PROP_XI_HDR
Enable High Dynamic Range feature.
Definition: videoio.hpp:467
softdouble(const uint64_t)
bool queryIfComplete() const
queries an event's status
String configfile
configfile stores the name of the file containing the values of training parameters
Definition: face_alignment.hpp:37
int type
Definition: agast.txt:7534
#define GAPI_Assert
Definition: assert.hpp:13
virtual int getInnerIterations() const =0
Number of lagged non-linearity iterations (inner loop)
@ CAP_PROP_XI_LENS_MODE
Status of lens control interface. This shall be set to XI_ON before any Lens operations.
Definition: videoio.hpp:428
virtual void setMaxDepth(int val)=0
_Tp re
Definition: types.hpp:87
virtual ~Allocator()
Definition: cuda.hpp:111
Definition: descriptor.hpp:700
const _Tp & reference
Definition: mat.hpp:3085
virtual void stabilize(int size, const std::vector< Mat > &motions, std::pair< int, int > range, Mat *stabilizationMotions) CV_OVERRIDE
assumes that [0, size-1) is in or equals to [range.first, range.second)
Ptr< Layer > _layerDynamicRegisterer(LayerParams ¶ms)
Definition: layer.details.hpp:51
int hal_ni_min32f(const float *src1_data, size_t src1_step, const float *src2_data, size_t src2_step, float *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:116
Ptr< SuperpixelLSC > createSuperpixelLSC(InputArray image, int region_size=10, float ratio=0.075f)
Class implementing the LSC (Linear Spectral Clustering) superpixels.
NoBundleAdjuster()
Definition: motion_estimators.hpp:224
void cvtBGR5x5toBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int dcn, bool swapBlue, int greenBits)
GMatDesc withType(int ddepth, int dchan) const
Definition: gmat.hpp:172
void setSensitivity(float val)
Definition: deblurring.hpp:101
void setRows(int val)
Definition: depth.hpp:128
@ C
Definition: ml.hpp:670
__device__ __forceinline__ short cast_fp16< float, short >(float v)
Definition: saturate_cast.hpp:287
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.
bool getSign() const
Get sign bit.
Definition: softfloat.hpp:175
Size-based strategy for the selective search segmentation algorithm The class is implemented from the...
Definition: segmentation.hpp:109
Ptr< Filter > createDerivFilter(int srcType, int dstType, int dx, int dy, int ksize, bool normalize=false, double scale=1, int rowBorderMode=BORDER_DEFAULT, int columnBorderMode=-1)
Creates a generalized Deriv operator.
void mov(VectorRef &v)
Definition: garray.hpp:256
QualityGMSD(_mat_data refImgData)
Definition: qualitygmsd.hpp:85
static Ptr< SparseRLOFOpticalFlow > create(Ptr< RLOFOpticalFlowParameter > rlofParam=Ptr< RLOFOpticalFlowParameter >(), float forwardBackwardThreshold=1.f)
Creates instance of SparseRLOFOpticalFlow.
Vec(const Matx< _Tp, cn, 1 > &a, const Matx< _Tp, cn, 1 > &b, Matx_SubOp)
int rows
the number of rows and columns or (-1, -1) when the matrix has more than 2 dimensions
Definition: mat.hpp:2086
virtual void release()
Closes the video writer.
int left
Index of the left child node.
Definition: ml.hpp:1166
virtual int getSmoothingRadius() const =0
@ CAP_PROP_XI_WIDTH
Width of the Image provided by the device (in pixels).
Definition: videoio.hpp:381
int hal_ni_QR32f(float *src1, size_t src1_step, int m, int n, int k, float *src2, size_t src2_step, float *dst, int *info)
Definition: hal_replacement.hpp:654
Definition: gr_skig.hpp:106
void resize(InputArray src, OutputArray dst, Size dsize, double fx=0, double fy=0, int interpolation=INTER_LINEAR, Stream &stream=Stream::Null())
Resizes an image.
@ CALIB_FIX_PRINCIPAL_POINT
Definition: calib3d.hpp:271
int fiducial_score
Definition: fr_adience.hpp:80
Rect warpRoi(Size src_size, InputArray K, InputArray R) CV_OVERRIDE
Definition: functional.hpp:96
@ CAP_PROP_POS_AVI_RATIO
Relative position of the video file: 0=start of the film, 1=end of the film.
Definition: videoio.hpp:134
@ COLOR_BayerGR2BGR_VNG
Definition: imgproc.hpp:758
virtual bool read(FileNode &fn)
Reads HOGDescriptor parameters from a cv::FileNode.
@ ENTITY_ANIMBLEND_MODE
Definition: ovis.hpp:52
Rect detectROI
Definition: facemarkLBF.hpp:89
const cv::gapi::own::Scalar & inVal(int input)
v_reg< _Tp, n > v_rotate_right(const v_reg< _Tp, n > &a)
Definition: intrin_cpp.hpp:1131
AllocType
Definition: cuda.hpp:527
Definition: texture.hpp:186
@ COLOR_YUV2GRAY_YUYV
Definition: imgproc.hpp:716
void copySize(const Mat &m)
internal use function; properly re-allocates _size, _step arrays
@ FONT_HERSHEY_SIMPLEX
normal size sans-serif font
Definition: imgproc.hpp:814
ThenType type
Definition: type_traits.hpp:98
The class implements K-Nearest Neighbors model.
Definition: ml.hpp:437
@ CAP_PROP_XI_COLOR_FILTER_ARRAY
Returns color filter array type of RAW data.
Definition: videoio.hpp:401
int minDetectionPeriod
Definition: detection_based_tracker.hpp:63
int hal_ni_cvtGraytoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn)
hal_cvtGraytoBGR
Definition: hal_replacement.hpp:358
virtual void getFeatures(const Mat &src, Mat &features, const int gnrmRad, const int gsmthRad, const int shrink, const int outNum, const int gradNum) const =0
_Tp value_type
Definition: matx.hpp:335
size_t image3DMaxDepth() const
static void call(const cv::GArgs &in_args, const std::vector< gapi::fluid::Buffer * > &out_bufs)
Definition: gfluidkernel.hpp:372
int addTemplate(const std::vector< Mat > &sources, const String &class_id, const Mat &object_mask, Rect *bounding_box=NULL)
Add new object template.
int numTrackedSteps
Definition: detection_based_tracker.hpp:204
bool computeSaliencyImpl(InputArray image, OutputArray saliencyMap) CV_OVERRIDE
void pos(int *_idx) const
returns the current iterator position
virtual void setInnerIterations(int val)=0
Number of lagged non-linearity iterations (inner loop)
variant & operator=(const variant &rhs)
@ MARKER_STAR
A star marker shape, combination of cross and tilted cross.
Definition: imgproc.hpp:832
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: reduction.hpp:91
double fs
The font scale factor that is multiplied by the font-specific base size.
Definition: render.hpp:129
virtual int getPreFilterCap() const =0
int cvCeil(const cv::softfloat &a)
Rounds number up to integer.
void AGAST(InputArray image, std::vector< KeyPoint > &keypoints, int threshold, bool nonmaxSuppression=true)
Definition: agast.txt:7475
Definition: texture.hpp:206
Classical recurrent layer.
Definition: all_layers.hpp:182
@ NORM_L2
Definition: base.hpp:185
void read(const FileNode &fn) CV_OVERRIDE
Reads algorithm parameters from a file storage.
v_int64x2 v_setzero_s64()
Definition: intrin_cpp.hpp:2149
virtual void addStrategy(Ptr< SelectiveSearchSegmentationStrategy > g, float weight)=0
Add a new sub-strategy.
Mat nextStabilizedFrame()
void load(const String &filename)
void write(FileStorage &fs) const
void setThreshold(int threshold_)
Definition: agast.txt:7523
static cv::Ptr< DPMDetector > create(std::vector< std::string > const &filenames, std::vector< std::string > const &classNames=std::vector< std::string >())
Load the trained models from given .xml files and return cv::Ptr<DPMDetector>.
void gammaCorrection(InputArray src, OutputArray dst, bool forward=true, Stream &stream=Stream::Null())
Routines for correcting image color gamma.
Definition: gtype_traits.hpp:46
static softfloat pi()
Correct pi approximation.
Definition: softfloat.hpp:218
int flags
Definition: mat.hpp:3546
void detect(InputArray _image, std::vector< KeyPoint > &keypoints, InputArray _mask)
Detects keypoints in an image (first variant) or image set (second variant).
Definition: agast.txt:7488
@ CALIB_FIX_K3
Definition: calib3d.hpp:276
static Ptr< TR_icdar > create()
v_reg< _Tp, n > & operator+=(v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Definition: intrin_cpp.hpp:427
float scale_sigma_factor
Definition: tracker.hpp:1523
int hal_ni_recip8u(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:275
virtual bool update(InputArray depth)=0
Process next depth frame.
static bool isSeq(int flags)
virtual cv::Ptr< Map > getMap() const =0
static void runByKeypointSize(std::vector< KeyPoint > &keypoints, float minSize, float maxSize=FLT_MAX)
std::vector< cv::Mat > computeObjectImagePointsForSingle(cv::Mat inputImage)
static void unbind(Target target)
Unbind any buffers from the specified binding point.
const _InputArray & InputArray
Definition: mat.hpp:437
std::vector< Rect > bndboxes
Definition: pd_inria.hpp:80
cv::gapi::GBackend backend()
AutoBuffer< int64, 1 > * pi
Definition: dict.hpp:103
DictValue(const DictValue &r)
int rows
Definition: deriv.hpp:163
cv::gapi::own::Scalar & m_org_s
Definition: gcpukernel.hpp:183
const Rect operator&(const Rect &lhs, const Rect &rhs)
Definition: types.hpp:77
void setImageHeight(int val)
Definition: saliencySpecializedClasses.hpp:104
double y_scale
Definition: facemarkLBF.hpp:107
@ WINDOW_FULLSCREEN
change the window to fullscreen.
Definition: highgui.hpp:187
Ptr< SelectiveSearchSegmentationStrategyFill > createSelectiveSearchSegmentationStrategyFill()
Create a new fill-based strategy.
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....
bool operator!=(const GScalarDesc &rhs) const
Definition: gscalar.hpp:64
virtual void setHarrisDetector(bool val)=0
__device__ __forceinline__ uint vseteq2(uint a, uint b)
Definition: simd_functions.hpp:240
Definition: functional.hpp:195
NCVMemoryType memtype
Definition: NCV.hpp:442
@ dc
Definition: container_avi.private.hpp:136
static Ptr< HPE_parse > create()
Ncv32s width
Rectangle width.
Definition: NCV.hpp:152
virtual void write(FileStorage &fs, const String &objname) const
Stores HOGDescriptor parameters in a cv::FileStorage.
virtual void removeEntity(const String &name)=0
GpuMat(const GpuMat &m)
copy constructor
virtual int getType() const =0
__device__ T blockScanInclusive(T data, volatile T *smem, uint tid)
Definition: scan.hpp:186
int npos
Definition: feature.hpp:192
int minNeighbors
Parameter specifying how many neighbors each candidate rectangle should have to retain it.
Definition: facemark_train.hpp:38
static auto wrap(const T &t) -> typename std::remove_reference< T >::type
Definition: gtype_traits.hpp:140
virtual bool supportBackend(int backendId)
Ask layer if it support specific backend for doing computations.
@ REDUCE_SUM
the output is the sum of all rows/columns of the matrix.
Definition: core.hpp:219
void normalizePoints(InputArray points, OutputArray normalized_points, OutputArray T)
This function normalizes points (non isotropic).
Ptr< Filter > createMorphologyFilter(int op, int srcType, InputArray kernel, Point anchor=Point(-1, -1), int iterations=1)
Creates a 2D morphological filter.
void completeSymm(InputOutputArray m, bool lowerToUpper=false)
Copies the lower or the upper half of a square matrix to its another half.
@ CAP_PROP_FRAME_COUNT
Number of frames in the video file.
Definition: videoio.hpp:139
virtual void setMotionModel(MotionModel val) CV_OVERRIDE
Definition: global_motion.hpp:234
void createGridMesh(const String &name, const Size2f &size, const Size &segments=Size(1, 1))
virtual void setClassWeights(const cv::Mat &val)=0
virtual void free(GpuMat *mat)=0
static T get(GOCLContext &ctx, int idx)
Definition: goclkernel.hpp:116
@ LOG_WARP_SIZE
Definition: warp.hpp:58
@ CALIB_FIX_K2
Definition: calib3d.hpp:275
__device__ __forceinline__ MakeVec< uchar, VecTraits< T >::cn >::type operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:185
static void setDefaultAllocator(GpuMat::Allocator *allocator)
double distance
Definition: predict_collector.hpp:88
void setException(const cv::Exception &exception)
static Ptr< TrackerCSRT > create()
std::string name
Definition: pd_caltech.hpp:64
static Ptr< FR_lfw > create()
UMatData * u
interaction with UMat
Definition: mat.hpp:2106
void gemm(InputArray src1, InputArray src2, double alpha, InputArray src3, double beta, OutputArray dst, int flags=0)
Performs generalized matrix multiplication.
void setMethod(int val)
Definition: depth.hpp:168
RansacParams ransacParams() const
Definition: outlier_rejection.hpp:83
_Range(int start_, int size_=1)
Definition: shape_utils.hpp:60
T & at(int idx, std::vector< T > &items)
Definition: ring_buffer.hpp:57
_Tp cv_abs(_Tp x)
Definition: base.hpp:397
int niters() const
Definition: motion_core.hpp:92
@ CAP_PROP_XI_OUTPUT_DATA_PACKING_TYPE
Data packing type. Some cameras supports only specific packing type.
Definition: videoio.hpp:390
Buffer(Size asize, int atype, Target target=ARRAY_BUFFER, bool autoRelease=false)
@ woodenBoard
Definition: gr_skig.hpp:89
void finalShow()
Passes the control to the debug-window for a last time.
Definition: final_show.hpp:23
const Mat & const_param_type
Definition: core.hpp:3216
SrcPtr src
Definition: deriv.hpp:146
size_t * p
Definition: mat.hpp:595
Definition: edgeboxes.hpp:58
__device__ __forceinline__ float1 exp2(const uchar1 &a)
Definition: vec_math.hpp:240
@ CAP_PROP_XI_COLUMN_FPN_CORRECTION
Correction of column FPN.
Definition: videoio.hpp:464
std::vector< GArg > m_args
Definition: gplaidmlkernel.hpp:52
int flags
Definition: mat.hpp:2082
Definition: outlier_rejection.hpp:68
InputOutputArray noArray()
void classifySmooth(const std::vector< Mat > &image, float minMargin=0)
virtual NCVStatus dealloc(NCVMemSegment &seg)
virtual Ncv32u alignment() const
uint64_t UINT64
Definition: descriptor.hpp:63
virtual float getStepDecreasingPower() const =0
Parameter stepDecreasingPower of a SVMSGD optimization problem.
@ COLORMAP_TWILIGHT_SHIFTED
Definition: imgproc.hpp:4238
_OutputArray(const _Tp *vec, int n)
A complex number class.
Definition: types.hpp:75
void addCloud(InputArray cloud, const Color &color=Color::white(), const Affine3d &pose=Affine3d::Identity())
Adds a cloud to the collection.
int memoryBusWidth() const
global memory bus width in bits
virtual void unmap(UMatData *data) const
Ptr< Filter > createSeparableLinearFilter(int srcType, int dstType, InputArray rowKernel, InputArray columnKernel, Point anchor=Point(-1,-1), int rowBorderMode=BORDER_DEFAULT, int columnBorderMode=-1)
Creates a separable linear filter.
optional< typename std::decay< T >::type > make_optional(T &&value)
Definition: optional.hpp:171
Kernel & args(const _Tps &... kernel_args)
Setup OpenCL Kernel arguments. Avoid direct using of set(i, ...) methods.
Definition: ocl.hpp:429
virtual void process(InputArrayOfArrays src, OutputArray dst, InputArray times, InputArray response) CV_OVERRIDE=0
Merges images.
std::vector< GBackend > backends() const
Lists all backends which are included into package.
static float16_t zero()
Definition: cvdef.h:874
void setSigma(double value)
@ QT_CHECKBOX
Checkbox button.
Definition: highgui.hpp:249
int initMaxNegNum
Definition: tracker.hpp:789
bool computeSaliency(InputArray image, OutputArray saliencyMap)
Definition: saliencySpecializedClasses.hpp:133
__device__ __forceinline__ bool operator()(int, int) const
Definition: mask.hpp:62
virtual void render(OutputArray image, const Matx44f &cameraPose=Matx44f::eye()) const =0
Renders a volume into an image.
bool useInitialFlow
Definition: rlofflow.hpp:122
__host__ int type() const
float getScale() const CV_OVERRIDE
Definition: warpers.hpp:156
@ THRESH_OTSU
flag, use Otsu algorithm to choose the optimal threshold value
Definition: imgproc.hpp:323
const Mat getDescriptor(int imgIdx, int localDescIdx) const
size_t totalMemory() const
VideoCaptureAPIs
VideoCapture API backends identifier.
Definition: videoio.hpp:89
virtual void setAlpha(float alpha=0.7f)=0
Alpha is a parameter defining a global weight for transforming geodesic distance into weight.
virtual int getFixedPointIterations() const =0
Number of outer (fixed-point) iterations in the minimization procedure.
void getLocalIdx(int globalDescIdx, int &imgIdx, int &localDescIdx) const
virtual void setFrames(const std::vector< Mat > &val) CV_OVERRIDE
unsigned long tree_depth
tree_depth This stores the max height of the regression tree built.
Definition: face_alignment.hpp:23
virtual Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst)=0
Projects the image.
DetectorType
Definition: features2d.hpp:513
static MatAllocator * getAllocator(HostMem::AllocType alloc_type=HostMem::AllocType::PAGE_LOCKED)
int max_num_objects_in_track
Definition: tracking_by_matching.hpp:299
@ CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH
Definition: videoio.hpp:249
Optional parameter for fitting process.
Definition: facemarkAAM.hpp:81
@ COLORMAP_TURBO
Definition: imgproc.hpp:4239
void writeTextGraph(const String &model, const String &output)
Create a text representation for a binary network stored in protocol buffer format.
int maxSurfaceCubemap() const
maximum Cubemap surface dimensions
static Ptr< LMSolver > create(const Ptr< LMSolver::Callback > &cb, int maxIters)
int flags
Definition: ocl.hpp:379
virtual ~MotionSaliencyBinWangApr2014()
@ ENTITY_SCALE
Definition: ovis.hpp:50
std::string String
Definition: cvstd.hpp:150
@ DICT_7X7_50
Definition: dictionary.hpp:154
static const T & get(const cv::GArgs &in_args, int idx)
Definition: gfluidkernel.hpp:205
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 >())
int hal_ni_recip32f(const float *src_data, size_t src_step, float *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:280
std::vector< float > compute(const std::vector< cv::Mat > &descrs1, const std::vector< cv::Mat > &descrs2) override
Computes distances between two descriptors in batches.
void forEach(const Functor &operation) const
bool queryIfComplete() const
Returns true if the current stream queue is finished. Otherwise, it returns false.
static cv::Ptr< QuasiDenseStereo > create(cv::Size monoImgSize, cv::String paramFilepath=cv::String())
void setLargeWinSize(int val)
__device__ __forceinline__ uint vadd2(uint a, uint b)
Definition: simd_functions.hpp:136
@ block_size_x
Definition: split_merge.hpp:496
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: reduction.hpp:223
#define CV_MAT_DEPTH(flags)
Definition: interface.h:83
void swap(optional &other) noexcept
Definition: optional.hpp:159
std::shared_ptr< IImageDescriptor > Descriptor
Definition: tracking_by_matching.hpp:412
int neighborhoodSize
Definition: quasi_dense_stereo.hpp:50
void setSensorErrorC(double val)
Definition: depth.hpp:440
_OutputArray(cuda::HostMem &cuda_mem)
T thresh
Definition: functional.hpp:736
hashtable_int * hash_table
Definition: ppf_match_3d.hpp:152
__host__ BrdBase< BrdReplicate, typename PtrTraits< SrcPtr >::ptr_type > brdReplicate(const SrcPtr &src)
Definition: extrapolation.hpp:134
__host__ __device__ UnaryTupleAdapter< Op, n > unaryTupleAdapter(const Op &op)
Definition: tuple_adapter.hpp:71
Mat(Size size, int type, void *data, size_t step=AUTO_STEP)
virtual void setPointIdxToPrint(int pointIdx)=0
Sets the index of a point which coordinates will be printed on the top left corner of the plot (if Sh...
int meanShift(InputArray probImage, Rect &window, TermCriteria criteria)
Finds an object on a back projection image.
MouseButton button
Definition: types.hpp:323
#define CV_CUDEV_IMPLEMENT_VEC_BINARY_OP(op, input_type, output_type)
Definition: vec_math.hpp:397
@ OpenGlApiCallError
OpenGL API call error.
Definition: base.hpp:119
NCVStatus ncvHaarLoadFromFile_host(const cv::String &filename, HaarClassifierCascadeDescriptor &haar, NCVVector< HaarStage64 > &h_HaarStages, NCVVector< HaarClassifierNode128 > &h_HaarNodes, NCVVector< HaarFeature64 > &h_HaarFeatures)
OutputArray OutputArrayOfArrays
Definition: mat.hpp:440
static const Device & getDefault()
int refcount
Definition: mat.hpp:2678
virtual uchar * acquireBitStream(int *bufferSize)=0
Callback function to signal the start of bitstream that is to be encoded.
void mapBackward(float u, float v, float &x, float &y)
virtual ~DetectionBasedTracker()
Definition: gtype_traits.hpp:94
double getMaxPointsPart() const
Definition: depth.hpp:699
@ DICT_7X7_1000
Definition: dictionary.hpp:157
void clear() CV_OVERRIDE
Implements Algorithm::clear()
Definition: qualitygmsd.hpp:34
void setFullScreen(bool mode=true)
Sets or unsets full-screen rendering mode.
Class that manages the sampler in order to select regions for the update the model of the tracker [AA...
Definition: tracker.hpp:259
void waveCorrect(std::vector< Mat > &rmats, WaveCorrectKind kind)
Tries to make panorama more horizontal (or vertical).
void mul32f(const float *src1, size_t step1, const float *src2, size_t step2, float *dst, size_t step, int width, int height, void *scale)
This 3D Widget defines a cone. :
Definition: widgets.hpp:331
virtual void radiusMatchConvert(InputArray gpu_matches, std::vector< std::vector< DMatch > > &matches, bool compactResult=false)=0
Converts matches array from internal representation to standard matches vector.
__host__ __device__ ThreshBinaryInvFunc< T > thresh_binary_inv_func(T thresh, T maxVal)
Definition: functional.hpp:726
Base interface for sparse optical flow algorithms.
Definition: cudaoptflow.hpp:86
std::string name
Definition: is_bsds.hpp:62
Ncv32f pos
new frame position
Definition: NPP_staging.hpp:118
void randn(InputOutputArray dst, InputArray mean, InputArray stddev)
Fills the array with normally distributed random numbers.
Definition: descriptor.hpp:250
@ COLOR_BayerBG2GRAY
Definition: imgproc.hpp:749
Definition: tr_icdar.hpp:61
virtual void setOuterIterations(int outer_iterations)=0
void estimateUncertainties(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints, InputArray parameters, Mat &errors, Vec2d &std_error, double &rms, int flags)
int desc_npca
non-compressed descriptors of TrackerKCF::MODE
Definition: tracker.hpp:1257
void setNrGainsFilteringIterations(int nr_iterations)
Definition: exposure_compensate.hpp:171
InferBbox(Mat _delta_bbox, Mat _class_scores, Mat _conf_scores)
Default constructer.
size_t atFrameSize(size_t i) const
Definition: container_avi.private.hpp:174
const plaidml::edsl::Tensor & inTensor(int input)
Definition: gplaidmlkernel.hpp:42
MatIterator_(Mat_< _Tp > *_m)
constructor that sets the iterator to the beginning of the matrix
AutoBuffer(size_t _size)
constructor taking the real buffer size
int ProfileLevel
NVVE_PROFILE_LEVEL,.
Definition: cudacodec.hpp:97
virtual void setMinBoxArea(float value)=0
Sets the minimum area of boxes.
Matx33f intr
camera intrinsics
Definition: dynafu.hpp:33
Size & operator+=(Size &lhs, const Size &rhs)
Definition: types.hpp:107
__device__ __forceinline__ uint vavg2(uint a, uint b)
Definition: simd_functions.hpp:205
QualityPSNR(Ptr< QualityMSE > qualityMSE, double maxPixelValue)
Constructor.
Definition: qualitypsnr.hpp:95
void setOpenGlContext(const String &winname)
Sets the specified window as current OpenGL context.
finds arbitrary template in the grayscale image using Generalized Hough Transform
Definition: imgproc.hpp:894
Definition: msm_epfl.hpp:78
void setTermCriteria(const TermCriteria &term_criteria)
Definition: motion_estimators.hpp:147
int hal_ni_add32f(const float *src1_data, size_t src1_step, const float *src2_data, size_t src2_step, float *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:81
Graph(int num_vertices=0)
Definition: util.hpp:88
@ CAP_PROP_XI_GAMMAC
Chromaticity gamma.
Definition: videoio.hpp:403
@ COLOR_RGB2HLS_FULL
Definition: imgproc.hpp:609
Definition: deriv.hpp:142
virtual int getMaxNumObjects() const =0
Vec< short, 4 > Vec4s
Definition: matx.hpp:406
virtual void load(const std::string &path) CV_OVERRIDE=0
#define CV_CUDEV_RGB2YUV_INST(name, scn, dcn, bidx)
Definition: color_cvt.hpp:101
@ DIST_L2
the simple euclidean distance
Definition: imgproc.hpp:299
virtual TermCriteria getTermCriteria() const =0
void nms_wrapper(std::vector< std::vector< double > > &top_n_boxes, std::vector< size_t > &top_n_idxs, std::vector< double > &top_n_probs)
Wrapper to apply Non-Maximal Supression.
Inverse camera response function is extracted for each brightness value by minimizing an objective fu...
Definition: photo.hpp:578
static void showImage(cv::InputArray img, impl::CallMetaData metaData=impl::CallMetaData(), const char *description=nullptr, const char *view=nullptr)
Add a single image to debug GUI (similar to imshow <>).
Definition: show_image.hpp:38
void pyrDown(InputArray src, OutputArray dst, Stream &stream=Stream::Null())
Smoothes an image and downsamples it.
bool calibrateRotatingCamera(const std::vector< Mat > &Hs, Mat &K)
void watershed(InputArray image, InputOutputArray markers)
Performs a marker-based image segmentation using the watershed algorithm.
bool read(const FileNode &node)
Reads a classifier from a FileStorage node.
#define _v512_set_epu64(a7, a6, a5, a4, a3, a2, a1, a0)
Definition: intrin_avx512.hpp:20
virtual void setSuperpixelMode(int mode=100)=0
Parameter to choose superpixel algorithm variant to use:
Definition: functional.hpp:311
cuda::HostMem & getHostMemRef() const
P projector_
Definition: warpers.hpp:168
#define CV_CREATE_MEMBER_CHECK(X)
Definition: traits.hpp:360
Matx(_Tp v0, _Tp v1, _Tp v2, _Tp v3)
1x4, 2x2 or 4x1 matrix
uchar4 type
Definition: vec_traits.hpp:84
CombinedDescriptor(int w, int h, int stride, int k2, int **distance, Kernel kernel, int k2Stop)
Definition: descriptor.hpp:207
ChArUco board Specific class for ChArUco boards. A ChArUco board is a planar board where the markers ...
Definition: charuco.hpp:62
int radius_
Definition: deblurring.hpp:84
double workScale() const
Definition: stitching.hpp:290
NppStInterpMode
Definition: NPP_staging.hpp:101
Ptr< cudacodec::VideoWriter > createVideoWriter(const String &fileName, Size frameSize, double fps, SurfaceFormat format=SF_BGR)
Creates video writer.
@ GC_EVAL_FREEZE_MODEL
Definition: imgproc.hpp:360
static constexpr const char * id()
Definition: infer.hpp:84
MeanKernelIntegralImage(const cv::Mat &image, int window, float scale, int *cost)
Definition: descriptor.hpp:257
@ CALIB_FIX_S1_S2_S3_S4
Definition: calib3d.hpp:282
MapXPtr mapx
Definition: remap.hpp:81
bool empty() const
returns true if GpuMat data is NULL
@ BORDER_CONSTANT
iiiiii|abcdefgh|iiiiiii with some specified i
Definition: base.hpp:269
void max8u(const uchar *src1, size_t step1, const uchar *src2, size_t step2, uchar *dst, size_t step, int width, int height, void *)
virtual bool compute(InputArray param, OutputArray err, OutputArray J) const =0
void setParams(int radius, float stdev=-1.f)
virtual int getHistory() const =0
Returns the number of last frames that affect the background model.
static cv::gapi::GBackend backend()
Definition: gplaidmlkernel.hpp:132
virtual void setBinaryKernelType(int value)=0
virtual void releaseBitStream(unsigned char *data, int size)=0
Callback function to signal that the encoded bitstream is ready to be written to file.
void pHash(cv::InputArray inputArr, cv::OutputArray outputArr)
Computes pHash value of the input image.
void singleFeed(const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< std::pair< UMat, uchar > > &masks)
void unmapGLBuffer(UMat &u)
Unmaps Buffer object (releases UMat, previously mapped from Buffer).
__host__ Expr< RemapPtr1Sz< typename PtrTraits< SrcPtr >::ptr_type, PerspectiveMapPtr > > warpPerspective_(const SrcPtr &src, Size dstSize, const GpuMat_< float > &warpMat)
Definition: warping.hpp:101
void addWeighted32f(const float *src1, size_t step1, const float *src2, size_t step2, float *dst, size_t step, int width, int height, void *scalars)
Op op
Definition: tuple_adapter.hpp:82
bool isExtensionSupported(const String &extensionName) const
virtual bool read(const FileNode &node) CV_OVERRIDE
bool truncated
Definition: or_pascal.hpp:71
bool parseAviWithFrameList(frame_list &in_frame_list, Codecs codec_)
static MatExpr min(const Mat &a, const Matx< _Tp, m, n > &b)
Definition: mat.hpp:3690
@ block_size_x
Definition: copy.hpp:352
virtual void setScale(float scale)=0
virtual int getNumLevels() const =0
datasetType
Definition: hpe_humaneva.hpp:72
size_t length
Definition: tracking_by_matching.hpp:389
DeviceInfo()
creates DeviceInfo object for the current GPU
void costGathering(const Mat &hammingDistanceCost, Mat &cost)
Definition: matching.hpp:423
virtual void clear() CV_OVERRIDE
Clears the train descriptor collections.
virtual float getAlpha() const =0
Weight of the smoothness term.
void div32f(const float *src1, size_t step1, const float *src2, size_t step2, float *dst, size_t step, int width, int height, void *scale)
Class refining a disparity map using joint bilateral filtering. :
Definition: cudastereo.hpp:252
Definition: gfluidkernel.hpp:339
Ptr< Layer >(* Constructor)(LayerParams ¶ms)
Each Layer class must provide this function to the factory.
Definition: layer.hpp:61
#define CV_CUDEV_IMPLEMENT_VEC_UNARY_OP(op, input_type, output_type)
Definition: vec_math.hpp:138
virtual void setSmoothingRadius(int radius)=0
Sets the kernel radius used for morphological operations.
virtual void setMotions(const std::vector< Mat > &val) CV_OVERRIDE
bool parseHdrlList(Codecs codec_)
void deleteEdge(int edge)
#define OPENCV_HAL_IMPL_BIT_OP(bit_op)
Helper macro.
Definition: intrin_cpp.hpp:446
UIImage * MatToUIImage(const cv::Mat &image)
virtual float operator()(int varIdx, int sampleIdx) CV_OVERRIDE
Definition: feature.hpp:333
CylindricalWarper(float scale)
Construct an instance of the cylindrical warper class.
Definition: warpers.hpp:317
void pyrMeanShiftFiltering(InputArray src, OutputArray dst, double sp, double sr, int maxLevel=1, TermCriteria termcrit=TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 5, 1))
Performs initial step of meanshift segmentation of an image.
void convertFp16(InputArray src, OutputArray dst)
Converts an array to half precision floating number.
virtual ~ClassifierCallback()
Definition: ocr.hpp:409
void fillConstraints(float *A1, float *A2, float *b1, float *b2) const
static __host__ int getRows(const Ptr2DSz &ptr)
Definition: traits.hpp:69
virtual bool getRandom() const =0
void v_pack_u_store(uchar *ptr, const v_int16x8 &a)
Definition: intrin_cpp.hpp:2346
Definition: msm_epfl.hpp:70
@ GPC_DESCRIPTOR_DCT
Better quality but slow.
Definition: sparse_matching_gpc.hpp:92
virtual void setUseTimstampsDim(bool use=true)=0
Specifies either interpret first dimension of input blob as timestamp dimenion either as sample.
std::string filename
Definition: pd_inria.hpp:69
int rows
the number of rows and columns
Definition: cuda.hpp:320
static const char * tag()
Definition: infer.hpp:223
String symbol
Definition: types.hpp:298
virtual void stabilize(int size, const std::vector< Mat > &motions, std::pair< int, int > range, Mat *stabilizationMotions) CV_OVERRIDE
assumes that [0, size-1) is in or equals to [range.first, range.second)
v_reg< _Tp, n > & operator|=(v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Definition: intrin_cpp.hpp:475
virtual void setAnnealEnergyRNG(const RNG &rng)=0
Set/initialize anneal RNG.
Mat clone() const CV_NODISCARD
Creates a full copy of the array and the underlying data.
Definition: reduce_to_vec.hpp:110
virtual void setMinEigThreshold(double minEigThreshold)=0
Definition: facemarkAAM.hpp:115
virtual int getRegularization() const =0
Rect(int _x, int _y, int _width, int _height)
Definition: types.hpp:35
void markDeviceCopyObsolete(bool flag)
float hcellsSpatialConstant
Definition: retina.hpp:162
@ block_size_y
Definition: reduce.hpp:297
Vec(const Matx< _Tp, cn, 1 > &a, _T2 alpha, Matx_ScaleOp)
@ DYNAMIC_PARALLELISM
Definition: cuda.hpp:784
uchar * data
Definition: mat.hpp:558
bool setBreakOnError(bool flag)
Sets/resets the break-on-error mode.
int getWindowSize() const
Definition: depth.hpp:140
double Wz
Definition: gr_chalearn.hpp:67
std::string age
Definition: fr_adience.hpp:72
int hal_ni_merge64s(const int64 **src_data, int64 *dst_data, int len, int cn)
Definition: hal_replacement.hpp:369
Mat_(const Mat_ &m, const Rect &roi)
selects a submatrix
@ RGBD_PLANE_METHOD_DEFAULT
Definition: depth.hpp:333
LineIterator(const Mat &img, Point pt1, Point pt2, int connectivity=8, bool leftToRight=false)
initializes the iterator
double getTotalMs() const
Definition: instrumentation.hpp:92
void throw_error(ExceptionType &&e)
Definition: throw.hpp:23
bool checkChessboard(InputArray img, Size size)
virtual void setType(AgastFeatureDetector::DetectorType type)=0
@ DICT_5X5_1000
Definition: dictionary.hpp:149
__host__ __device__ static __forceinline__ char4 all(schar v)
Definition: vec_traits.hpp:178
Adds extra values for specific axes.
Definition: all_layers.hpp:418
_Tp * operator[](int y)
more convenient forms of row and element access operators
TrackerSampler based on CSC (current state centered), used by MIL algorithm TrackerMIL.
Definition: tracker.hpp:772
void initUndistortRectifyMap(InputArray K, InputArray D, InputArray xi, InputArray R, InputArray P, const cv::Size &size, int mltype, OutputArray map1, OutputArray map2, int flags)
Computes undistortion and rectification maps for omnidirectional camera image transform by a rotation...
IplMagnoParameters IplMagno
Definition: retina.hpp:179
Class computing stereo correspondence using the belief propagation algorithm. :
Definition: cudastereo.hpp:129
static Ptr< SVM > create()
void setWindowSize(const Size &window_size)
static float DEFAULT_MIN_DEPTH()
Definition: depth.hpp:534
__device__ __forceinline__ T operator()(int, int) const
Definition: constant.hpp:64
__device__ static __forceinline__ T result(T r, float sz)
Definition: reduce_to_vec.hpp:99
@ CAP_PROP_TEMPERATURE
Definition: videoio.hpp:156
void setInput(const Ptr< FrameSource > &frameSource)
Set input frame source for Super Resolution algorithm.
virtual double getBackgroundRatio() const =0
HostMem(InputArray arr, HostMem::AllocType alloc_type=HostMem::AllocType::PAGE_LOCKED)
creates from host memory with coping data
float squareSize
Distance between two adjacent points. Used by CALIB_CB_CLUSTERING.
Definition: calib3d.hpp:1323
int tree_n
number of tree in the model for each landmark point refinement
Definition: facemarkLBF.hpp:72
MatExpr operator*(const Mat &a, const Mat &b)
virtual void setTextureThreshold(int textureThreshold)=0
std::string model_path
Definition: ie.hpp:46
@ COLOR_YUV2BGRA_UYNV
Definition: imgproc.hpp:690
virtual Mat getErrorCov() const =0
The class discriminates between foreground and background pixels by building and maintaining a model ...
Definition: cudalegacy.hpp:145
virtual void setPass2Only(bool f)=0
DnnSuperResImpl()
Empty constructor.
@ COLORMAP_OCEAN
Definition: imgproc.hpp:4224
@ EVENT_LBUTTONDBLCLK
indicates that left mouse button is double clicked.
Definition: highgui.hpp:213
@ RGBD_NORMALS_METHOD_FALS
Definition: depth.hpp:78
TrackerMILTargetState(const Point2f &position, int width, int height, bool foreground, const Mat &features)
Constructor.
virtual double getShadowThreshold() const =0
Returns the shadow threshold.
virtual void setScaleStep(double scaleStep)=0
Scale step.
Mat AA
gray values from all erorded face region in the dataset, projected in PCA space
Definition: facemarkAAM.hpp:123
int getNearestPoint(const std::vector< Point2f > &recallPrecisionCurve, float l_precision)
_Tp dot(const Matx< _Tp, m, n > &v) const
dot product computed with the default precision
virtual double getEpsilon() const =0
int executionCapabilities() const
@ COLOR_BGR5652RGBA
Definition: imgproc.hpp:558
DepthNormal(int distance_threshold, int difference_threshold, size_t num_features, int extract_threshold)
Constructor.
Interface for video demultiplexing. :
Definition: cudacodec.hpp:317
std::vector< Mat > stabilizedFrames_
Definition: stabilizer.hpp:137
std::vector< Point > corners_
Definition: seam_finders.hpp:102
Definition: all_layers.hpp:454
__host__ void gridTransformUnary_(const SrcPtr &src, GpuMat_< DstType > &dst, const UnOp &op, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: transform.hpp:64
void setTrainingPath(const String &trainingPath)
This is a utility function that allows to set the correct path from which the algorithm will load the...
FLAGS
Definition: instrumentation.hpp:109
void covarianceEstimation(InputArray src, OutputArray dst, int windowRows, int windowCols)
Computes the estimated covariance matrix of an image using the sliding window forumlation.
double getSensorErrorB() const
Definition: depth.hpp:428
int hal_ni_boxFilter(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int src_depth, int dst_depth, int cn, int margin_left, int margin_top, int margin_right, int margin_bottom, size_t ksize_width, size_t ksize_height, int anchor_x, int anchor_y, bool normalize, int border_type)
Calculate box filter.
Definition: hal_replacement.hpp:680
virtual void setVariationalRefinementAlpha(float val)=0
Weight of the smoothness term.
@ SOFT_MARGIN
General case, suits to the case of non-linearly separable sets, allows outliers.
Definition: ml.hpp:1802
virtual bool getTruncatePrunedTree() const =0
@ COLOR_YUV2RGB_I420
Definition: imgproc.hpp:650
virtual void setGridX(int val)=0
float convexHullFactor
Definition: calib3d.hpp:1314
void selectROIs(const String &windowName, InputArray img, std::vector< Rect > &boundingBoxes, bool showCrosshair=true, bool fromCenter=false)
Selects ROIs on the given image. Function creates a window and allows user to select a ROIs using mou...
cv::UMat & r
Definition: goclkernel.hpp:123
MatExpr mul(const MatExpr &e, double scale=1) const
static Scalar_< double > all(double v0)
returns a scalar with all elements set to v0
virtual void predict(InputArray src, Ptr< PredictCollector > collector) const =0
if implemented - send all result of prediction to collector that can be used for somehow custom resul...
Definition: sr_div2k.hpp:29
float area_height
Definition: interpolation.hpp:300
Definition: extrapolation.hpp:198
bool initContainer(const String &filename, double fps, Size size, bool iscolor)
double val[4]
Definition: scalar.hpp:35
void apply(cv::Mat in, cv::Mat &out, GCompileArgs &&args={})
Execute an unary computation (with compilation on the fly)
virtual float getAlpha() const =0
Alpha is a parameter defining a global weight for transforming geodesic distance into weight.
__device__ __forceinline__ uint vsetle2(uint a, uint b)
Definition: simd_functions.hpp:359
int hal_ni_medianBlur(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int cn, int ksize)
Calculate medianBlur filter.
Definition: hal_replacement.hpp:627
v_reg< _Tp, n > v_min(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Choose min values for each pair.
Definition: intrin_cpp.hpp:576
void gradient(const cv::Mat &img1, const cv::Mat &img2, cv::Mat &Ix, cv::Mat &Iy, cv::Mat &It) const
virtual float predictProb(InputArray inputs, OutputArray outputs, OutputArray outputProbs, int flags=0) const =0
Predicts the response for sample(s).
OpenCV's VideoCapture-based streaming source.
Definition: cap.hpp:46
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.
virtual void setMotionModel(MotionModel val) CV_OVERRIDE
Definition: global_motion.hpp:214
void classify(InputArray frame, int &classId, float &conf)
__device__ __forceinline__ MakeVec< uchar, VecTraits< T >::cn >::type operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:197
GpuMat clone() const
returns deep copy of the GpuMat, i.e. the data is copied
void setMode(int samplingMode)
Set the sampling mode of TrackerSamplerCS.
__device__ __forceinline__ float1 exp10(const uchar1 &a)
Definition: vec_math.hpp:249
static Ptr< cuda::CascadeClassifier > create(const String &filename)
Loads the classifier from a file. Cascade type is detected automatically by constructor parameter.
void setPreferableTarget(int targetId)
Ask network to make computations on specific target device.
Point2f getStartPointInOctave() const
Definition: descriptor.hpp:156
cv::String getConfigurationParameterString(const char *name, const char *defaultValue)
Modality that computes quantized gradient orientations from a color image.
Definition: linemod.hpp:167
static Ptr< GPCTrainingSamples > create(InputArrayOfArrays imagesFrom, InputArrayOfArrays imagesTo, InputArrayOfArrays gt, int descriptorType)
@ CAP_DSHOW
DirectShow (via videoInput)
Definition: videoio.hpp:101
virtual int getMaxRadius() const =0
InnerParameters innerParameters
Definition: detection_based_tracker.hpp:179
bool getExceptionMode()
query if exception mode is active
Definition: videoio.hpp:797
void read(const String &fileName)
Definition: features2d.hpp:1018
void v_mul_expand(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b, v_reg< typename V_TypeTraits< _Tp >::w_type, n/2 > &c, v_reg< typename V_TypeTraits< _Tp >::w_type, n/2 > &d)
Multiply and expand.
Definition: intrin_cpp.hpp:1027
int chan
Definition: gmat.hpp:83
virtual void setMotions(const std::vector< Mat > &val)
Definition: inpainting.hpp:84
detail::WaveCorrectKind waveCorrectKind() const
Definition: stitching.hpp:204
Definition: warpers.hpp:200
Point2d phaseCorrelate(InputArray src1, InputArray src2, InputArray window=noArray(), double *response=0)
The function is used to detect translational shifts that occur between two images.
__device__ __forceinline__ ushort saturate_cast< ushort >(schar v)
Definition: saturate_cast.hpp:156
@ CAP_PROP_XI_LIMIT_BANDWIDTH
Set/get bandwidth(datarate)(in Megabits).
Definition: videoio.hpp:385
virtual void process(InputArrayOfArrays src, std::vector< Mat > &dst, InputArray times, InputArray response)=0
Aligns images.
@ NPPST_MEM_INSUFFICIENT_BUFFER
Insufficient user-allocated buffer.
Definition: NCV.hpp:368
Definition: functional.hpp:792
String getText() const
Returns the current text content of the widget.
virtual void calc(InputArray I0, InputArray I1, InputOutputArray flow, Stream &stream=Stream::Null())=0
Calculates a dense optical flow.
int numDetectedFrames
Definition: detection_based_tracker.hpp:187
util::any opaque
Definition: gkernel.hpp:47
@ IMWRITE_EXR_TYPE_FLOAT
store as FP32 (default)
Definition: imgcodecs.hpp:105
virtual void computePhaseMap(InputArrayOfArrays patternImages, OutputArray wrappedPhaseMap, OutputArray shadowMask=noArray(), InputArray fundamental=noArray())=0
Compute a wrapped phase map from sinusoidal patterns.
Definition: objdetect.hpp:208
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.
std::vector< ConfidenceMap > confidenceMaps
Definition: tracker.hpp:509
void prepare(Rect dst_roi) CV_OVERRIDE
~Net()
Destructor frees the net only if there aren't references to the net anymore.
int dy
Definition: fr_adience.hpp:77
@ EVENT_FLAG_RBUTTON
indicates that the right mouse button is down.
Definition: highgui.hpp:223
virtual void setGradientDescentIterations(int val)=0
Maximum number of gradient descent iterations in the patch inverse search stage. Higher values may im...
@ COLOR_YUV2GRAY_YUNV
Definition: imgproc.hpp:717
@ GEMM_3_T
transposes src3
Definition: base.hpp:222
virtual void compute(InputArray image, OutputArray features) const =0
@ NCV_INVALID_SCALE
Definition: NCV.hpp:330
schar elem_type
Definition: vec_traits.hpp:144
@ COLOR_HLS2RGB
Definition: imgproc.hpp:604
static const char * tag()
Definition: gfluidkernel.hpp:153
Vec< int, 2 > Vec2i
Definition: matx.hpp:412
cv::Point pt2
The second point of the line segment.
Definition: render.hpp:270
virtual double getPyramidScaleFactor() const =0
virtual Ptr< RLOFOpticalFlowParameter > getRLOFOpticalFlowParameter() const =0
Configuration of the RLOF alogrithm.
virtual int getNrPlane() const =0
number of active disparity on the first level
void calcSqrSum(InputArray src, OutputArray dst, InputArray mask=noArray(), Stream &stream=Stream::Null())
static __host__ int getCols(const Expr< Body > &expr)
Definition: expr.hpp:87
virtual void match(InputArray queryDescriptors, std::vector< DMatch > &matches, const std::vector< GpuMat > &masks=std::vector< GpuMat >())=0
_Tp value_type
Definition: types.hpp:318
int checkOptimalVectorWidth(const int *vectorWidths, InputArray src1, InputArray src2=noArray(), InputArray src3=noArray(), InputArray src4=noArray(), InputArray src5=noArray(), InputArray src6=noArray(), InputArray src7=noArray(), InputArray src8=noArray(), InputArray src9=noArray(), OclVectorStrategy strat=OCL_VECTOR_DEFAULT)
Mat transPCCoeff(Mat pc, float scale, float Cx, float Cy, float Cz, float MinVal, float MaxVal)
int v_signmask(const v_reg< _Tp, n > &a)
Get negative values mask.
Definition: intrin_cpp.hpp:1194
virtual void setFlags(int flags)=0
void dumpToFile(const String &path)
Dump net structure, hyperparameters, backend, target and fusion to dot file.
static Ptr< Params > coarseParams()
Coarse parameters A set of parameters which provides better speed, can fail to match frames in case o...
GPCMatchingParams(const GPCMatchingParams ¶ms)
Definition: sparse_matching_gpc.hpp:149
virtual void setNMixtures(int nmix)=0
void illuminationChange(InputArray src, InputArray mask, OutputArray dst, float alpha=0.2f, float beta=0.4f)
Applying an appropriate non-linear transformation to the gradient field inside the selection and then...
uchar * origdata
Definition: mat.hpp:559
~TrackerFeatureHAAR() CV_OVERRIDE
bool isInf() const
Inf state indicator.
Definition: softfloat.hpp:307
@ COLOR_YUV2GRAY_420
Definition: imgproc.hpp:664
void setImage(InputArray image)
Sets the image content of the widget.
__device__ __forceinline__ float1 tan(const uchar1 &a)
Definition: vec_math.hpp:303
static softfloat nan()
Default NaN constant.
Definition: softfloat.hpp:208
virtual void radiusMatchAsync(InputArray queryDescriptors, InputArray trainDescriptors, OutputArray matches, float maxDistance, InputArray mask=noArray(), Stream &stream=Stream::Null())=0
For each query descriptor, finds the training descriptors not farther than the specified distance (as...
virtual Mat generateMask(const Mat &src)=0
@ COLOR_BayerGB2GRAY
Definition: imgproc.hpp:750
std::pair< int, float > classify(InputArray frame)
Given the input frame, create input blob, run net and return top-1 prediction.
static Ptr< Stitcher > create(Mode mode=Stitcher::PANORAMA)
Creates a Stitcher configured in one of the stitching modes.
SphericalWarper(float scale)
Construct an instance of the spherical warper class.
Definition: warpers.hpp:292
@ COLOR_BGR2Luv
convert RGB/BGR to CIE Luv, color conversions
Definition: imgproc.hpp:591
int getImageWidth() const
Definition: saliencySpecializedClasses.hpp:92
void setMinEigenValue(float val)
virtual double getMaxDiscTerm() const =0
truncation of discontinuity cost
NAryMatIterator(const Mat **arrays, Mat *planes, int narrays=-1)
the full constructor taking arbitrary number of n-dim matrices
Pose3D()
Definition: pose_3d.hpp:73
virtual int getFlags() const =0
Ptr< Filter > createLaplacianFilter(int srcType, int dstType, int ksize=1, double scale=1, int borderMode=BORDER_DEFAULT, Scalar borderVal=Scalar::all(0))
Creates a Laplacian operator.
Warper that maps an image onto the x*x + z*z = 1 cylinder.
Definition: warpers.hpp:311
void insert(const std::vector< Point2f > &ptvec)
Insert multiple points into a Delaunay triangulation.
_OutputArray(std::vector< Mat > &vec)
void setMinObjectSize(const cv::Size &min)
Definition: detection_based_tracker.hpp:80
@ IMWRITE_JPEG_PROGRESSIVE
Enable JPEG features, 0 or 1, default is False.
Definition: imgcodecs.hpp:83
Definition: detection_based_tracker.hpp:166
softfloat setSign(bool sign) const
Construct a copy with new sign bit.
Definition: softfloat.hpp:177
Interface for realizations of Domain Transform filter.
Definition: edge_filter.hpp:67
void addCloud(InputArray cloud, InputArray colors, const Affine3d &pose=Affine3d::Identity())
Adds a cloud to the collection.
void findMinMax(InputArray src, OutputArray dst, InputArray mask=noArray(), Stream &stream=Stream::Null())
virtual bool getDetectShadows() const =0
Returns the shadow detection flag.
void getLayerShapes(const MatShape &netInputShape, const int layerId, std::vector< MatShape > &inLayerShapes, std::vector< MatShape > &outLayerShapes) const
Returns input and output shapes for layer with specified id in loaded model; preliminary inferencing ...
@ value
Definition: type_traits.hpp:80
@ WND_PROP_AUTOSIZE
autosize property (can be WINDOW_NORMAL or WINDOW_AUTOSIZE).
Definition: highgui.hpp:197
void enqueueHostCallback(StreamCallback callback, void *userData)
Adds a callback to be called on the host after all currently enqueued items in the stream have comple...
@ MATERIAL_TEXTURE0
Definition: ovis.hpp:40
int hal_ni_absdiff8s(const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, schar *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:131
virtual size_t getBlockHistogramSize() const =0
Returns the block histogram size.
GpuMat reshape(int cn, int rows=0) const
Definition: reduction.hpp:87
virtual void read(const FileNode &) CV_OVERRIDE
Reads algorithm parameters from a file storage.
void construct(pointer p, const _Tp &v)
Definition: cvstd.hpp:135
@ VAR_CATEGORICAL
categorical variables
Definition: ml.hpp:85
virtual int getBlockSize() const =0
_OutputArray(ogl::Buffer &buf)
virtual bool getBlurForDescriptor() const =0
Definition: onlineMIL.hpp:91
Size poolPad
Definition: all_layers.hpp:537
void convertToVASurface(VADisplay display, InputArray src, VASurfaceID surface, Size size)
Converts InputArray to VASurfaceID object.
const Queue & getProfilingQueue() const
Returns OpenCL command queue with enable profiling mode support.
Definition: descriptor.hpp:102
std::pair< cv::Rect, int > Object
Definition: detection_based_tracker.hpp:134
@ COLOR_BayerRG2RGB_MHT
Definition: cudaimgproc.hpp:102
void demosaicing(InputArray src, OutputArray dst, int code, int dstCn=0)
main function for all demosaicing processes
Definition: type_traits.hpp:107
RotatedRect()
default constructor
virtual void init(const CvFeatureParams &fp) CV_OVERRIDE
__host__ GpuMat_(const GpuMat_ &m, Rect roi)
static gapi::fluid::BorderOpt get_border_impl(const GMetaArgs &metas, const cv::GArgs &in_args, cv::detail::Seq< IIs... >)
Definition: gfluidkernel.hpp:268
int index_type
Definition: deriv.hpp:64
NCVStatus nppiStTranspose_128_C1R_host(void *d_src, Ncv32u srcStep, void *d_dst, Ncv32u dstStep, NcvSize32u srcRoi)
Mat sampled_pc
Definition: ppf_match_3d.hpp:150
int hal_ni_add16u(const ushort *src1_data, size_t src1_step, const ushort *src2_data, size_t src2_step, ushort *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:78
Size frameSize() const
Definition: motion_stabilizing.hpp:126
void displayStatusBar(const String &winname, const String &text, int delayms=0)
Displays a text on the window statusbar during the specified period of time.
static Mat subspaceReconstruct(InputArray W, InputArray mean, InputArray src)
float2 value_type
Definition: warping.hpp:63
@ CAP_PROP_XI_ACQ_FRAME_BURST_COUNT
Sets number of frames acquired by burst. This burst is used only if trigger is set to FrameBurstStart...
Definition: videoio.hpp:423
@ EVENT_FLAG_CTRLKEY
indicates that CTRL Key is pressed.
Definition: highgui.hpp:225
const std::string name
Definition: gkernel.hpp:38
Abstract class that represents the model of the target. It must be instantiated by specialized tracke...
Definition: tracker.hpp:447
virtual cv::TermCriteria getTermCriteria() const =0
__device__ static __forceinline__ int idx_high(int i, int len)
Definition: extrapolation.hpp:127
#define CV_DbgCheckLT(v1, v2, msg)
Definition: check.hpp:144
@ DECODE_3D_UNDERWORLD
Kyriakos Herakleous, Charalambos Poullis. "3DUNDERWORLD-SLS: An Open-Source Structured-Light Scanning...
Definition: structured_light.hpp:56
GainCompensator(int nr_feeds)
Definition: exposure_compensate.hpp:117
int symEdge(int edge) const
MatExpr(const MatOp *_op, int _flags, const Mat &_a=Mat(), const Mat &_b=Mat(), const Mat &_c=Mat(), double _alpha=1, double _beta=1, const Scalar &_s=Scalar())
virtual void getPoints(OutputArray points) const =0
Gets points of current 3d mesh.
static Ptr< MSER > create(int _delta=5, int _min_area=60, int _max_area=14400, double _max_variation=0.25, double _min_diversity=.2, int _max_evolution=200, double _area_threshold=1.01, double _min_margin=0.003, int _edge_blur_size=5)
Full consturctor for MSER detector.
@ OEM_TESSERACT_CUBE_COMBINED
Definition: ocr.hpp:87
Ptr< detail::RotationWarper > create(float scale) const CV_OVERRIDE
Definition: warpers.hpp:196
static void call(GOCLContext &ctx)
Definition: goclkernel.hpp:219
void read(const FileNode &node, double &value, double default_value)
void add16u(const ushort *src1, size_t step1, const ushort *src2, size_t step2, ushort *dst, size_t step, int width, int height, void *)
__device__ __forceinline__ float1 log(const uchar1 &a)
Definition: vec_math.hpp:258
scalar_wrapper(cv::gapi::own::Scalar &s)
Definition: gcpukernel.hpp:178
@ DECOMP_SVD
Definition: base.hpp:138
Mesh readMesh(const String &file)
Reads mesh. Only ply format is supported now and no texture load support.
bool operator==(const util::monostate &, const util::monostate &)
Definition: variant.hpp:63
Matx(const Matx< _Tp, m, n > &a, const Matx< _Tp, m, n > &b, Matx_DivOp)
std::vector< int > feats_m
Definition: facemarkLBF.hpp:84
void mapBackward(float u, float v, float &x, float &y)
const std::vector< Template > & getTemplates(const String &class_id, int template_id) const
Get the template pyramid identified by template_id.
T work_type
Definition: reduce_to_vec.hpp:67
DictValue(bool i)
Constructs integer scalar.
Definition: dict.hpp:63
virtual ~EncoderCallBack()
Definition: cudacodec.hpp:140
double compare(cv::InputArray hashOne, cv::InputArray hashTwo) const
Compare the hash value between inOne and inTwo.
BundleAdjusterReproj()
Definition: motion_estimators.hpp:248
void getMemoryConsumption(const int layerId, const std::vector< MatShape > &netInputShapes, size_t &weights, size_t &blobs) const
v_reg< _Tp, n > v_mul_hi(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Multiply and extract high part.
Definition: intrin_cpp.hpp:1044
Point2f targetPosition
Definition: tracker.hpp:373
virtual void load(const std::string &path) CV_OVERRIDE=0
Dataset()
Definition: dataset.hpp:567
bool operator<(const DMatch &m) const
v_reg< _Tp, n > v_interleave_pairs(const v_reg< _Tp, n > &vec)
Definition: intrin_cpp.hpp:2063
virtual void detect(InputArray inputImage, std::vector< Rect > &Bbox, std::vector< float > &confidence) CV_OVERRIDE=0
virtual void setUse1SERule(bool val)=0
RGBD_NORMALS_METHOD
Definition: depth.hpp:77
virtual void setShadowValue(int value)=0
Sets the shadow value.
Matx< _Tp, m, n > mat_type
Definition: matx.hpp:114
static softdouble one()
One constant.
Definition: softfloat.hpp:352
The class defining termination criteria for iterative algorithms.
Definition: types.hpp:853
virtual ~TLSDataContainer()
TrackerAdaBoostingTargetState(const Point2f &position, int width, int height, bool foreground, const Mat &responses)
Constructor.
__host__ GpuMat_ col(int x) const
void min8s(const schar *src1, size_t step1, const schar *src2, size_t step2, schar *dst, size_t step, int width, int height, void *)
int hal_ni_min32s(const int *src1_data, size_t src1_step, const int *src2_data, size_t src2_step, int *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:115
@ RETR_CCOMP
Definition: imgproc.hpp:420
HostMem(const HostMem &m)
virtual void setCameraMatrix(const cv::Mat &val)=0
@ humaneva_1
Definition: hpe_humaneva.hpp:73
~TrackerFeatureFeature2d() CV_OVERRIDE
virtual void run(const std::vector< String > &images, InputOutputArray K, OutputArray Rs, OutputArray Ts, OutputArray points3d)=0
void setParamsFrom(const LayerParams ¶ms)
Initializes only name, type and blobs fields.
Vec< ushort, 3 > Vec3w
Definition: matx.hpp:409
@ COLOR_RGBA2BGR565
Definition: imgproc.hpp:556
virtual void load(const std::string &path) CV_OVERRIDE=0
@ CAP_PROP_XI_LENS_FOCUS_DISTANCE
Lens focus distance in cm.
Definition: videoio.hpp:432
__device__ __forceinline__ void reduceThread(value_type val1, value_type val2)
Definition: vec_distance.hpp:164
float b
Definition: warpers.hpp:422
void mapBackward(float u, float v, float &x, float &y)
int hal_ni_cmp64f(const double *src1_data, size_t src1_step, const double *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height, int operation)
Definition: hal_replacement.hpp:215
@ COLORMAP_PLASMA
Definition: imgproc.hpp:4234
virtual ~DFT2D()
Definition: hal.hpp:217
void mul64f(const double *src1, size_t step1, const double *src2, size_t step2, double *dst, size_t step, int width, int height, void *scale)
v_reg< _Tp, n > operator<(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Less-than comparison.
Definition: intrin_cpp.hpp:673
Definition: warpers.hpp:589
virtual double getCoef0() const =0
ClassificationModel(const String &model, const String &config="")
Create classification model from network represented in one of the supported formats....
int hal_ni_LU32f(float *src1, size_t src1_step, int m, float *src2, size_t src2_step, int n, int *info)
Definition: hal_replacement.hpp:595
size_t image2DMaxHeight() const
virtual void apply(InputArray image, OutputArray fgmask, double learningRate=-1) CV_OVERRIDE=0
Computes a foreground mask.
@ DNN_TARGET_OPENCL
Definition: dnn.hpp:90
Matx< _Tp, shortdim, 1 > diag_type
Definition: matx.hpp:115
int rows
Definition: remap.hpp:94
SphericalWarperGpu(float scale)
Definition: warpers.hpp:527
void fillFixedStereo(Mat &G, int flags, int n)
const MatchesInfo * pairwise_matches_
Definition: motion_estimators.hpp:203
__host__ Expr< ScharrXPtrSz< typename PtrTraits< SrcPtr >::ptr_type > > scharrX_(const SrcPtr &src)
Definition: deriv.hpp:99
virtual int getCatCount(int vi) const =0
GArg()
Definition: garg.hpp:44
hashtable_int * hashtableCreate(size_t size, size_t(*hashfunc)(uint))
Mat_(const std::initializer_list< int > sizes, const std::initializer_list< _Tp > values)
virtual void setTheta(double val)=0
Weight parameter for (u - v)^2, tightness parameter.
AlphaCompTypes
Definition: cudaimgproc.hpp:159
void setOpenGlDrawCallback(const String &winname, OpenGlDrawCallback onOpenGlDraw, void *userdata=0)
Sets a callback function to be called to draw on top of displayed image.
virtual void process(const cv::Mat &frame, const TrackedObjects &detections, uint64_t timestamp)=0
Process given frame.
@ IMREAD_COLOR
If set, always convert image to the 3 channel BGR color image.
Definition: imgcodecs.hpp:67
virtual void setThreshold(int threshold)=0
T Type
Definition: features2d.hpp:792
MatExpr operator<=(const Mat &a, const Mat &b)
softfloat(const uint32_t)
Construct from integer.
Definition: intrin_cpp.hpp:266
static MatAllocator * getStdAllocator()
and the standard allocator
Applies Ridge Detection Filter to an input image. Implements Ridge detection similar to the one in Ma...
Definition: ridgefilter.hpp:28
Mat getFeatures() const
Get the features extracted.
std::function< void(std::size_t size, std::function< void(std::size_t index)>)> parallel_for
Definition: gfluidkernel.hpp:145
vertex(Mat po, int ts)
Definition: multicalib.hpp:105
DictValue(int64 i=0)
Constructs integer scalar.
Definition: dict.hpp:64
bool Cholesky(float *A, size_t astep, int m, float *b, size_t bstep, int n)
static Ptr< TextDetectorCNN > create(const String &modelArchFilename, const String &modelWeightsFilename)
@ NCV_HAAR_INVALID_PIXEL_STEP
Definition: NCV.hpp:343
int predict(InputArray src) const
static bool isMap(int flags)
static Stream & Null()
return Stream object for default CUDA stream
virtual const char * what() const noexcept override
Definition: optional.hpp:21
virtual void setMode(int mode)=0
Mat statePre
predicted state (x'(k)): x(k)=A*x(k-1)+B*u(k)
Definition: tracking.hpp:393
Rect2i Rect
Definition: types.hpp:462
bool addTarget(InputArray image, const Rect2d &boundingBox, Ptr< Tracker > tracker_algorithm)
Add a new target to a tracking-list and initialize the tracker with a known bounding box that surroun...
int markerSize
Definition: dictionary.hpp:65
@ COLORSPACE_GRAY
Definition: container_avi.private.hpp:135
auto compile(const Ts &... metas) -> typename std::enable_if< detail::are_meta_descrs< Ts... >::value, GCompiled >::type
Definition: gcomputation.hpp:361
value_type & reference
Definition: cvstd.hpp:116
@ CALIB_CB_FILTER_QUADS
Definition: calib3d.hpp:257
ICP()
Definition: icp.hpp:90
Board of markers.
Definition: aruco.hpp:272
void stop()
Definition: utility.hpp:330
Ptr< VideoInputStream > m_file_stream
Definition: container_avi.private.hpp:124
v_reg< _Tp, n > v_add_wrap(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Add values without saturation.
Definition: intrin_cpp.hpp:735
virtual bool isOpened() const
Returns true if video writer has been successfully initialized.
void triangulatePoints(InputArray projMatr1, InputArray projMatr2, InputArray projPoints1, InputArray projPoints2, OutputArray points4D)
Reconstructs points by triangulation.
SparseMat clone() const CV_NODISCARD
creates full copy of the matrix
virtual void setSuperpixelNNCnt(int spNN=150)=0
Parameter defines the number of nearest-neighbor matches for each superpixel considered,...
virtual void setPolyN(int polyN)=0
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,...
int fps
Definition: gr_chalearn.hpp:78
@ COLOR_BGRA2YUV_I420
Definition: imgproc.hpp:730
bool find4QuadCornerSubpix(InputArray img, InputOutputArray corners, Size region_size)
finds subpixel-accurate positions of the chessboard corners
Definition: warpers.hpp:388
virtual void setNOctaves(int octaves)=0
Node< OBJECT > * findChild(OBJECT &payload) const
Definition: utility.hpp:1073
void setCorrectionForInclusion(bool val)
Definition: stabilizer.hpp:92
virtual void matchConvert(InputArray gpu_matches, std::vector< DMatch > &matches)=0
Converts matches array from internal representation to standard matches vector.
@ FILTER_SCHARR
Definition: imgproc.hpp:208
virtual void setFeatureExtractor(void(*)(const Mat, const Rect, Mat &), bool pca_func=false)=0
SparseMatIterator(SparseMat *_m)
the full constructor setting the iterator to the first sparse matrix element
@ FEATURE_SET_COMPUTE_35
Definition: cuda.hpp:777
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.
@ CAP_PROP_XI_CC_MATRIX_21
Color Correction Matrix element [2][1].
Definition: videoio.hpp:414
@ COLOR_BayerRG2RGB_VNG
Definition: imgproc.hpp:762
#define CV_CUDEV_BINARY_FUNCTION_INST(name, func)
Definition: functional.hpp:543
NCVStatus copySolid(NCVVector< T > &dst, cudaStream_t cuStream, size_t howMuch=0) const
Definition: NCV.hpp:586
virtual void setNeighbors(int val)=0
int start
Definition: types.hpp:598
RNG & theRNG()
Returns the default random number generator.
Vec(const Matx< _Tp, cn, 1 > &a, const Matx< _Tp, cn, 1 > &b, Matx_AddOp)
Definition: reduce_to_vec.hpp:106
~optional_shared_lock_guard()
Definition: lock.private.hpp:106
virtual void setMaxFeatures(int maxFeatures)=0
Sets total number of distinct colors to maintain in histogram.
genderType
Definition: fr_adience.hpp:61
Ptr< BackgroundSubtractorMOG > createBackgroundSubtractorMOG(int history=200, int nmixtures=5, double backgroundRatio=0.7, double noiseSigma=0)
Creates mixture-of-gaussian background subtractor.
@ LSD_REFINE_NONE
No refinement applied.
Definition: imgproc.hpp:481
#define OPENCV_HAL_IMPL_C_RSHR_PACK_STORE(_Tpvec, _Tp, _Tpnvec, _Tpn, pack_suffix, cast)
Helper macro.
Definition: intrin_cpp.hpp:2352
void cartToPolar(InputArray x, InputArray y, OutputArray magnitude, OutputArray angle, bool angleInDegrees=false, Stream &stream=Stream::Null())
Converts Cartesian coordinates into polar.
static Matx< _Tp, m, n > & operator*=(Matx< _Tp, m, n > &a, int alpha)
Definition: matx.hpp:1213
void read(const FileNode &)
float a
Definition: warpers.hpp:401
virtual void setMaxBits(int max_bits)=0
This class implements a very efficient and robust variant of the iterative closest point (ICP) algori...
Definition: icp.hpp:81
virtual void getNormals(InputArray points, OutputArray normals) const =0
Calculates normals for given points.
void getLayerTypes(std::vector< String > &layersTypes) const
Returns list of types for layer used in model.
float getInitMean() const
Definition: features2d.hpp:1062
std::vector< Box > Boxes
Definition: edgeboxes.hpp:63
@ MATERIAL_TEXTURE1
Definition: ovis.hpp:42
NCVStatus ncvHaarStoreNVBIN_host(const cv::String &filename, HaarClassifierCascadeDescriptor haar, NCVVector< HaarStage64 > &h_HaarStages, NCVVector< HaarClassifierNode128 > &h_HaarNodes, NCVVector< HaarFeature64 > &h_HaarFeatures)
virtual void setPatchSize(int patchSize)=0
Point_< int > Point2i
Definition: types.hpp:190
static Ptr< _Tp > loadFromString(const String &strModel, const String &objname=String())
Loads algorithm from a String.
Definition: core.hpp:3154
@ COLOR_RGB2HSV
Definition: imgproc.hpp:586
MotionEstimatorL1(MotionModel model=MM_AFFINE)
void FT02D_FL_process_float(InputArray matrix, const int radius, OutputArray output)
Sligtly less accurate version of -transfrom computation optimized for higher speed....
virtual void setContrastWeight(float contrast_weiht)=0
SrcPtr src
Definition: warping.hpp:132
icoSphere(float radius_in, int depth_in)
Generating a sphere by mean of a iteration based points selection process.
ImwritePAMFlags
Imwrite PAM specific tupletype flags used to define the 'TUPETYPE' field of a PAM file.
Definition: imgcodecs.hpp:125
BackendNode(int backendId)
@ CAP_PROP_XI_BUFFERS_QUEUE_SIZE
Queue of field/frame buffers.
Definition: videoio.hpp:460
@ RHO
RHO algorithm.
Definition: calib3d.hpp:231
size_t sz
Definition: ocl.hpp:382
cv::Scalar color
The color of the circle.
Definition: render.hpp:234
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-wis...
void detect(const std::vector< Mat > &images, std::vector< std::vector< KeyLine > > &keylines, int scale, int numOctaves, const std::vector< Mat > &masks=std::vector< Mat >()) const
static void help_init_impl(const cv::GMetaArgs &metas, const cv::GArgs &in_args, gapi::fluid::Buffer &scratch_buf, detail::Seq< IIs... >)
Definition: gfluidkernel.hpp:219
@ FLAGS_EXPAND_SAME_NAMES
Definition: instrumentation.hpp:112
virtual size_t getReservedSize() const =0
Template class for 3D points specified by its coordinates x, y and z.
Definition: types.hpp:240
@ CAP_PROP_XI_LED_SELECTOR
Selects camera signalling LED.
Definition: videoio.hpp:345
virtual void setTheta(double val)=0
void hammingDistanceBlockMatching(const Mat &leftImage, const Mat &rightImage, Mat &cost, const int kernelSize=9)
Definition: matching.hpp:411
static bool canCreateAlias(const UMat &u)
__host__ Expr< FindMaxValExprBody< SrcPtr > > maxVal_(const SrcPtr &src)
Definition: reduction.hpp:121
KalmanFilter(int dynamParams, int measureParams, int controlParams=0, int type=CV_32F)
@ StsOk
everything is ok
Definition: base.hpp:69
virtual void augAssignSubtract(const MatExpr &expr, Mat &m) const
bool use_hog
Definition: tracker.hpp:1499
@ CV_STAR_KERNEL
Definition: descriptor.hpp:60
KeypointsModel(const String &model, const String &config="")
Create keypoints model from network represented in one of the supported formats. An order of model an...
static Ptr< GridBoard > create(int markersX, int markersY, float markerLength, float markerSeparation, const Ptr< Dictionary > &dictionary, int firstMarker=0)
Create a GridBoard object.
virtual Mat getVarSymbolFlags() const =0
Definition: gproto.hpp:64
virtual GMetaArg descr_of() const override
Definition: cap.hpp:99
Texture2D(InputArray arr, bool autoRelease=false)
virtual Rect buildMaps(Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap)=0
Builds the projection maps according to the given camera data.
static Ptr< Layer > create(const LayerParams ¶ms)
This 3D Widget defines a circle.
Definition: widgets.hpp:307
Definition: saliencyBaseClasses.hpp:86
void setWindowPosition(const Point &window_position)
Sets the position of the window in the screen.
Mat image
Definition: depth.hpp:472
@ IMWRITE_PAM_FORMAT_NULL
Definition: imgcodecs.hpp:126
FileNode root(int streamidx=0) const
Returns the top-level mapping.
#define CV_CUDEV_IMPLEMENT_VEC_BINARY_FUNC(func_name, func, input_type, output_type)
Definition: vec_math.hpp:767
@ NORM_MINMAX
flag
Definition: base.hpp:207
__device__ __forceinline__ float1 asin(const uchar1 &a)
Definition: vec_math.hpp:312
@ NCV_SUCCESS
Definition: NCV.hpp:316
void setCurrentConfidenceMap(ConfidenceMap &confidenceMap)
Set the current confidenceMap.
@ CAP_OPENNI_DEPTH_GENERATOR_BASELINE
Definition: videoio.hpp:248
void mulTransposed(InputArray src, OutputArray dst, bool aTa, InputArray delta=noArray(), double scale=1, int dtype=-1)
Calculates the product of a matrix and its transposition.
virtual int radius() const
Definition: inpainting.hpp:71
Buffer clone(Target target=ARRAY_BUFFER, bool autoRelease=false) const
Creates a full copy of the buffer object and the underlying data.
virtual bool addTrainingSample(InputArray image, InputArray landmarks)=0
Add one training sample to the trainer.
static Ptr< StaticSaliencyFineGrained > create()
Definition: saliencySpecializedClasses.hpp:128
const T & inArg(int input)
Definition: gcpukernel.hpp:85
bool check() const
Check for parsing errors.
_Tp * ptr(int y=0)
template version of the above method
virtual double getMaxVal() const =0
Returns the maximum value taken on by pixels in image sequence. e.g. 1.0 or 255.
int src_img_idx
Definition: matchers.hpp:105
int hal_ni_warpPerspective(int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, const double M[9], int interpolation, int borderType, const double borderValue[4])
hal_warpPerspective
Definition: hal_replacement.hpp:290
Matx33f intr
camera intrinsics
Definition: kinfu.hpp:35
SphericalPortraitWarper(float scale)
Definition: warpers.hpp:600
Model(const String &model, const String &config="")
Create model from deep learning network represented in one of the supported formats....
GpuMat(int rows, int cols, int type, void *data, size_t step=Mat::AUTO_STEP)
constructor for GpuMat headers pointing to user-allocated data
size_t size
Definition: mat.hpp:560
float Ncv32f
Definition: NCV.hpp:133
__device__ __forceinline__ int atomicMax(int *address, int val)
Definition: atomic.hpp:152
int hal_ni_cvtBGRtoHSV(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isFullRange, bool isHSV)
hal_cvtBGRtoHSV
Definition: hal_replacement.hpp:444
static __host__ ptr_type shrinkPtr(const Expr< Body > &expr)
Definition: expr.hpp:77
@ CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_VERT
Definition: videoio.hpp:526
PPF3DDetector()
Empty constructor. Sets default arguments.
Mat_ row(int y) const
overridden forms of Mat::row() etc.
@ CAP_PROP_XI_FFS_FILE_ID
File number.
Definition: videoio.hpp:477
@ CPU_MAX_FEATURE
Definition: cvdef.h:318
Definition: layer.details.hpp:58
static uint64 abs(uint64 a)
Definition: cvstd.hpp:69
void setWindowSize(int val)
Definition: depth.hpp:235
@ COEF
Definition: ml.hpp:674
friend std::ostream & operator<<(std::ostream &stream, const Dict &dict)
MapAffine(InputArray linTr, InputArray shift)
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: warping.hpp:135
@ CAP_PROP_XI_CC_MATRIX_31
Color Correction Matrix element [3][1].
Definition: videoio.hpp:418
virtual void setRpropDWMinus(double val)=0
int getNrFeeds()
Definition: exposure_compensate.hpp:148
virtual int frameCount() const
Definition: wobble_suppression.hpp:76
static void read(const FileNode &node, std::vector< _Tp > &vec, const std::vector< _Tp > &default_value=std::vector< _Tp >())
Definition: persistence.hpp:1169
void split32s(const int *src, int **dst, int len, int cn)
virtual void printAttrs() const
size_t size
the size of each segment (in elements)
Definition: mat.hpp:3419
int featureSetNumFeatures
Definition: tracker.hpp:1110
float tsdf_min_camera_movement
Minimal camera movement in meters.
Definition: kinfu.hpp:68
@ MATERIAL_OPACITY
Definition: ovis.hpp:37
NCVStatus NCVBroxOpticalFlow(const NCVBroxOpticalFlowDescriptor desc, INCVMemAllocator &gpu_mem_allocator, const NCVMatrix< Ncv32f > &frame0, const NCVMatrix< Ncv32f > &frame1, NCVMatrix< Ncv32f > &u, NCVMatrix< Ncv32f > &v, cudaStream_t stream)
Compute optical flow.
int cvRound(const cv::softfloat &a)
Rounds a number to nearest even integer.
GMatDesc withDepth(int ddepth) const
Definition: gmat.hpp:161
int hashtableInsertHashed(hashtable_int *hashtbl, KeyType key, void *data)
virtual void setLambda(double val)=0
Weight parameter for the data term, attachment parameter.
std::string fileName
Definition: tr_icdar.hpp:68
Definition: functional.hpp:664
Vec< uchar, 2 > Vec2b
Definition: matx.hpp:400
virtual void createLightEntity(const String &name, InputArray tvec=noArray(), InputArray rot=noArray(), const Scalar &diffuseColor=Scalar::all(1), const Scalar &specularColor=Scalar::all(1))=0
int cols
Definition: remap.hpp:94
Definition: interpolation.hpp:98
void create(int _ndims, const int *_sizes)
equivalent to Mat::create(_ndims, _sizes, DatType<_Tp>::type)
ConnectedComponentsAlgorithmsTypes
connected components algorithm
Definition: imgproc.hpp:403
Definition: onlineMIL.hpp:63
CompressedRectilinearPortraitWarper(float scale, float A=1, float B=1)
Definition: warpers.hpp:390
virtual void printDefaults() const CV_OVERRIDE
Matching(int maxDisp, int scalling=4, int confidence=6)
Definition: matching.hpp:606
bool clipLine(Size imgSize, Point &pt1, Point &pt2)
Clips the line against the image rectangle.
@ IMWRITE_PAM_FORMAT_RGB_ALPHA
Definition: imgcodecs.hpp:131
void removeWidget(const String &id)
Removes a widget from the window.
T & operator*()
Definition: optional.hpp:119
cv::String canonical(const cv::String &path)
Converts path p to a canonical absolute path Symlinks are processed if there is support for them on r...
void setTo(const _InputArray &value, const _InputArray &mask=_InputArray()) const
Ptr< SelectiveSearchSegmentationStrategyColor > createSelectiveSearchSegmentationStrategyColor()
Create a new color-based strategy.
@ LOG_LEVEL_WARNING
Warning message.
Definition: logger.defines.hpp:29
Matx33d mat1
Definition: msm_epfl.hpp:62
void setTargetHeight(int height)
Set the height of the target.
virtual ~MapperGradShift()
Different parameters for CUDA video encoder.
Definition: cudacodec.hpp:86
GpuMat(Size size, int type, void *data, size_t step=Mat::AUTO_STEP)
Warper that maps an image onto the unit sphere located at the origin.
Definition: warpers.hpp:285
@ AGAST_7_12d
Definition: features2d.hpp:514
__device__ __forceinline__ void blockReduce(volatile T *smem, T &val, uint tid, const Op &op)
Definition: reduce.hpp:63
Fill-based strategy for the selective search segmentation algorithm The class is implemented from the...
Definition: segmentation.hpp:127
int reductionRatio
Definition: descriptor.hpp:200
int height
Definition: types.hpp:104
void startWriteChunk(uint32_t fourcc)
int nbrOfPixelsBetweenMarkers
Definition: sinusoidalpattern.hpp:90
__device__ __forceinline__ float1 acos(const uchar1 &a)
Definition: vec_math.hpp:321
@ MORPH_OPEN
Definition: imgproc.hpp:215
const MatOp * op
Definition: mat.hpp:3545
void setMaxIteration(int val)
NCVVectorAlloc(INCVMemAllocator &allocator_, Ncv32u length_)
Definition: NCV.hpp:637
Ncv32f Ncv32f_a
Definition: NCVHaarObjectDetection.hpp:75
@ COLOR_Lab2RGB
Definition: imgproc.hpp:600
virtual ~DescriptorMatcher()
void render(const Texture2D &tex, Rect_< double > wndRect=Rect_< double >(0.0, 0.0, 1.0, 1.0), Rect_< double > texRect=Rect_< double >(0.0, 0.0, 1.0, 1.0))
Render OpenGL texture or primitives.
@ FONT_HERSHEY_COMPLEX
normal size serif font
Definition: imgproc.hpp:817
GIOProtoArgs(const GProtoArgs &args)
Definition: gproto.hpp:57
Format
An Image Format describes the way that the images in Textures store their data.
Definition: opengl.hpp:289
float minEigenValue
Definition: rlofflow.hpp:143
int shift
The Number of fractional bits in the coordinates of the center and in the radius value.
Definition: render.hpp:237
This structure represents a rectangle to draw.
Definition: render.hpp:176
void patchNaNs(InputOutputArray a, double val=0)
converts NaN's to the given number
virtual void setPlotLineWidth(int _plotLineWidth)=0
int hal_ni_SVD32f(float *src, size_t src_step, float *w, float *u, size_t u_step, float *vt, size_t vt_step, int m, int n, int flags)
Definition: hal_replacement.hpp:633
@ COLOR_BayerRG2GRAY_MHT
Definition: cudaimgproc.hpp:107
@ COLOR_YUV2RGB_UYNV
Definition: imgproc.hpp:680
bool read(const String &buf, const String &buildflags)
@ NPPST_ERROR
Unknown error.
Definition: NCV.hpp:356
Returns result of asynchronous operations.
Definition: async.hpp:32
void moveWindow(const String &winname, int x, int y)
Moves window to the specified position.
Ptr< Facemark > createFacemarkLBF()
construct an LBF facemark detector
virtual bool getUseMeanNormalization() const =0
Whether to use mean-normalization of patches when computing patch distance. It is turned on by defaul...
int cols
Definition: deriv.hpp:302
Ncv32f gamma
gradient constancy importance
Definition: NCVBroxOpticalFlow.hpp:74
@ TM_SQDIFF
Definition: imgproc.hpp:3650
Mat(const Mat &m, const std::vector< Range > &ranges)
virtual void setPeriod(int val)
Definition: wobble_suppression.hpp:104
clock_t processingStartTime_
Definition: stabilizer.hpp:140
static int type()
Definition: flann.hpp:78
NCVStatus nppiStDecimate_32u_C1R(Ncv32u *d_src, Ncv32u srcStep, Ncv32u *d_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale, NcvBool readThruTexture)
float minCircularity
Definition: features2d.hpp:641
virtual void setRegularization(int val)=0
Ptr< detail::RotationWarper > create(float scale) const CV_OVERRIDE
Definition: warpers.hpp:218
void transformFD(InputArray src, InputArray t, OutputArray dst, bool fdContour=true)
transform a contour
Ptr< CannyEdgeDetector > createCannyEdgeDetector(double low_thresh, double high_thresh, int apperture_size=3, bool L2gradient=false)
Creates implementation for cuda::CannyEdgeDetector .
Ptr< AlignMTB > createAlignMTB(int max_bits=6, int exclude_range=4, bool cut=true)
Creates AlignMTB object.
Base class for statistical models in OpenCV ML.
Definition: ml.hpp:319
void setBBResDir(const String &resultsDir)
This is a utility function that allows to set an arbitrary path in which the algorithm will save the ...
UMat(int ndims, const int *sizes, int type, const Scalar &s, UMatUsageFlags usageFlags=USAGE_DEFAULT)
size_t size() const
Definition: sparse_matching_gpc.hpp:114
@ NCV_LAST_STATUS
Marker to continue error numeration in other files.
Definition: NCV.hpp:372
@ NOT_DRAW_SINGLE_POINTS
Single keypoints will not be drawn.
virtual bool getNonmaxSuppression() const =0
Ncv8u height
Definition: NCV.hpp:142
virtual void setStabilizationMotions(const std::vector< Mat > &val)
Definition: inpainting.hpp:90
double real() const
Simplified reading API to use with bindings.
cv::Point2i p1
Definition: quasi_dense_stereo.hpp:30
int ppfInd
Definition: ppf_match_3d.hpp:82
virtual float getMinDist() const =0
Scalar_(_Tp v0, _Tp v1, _Tp v2=0, _Tp v3=0)
bool printProgress
Print progress to stdout.
Definition: sparse_matching_gpc.hpp:128
static Ptr< PermuteLayer > create(const LayerParams ¶ms)
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.
const T & get() const
Definition: garg.hpp:65
@ channels
Definition: matx.hpp:105
__device__ __forceinline__ float1 tanh(const uchar1 &a)
Definition: vec_math.hpp:357
@ nppStBicubic
Bicubic convolution filter, a = -0.5 (cubic Hermite spline)
Definition: NPP_staging.hpp:103
void calcAbsSum(InputArray src, OutputArray dst, InputArray mask=noArray(), Stream &stream=Stream::Null())
void decodeParametersStereo(InputArray parameters, OutputArray K1, OutputArray K2, OutputArray om, OutputArray T, OutputArrayOfArrays omL, OutputArrayOfArrays tL, OutputArray D1, OutputArray D2, double &xi1, double &xi2)
CostFunction
Definition: seam_finders.hpp:123
Abstract base class for training the bag of visual words vocabulary from a set of descriptors.
Definition: features2d.hpp:1304
__host__ void gridCountNonZero(const SrcPtr &src, GpuMat_< ResType > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: reduce.hpp:365
__device__ PtrTraits< SrcPtr >::value_type operator()(float y, float x) const
Definition: interpolation.hpp:302
Abstract base class for 2D image feature detectors and descriptor extractors.
Definition: features2d.hpp:149
ProgramSource(const String &prog)
@ OPTFLOW_USE_INITIAL_FLOW
Definition: tracking.hpp:56
Model & setInputSize(int width, int height)
Set input size for frame.
std::tuple< GMat, GScalar > GMatScalar
Definition: core.hpp:34
virtual bool getUseLocalInitDataCost() const =0
GMatDesc withSize(cv::gapi::own::Size sz) const
Definition: gmat.hpp:152
@ BadOrigin
incorrect input origin
Definition: base.hpp:89
virtual void write(InputArray image)
Writes the next video frame.
Stub bundle adjuster that does nothing.
Definition: motion_estimators.hpp:222
void drawAxis(InputOutputArray image, InputArray cameraMatrix, InputArray distCoeffs, InputArray rvec, InputArray tvec, float length)
Draw coordinate system axis from pose estimation.
int countNonZero(InputArray src)
Counts non-zero array elements.
void setW(int val)
Definition: saliencySpecializedClasses.hpp:357
bool init()
This function allows the correct initialization of all data structures that will be used by the algor...
GMat bitwise_not(const GMat &src)
Inverts every bit of an array. The function bitwise_not calculates per-element bit-wise inversion of ...
@ ARO_315_45
Definition: fast_hough_transform.hpp:70
__host__ GpuMat_ clone() const
overridden forms of GpuMat::row() etc.
virtual NCVStatus alloc(NCVMemSegment &seg, size_t size)
FeatureHaar(Size patchSize)
virtual void setTau(double tau)=0
void write(FileStorage &) const
Read parameters from file, currently unused.
virtual void setDetectShadows(bool detectShadows)=0
Enables or disables shadow detection.
MatIterator_()
the default constructor
int hal_ni_min64f(const double *src1_data, size_t src1_step, const double *src2_data, size_t src2_step, double *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:117
__device__ __forceinline__ value_type operator()(index_type y, index_type x) const
Definition: mask.hpp:76
void setHalideScheduler(const String &scheduler)
Compile Halide layers.
int lkTemplateSize
Definition: quasi_dense_stereo.hpp:54
void * data
Definition: t_hash_int.hpp:63
virtual void process(InputArray src, OutputArray dst)=0
Tonemaps image.
@ COLOR_Luv2BGR
Definition: imgproc.hpp:601
MatConstIterator(const Mat *_m)
constructor that sets the iterator to the beginning of the matrix
virtual Mat getMeasurementNoiseCov() const =0
void registerPageLocked(Mat &m)
Page-locks the memory of matrix and maps it for the device(s).
void setUseOptimized(bool onoff)
Enables or disables the optimized code.
float gftQualityThres
Definition: quasi_dense_stereo.hpp:60
void Sobel(InputArray src, OutputArray dst, int ddepth, int dx, int dy, int ksize=3, double scale=1, double delta=0, int borderType=BORDER_DEFAULT)
Calculates the first, second, third, or mixed image derivatives using an extended Sobel operator.
virtual void find(const std::vector< UMat > &src, const std::vector< Point > &corners, std::vector< UMat > &masks) CV_OVERRIDE
Estimates seams.
MapperPyramid(Ptr< Mapper > baseMapper)
@ ST_BILINEAR
Definition: rlofflow.hpp:25
float angle
Definition: descriptor.hpp:106
void integral(int depth, int sdepth, int sqdepth, const uchar *src, size_t srcstep, uchar *sum, size_t sumstep, uchar *sqsum, size_t sqsumstep, uchar *tilted, size_t tstep, int width, int height, int cn)
virtual int getGroupThreshold() const =0
Represents a computation (graph) compiled for streaming.
Definition: gstreaming.hpp:53
Affine3(const Mat3 &R, const Vec3 &t=Vec3::all(0))
void preconditionerFromPoints(InputArray points, OutputArray T)
virtual void setDefaultK(int val)=0
mat_type mu_2
Definition: qualityssim.hpp:63
#define CV_CUDEV_MAKE_VEC_INST(elem_type)
Definition: vec_traits.hpp:60
Vec3i maxSurface2DLayered() const
maximum 2D layered surface dimensions
void bm3dDenoising(InputArray src, InputOutputArray dstStep1, OutputArray dstStep2, float h=1, int templateWindowSize=4, int searchWindowSize=16, int blockMatchingStep1=2500, int blockMatchingStep2=400, int groupSize=8, int slidingStep=1, float beta=2.0f, int normType=cv::NORM_L2, int step=cv::xphoto::BM3D_STEPALL, int transformType=cv::xphoto::HAAR)
Performs image denoising using the Block-Matching and 3D-filtering algorithm http://www....
Ptr< RICInterpolator > createRICInterpolator()
Factory method that creates an instance of the RICInterpolator.
int isRightOf(Point2f pt, int edge) const
void dispartyMapFormation(const Mat &costVolume, Mat &mapFinal, int th)
Definition: matching.hpp:567
void setTransformType(int val) CV_OVERRIDE
Definition: depth.hpp:976
void stop()
Stop (abort) processing the pipeline.
virtual int type(const MatExpr &expr) const
Mat(const std::initializer_list< _Tp > list)
void evenLevels(OutputArray levels, int nLevels, int lowerLevel, int upperLevel, Stream &stream=Stream::Null())
Computes levels with even distribution.
void warpBackward(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, Size dst_size, OutputArray dst)
Projects the image backward.
Size stride
Definition: all_layers.hpp:213
bool isNan(float x)
Checks float/double value for nan.
Definition: vizcore.hpp:114
std::vector< std::string > Paths
Definition: configuration.private.hpp:14
TYPE
Definition: instrumentation.hpp:46
@ CPU_AVX512_COMMON
Common instructions AVX-512F/CD for all CPUs that support AVX-512.
Definition: cvdef.h:311
void transform_bboxes(std::vector< std::vector< double > > *bboxes)
Transform relative coordinates from ConvDet to bounding box coordinates.
@ COLOR_YUV2GRAY_UYVY
Definition: imgproc.hpp:710
const T * InLine(int i) const
Definition: gfluidbuffer.hpp:71
@ LBP
Definition: feature.hpp:143
#define CV_CUDEV_IMPLEMENT_SCALAR_BINARY_OP(op, input_type, scalar_type, output_type)
Definition: vec_math.hpp:548
int pixel
seed point and the threshold (max grey-level value)
Definition: erfilter.hpp:75
@ WMF_IV1
Definition: weighted_median_filter.hpp:67
void cvtColor(InputArray src, OutputArray dst, int code, int dstCn=0)
Converts an image from one color space to another.
Vec< float, 4 > Vec4f
Definition: matx.hpp:420
static double reinterpret_from_int(int_type x)
Definition: intrin.hpp:142
actionType type
Definition: gr_skig.hpp:102
static cv::Scalar compute(InputArray ref, InputArray cmp, OutputArray qualityMap)
static method for computing quality
@ IMREAD_REDUCED_GRAYSCALE_4
If set, always convert image to the single channel grayscale image and the image size reduced 1/4.
Definition: imgcodecs.hpp:73
GScalar mean(const GMat &src)
Calculates an average (mean) of matrix elements.
virtual cv::Ptr< Map > calculate(InputArray img1, InputArray img2, cv::Ptr< Map > init=cv::Ptr< Map >()) const CV_OVERRIDE
virtual uint64_t getCurrentUsage() const =0
__host__ BrdBase< BrdReflect, typename PtrTraits< SrcPtr >::ptr_type > brdReflect(const SrcPtr &src)
Definition: extrapolation.hpp:186
cv::Mat first
Definition: cap.hpp:56
@ CALIB_CB_CLUSTERING
Definition: calib3d.hpp:265
SrcPtr src
Definition: extrapolation.hpp:99
Camera(double fx, double fy, double cx, double cy, const Size &window_size)
Constructs a Camera.
Buffer(InputArray arr, Target target=ARRAY_BUFFER, bool autoRelease=false)
Matx< double, 3, 2 > Matx32d
Definition: matx.hpp:235
v_reg< _Tp, V_TypeTraits< _Tp >::nlanes128 > v_load_halves(const _Tp *loptr, const _Tp *hiptr)
Load register contents from two memory blocks.
Definition: intrin_cpp.hpp:1426
virtual int getPreFilterCap() const =0
size_t sharedMemPerBlock() const
shared memory available per block in bytes
void blend(InputOutputArray dst, InputOutputArray dst_mask) CV_OVERRIDE
Blends and returns the final pano.
String dump()
Dump net to String.
bool useInstrumentation()
@ CALIB_FIX_SKEW
Definition: omnidir.hpp:57
static Ptr< TrackerKCF > create()
void buildWarpAffineMaps(InputArray M, bool inverse, Size dsize, OutputArray xmap, OutputArray ymap, Stream &stream=Stream::Null())
Builds transformation maps for affine transformation.
FileNodeIterator()
The constructors.
int flags
Definition: cuda.hpp:586
virtual void setTermCriteria(const TermCriteria &val)=0
virtual int getActiveVarCount() const =0
@ THRESH_BINARY
Definition: imgproc.hpp:317
int hal_ni_log32f(const float *src, float *dst, int len)
Definition: hal_replacement.hpp:456
virtual void setup(SegmentationParameters newParameters)=0
try to open an XML segmentation parameters file to adjust current segmentation instance setup
virtual int getSamples() const =0
Size_< float > Size2f
Definition: types.hpp:345
__device__ static __forceinline__ schar max()
Definition: limits.hpp:70
UMat & getUMatRef(int i=-1) const
Vec3i maxSurface3D() const
maximum 3D surface dimensions
void computeJacobian(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints, InputArray parameters, Mat &JTJ_inv, Mat &JTE, int flags, double epsilon)
K API
Definition: gplaidmlkernel.hpp:130
@ MARKER_CROSS
A crosshair marker shape.
Definition: imgproc.hpp:830
__device__ __forceinline__ uint vsub2(uint a, uint b)
Definition: simd_functions.hpp:157
size_t totalGlobalMem() const
global memory available on device in bytes
void transpose(InputArray src1, OutputArray dst, Stream &stream=Stream::Null())
Transposes a matrix.
virtual Mat getCatOfs() const =0
int imageWidth
Definition: msm_epfl.hpp:66
Ptr2D::index_type index_type
Definition: traits.hpp:62
static Ptr< MaxUnpoolLayer > create(const LayerParams ¶ms)
static void write(FileStorage &fs, const _Tp &value)
Definition: persistence.hpp:878
RansacParams()
Definition: motion_core.hpp:80
Definition: functional.hpp:69
__device__ __forceinline__ PtrTraits< SrcPtr >::value_type operator()(int y, int x) const
Definition: extrapolation.hpp:69
int hal_ni_or8u(const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:152
Definition: warpers.hpp:344
const String & getBuildInformation()
Returns full configuration time cmake output.
Definition: saliencyBaseClasses.hpp:112
Definition: mappergradaffine.hpp:53
bool includesAPI() const
Definition: gkernel.hpp:464
@ CV_SIMETRICV_INTERPOLATION
Definition: stereo.hpp:123
NCVMemStackAllocator(Ncv32u alignment)
virtual void setBackpropWeightScale(double val)=0
Pose3D(double Alpha, size_t ModelIndex=0, size_t NumVotes=0)
Definition: pose_3d.hpp:83
void write(FileStorage &fs) const
const char * m_fileName
Definition: instrumentation.hpp:80
std::vector< int > getSelectedWeakClassifier()
bool sampling(const Mat &image, Rect boundingBox, std::vector< Mat > &sample)
Computes the regions starting from a position in an image.
int type
Definition: imgproc.hpp:1219
Abstract base class for TrackerStateEstimator that estimates the most likely target state.
Definition: tracker.hpp:401
Vec2i maxTexture2D() const
maximum 2D texture dimensions
virtual void setMaxDiscThreshold(double max_disc_threshold)=0
Mat transform
Definition: multicalib.hpp:87
@ COLOR_BGR2YUV_YV12
Definition: imgproc.hpp:734
void addPose(Pose3DPtr newPose)
Adds a new pose to the cluster. The pose should be "close" to the mean poses in order to preserve the...
virtual EncoderParams getEncoderParams() const =0
@ GC_INIT_WITH_MASK
Definition: imgproc.hpp:356
virtual int getNumIters() const =0
@ CORNER_REFINE_APRILTAG
Tag and corners detection based on the AprilTag 2 approach .
Definition: aruco.hpp:85
std::vector< GFluidOutputRois > parallel_rois
Definition: gfluidkernel.hpp:123
Net readNetFromCaffe(const String &prototxt, const String &caffeModel=String())
Reads a network model stored in Caffe framework's format.
#define HaarFeatureDescriptor32_Interpret_MaskFlagLeftNodeLeaf
Definition: NCVHaarObjectDetection.hpp:122
Ptr< Filter > createMedianFilter(int srcType, int windowSize, int partition=128)
Performs median filtering for each point of the source image.
int getVersionRevision()
Returns revision field of the library version.
SceneSettings
Definition: ovis.hpp:20
unsigned int getHeight()
Definition: container_avi.private.hpp:94
std::string humanSeg
Definition: is_weizmann.hpp:65
float getMarkerLength() const
Definition: charuco.hpp:116
void setRNGSeed(int seed)
Sets state of default random number generator.
void updateContinuityFlag()
internal use method: updates the continuity flag
void mapBackward(float u, float v, float &x, float &y)
@ COLOR_RGB2YUV
Definition: imgproc.hpp:627
bool getFaces(InputArray image, OutputArray faces, CParams *params)
Default face detector This function is mainly utilized by the implementation of a Facemark Algorithm....
BlocksCompensator(int bl_width=32, int bl_height=32, int nr_feeds=1)
Definition: exposure_compensate.hpp:161
void async_apply(GComputation &gcomp, std::function< void(std::exception_ptr)> &&callback, GRunArgs &&ins, GRunArgsP &&outs, GCompileArgs &&args={})
T array[COUNT]
Definition: type_traits.hpp:73
int numFeatures
Definition: feature.hpp:154
Definition: remap.hpp:104
float thresholdOFF
Definition: transientareassegmentationmodule.hpp:95
@ IMWRITE_TIFF_COMPRESSION
For TIFF, use to specify the image compression scheme. See libtiff for integer constants correspondin...
Definition: imgcodecs.hpp:98
void exp64f(const double *src, double *dst, int n)
int rows
Definition: texture.hpp:207
std::shared_ptr< IStreamSource > Ptr
Definition: source.hpp:42
@ MEMORY
returned by FileStorage::release)
Definition: persistence.hpp:312
virtual void getGradient(const double *x, double *grad)
@ DCT_INVERSE
Definition: base.hpp:258
softdouble sin(const softdouble &a)
Sine.
void render(cv::Mat &bgr, const Prims &prims, cv::GCompileArgs &&args={})
The function renders on the input image passed drawing primitivies.
Texture2D(int arows, int acols, Format aformat, unsigned int atexId, bool autoRelease=false)
__host__ Expr< RemapPtr1Sz< typename PtrTraits< SrcPtr >::ptr_type, AffineMapPtr > > warpAffine_(const SrcPtr &src, Size dstSize, const GpuMat_< float > &warpMat)
Definition: warping.hpp:92
@ NCVPipeObjDet_FindLargestObject
Definition: NCVHaarObjectDetection.hpp:356
Point2f topLeft
Top left corner of the bounding rect.
Definition: imgproc.hpp:1243
virtual void write(FileStorage &fs) const CV_OVERRIDE
std::vector< std::vector< Ptr< Object > > > validation
Definition: dataset.hpp:581
virtual BufferPoolController * getBufferPoolController(const char *id=NULL) const
Ncv32s y
Point Y.
Definition: NCV.hpp:194
static float DEFAULT_MAX_DEPTH_DIFF()
Definition: depth.hpp:544
Definition: type_traits.hpp:90
void inpaint(InputArray image, InputArray mask, OutputArray output, int radius, int function, int algorithm)
Image inpainting.
int pciBusID() const
PCI bus ID of the device.
virtual MotionModel motionModel() const
Definition: global_motion.hpp:181
virtual void applyFastToneMapping(InputArray inputImage, OutputArray outputToneMappedImage)=0
Method which processes an image in the aim to correct its luminance correct backlight problems,...
ClassificationModel(const Net &network)
Create model from deep learning network.
void NMSBoxes(const std::vector< Rect > &bboxes, const std::vector< float > &scores, const float score_threshold, const float nms_threshold, std::vector< int > &indices, const float eta=1.f, const int top_k=0)
Performs non maximum suppression given boxes and corresponding scores.
Definition: track_alov.hpp:62
size_t profilingTimerResolution() const
virtual bool getL2Gradient() const =0
@ StsOutOfRange
some of parameters are out of range
Definition: base.hpp:111
virtual void deblur(int, Mat &) CV_OVERRIDE
Definition: deblurring.hpp:93
result_type mySum
Definition: vec_distance.hpp:160
bool getSign() const
Get sign bit.
Definition: softfloat.hpp:312
v_float64x2 v_setall_f64(double val)
Definition: intrin_cpp.hpp:2167
virtual void setMaxIter(int max_iter)=0
Definition: gcpukernel.hpp:201
virtual double get(int propId) const
Returns the specified VideoCapture property.
Buffer(Size asize, int atype, unsigned int abufId, bool autoRelease=false)
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: warping.hpp:113
Definition: all_layers.hpp:577
int rows
Definition: lut.hpp:77
virtual ~EstimatedGaussDistribution()
void initialize_cleaner_impl() const
static softdouble pi()
Correct pi approximation.
Definition: softfloat.hpp:360
Mat_(const Point_< typename DataType< _Tp >::channel_type > &pt, bool copyData=true)
_OutputArray(std::array< _Tp, _Nm > &arr)
v_uint64x2 v_setall_u64(uint64 val)
Definition: intrin_cpp.hpp:2168
Definition: feature.hpp:312
int insert(Point2f pt)
Insert a single point into a Delaunay triangulation.
virtual ~TrackerTLD() CV_OVERRIDE
Definition: tracker.hpp:1201
int disparityGradient
Definition: quasi_dense_stereo.hpp:51
virtual double getRpropDWMax() const =0
Point_ & operator=(const Point_ &pt)
int getFeatureSize() const
Definition: feature.hpp:177
void rotate(InputArray src, OutputArray dst, Size dsize, double angle, double xShift=0, double yShift=0, int interpolation=INTER_LINEAR, Stream &stream=Stream::Null())
Rotates an image around the origin (0,0) and then shifts it.
static Ptr< Boost > create()
SrcPtr src
Definition: reduction.hpp:198
@ RETR_LIST
Definition: imgproc.hpp:415
bool wait_for(double timeoutNs) const
Definition: async.hpp:68
Ptr< GraphSegmentation > createGraphSegmentation(double sigma=0.5, float k=300, int min_size=100)
Creates a graph based segmentor.
static Ptr< SR_div2k > create()
Impl * getImpl() const
Definition: ocl.hpp:573
virtual void deblur(int idx, Mat &frame)=0
PtrTraits< Ptr0 >::index_type index_type
Definition: zip.hpp:80
@ BadROISize
incorrect input roi
Definition: base.hpp:94
void pushBack(Ptr< IMotionStabilizer > stabilizer)
Definition: motion_stabilizing.hpp:73
int frameCounter
Definition: track_alov.hpp:99
uchar * operator*()
returns pointer to the current pixel
@ CMP_EQ
src1 is equal to src2.
Definition: base.hpp:211
virtual Size getTilesGridSize() const =0
Returns Size defines the number of tiles in row and column.
void setPreferableBackend(int backendId)
Ask network to use specific computation backend where it supported.
void setAutoRelease(bool flag)
Sets auto release mode.
static uint next_power_of_two(uint value)
Round up to the next highest power of 2.
Definition: t_hash_int.hpp:79
NCVStatus nppiStDecimate_64u_C1R(Ncv64u *d_src, Ncv32u srcStep, Ncv64u *d_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale, NcvBool readThruTexture)
@ CAP_PROP_XI_SENSOR_MODE
Current sensor mode. Allows to select sensor mode by one integer. Setting of this parameter affects: ...
Definition: videoio.hpp:466
void split8u(const uchar *src, uchar **dst, int len, int cn)
void read(const FileNode &fn)
void cvtHSVtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isFullRange, bool isHSV)
__device__ __forceinline__ uint vsetge2(uint a, uint b)
Definition: simd_functions.hpp:285
This 3D Widget defines an arrow.
Definition: widgets.hpp:289
float icpDistThresh
distance theshold for ICP in meters
Definition: kinfu.hpp:99
virtual ~Callback()
Definition: calib3d.hpp:355
Definition: qualityssim.hpp:54
bool includes() const
Test if a particular kernel implementation KImpl is included in this kernel package.
Definition: gkernel.hpp:425
virtual cv::Mat getIntrinsics() const =0
virtual double getAnnealInitialT() const =0
void copyFrom(InputArray arr, bool autoRelease=false)
Copies from host/device memory to OpenGL texture.
virtual void setHistBinNum(int val)=0
Defines the size of one dimension of a three-dimensional RGB histogram that is used internally by the...
Ptr< SimpleWB > createSimpleWB()
Creates an instance of SimpleWB.
virtual Mat estimate(InputArray points0, InputArray points1, bool *ok=0) CV_OVERRIDE
Estimates global motion between two 2D point clouds.
Mat skew(InputArray x)
Returns the 3x3 skew symmetric matrix of a vector.
CParams(String cascade_model, double sf=1.1, int minN=3, Size minSz=Size(30, 30), Size maxSz=Size())
virtual void calcJacobian(Mat &jac)=0
Calculates the cost function jacobian.
GMat div(const GMat &src1, const GMat &src2, double scale, int ddepth=-1)
Performs per-element division of two matrices.
Definition: vec_distance.hpp:62
@ COLOR_RGB2BGR555
Definition: imgproc.hpp:564
@ CCL_DEFAULT
BBDT algorithm for 8-way connectivity, SAUF algorithm for 4-way connectivity.
Definition: imgproc.hpp:405
@ OCR_LEVEL_WORD
Definition: ocr.hpp:62
void appendPose(Matx44d &IncrementalPose)
Left multiplies the existing pose in order to update the transformation.
virtual ~NCVMemNativeAllocator()
__device__ __forceinline__ float1 log10(const uchar1 &a)
Definition: vec_math.hpp:276
Size winSize
Detection window size. Align to block size and block stride. Default value is Size(64,...
Definition: objdetect.hpp:587
_Tp * pointer
Definition: mat.hpp:3135
int getMethod() const
Definition: depth.hpp:404
virtual void setStabilizedFrames(const std::vector< Mat > &val)
Definition: inpainting.hpp:87
virtual cv::Mat getDisparity(uint8_t disparityLvls=50)=0
Compute and return the disparity map based on the correspondences found in the "process" method.
Ptr< ImageMotionEstimatorBase > motionEstimator() const
Definition: stabilizer.hpp:84
virtual UMatData * allocate(int dims, const int *sizes, int type, void *data, size_t *step, AccessFlag flags, UMatUsageFlags usageFlags) const =0
HostMem(int rows, int cols, int type, HostMem::AllocType alloc_type=HostMem::AllocType::PAGE_LOCKED)
int admm_iterations
Definition: tracker.hpp:1518
Ptr< AdaptiveManifoldFilter > createAMFilter(double sigma_s, double sigma_r, bool adjust_outliers=false)
Factory method, create instance of AdaptiveManifoldFilter and produce some initialization routines.
virtual void calc(InputArray frame0, InputArray frame1, OutputArray flow1, OutputArray flow2=noArray())=0
Mat getTargetResponses() const
Get the features extracted.
WCircle(double radius, double thickness=0.01, const Color &color=Color::white())
Constructs default planar circle centered at origin with plane normal along z-axis.
Ncv32u number_of_outer_iterations
number of warping iterations (number of pyramid levels)
Definition: NCVBroxOpticalFlow.hpp:80
virtual int getDatasetsNum()=0
void radiusMatch(const Mat &queryDescriptors, std::vector< std::vector< DMatch > > &matches, float maxDistance, const std::vector< Mat > &masks=std::vector< Mat >(), bool compactResult=false)
Base class for Contrast Limited Adaptive Histogram Equalization.
Definition: imgproc.hpp:953
@ MM_SIMILARITY
Definition: motion_core.hpp:65
@ SHOW_TRACKBAR
Definition: cap_winrt.hpp:43
Ptr< InpainterBase > inpainter_
Definition: stabilizer.hpp:119
Definition: or_sun.hpp:67
Definition: sparse_matching_gpc.hpp:66
virtual void setUseInitialFlow(bool useInitialFlow)=0
@ CPU_AVX512_SKX
Skylake-X with AVX-512F/CD/BW/DQ/VL.
Definition: cvdef.h:310
void write(FileStorage &fs) const
FileNode operator[](int i) const
void LUT(InputArray src, InputArray lut, OutputArray dst)
Performs a look-up table transform of an array.
virtual void train()=0
Trains a descriptor matcher.
virtual void apply(InputArray image, OutputArray fgmask, double learningRate=-1)=0
Computes a foreground mask.
Ptr< ImageMotionEstimatorBase > motionEstimator_
Definition: stabilizer.hpp:117
virtual void setEpsilon(double val)=0
@ RECTIFY_STEREOGRAPHIC
Definition: omnidir.hpp:71
@ CPU_VSX
Definition: cvdef.h:307
int ID
Definition: depth.hpp:471
virtual void setMedianFiltering(int val)=0
Median filter kernel size (1 = no filter) (3 or 5)
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.
@ CAP_PROP_XI_GAMMAY
Luminosity gamma.
Definition: videoio.hpp:402
void labelComponents(const GpuMat &mask, GpuMat &components, int flags=0, Stream &stream=Stream::Null())
performs connected componnents labeling.
Mat cloud
point coordinates of type CV_32FC3 or CV_64FC3 with only 1 row
Definition: types.hpp:129
virtual cv::Ptr< Map > calculate(InputArray img1, InputArray img2, cv::Ptr< Map > init=cv::Ptr< Map >()) const CV_OVERRIDE
virtual ~IOutlierRejector()
Definition: outlier_rejection.hpp:61
Definition: or_pascal.hpp:90
size_t size() const
returns the number of elements in the node, if it is a sequence or mapping, or 1 otherwise.
const uchar * datalimit
Definition: mat.hpp:2093
Definition: deriv.hpp:189
List of BinaryDescriptor parameters:
Definition: descriptor.hpp:187
void idft(InputArray src, OutputArray dst, int flags=0, int nonzeroRows=0)
Calculates the inverse Discrete Fourier Transform of a 1D or 2D array.
virtual void setDisp12MaxDiff(int disp12MaxDiff)=0
double bagging_overlap
overlap ratio for training the LBF feature
Definition: facemarkLBF.hpp:76
VideoWriter(const String &filename, int fourcc, double fps, Size frameSize, bool isColor=true)
TermCriteria()
default constructor
virtual Mat getTrainNormCatResponses() const =0
Returns the vector of normalized categorical responses.
Ptr< CLAHE > createCLAHE(double clipLimit=40.0, Size tileGridSize=Size(8, 8))
Creates a smart pointer to a cv::CLAHE class and initializes it.
BufferPool for use with CUDA streams.
Definition: cuda.hpp:482
@ BadOrder
number of dimensions is out of range
Definition: base.hpp:88
virtual void setUpdateBackgroundModel(bool update)=0
Sets the status of background model update.
@ CAP_PVAPI_PIXELFORMAT_BGR24
Bgr24.
Definition: videoio.hpp:322
int minDistanceToAddKeypoint
Definition: calib3d.hpp:1306
#define CV_CPU_POPCNT
Definition: cvdef.h:228
static cv::gapi::GBackend backend()
Definition: gcompoundkernel.hpp:99
double aspect
Definition: camera.hpp:66
int nativeVectorWidthDouble() const
Net readNet(const String &model, const String &config="", const String &framework="")
Read deep learning network represented in one of the supported formats.
void triangulatePoints(InputArrayOfArrays points2d, InputArrayOfArrays projection_matrices, OutputArray points3d)
Reconstructs bunch of points by triangulation.
Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst) CV_OVERRIDE
Projects the image.
Definition: variant.hpp:53
~AsyncPromise() CV_NOEXCEPT
Class, allowing the storage of a pose. The data structure stores both the quaternions and the matrix ...
Definition: pose_3d.hpp:71
void morphologyEx(InputArray src, OutputArray dst, int op, InputArray kernel, Point anchor=Point(-1,-1), int iterations=1, int borderType=BORDER_CONSTANT, const Scalar &borderValue=morphologyDefaultBorderValue())
Performs advanced morphological transformations.
@ CAP_PROP_XI_AEAG_LEVEL
Average intensity of output signal AEAG should achieve(in %).
Definition: videoio.hpp:353
@ CAP_PROP_MODE
Backend-specific value indicating the current capture mode.
Definition: videoio.hpp:142
bool m_is_indx_present
Definition: container_avi.private.hpp:132
void compare(InputArray src1, InputArray src2, OutputArray dst, int cmpop, Stream &stream=Stream::Null())
Compares elements of two matrices (or of a matrix and scalar).
std::string dev_id
Device ID. Refer to PlaidML documentation for details.
Definition: plaidml.hpp:30
UMat(int rows, int cols, int type, const Scalar &s, UMatUsageFlags usageFlags=USAGE_DEFAULT)
constructs 2D matrix and fills it with the specified value _s.
tuple< typename PtrTraits< Ptr0 >::value_type, typename PtrTraits< Ptr1 >::value_type, typename PtrTraits< Ptr2 >::value_type, typename PtrTraits< Ptr3 >::value_type > value_type
Definition: zip.hpp:96
bool checkHardwareSupport(int feature)
Returns true if the specified feature is supported by the host hardware.
size_t nodeSize
Definition: mat.hpp:2681
@ CAP_PROP_XI_AEAG_ROI_HEIGHT
Automatic exposure/gain ROI Height.
Definition: videoio.hpp:376
MouseEventFlags
Mouse Event Flags see cv::MouseCallback.
Definition: highgui.hpp:221
Blender which uses multi-band blending algorithm (see ).
Definition: blenders.hpp:128
@ nppStBorderClamp
Clamp out of range position to borders.
Definition: NPP_staging.hpp:91
PCA(InputArray data, InputArray mean, int flags, double retainedVariance)
Context & initializeContextFromGL()
Creates OpenCL context from GL.
virtual void load(const std::string &path) CV_OVERRIDE=0
bool endianLittle() const
virtual float getContrast() const =0
cv::utils::logging::LogLevel getLogTagLevel(const char *tag)
virtual RetinaParameters getParameters()=0
This structure allows to control the output image region which Fluid backend will produce in the grap...
Definition: gfluidkernel.hpp:111
BlockMeanHashMode
Definition: block_mean_hash.hpp:17
K-nearest neighbours - based Background/Foreground Segmentation Algorithm.
Definition: background_segm.hpp:230
String class_id
Definition: linemod.hpp:285
virtual bool open(const String &filename, int flags, const String &encoding=String())
Opens a file.
void convertFromD3D11Texture2D(ID3D11Texture2D *pD3D11Texture2D, OutputArray dst)
Converts ID3D11Texture2D to OutputArray. If input texture format is DXGI_FORMAT_NV12 then data will b...
mat_type I_2
Definition: qualityssim.hpp:61
static Ptr< Dictionary > create(int nMarkers, int markerSize, int randomSeed=0)
@ CAP_PROP_XI_GAIN_SELECTOR
Gain selector for parameter Gain allows to select different type of gains.
Definition: videoio.hpp:357
@ CAP_PROP_XI_AG_MAX_LIMIT
Maximum limit of gain in AEAG procedure.
Definition: videoio.hpp:352
virtual int getPosThresh() const =0
DictValue LayerId
Container for strings and integers.
Definition: dnn.hpp:457
virtual bool setFaceDetector(bool(*f)(InputArray, OutputArray, void *), void *userData)=0
set the custom face detector
virtual void setPCAIterations(int val)=0
@ CAP_PROP_XI_TARGET_TEMP
Set sensor target temperature for cooling.
Definition: videoio.hpp:393
static void compute(OutputArray desc, const Mat &frame, const Point2i *LSBPSamplePoints)
virtual void setMaskGenerator(const Ptr< MaskGenerator > &maskGenerator)=0
_Mutex Mutex
Definition: lock.private.hpp:18
PtrTraits< SrcPtr >::value_type value_type
Definition: deriv.hpp:190
Expr< Body > ptr_sz_type
Definition: expr.hpp:72
void warpPerspective(InputArray src, OutputArray dst, InputArray M, Size dsize, int flags=INTER_LINEAR, int borderMode=BORDER_CONSTANT, Scalar borderValue=Scalar(), Stream &stream=Stream::Null())
Applies a perspective transformation to an image.
virtual void writeFeatures(FileStorage &fs, const Mat &featureMap) const CV_OVERRIDE
void setMinDepth(double val)
Definition: depth.hpp:928
virtual void setUpdateBackgroundModel(bool update)=0
void detectResultRoi(Size src_size, Point &dst_tl, Point &dst_br) CV_OVERRIDE
Definition: warpers.hpp:619
Definition: gtype_traits.hpp:81
__device__ static __forceinline__ VecD cast(const VecS &v)
Definition: vec_math.hpp:83
virtual ~Saliency()
Destructor.
@ VIDEOWRITER_PROP_FRAMEBYTES
(Read-only): Size of just encoded video frame. Note that the encoding order may be different from rep...
Definition: videoio.hpp:189
virtual void calc(InputArray I0, InputArray I1, InputOutputArray flow)=0
Calculates an optical flow.
virtual ~HOGDescriptor()
Default destructor.
Definition: objdetect.hpp:434
void start()
Start the pipeline execution.
@ FEATURE_SET_COMPUTE_50
Definition: cuda.hpp:778
const char * depthToString(int depth)
Vec4d q
Definition: pose_3d.hpp:130
PtrTraits< SrcPtr >::value_type value_type
Definition: deriv.hpp:351
void operator()(InputArray points, OutputArray depth) const
virtual ~WobbleSuppressorBase()
Definition: wobble_suppression.hpp:65
void setConfThresh(double conf_thresh)
Definition: motion_estimators.hpp:144
@ is_reference
Definition: type_traits.hpp:139
void setRenderingProperty(const String &id, int property, double value)
Sets rendering property of a widget.
bool addTrackerFeature(String trackerFeatureType)
Add TrackerFeature in the collection. Return true if TrackerFeature is added, false otherwise.
int hal_ni_sepFilter(cvhalFilter2D *context, uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int full_width, int full_height, int offset_x, int offset_y)
hal_sepFilter
Definition: hal_replacement.hpp:168
std::vector< GArg > m_args
Definition: gcpukernel.hpp:101
static cv::Ptr< MACE > create(int IMGSIZE=64)
constructor
@ COLOR_RGB2RGBA
Definition: imgproc.hpp:525
void FT12D_polynomial(InputArray matrix, InputArray kernel, OutputArray c00, OutputArray c10, OutputArray c01, OutputArray components, InputArray mask=noArray())
Computes elements of -transform components.
void mapBackward(float u, float v, float &x, float &y)
virtual void setAngleStep(double angleStep)=0
Angle step in degrees.
T get(const String &name, bool space_delete=true) const
Access arguments by name.
Definition: utility.hpp:863
bool hostCopyObsolete() const
static String dumpSizeT(size_t argument)
Definition: bindings_utils.hpp:36
virtual int getUniquenessRatio() const =0
static Ptr< ColorGradient > create(float weak_threshold, size_t num_features, float strong_threshold)
__host__ __device__ Ncv32u getStartClassifierRootNodeOffset(void)
Definition: NCVHaarObjectDetection.hpp:307
int outputNameToIndex(const String &outputName) CV_OVERRIDE
Returns index of output blob in output array.
@ WARP_SIZE
Definition: warp.hpp:59
@ COLOR_BGR2HSV
convert RGB/BGR to HSV (hue saturation value), color conversions
Definition: imgproc.hpp:585
float trimRatio_
Definition: stabilizer.hpp:121
void compute(cv::InputArray inputArr, cv::OutputArray outputArr)
Computes hash of the input image.
NCVStatus nppiStTranspose_64f_C1R(Ncv64f *d_src, Ncv32u srcStride, Ncv64f *d_dst, Ncv32u dstStride, NcvSize32u srcRoi)
void bind() const
Binds all vertex arrays.
@ BORDER_REPLICATE
aaaaaa|abcdefgh|hhhhhhh
Definition: base.hpp:270
MatExpr max(const Mat &a, const Mat &b)
@ MORPH_GRADIENT
Definition: imgproc.hpp:219
__host__ __device__ Binder2nd< Op > bind2nd(const Op &op, const typename Op::second_argument_type &arg2)
Definition: functional.hpp:864
virtual void abs(const MatExpr &expr, MatExpr &res) const
const ConfidenceMap & getLastConfidenceMap() const
Get the last ConfidenceMap for the current frame.
int hal_ni_addWeighted32s(const int *src1_data, size_t src1_step, const int *src2_data, size_t src2_step, int *dst_data, size_t dst_step, int width, int height, const double scalars[3])
Definition: hal_replacement.hpp:322
size_t next
index of the next node in the same hash table entry
Definition: mat.hpp:2695
void updatePoseQuat(Vec4d &Q, Vec3d &NewT)
Updates the pose with the new one, but this time using quaternions to represent rotation.
Affine3d getWidgetPose(const String &id) const
Returns the current pose of a widget in the window.
Ptr< TonemapMantiuk > createTonemapMantiuk(float gamma=1.0f, float scale=0.7f, float saturation=1.0f)
Creates TonemapMantiuk object.
@ COLOR_GRAY2BGRA
Definition: imgproc.hpp:546
void setReductionRatio(int rRatio)
Set reduction ratio (used in Gaussian pyramids)
void queryPCFlann(void *flannIndex, Mat &pc, Mat &indices, Mat &distances)
GenericIndex(const Mat &features, const ::cvflann::IndexParams ¶ms, Distance distance=Distance())
Constructs a nearest neighbor search index for a given dataset.
static void reset_scratch(gapi::fluid::Buffer &scratch_buf)
Definition: gfluidkernel.hpp:390
virtual void setProduceHiddenOutput(bool produce=false)=0
If this flag is set to true then layer will produce as second output.
void encodeParametersStereo(InputArray K1, InputArray K2, InputArray om, InputArray T, InputArrayOfArrays omL, InputArrayOfArrays tL, InputArray D1, InputArray D2, double xi1, double xi2, OutputArray parameters)
cv::use_only() is a special combinator which hints G-API to use only kernels specified in cv::GComput...
Definition: gkernel.hpp:588
virtual ~QuantizedPyramid()
Definition: linemod.hpp:59
@ DETECTED_NOT_SHOWN_YET
Definition: detection_based_tracker.hpp:140
AVCaptureVideoDataOutput * videoDataOutput
Definition: cap_ios.h:102
bool updateGain
Definition: exposure_compensate.hpp:91
virtual int getMinSampleCount() const =0
Definition: warping.hpp:108
Ncv32u Ncv32u_a
Definition: NCVHaarObjectDetection.hpp:215
void updateTrackedObjects(const std::vector< cv::Rect > &detectedObjects)
@ SLICO
Definition: slic.hpp:132
virtual double getSigma()=0
void read(const FileNode &fn) CV_OVERRIDE
Reads algorithm parameters from a file storage.
Definition: sparse_matching_gpc.hpp:281
static bool hasEqualOrGreater(int major, int minor)
void setNrFeeds(int nr_feeds)
Definition: exposure_compensate.hpp:147
cv::Mat _range
Definition: qualitybrisque.hpp:68
virtual Mat getTrainSampleWeights() const =0
cv::String findFile(const cv::String &relative_path, bool required=true, bool silentMode=false)
Try to find requested data file.
static Ptr< DynaFu > create(const Ptr< Params > &_params)
const ::cvflann::IndexParams * getIndexParameters()
Definition: flann.hpp:296
Base Interface for optical flow algorithms using NVIDIA Optical Flow SDK.
Definition: cudaoptflow.hpp:108
void div64f(const double *src1, size_t step1, const double *src2, size_t step2, double *dst, size_t step, int width, int height, void *scale)
Class, allowing the load and matching 3D models. Typical Use:
Definition: ppf_match_3d.hpp:98
int height
Definition: graycodepattern.hpp:80
void setMinDepth(double val)
Definition: depth.hpp:794
virtual void stabilize(int size, const std::vector< Mat > &motions, std::pair< int, int > range, Mat *stabilizationMotions)=0
assumes that [0, size-1) is in or equals to [range.first, range.second)
virtual const Descriptor & descriptorStrong() const =0
Strong descriptor getter.
virtual double getGamma() const =0
static Ptr< Board > create(InputArrayOfArrays objPoints, const Ptr< Dictionary > &dictionary, InputArray ids)
Provide way to create Board by passing necessary data. Specially needed in Python.
void remove_all(const cv::String &path)
Definition: optical_flow.hpp:104
int predict
Definition: tracking_by_matching.hpp:287
virtual bool getUseInitialFlow() const =0
virtual void setAlpha(float value)=0
Sets the step size of sliding window search.
virtual void roi(const MatExpr &expr, const Range &rowRange, const Range &colRange, MatExpr &res) const
static Ptr< TrackerGOTURN > create(const TrackerGOTURN::Params ¶meters)
Constructor.
size_t lost
How many frames ago track has been lost.
Definition: tracking_by_matching.hpp:386
bool empty() const
empty returns if track does not contain objects.
Definition: tracking_by_matching.hpp:338
virtual Ncv32u alignment(void) const =0
_Tp dot(const Point3_ &pt) const
dot product
SparseMatConstIterator const_iterator
Definition: mat.hpp:2669
void imagesFromBlob(const cv::Mat &blob_, OutputArrayOfArrays images_)
Parse a 4D blob and output the images it contains as 2D arrays through a simpler data structure (std:...
void merge(const GpuMat *src, size_t n, OutputArray dst, Stream &stream=Stream::Null())
Makes a multi-channel matrix out of several single-channel matrices.
void * VADisplay
Definition: va_intel.hpp:22
virtual void load(const std::string &path) CV_OVERRIDE=0
static MatExpr max(const Matx< _Tp, m, n > &a, const Mat &b)
Definition: mat.hpp:3700
bool signedGradient
Indicates signed gradient will be used or not.
Definition: objdetect.hpp:629
@ COLORMAP_PARULA
Definition: imgproc.hpp:4231
@ NORM_RELATIVE
flag
Definition: base.hpp:206
static GFluidKernel kernel()
Definition: gfluidkernel.hpp:423
virtual void setSVMDetector(InputArray detector)=0
Sets coefficients for the linear SVM classifier.
Ncv32u _height
Definition: NCV.hpp:834
static Ptr< DFT2D > create(int width, int height, int depth, int src_channels, int dst_channels, int flags, int nonzero_rows=0)
Mat getDefaultNewCameraMatrix(InputArray cameraMatrix, Size imgsize=Size(), bool centerPrincipalPoint=false)
Returns the default new camera matrix.
BaseClassifier(int numWeakClassifier, int iterationInit)
virtual void run(Mat &image, std::string &output_text, std::vector< Rect > *component_rects=NULL, std::vector< std::string > *component_texts=NULL, std::vector< float > *component_confidences=NULL, int component_level=0)=0
virtual void getEntityAnimations(const String &name, std::vector< String > &out)=0
void startWriteAVI(int stream_count)
float Type
Definition: features2d.hpp:798
@ CAP_PROP_INTELPERC_DEPTH_LOW_CONFIDENCE_VALUE
Definition: videoio.hpp:522
virtual Mat getTrainResponses() const =0
Returns the vector of responses.
bool ceilMode
Definition: all_layers.hpp:256
int numVertices() const
Definition: util.hpp:90
~shared_lock_guard()
Definition: lock.private.hpp:51
static float reinterpret_from_int(int_type x)
Definition: intrin.hpp:139
Mat initCameraMatrix2D(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints, Size imageSize, double aspectRatio=1.0)
Finds an initial camera matrix from 3D-2D point correspondences.
@ ALPHA_PLUS
Definition: cudaimgproc.hpp:159
virtual const std::vector< Mat > & stabilizedFrames() const
Definition: inpainting.hpp:88
@ MATERIAL_POINT_SIZE
Definition: ovis.hpp:35
GMatP yieldP(int output=0)
virtual float compute(const cv::Mat &descr1, const cv::Mat &descr2)=0
Computes distance between two descriptors.
DetectorType
Definition: features2d.hpp:453
Matx< float, 3, 1 > Matx31f
Definition: matx.hpp:223
void match(const std::vector< Mat > &sources, float threshold, std::vector< Match > &matches, const std::vector< String > &class_ids=std::vector< String >(), OutputArrayOfArrays quantized_images=noArray(), const std::vector< Mat > &masks=std::vector< Mat >()) const
Detect objects by template matching.
static void createHeader(int num_item, int rows, int cols, const char *headerPath)
Create header in binary files collecting the image data and label.
std::vector< std::string > output_names
Definition: ie.hpp:52
@ DNN_TARGET_CUDA
Definition: dnn.hpp:95
G_TYPED_KERNEL_M(GPolarToCart,< GMat2(GMat, GMat, bool)>, "org.opencv.core.math.polarToCart")
Definition: core.hpp:137
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.
void setScale(float)
Definition: warpers.hpp:114
virtual void setIterations(int val)=0
__host__ void create(int arows, int acols)
allocates new GpuMat data unless the GpuMat already has specified size and type
@ COLORMAP_TWILIGHT
Definition: imgproc.hpp:4237
virtual void apply(InputArray src, OutputArray dst, Stream &stream=Stream::Null())=0
Applies the specified filter to the image.
double value
Definition: ml.hpp:1161
void setDevice(int device)
Sets a device and initializes it for the current thread.
Definition: t_hash_int.hpp:68
std::vector< Mat > stabilizationMotions_
Definition: stabilizer.hpp:139
unsigned char code
Definition: types.hpp:299
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:97
PCAPrior(const char *pathToPrior)
void setWindowTitle(const String &winname, const String &title)
Updates window title.
void _cleanupDetachedData()
Definition: tls.hpp:189
LpMotionStabilizer(MotionModel model=MM_SIMILARITY)
int value_type
Definition: vec_distance.hpp:63
cv::Mat get_column_range(const cv::Mat &data)
Definition: quality_utils.hpp:62
Definition: all_layers.hpp:484
void deallocate()
internal use function, consider to use 'release' method instead; deallocates the matrix data
const Ptr< detail::SeamFinder > seamFinder() const
Definition: stitching.hpp:244
int getCols() const
Definition: depth.hpp:132
virtual bool getFrame(Mat &frame, int datasetID, int frameID)=0
Definition: warpers.hpp:351
@ MORPH_RECT
a rectangular structuring element:
Definition: imgproc.hpp:231
@ SOLVEPNP_IPPE
Definition: calib3d.hpp:241
int aprilTagMinClusterPixels
Definition: aruco.hpp:182
void scaleAdd(InputArray src1, double alpha, InputArray src2, OutputArray dst)
Calculates the sum of a scaled array and another array.
static MatExpr zeros(int rows, int cols, int type)
Returns a zero array of the specified size and type.
Implementation of the target state for TrackerAdaBoostingTargetState.
Definition: tracker.hpp:652
double perspectiveRemoveIgnoredMarginPerCell
Definition: aruco.hpp:172
@ COLOR_YUV2RGBA_UYNV
Definition: imgproc.hpp:689
Ptr< MergeRobertson > createMergeRobertson()
Creates MergeRobertson object.
void mulAndScaleSpectrums(InputArray src1, InputArray src2, OutputArray dst, int flags, float scale, bool conjB=false, Stream &stream=Stream::Null())
Performs a per-element multiplication of two Fourier spectrums and scales the result.
void warpAffine(int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, const double M[6], int interpolation, int borderType, const double borderValue[4])
virtual void reset() CV_OVERRIDE
NCVStatus nppsStCompact_32s(Ncv32s *d_src, Ncv32u srcLen, Ncv32s *d_dst, Ncv32u *p_dstLen, Ncv32s elemRemove, Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp)
virtual void setP1(int P1)=0
ToFileMotionWriter(const String &path, Ptr< ImageMotionEstimatorBase > estimator)
@ GC_INIT_WITH_RECT
Definition: imgproc.hpp:352
cudaTextureObject_t texObj
Definition: texture.hpp:190
void setScaleFactor(float value)
Definition: detection_based_tracker.hpp:100
Definition: ar_sports.hpp:61
std::vector< T > & wref()
Definition: garray.hpp:173
DetectionModel(const Net &network)
Create model from deep learning network.
int rows
Definition: deriv.hpp:209
Definition: gfluidkernel.hpp:262
int hal_ni_gemm64fc(const double *src1, size_t src1_step, const double *src2, size_t src2_step, double alpha, const double *src3, size_t src3_step, double beta, double *dst, size_t dst_step, int m, int n, int k, int flags)
Definition: hal_replacement.hpp:703
Scalar sqrSum(InputArray src, InputArray mask=noArray())
Returns the squared sum of matrix elements.
@ WMF_IV2
Definition: weighted_median_filter.hpp:68
float voxelSize
Size of voxel in meters.
Definition: dynafu.hpp:60
Definition: tracker.hpp:1228
__device__ __forceinline__ double4 tanh(const double4 &a)
Definition: vec_math.hpp:364
__host__ void gridMinMaxLoc(const SrcPtr &src, GpuMat_< ResType > &valBuf, GpuMat_< int > &locBuf, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: reduce.hpp:353
bool empty() const
Definition: qualitygmsd.hpp:74
std::vector< cv::gapi::own::Rect > rois
Definition: gfluidkernel.hpp:112
const _Tp * pointer
Definition: mat.hpp:3084
virtual void setGridStep(Size val)=0
Size of the grid to spawn the motion vectors.
@ NCVMemoryTypeDevice
Definition: NCV.hpp:432
SolverType getSolverType() const
Definition: detection_based_tracker.hpp:61
void writeBack() const
Definition: goclkernel.hpp:145
float minDensity
Definition: calib3d.hpp:1304
virtual cv::Mat drawActiveTracks(const cv::Mat &frame)=0
Draws active tracks on a given frame.
void * depth_cleaner_impl_
Definition: depth.hpp:263
std::vector< GPCPatchSample > GPCSamplesVector
Definition: sparse_matching_gpc.hpp:86
OBJECT m_payload
Definition: utility.hpp:1122
signed char schar
Definition: interface.h:48
GpuMat rowRange(int startrow, int endrow) const
... for the specified row span
bool computeSaliencyImpl(InputArray image, OutputArray saliencyMap) CV_OVERRIDE
Performs all the operations and calls all internal functions necessary for the accomplishment of the ...
WPaintedCloud(InputArray cloud, const Point3d &p1, const Point3d &p2, const Color &c1, const Color c2)
Paint cloud with gradient specified by given colors between given points.
ERStat * min_probability_ancestor
Definition: erfilter.hpp:111
Definition: gr_chalearn.hpp:76
size_t hashidx
Definition: mat.hpp:3221
std::random_access_iterator_tag iterator_category
Definition: mat.hpp:3138
@ CAP_PROP_XI_MANUAL_WB
Calculates White Balance(must be called during acquisition).
Definition: videoio.hpp:347
Bilinear resize layer from https://github.com/cdmh/deeplab-public-ver2.
Definition: all_layers.hpp:633
MemoryFlag
Definition: mat.hpp:532
static Ptr< HistogramPhaseUnwrapping > create(const HistogramPhaseUnwrapping::Params ¶meters=HistogramPhaseUnwrapping::Params())
Constructor.
virtual void setNumIters(int iters)=0
std::vector< GRunArg > GRunArgs
Definition: garg.hpp:101
void forward(OutputArrayOfArrays outputBlobs, const String &outputName=String())
Runs forward pass to compute output of layer with name outputName.
void colorMatchTemplate(InputArray img, InputArray templ, OutputArray result)
Compares a color template against overlapped color image regions.
static float DEFAULT_MAX_DEPTH()
Definition: depth.hpp:539
virtual ~CvHOGEvaluator()
Definition: feature.hpp:301
static void read(const FileNode &node, std::vector< KeyPoint > &vec, const std::vector< KeyPoint > &default_value)
Definition: persistence.hpp:1181
static Ptr< TrackerMOSSE > create()
Constructor.
Definition: deriv.hpp:235
BundleAdjusterBase(int num_params_per_cam, int num_errs_per_measurement)
Construct a bundle adjuster base instance.
Definition: motion_estimators.hpp:155
VectorRefT()
Definition: garray.hpp:141
NCVStatus ncvDrawRects_32u_device(Ncv32u *d_dst, Ncv32u dstStride, Ncv32u dstWidth, Ncv32u dstHeight, NcvRect32u *d_rects, Ncv32u numRects, Ncv32u color, cudaStream_t cuStream)
@ NCV_NOT_IMPLEMENTED
Definition: NCV.hpp:350
~variant()
Definition: variant.hpp:243
Yes a[2]
Definition: functional.hpp:877
std::shared_ptr< Priv > m_priv
Definition: gcall.hpp:54
void * indexPCFlann(Mat pc)
T & value()
Definition: optional.hpp:139
virtual void setQualityLevel(double qlevel)=0
void rotation(const Vec3 &rvec)
virtual NcvBool isInitialized() const
virtual void load(const std::string &path) CV_OVERRIDE=0
@ block_size_x
Definition: reduce_to_vec.hpp:214
int axis
Definition: all_layers.hpp:547
void showImage(InputArray image, const Size &window_size=Size(-1, -1))
Removed all widgets and displays image scaled to whole window area.
Mat A0
average of gray values from all face region in the dataset
Definition: facemarkAAM.hpp:121
@ CPU_NEON
Definition: cvdef.h:303
@ CAP_REALSENSE
Synonym for CAP_INTELPERC.
Definition: videoio.hpp:112
int hal_ni_cvtBGRtoLab(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isLab, bool srgb)
hal_cvtBGRtoLab
Definition: hal_replacement.hpp:472
float response
the response by which the most strong keypoints have been selected. Can be used for the further sorti...
Definition: types.hpp:776
v_reg< _Tp, n > v_rotate_left(const v_reg< _Tp, n > &a)
Definition: intrin_cpp.hpp:1130
virtual void setMinSize(int min_size)=0
Definition: warpers.hpp:211
EncoderParams(const String &configFile)
Constructors.
int thick
The thickness of the circle outline, if positive. Negative values, like FILLED, mean that a filled ci...
Definition: render.hpp:235
int size() const
Returns the vertex count.
virtual void setSpeckleWindowSize(int speckleWindowSize)=0
Definition: cudalegacy.hpp:71
@ CAP_PROP_XI_ACQ_BUFFER_SIZE_UNIT
Acquisition buffer size unit in bytes. Default 1. E.g. Value 1024 means that buffer_size is in KiByte...
Definition: videoio.hpp:458
@ CAP_PROP_XI_BINNING_VERTICAL
Vertical Binning - number of vertical photo-sensitive cells to combine together.
Definition: videoio.hpp:361
virtual void setMatGains(std::vector< Mat > &)
Definition: exposure_compensate.hpp:89
const _Tp * data() const
returns read-only pointer to the real buffer, stack-allocated or heap-allocated
Definition: utility.hpp:130
Definition: warpers.hpp:464
static Ptr< SwishLayer > create(const LayerParams ¶ms)
Mat_(int _rows, int _cols, const _Tp &value)
constructor that sets each matrix element to specified value
@ patch_size_y
Definition: reduce.hpp:300
@ PSM_AUTO_OSD
Definition: ocr.hpp:70
virtual void apply(InputArray image, OutputArray fgmask, double learningRate=-1) CV_OVERRIDE=0
Computes a foreground mask.
virtual ~ClassifierCallback()
Definition: ocr.hpp:207
Ptr< UnscentedKalmanFilter > createUnscentedKalmanFilter(const UnscentedKalmanFilterParams ¶ms)
Unscented Kalman Filter factory method.
virtual ~NCVMatrix()
Definition: NCV.hpp:749
const DictValue & get(const String &key) const
If the key in the dictionary then returns its value, else an error will be generated.
FileNode(const FileStorage *fs, size_t blockIdx, size_t ofs)
AffineBestOf2NearestMatcher(bool full_affine=false, bool try_use_gpu=false, float match_conf=0.3f, int num_matches_thresh1=6)
Constructs a "best of 2 nearest" matcher that expects affine trasformation between images.
Definition: matchers.hpp:237
Ptr< GeneralizedHoughBallard > createGeneralizedHoughBallard()
Creates implementation for generalized hough transform from .
Warper that maps an image onto the z = 1 plane.
Definition: warpers.hpp:181
Mat normals
Definition: depth.hpp:475
Vec< int, 4 > Vec4i
Definition: matx.hpp:414
virtual void setFindLargestObject(bool findLargestObject)=0
UMat(int rows, int cols, int type, UMatUsageFlags usageFlags=USAGE_DEFAULT)
constructs 2D matrix of the specified size and type
virtual void compute(InputArray left, InputArray right, OutputArray disparity, Stream &stream)=0
void calcMotionGradient(InputArray mhi, OutputArray mask, OutputArray orientation, double delta1, double delta2, int apertureSize=3)
Calculates a gradient orientation of a motion history image.
@ CAP_PROP_XI_DEBUG_LEVEL
Set debug level.
Definition: videoio.hpp:475
Mat_ cross(const Mat_ &m) const
cross-product
cv::Mat getCameraMatrix() const CV_OVERRIDE
Definition: depth.hpp:651
Definition: warpers.hpp:173
bool runTask(bool sync, const Queue &q=Queue())
int deviceID() const
Returns system index of the CUDA device starting with 0.
float getSigmaSpatial() const
Definition: depth.hpp:1103
__device__ __forceinline__ tuple< volatile T0 * > smem_tuple(T0 *t0)
Definition: reduce.hpp:130
virtual void setRefineModels(bool refineModles=true)=0
Parameter to choose wether additional refinement of the piece-wise affine models is employed.
int cols
Definition: interpolation.hpp:78
Ask G-API to dump compiled graph in Graphviz format under the given file name.
Definition: gcommon.hpp:140
virtual const Affine3f getPose() const =0
Get current pose in voxel space.
Definition: ar_sports.hpp:67
__host__ Expr< CountNonZeroExprBody< SrcPtr > > countNonZero_(const SrcPtr &src)
Definition: reduction.hpp:165
MotionEstimatorRansacL2(MotionModel model=MM_AFFINE)
@ ERGROUPING_ORIENTATION_HORIZ
Definition: erfilter.hpp:279
void getLayersShapes(const MatShape &netInputShape, std::vector< int > &layersIds, std::vector< std::vector< MatShape > > &inLayersShapes, std::vector< std::vector< MatShape > > &outLayersShapes) const
Mat(const std::vector< _Tp > &vec, bool copyData=false)
@ CAP_PROP_XI_USED_FFS_SIZE
Size of used camera FFS.
Definition: videoio.hpp:480
unsigned member_type
Definition: core.hpp:3249
Definition: gproto.hpp:63
@ light
Definition: gr_skig.hpp:83
__host__ RemapPtr1Sz< typename PtrTraits< SrcPtr >::ptr_type, PerspectiveMapPtr > warpPerspectivePtr(const SrcPtr &src, Size dstSize, const GpuMat_< float > &warpMat)
Definition: warping.hpp:148
@ CAP_PROP_GIGA_FRAME_OFFSET_X
Definition: videoio.hpp:507
virtual bool getUseVariationalRefinement() const =0
Parameter to choose wether the VariationalRefinement post-processing is employed.
ocr_engine_mode
Tesseract.OcrEngineMode Enumeration.
Definition: ocr.hpp:84
virtual int getAlgorithmType() const =0
virtual void setMaxLevel(int maxLevel)=0
@ DETECTED_TEMPORARY_LOST
Definition: detection_based_tracker.hpp:142
Definition: feature.hpp:299
virtual double getShadowThreshold() const =0
Returns the shadow threshold.
static Ptr< DepthNormal > create(int distance_threshold, int difference_threshold, size_t num_features, int extract_threshold)
__host__ GpuMat_ & assign(const Expr< Body > &expr, Stream &stream)
__host__ __device__ NcvSize32s(Ncv32s width_, Ncv32s height_)
Definition: NCV.hpp:177
bool writeOpticalFlow(const String &path, InputArray flow)
Write a .flo to disk.
void sub8u(const uchar *src1, size_t step1, const uchar *src2, size_t step2, uchar *dst, size_t step, int width, int height, void *)
#define CV_AVX_512VBMI
Definition: cv_cpu_dispatch.h:282
@ EVENT_FLAG_LBUTTON
indicates that the left mouse button is down.
Definition: highgui.hpp:222
iterator begin()
iterators; they are smart enough to skip gaps in the end of rows
V_TypeTraits< _Tp >::sum_type v_reduce_sum(const v_reg< _Tp, n > &a)
Sum packed values.
Definition: intrin_cpp.hpp:1140
static plaidml::edsl::Tensor & get(GPlaidMLContext &ctx, int idx)
Definition: gplaidmlkernel.hpp:95
~CommandLineParser()
Destructor.
Definition: all_layers.hpp:246
@ CAP_PROP_OPENNI_MAX_TIME_DURATION
Definition: videoio.hpp:238
void invSqrt64f(const double *src, double *dst, int len)
int imageStop
Definition: descriptor.hpp:174
@ CAP_DC1394
Same value as CAP_FIREWIRE.
Definition: videoio.hpp:97
virtual void setTemplate(InputArray edges, InputArray dx, InputArray dy, Point templCenter=Point(-1, -1))=0
GScalar(const cv::gapi::own::Scalar &s)
CALayer * customPreviewLayer
Definition: cap_ios.h:105
optional(const optional &)=default
void createPlaneMesh(const String &name, const Size2f &size, InputArray image=noArray())
std::size_t m_elemSize
Definition: garray.hpp:114
cv::String getInferenceEngineVPUType()
Returns Inference Engine VPU type.
Ncv32u width
Rectangle width.
Definition: NCV.hpp:183
Moments(double m00, double m10, double m01, double m20, double m11, double m02, double m30, double m21, double m12, double m03)
the full constructor
@ DFT_COMPLEX_INPUT
Definition: base.hpp:256
Ptr< cuda::DisparityBilateralFilter > createDisparityBilateralFilter(int ndisp=64, int radius=3, int iters=1)
Creates DisparityBilateralFilter object.
float maxThreshold
Definition: features2d.hpp:630
Affine3 rotate(const Mat3 &R) const
a.rotate(R) is equivalent to Affine(R, 0) * a;
TrackedObject & operator[](size_t i)
operator [] return non-const reference to detected object with specified index.
Definition: tracking_by_matching.hpp:360
static void read(const FileNode &node, short &value, short default_value)
Definition: persistence.hpp:1146
std::tuple< GMat, GMat > integral(const GMat &src, int sdepth=-1, int sqdepth=-1)
Calculates the integral of an image.
virtual void load(const std::string &path) CV_OVERRIDE=0
virtual void setMinLineLength(int minLineLength)=0
@ COLOR_YUV2BGR_I420
Definition: imgproc.hpp:651
const char * vecopTypeToStr(int t)
virtual void setMaxAspectRatio(float value)=0
Sets the max aspect ratio of boxes.
static Ptr< SVM > load(const String &filepath)
Loads and creates a serialized svm from a file.
Matx(const Matx< _Tp, m, n > &a, const Matx< _Tp, m, n > &b, Matx_AddOp)
Definition: NCVHaarObjectDetection.hpp:79
Ptr< Filter > createColumnSumFilter(int srcType, int dstType, int ksize, int anchor=-1, int borderMode=BORDER_DEFAULT, Scalar borderVal=Scalar::all(0))
Creates a vertical 1D box filter.
Mat sum
Definition: feature.hpp:290
std::string value
Definition: tr_icdar.hpp:62
Event(Event::CreateFlags flags=Event::CreateFlags::DEFAULT)
static Ptr< NormalizeBBoxLayer > create(const LayerParams ¶ms)
Definition: extrapolation.hpp:95
virtual float getP() const =0
Percent of top/bottom values to ignore.
Point_(const Size_< _Tp > &sz)
bool split_coeff
split the training coefficients into two matrices
Definition: tracker.hpp:1251
auto compileStreaming(const Ts &... meta_and_compile_args) -> typename std::enable_if< detail::are_meta_descrs_but_last< Ts... >::value &&std::is_same< GCompileArgs, detail::last_type_t< Ts... > >::value, GStreamingCompiled >::type
Definition: gcomputation.hpp:483
NCVStatus nppiStTranspose_32u_C1R_host(Ncv32u *h_src, Ncv32u srcStride, Ncv32u *h_dst, Ncv32u dstStride, NcvSize32u srcRoi)
ShapeMatchModes
Shape matching methods.
Definition: imgproc.hpp:449
@ CAP_PROP_PVAPI_PIXELFORMAT
Pixel format.
Definition: videoio.hpp:298
float similarity
Definition: linemod.hpp:284
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.
@ COLOR_YUV2RGB
Definition: imgproc.hpp:629
__host__ GpuMat_(InputArray arr, Allocator *allocator=defaultAllocator())
builds GpuMat from host memory (Blocking call)
@ COLOR_GRAY2RGB
Definition: imgproc.hpp:545
int waitKeyEx(int delay=0)
Similar to waitKey, but returns full key code.
void recip16u(const ushort *, size_t, const ushort *src2, size_t step2, ushort *dst, size_t step, int width, int height, void *scale)
TrackerModel()
Constructor.
Definition: tr_icdar.hpp:75
bool load(const String &filename)
Loads a classifier from a file.
virtual int getMinRegionSizeII()=0
virtual Mat getWeights(int layerIdx) const =0
Matx< _Tp, m, n > mul(const Matx< _Tp, m, n > &a) const
multiply two matrices element-wise
Matx44d transformMat
Definition: slam_tumindoor.hpp:70
void setFov(const Vec2d &fov)
Definition: types.hpp:217
cv::Mat getStructuringElement(int shape, Size ksize)
Returns a run length encoded structuring element of the specified size and shape.
int radius() const
Definition: motion_stabilizing.hpp:103
virtual void setNonMaxSuppression(bool nonMaxSuppression)=0
virtual void getCloud(OutputArray points, OutputArray normals) const =0
Gets points and normals of current 3d mesh.
@ CAP_PROP_EXPOSURE
Exposure (only for those cameras that support).
Definition: videoio.hpp:148
@ CAP_PROP_GPHOTO2_PREVIEW
Capture only preview from liveview mode.
Definition: videoio.hpp:554
static Scalar all(double v0)
Definition: scalar.hpp:33
double mat4[3]
Definition: msm_epfl.hpp:65
Definition: ar_hmdb.hpp:68
Size_< int > Size2i
Definition: types.hpp:343
virtual double getDataWeight() const =0
data weight
void polarToCart(InputArray magnitude, InputArray angle, OutputArray x, OutputArray y, bool angleInDegrees=false, Stream &stream=Stream::Null())
Converts polar coordinates into Cartesian.
F m_f
Definition: gcpukernel.hpp:124
int hal_ni_gemm32fc(const float *src1, size_t src1_step, const float *src2, size_t src2_step, float alpha, const float *src3, size_t src3_step, float beta, float *dst, size_t dst_step, int m, int n, int k, int flags)
Definition: hal_replacement.hpp:700
virtual ~AllocatorStatisticsInterface()
Definition: allocator_stats.hpp:16
@ StsDivByZero
division by zero
Definition: base.hpp:102
int hal_ni_min16u(const ushort *src1_data, size_t src1_step, const ushort *src2_data, size_t src2_step, ushort *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:113
std::random_access_iterator_tag iterator_category
Definition: mat.hpp:3087
void split(const Mat &src, Mat *mvbegin)
Divides a multi-channel array into several single-channel arrays.
virtual void setUseRNG(bool val)=0
Ptr< CornernessCriteria > createHarrisCorner(int srcType, int blockSize, int ksize, double k, int borderType=BORDER_REFLECT101)
Creates implementation for Harris cornerness criteria.
a wrapper class which allows the tone mapping algorithm of Meylan&al(2007) to be used with OpenCV.
Definition: retinafasttonemapping.hpp:100
void convertFromImage(void *cl_mem_image, UMat &dst)
Convert OpenCL image2d_t to UMat.
Vec(_Tp v0, _Tp v1, _Tp v2)
3-element vector constructor
static Ptr< TrainData > loadFromCSV(const String &filename, int headerLineCount, int responseStartIdx=-1, int responseEndIdx=-1, const String &varTypeSpec=String(), char delimiter=',', char missch='?')
Reads the dataset from a .csv file and returns the ready-to-use training data.
size_t step1(int i=0) const
int y
Definition: tr_icdar.hpp:63
virtual void compute(const cv::Mat &mat, cv::Mat &descr)=0
Computes image descriptor.
void _mm_deinterleave_epi8(__m128i &v_r0, __m128i &v_r1, __m128i &v_g0, __m128i &v_g1)
Definition: sse_utils.hpp:56
@ SFM_IO_THEIASFM
Definition: io.hpp:62
virtual void calc(InputArray prevImg, InputArray nextImg, InputArray prevPts, InputOutputArray nextPts, OutputArray status, OutputArray err=cv::noArray(), Stream &stream=Stream::Null())=0
Calculates a sparse optical flow.
bool imreadmulti(const String &filename, std::vector< Mat > &mats, int flags=IMREAD_ANYCOLOR)
Loads a multi-page image from a file.
float dx
horizontal interval between letters
Definition: highgui.hpp:699
@ LINE_LOOP
Definition: opengl.hpp:481
@ NPPST_MEM_ALLOC_ERR
CUDA memory allocation error.
Definition: NCV.hpp:361
String getClassName() const
Get the name of the specific TrackerStateEstimator.
Wrapper for OpenGL Client-Side Vertex arrays.
Definition: opengl.hpp:407
Mat measurementMatrix
measurement matrix (H)
Definition: tracking.hpp:397
@ OEM_TESSERACT_ONLY
Definition: ocr.hpp:85
virtual void clear()=0
Clears the train descriptor collection.
@ CAP_PROP_GIGA_FRAME_OFFSET_Y
Definition: videoio.hpp:508
Vec3f lightPose
light pose for rendering in meters
Definition: dynafu.hpp:94
Stream()
creates a new asynchronous stream
@ CAP_PROP_SAR_DEN
Sample aspect ratio: num/den (den)
Definition: videoio.hpp:173
float minDistBetweenBlobs
Definition: features2d.hpp:632
static Ptr< ANN_MLP > create()
Creates empty model.
Mat eigenvalues
eigenvalues of the covariation matrix
Definition: core.hpp:2532
int cols
Definition: interpolation.hpp:273
std::string string() const
Simplified reading API to use with bindings.
bool open(const String &filename, int apiPreference, int fourcc, double fps, Size frameSize, bool isColor=true)
Flags
Definition: core.hpp:2395
uchar * ptr
Definition: imgproc.hpp:4734
virtual bool empty() const =0
Returns true if there are no train descriptors in the collection.
virtual ~DFT1D()
Definition: hal.hpp:208
__device__ __forceinline__ PtrTraits< SrcPtr >::value_type operator()(float y, float x) const
Definition: interpolation.hpp:70
Definition: gcpukernel.hpp:278
Model & setInputMean(const Scalar &mean)
Set mean value for frame.
void updateImpl(std::vector< ConfidenceMap > &confidenceMaps) CV_OVERRIDE
virtual int getDims() const =0
NCVStatus nppiStTranspose_32f_C1R_host(Ncv32f *h_src, Ncv32u srcStride, Ncv32f *h_dst, Ncv32u dstStride, NcvSize32u srcRoi)
std::string filename
Definition: or_pascal.hpp:80
virtual void setNOctaveLayers(int octaveLayers)=0
std::vector< bool > non_maximal_suppression(std::vector< std::vector< double > > *boxes, std::vector< double > *probs)
Applies Non-Maximal Supression.
Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst) CV_OVERRIDE
Projects the image.
Definition: warpers.hpp:491
VecCommaInitializer(Vec< _Tp, m > *_vec)
genderType gender
Definition: fr_adience.hpp:73
virtual float getInitialStepSize() const =0
Parameter initialStepSize of a SVMSGD optimization problem.
float lambda
lambda stores a value to calculate probability of closeness of two coordinates.
Definition: face_alignment.hpp:33
static softfloat zero()
Zero constant.
Definition: softfloat.hpp:204
virtual void process(InputArrayOfArrays src, std::vector< Mat > &dst, InputArray times, InputArray response) CV_OVERRIDE=0
Aligns images.
int getExp() const
Get 0-based exponent.
Definition: softfloat.hpp:316
hashtable_int * hashtableRead(FILE *f)
Ncv32f * pNewFrame
new frame
Definition: NPP_staging.hpp:125
Params< Net > & constInput(const std::string &layer_name, const cv::Mat &data, TraitAs hint=TraitAs::TENSOR)
Definition: ie.hpp:102
size_t elemSize() const
returns element size in bytes
void writeFormat(FileStorage &fs) const
int recentEdge
Definition: imgproc.hpp:1241
Size getOriginalWindowSize() const
virtual void getInitStep(OutputArray step) const =0
Returns the initial step that will be used in downhill simplex algorithm.
GMat max(const GMat &src1, const GMat &src2)
Calculates per-element maximum of two matrices.
CostFunction costFunction() const
Definition: seam_finders.hpp:128
AsyncArray getArrayResult()
@ THINNING_GUOHALL
Definition: ximgproc.hpp:112
void importReconstruction(const cv::String &file, OutputArrayOfArrays Rs, OutputArrayOfArrays Ts, OutputArrayOfArrays Ks, OutputArrayOfArrays points3d, int file_format=SFM_IO_BUNDLER)
Import a reconstruction file.
Rect resolution
resolution of the current scale
Definition: facemarkAAM.hpp:117
Exception(int _code, const String &_err, const String &_func, const String &_file, int _line)
virtual int getMaxCategories() const =0
bool bottom_left_origin
When true, the image data origin is at the bottom-left corner. Otherwise, it is at the top-left corne...
Definition: render.hpp:133
double Px
Definition: gr_chalearn.hpp:67
float score
Definition: edgeboxes.hpp:60
int hal_ni_addWeighted16u(const ushort *src1_data, size_t src1_step, const ushort *src2_data, size_t src2_step, ushort *dst_data, size_t dst_step, int width, int height, const double scalars[3])
Definition: hal_replacement.hpp:320
Definition: sparse_matching_gpc.hpp:78
~AutoBuffer()
destructor. calls deallocate()
float initInRad
radius for gathering positive instances during init
Definition: tracker.hpp:786
virtual void setup(String retinaParameterFile="", const bool applyDefaultSetupOnFailure=true)=0
Try to open an XML retina parameters file to adjust current retina instance setup.
void printError(RiffList &list, unsigned int expected_fourcc)
std::string trg_id
Target ID. Refer to PlaidML documentation for details.
Definition: plaidml.hpp:31
static GComputation get_substitute()
Definition: gtransform.hpp:60
Definition: gfluidbuffer.hpp:99
virtual void setInnerIterations(int val)=0
Inner iterations (between outlier filtering) used in the numerical scheme.
static cv::Ptr< MACE > load(const String &filename, const String &objname=String())
constructor
PtrTraits< MaskPtr >::index_type index_type
Definition: mask.hpp:71
void * _getImpl() const CV_NOEXCEPT
Definition: async_promise.hpp:63
std::vector< int > labels
Definition: ar_sports.hpp:63
@ CAP_PROP_XI_FFS_FILE_SIZE
Size of file.
Definition: videoio.hpp:478
@ DEFAULT
Definition: descriptor.hpp:1157
void randMVNormal(InputArray mean, InputArray cov, int nsamples, OutputArray samples)
Generates sample from multivariate normal distribution.
Definition: gcpukernel.hpp:113
size_t maxConstantBufferSize() const
Ptr< detail::ExposureCompensator > exposureCompensator()
Definition: stitching.hpp:238
static const std::vector< U > & get(const cv::GArgs &in_args, int idx)
Definition: gfluidkernel.hpp:197
cv::Ptr< ITrackerByMatching > createTrackerByMatching(const TrackerParams ¶ms=TrackerParams())
The factory to create Tracker-by-Matching algorithm implementation.
void estimateTransformation(InputArray src, InputArray dst, OutputArray alphaPhiST, double &dist, bool fdContour=false)
Fit two closed curves using fourier descriptors. More details in and .
Definition: fr_adience.hpp:84
virtual void setSigma(double sigma)=0
Definition: interpolation.hpp:295
@ CPU_AVX_512VL
Definition: cvdef.h:295
void setAutoRelease(bool flag)
Sets auto release mode.
Definition: onlineBoosting.hpp:110
GMat dilate(const GMat &src, const Mat &kernel, const 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 setTrackbarMin(const String &trackbarname, const String &winname, int minval)
Sets the trackbar minimum position.
virtual void filter(InputArray src, OutputArray dst, int dDepth=-1)=0
Apply Guided Filter to the filtering image.
void read(const FileNode &fn)
void operator()(int rrWidth, int w2, int rWidth, int jj, int j, int c[num_images]) const
Definition: descriptor.hpp:80
void addWeighted16s(const short *src1, size_t step1, const short *src2, size_t step2, short *dst, size_t step, int width, int height, void *scalars)
__host__ __device__ __forceinline__ ZipPtrSz(const PtrTuple &t)
Definition: zip.hpp:113
virtual float getSigmaSpace() const =0
bool addTrackerSamplerAlgorithm(Ptr< TrackerSamplerAlgorithm > &sampler)
Mat transformPCPose(Mat pc, const Matx44d &Pose)
@ CAP_PVAPI_DECIMATION_2OUTOF4
2 out of 4 decimation
Definition: videoio.hpp:311
bool empty() const
returns true if the node is empty
v_reg< float, 4 > v_float32x4
Four 32-bit floating point values (single precision)
Definition: intrin_cpp.hpp:397
State
Definition: persistence.hpp:324
Bundle adjuster that expects affine transformation represented in homogeneous coordinates in R for ea...
Definition: motion_estimators.hpp:290
@ CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION_ON
Definition: videoio.hpp:251
void merge16u(const ushort **src, ushort *dst, int len, int cn)
Dictionary/Set of markers. It contains the inner codification.
Definition: dictionary.hpp:61
schar elem_type
Definition: vec_traits.hpp:152
virtual void setNumLevels(int numLevels)=0
int getTransformType() const CV_OVERRIDE
Definition: depth.hpp:1127
virtual void setUseVariationalRefinement(bool val)=0
enables VariationalRefinement
@ COLOR_BayerRG2GRAY
Definition: imgproc.hpp:751
ColorConversionCodes
Definition: imgproc.hpp:523
virtual int getNOctaveLayers() const =0
int hal_ni_max32s(const int *src1_data, size_t src1_step, const int *src2_data, size_t src2_step, int *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:107
SrcPtr src
Definition: interpolation.hpp:299
size_t hashval
hash value
Definition: mat.hpp:2693
void max64f(const double *src1, size_t step1, const double *src2, size_t step2, double *dst, size_t step, int width, int height, void *)
Texture2D(Size asize, Format aformat, bool autoRelease=false)
std::vector< GRunArgP > GRunArgsP
Definition: garg.hpp:133
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: resize.hpp:82
__host__ GpuMat_ row(int y) const
@ SOLVEPNP_AP3P
An Efficient Algebraic Solution to the Perspective-Three-Point Problem .
Definition: calib3d.hpp:240
Ptr< HistogramCostExtractor > createEMDHistogramCostExtractor(int flag=DIST_L2, int nDummies=25, float defaultCost=0.2f)
Ptr< DenseOpticalFlow > createOptFlow_PCAFlow()
Creates an instance of PCAFlow.
void projectPoints(const GpuMat &src, const Mat &rvec, const Mat &tvec, const Mat &camera_mat, const Mat &dist_coef, GpuMat &dst, Stream &stream=Stream::Null())
Mosaic(const cv::Rect &mos_, int cellSz_, int decim_)
Mosaic constructor.
Definition: render.hpp:292
void getNextFrame(OutputArray frame, OutputArray gtMask)
Obtain the next frame in the sequence.
static void getCoordinatesFromIndex(size_t index, Size sz, int &x, int &y)
@ CAP_PROP_WB_TEMPERATURE
white-balance color temperature
Definition: videoio.hpp:177
void destroyFlann(void *flannIndex)
Abstract base class for matching keypoint descriptors.
Definition: features2d.hpp:861
int hal_ni_cmp16s(const short *src1_data, size_t src1_step, const short *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height, int operation)
Definition: hal_replacement.hpp:212
Mat addNoisePC(Mat pc, double scale)
int DIMode
NVVE_SET_DEINTERLACE,.
Definition: cudacodec.hpp:101
T thresh
Definition: functional.hpp:716
Definition: functional.hpp:281
The IImageDescriptor class declares base class for image descriptor.
Definition: tracking_by_matching.hpp:70
int verbosity_level
Definition: simple_pipeline.hpp:155
Matx< float, 4, 1 > Matx41f
Definition: matx.hpp:225
void writeParameters(const std::string &filename)
int64_t cvRound64(const cv::softdouble &a)
Rounds a number to nearest even long long integer.
Definition: optional.hpp:19
__device__ __forceinline__ NormL1()
Definition: vec_distance.hpp:68
bool doInpainting_
Definition: stabilizer.hpp:131
void dilate(InputArray rlSrc, OutputArray rlDest, InputArray rlKernel, Point anchor=Point(0, 0))
Dilates an run-length encoded binary image by using a specific structuring element.
Ptr< ERFilter::Callback > loadClassifierNM2(const String &filename)
Allow to implicitly load the default classifier when creating an ERFilter object.
double solvePoly(InputArray coeffs, OutputArray roots, int maxIters=300)
Finds the real or complex roots of a polynomial equation.
void absdiff64f(const double *src1, size_t step1, const double *src2, size_t step2, double *dst, size_t step, int width, int height, void *)
void smallRegionRemoval(const Mat ¤tMap, int t, Mat &out)
remove small regions that have an area smaller than t, we fill the region with the average of the goo...
Definition: matching.hpp:477
@ DIST_FAIR
distance = c^2(|x|/c-log(1+|x|/c)), c = 1.3998
Definition: imgproc.hpp:302
SparseMat_ clone() const CV_NODISCARD
makes full copy of the matrix. All the elements are duplicated
@ HAAR
Definition: bm3d_image_denoising.hpp:64
virtual void suppress(int idx, const Mat &frame, Mat &result) CV_OVERRIDE
static const char * tag()
Definition: gkernel.hpp:599
@ FLOODFILL_FIXED_RANGE
Definition: imgproc.hpp:376
BaseClassifier(int numWeakClassifier, int iterationInit, WeakClassifierHaarFeature **weakCls)
@ SOLVELP_SINGLE
there is only one maximum for target function
Definition: optim.hpp:261
const std::vector< ConfidenceMap > & getConfidenceMaps() const
Get the list of the ConfidenceMap.
@ block_size_y
Definition: copy.hpp:353
void setCostFunction(String val)
virtual int getScaleThresh() const =0
void setSampleROI(const Rect &ROI)
Set the sampling ROI.
const GMatDesc & meta() const
Definition: gfluidbuffer.hpp:82
Definition: facemarkLBF.hpp:49
@ COLOR_YUV2RGB_YUNV
Definition: imgproc.hpp:698
void absdiff16s(const short *src1, size_t step1, const short *src2, size_t step2, short *dst, size_t step, int width, int height, void *)
virtual void setOuterIterations(int val)=0
Number of warping iterations (number of pyramid levels)
std::size_t num_out
Definition: ie.hpp:60
uint64_t saturate_cast< uint64_t >(softfloat a)
Definition: softfloat.hpp:433
int getW() const
Definition: saliencySpecializedClasses.hpp:353
@ CAP_ARAVIS
Aravis SDK.
Definition: videoio.hpp:119
Ptr< detail::RotationWarper > create(float scale) const CV_OVERRIDE
Definition: warpers.hpp:162
bool getConfigurationParameterBool(const char *name, bool defaultValue)
int type() const
Returns the type of a matrix element.
Definition: mat.hpp:194
bool empty() const
Definition: inpainting.hpp:112
Definition: all_layers.hpp:496
Definition: motion_stabilizing.hpp:60
virtual void setDiffusivity(KAZE::DiffusivityType diff)=0
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: remap.hpp:108
float x
Definition: interface.h:21
Mat colors
point color of type CV_8UC3 or CV_8UC4 with only 1 row
Definition: types.hpp:130
@ triangle
Definition: gr_skig.hpp:63
@ COLOR_BayerBG2BGR_MHT
Bayer Demosaicing (Malvar, He, and Cutler)
Definition: cudaimgproc.hpp:95
void drawCharucoDiamond(const Ptr< Dictionary > &dictionary, Vec4i ids, int squareLength, int markerLength, OutputArray img, int marginSize=0, int borderBits=1)
Draw a ChArUco Diamond marker.
GMat RGB2YUV(const GMat &src)
Converts an image from RGB color space to YUV color space.
int64 getCounter() const
Definition: utility.hpp:375
EstimatedGaussDistribution(float P_mean, float R_mean, float P_sigma, float R_sigma)
The base class for image hash algorithms.
Definition: img_hash_base.hpp:19
@ MARKER_DIAMOND
A diamond marker shape.
Definition: imgproc.hpp:833
int readGT(String src_path, OutputArray dst)
Function for reading ground truth disparity maps. Supports basic Middlebury and MPI-Sintel formats....
virtual void setTau(double val)=0
Time step of the numerical scheme.
unsigned long cascade_depth
cascade_depth This stores the deapth of cascade used for training.
Definition: face_alignment.hpp:21
void apply(cv::Mat in, cv::Scalar &out, GCompileArgs &&args={})
Execute an unary computation (with compilation on the fly)
@ INPAINT_FSR_BEST
Definition: inpainting.hpp:94
@ IMREAD_REDUCED_GRAYSCALE_8
If set, always convert image to the single channel grayscale image and the image size reduced 1/8.
Definition: imgcodecs.hpp:75
void colormap(const Mat &quantized, Mat &dst)
Debug function to colormap a quantized image for viewing.
bool isNaN() const
NaN state indicator.
Definition: softfloat.hpp:305
void recip32s(const int *, size_t, const int *src2, size_t step2, int *dst, size_t step, int width, int height, void *scale)
virtual void setVariationalRefinementIterations(int val)=0
Maximum number of gradient descent iterations in the patch inverse search stage. Higher values may im...
Ptr< GeneralizedHoughGuil > createGeneralizedHoughGuil()
Creates implementation for generalized hough transform from .
Exposure compensator which tries to remove exposure related artifacts by adjusting image intensities ...
Definition: exposure_compensate.hpp:139
the KCF (Kernelized Correlation Filter) tracker
Definition: tracker.hpp:1213
Size getPatchSize() const
static Ptr< IR_affine > create()
A helper class for cv::DataType.
Definition: traits.hpp:285
double getMaxTranslation() const
Definition: depth.hpp:980
double getSensorErrorA() const
Definition: depth.hpp:420
NCVStatus nppiStFilterRowBorder_32f_C1R(const Ncv32f *pSrc, NcvSize32u srcSize, Ncv32u nSrcStep, Ncv32f *pDst, NcvSize32u dstSize, Ncv32u nDstStep, NcvRect32u oROI, NppStBorderType borderType, const Ncv32f *pKernel, Ncv32s nKernelSize, Ncv32s nAnchor, Ncv32f multiplier)
GMatDesc descr_of(const Mat &mat)
void detectInRegion(const cv::Mat &img, const cv::Rect &r, std::vector< cv::Rect > &detectedObjectsInRegions)
virtual void detectMultiScale(InputArray img, std::vector< Rect > &foundLocations, std::vector< double > &foundWeights, double hitThreshold=0, Size winStride=Size(), Size padding=Size(), double scale=1.05, double finalThreshold=2.0, bool useMeanshiftGrouping=false) const
Detects objects of different sizes in the input image. The detected objects are returned as a list of...
virtual void setUseGlobalSmootherFilter(bool use_FGS=true)=0
Sets whether the fastGlobalSmootherFilter() post-processing is employed.
int getTransformType() const CV_OVERRIDE
Definition: depth.hpp:830
@ H5_GETDIMS
Get the dimension information of a dataset.
Definition: hdf5.hpp:128
float aprilTagQuadSigma
Definition: aruco.hpp:179
float aff_thr_strong
Definition: tracking_by_matching.hpp:271
@ DIST_LABEL_CCOMP
Definition: imgproc.hpp:367
v_uint8x16 v_pack_b(const v_uint16x8 &a, const v_uint16x8 &b)
! For 16-bit boolean values
Definition: intrin_cpp.hpp:2412
Point2f getVertex(int vertex, int *firstEdge=0) const
Returns vertex location from vertex ID.
@ COLOR_YUV420sp2BGR
Definition: imgproc.hpp:637
void setCrossSegmentationThreshold(int val)
void convertTo(OutputArray dst, int rtype, double alpha, double beta, Stream &stream) const
converts GpuMat to another datatype with scaling (Non-Blocking call)
@ CAP_PROP_IMAGES_BASE
Definition: videoio.hpp:576
DepthCleaner(int depth, int window_size=5, int method=DepthCleaner::DEPTH_CLEANER_NIL)
__host__ __device__ ThreshTruncFunc< T > thresh_trunc_func(T thresh)
Definition: functional.hpp:746
Ptr< LookUpTable > createLookUpTable(InputArray lut)
Creates implementation for cuda::LookUpTable .
__device__ __forceinline__ uint vseteq4(uint a, uint b)
Definition: simd_functions.hpp:609
Ptr< ImageMotionEstimatorBase > motionEstimator() const
Definition: wobble_suppression.hpp:68
bool empty() const
Definition: qualityssim.hpp:76
virtual void mov(BasicVectorRef &ref)=0
__device__ static __forceinline__ void blockFill(It beg, It end, const T &value)
Definition: block.hpp:75
Affine3d getViewerPose() const
Returns the current pose of the viewer.
This algorithm transforms image to contrast using gradients on all levels of gaussian pyramid,...
Definition: photo.hpp:429
void gemm32f(const float *src1, size_t src1_step, const float *src2, size_t src2_step, float alpha, const float *src3, size_t src3_step, float beta, float *dst, size_t dst_step, int m_a, int n_a, int n_d, int flags)
Definition: tracker.hpp:1069
virtual float getLambda()=0
SrcPtr src
Definition: interpolation.hpp:68
cv::Point org
The bottom-left corner of the text string in the image.
Definition: render.hpp:127
virtual bool computeSaliencyImpl(InputArray image, OutputArray saliencyMap) CV_OVERRIDE=0
SparseMatConstIterator_(const SparseMat_< _Tp > *_m)
the full constructor setting the iterator to the first sparse matrix element
virtual double getHighThreshold() const =0
Base class for all camera parameters refinement methods.
Definition: motion_estimators.hpp:134
uchar ** ptrs
data pointers
Definition: mat.hpp:3413
The TrackedObject struct defines properties of detected object.
Definition: tracking_by_matching.hpp:27
void setNSS(int val)
Definition: saliencySpecializedClasses.hpp:349
Full reference structural similarity algorithm https://en.wikipedia.org/wiki/Structural_similarity.
Definition: qualityssim.hpp:19
IStreamSource::Ptr make_src(Args &&... args)
Definition: source.hpp:50
AngleRangeOption
Specifies the part of Hough space to calculate.
Definition: fast_hough_transform.hpp:65
void setText(const String &text)
Sets the text content of the widget.
std::function< void(GCompoundContext &ctx)> F
Definition: gcompoundkernel.hpp:44
int group
Definition: all_layers.hpp:394
@ DICT_6X6_250
Definition: dictionary.hpp:152
virtual void apply(const uchar *src, uchar *dst)=0
virtual void setGamma(double val)=0
Gradient constancy importance.
int index_type
Definition: extrapolation.hpp:63
Ptr< Filter > createRowSumFilter(int srcType, int dstType, int ksize, int anchor=-1, int borderMode=BORDER_DEFAULT, Scalar borderVal=Scalar::all(0))
Creates a horizontal 1D box filter.
@ LEFT
Definition: slam_tumindoor.hpp:62
static bool isOpenCLActivated()
Definition: ocl_defs.hpp:19
virtual void inpaint(int idx, Mat &frame, Mat &mask) CV_OVERRIDE
int AvgBitrate
NVVE_AVG_BITRATE,.
Definition: cudacodec.hpp:91
void setBundleAdjuster(Ptr< detail::BundleAdjusterBase > bundle_adjuster)
Definition: stitching.hpp:226
virtual void setAnnealItePerStep(int val)=0
void minEnclosingCircle(InputArray points, Point2f ¢er, float &radius)
Finds a circle of the minimum area enclosing a 2D point set.
Ptr< MotionFilterBase > motionFilter() const
Definition: stabilizer.hpp:149
Size frameSize
frame size in pixels
Definition: dynafu.hpp:30
int rotateEdge(int edge, int rotate) const
Returns another edge of the same quad-edge.
double computeMSE(InputArray GT, InputArray src, Rect ROI)
Function for computing mean square error for disparity maps.
int rows
Definition: deriv.hpp:116
virtual void setBlackThreshold(size_t value)=0
Sets the value for black threshold, needed for decoding (shadowsmasks computation).
Ncv32u stride() const
Definition: NCV.hpp:760
static R on(Args... args)
Definition: gkernel.hpp:218
bool isSeq() const
returns true if the node is a sequence
virtual int getBinaryKernelType() const =0
__device__ __forceinline__ double4 atan2(double s, const double4 &b)
Definition: vec_math.hpp:933
int cols
Definition: extrapolation.hpp:100
Vec3i volumeDims
Resolution of voxel space.
Definition: kinfu.hpp:60
@ PSP
Definition: sinusoidalpattern.hpp:59
float normSigma0
Definition: rlofflow.hpp:92
__device__ static __forceinline__ T result(T r, int)
Definition: reduce_to_vec.hpp:79
@ nppStBorderWrap
Wrap out of range position. Image becomes periodic.
Definition: NPP_staging.hpp:92
Ptr< GrayworldWB > createGrayworldWB()
Creates an instance of GrayworldWB.
int selectBestClassifier(std::vector< bool > &errorMask, float importance, std::vector< float > &errors)
void estimateTransformation(InputArray src, InputArray dst, OutputArray alphaPhiST, double *dist=0, bool fdContour=false)
Fit two closed curves using fourier descriptors. More details in and .
the CSRT tracker
Definition: tracker.hpp:1480
virtual void setKernel(int kernelType)=0
void setMinDepth(double val)
Definition: depth.hpp:663
@ CAP_PROP_XI_CC_MATRIX_03
Color Correction Matrix element [0][3].
Definition: videoio.hpp:408
virtual float getFgsLambda() const =0
see ximgproc::EdgeAwareInterpolator().
virtual double getEpsilon() const =0
Stopping criterion threshold used in the numerical scheme, which is a trade-off between precision and...
virtual vector< Point2f > getGT(int datasetID, int frameID)=0
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.
WTrajectorySpheres(InputArray path, double line_length=0.05, double radius=0.007, const Color &from=Color::red(), const Color &to=Color::white())
Constructs a WTrajectorySpheres.
__device__ __forceinline__ MakeVec< uchar, VecTraits< T >::cn >::type operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:135
float _mu0
Definition: onlineMIL.hpp:93
Definition: track_alov.hpp:74
Point2f pt
Definition: imgproc.hpp:1220
SparseMatConstIterator_(const SparseMat *_m)
NCVStatus nppiStDecimate_64s_C1R(Ncv64s *d_src, Ncv32u srcStep, Ncv64s *d_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale, NcvBool readThruTexture)
void registerKeyboardCallback(KeyboardCallback callback, void *cookie=0)
Sets keyboard handler.
This class represents high-level API for segmentation models.
Definition: dnn.hpp:1220
WCoordinateSystem(double scale=1.0)
Constructs a WCoordinateSystem.
Track(const TrackedObjects &objs, const cv::Mat &last_image, const cv::Mat &descriptor_fast, const cv::Mat &descriptor_strong)
Track constructor.
Definition: tracking_by_matching.hpp:321
int y
Definition: linemod.hpp:283
virtual void calcUV(InputArray I0, InputArray I1, InputOutputArray flow_u, InputOutputArray flow_v)=0
calc function overload to handle separate horizontal (u) and vertical (v) flow components (to avoid e...
static KernelArg Local(size_t localMemSize)
Definition: ocl.hpp:355
__device__ __forceinline__ OutIt warpCopy(InIt beg, InIt end, OutIt out)
Definition: warp.hpp:86
std::string srcColor
Definition: is_weizmann.hpp:64
static Matx randn(_Tp a, _Tp b)
AsyncArray forwardAsync(const String &outputName=String())
Runs forward pass to compute output of layer with name outputName.
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.
cudaStream_t nppStSetActiveCUDAstream(cudaStream_t cudaStream)
int hal_ni_cvtMultipliedRGBAtoRGBA(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height)
hal_cvtMultipliedRGBAtoRGBA
Definition: hal_replacement.hpp:560
Scalar_(const Vec< _Tp2, cn > &v)
virtual double minimize(InputOutputArray x)=0
actually runs the algorithm and performs the minimization.
void inRange(InputArray src, InputArray lowerb, InputArray upperb, OutputArray dst)
Checks if array elements lie between the elements of two other arrays.
@ CALIB_FIX_K6
Definition: calib3d.hpp:279
std::vector< Scalar > colors
List of randomly generated colors for bounding boxes display.
Definition: tracker.hpp:1440
@ COLOR_RGB2XYZ
Definition: imgproc.hpp:576
Texture2D(Size asize, Format aformat, unsigned int atexId, bool autoRelease=false)
~GpuMat()
destructor - calls release()
Mat(const std::array< _Tp, _Nm > &arr, bool copyData=false)
CmpTypes
comparison types
Definition: base.hpp:211
UMat(UMatUsageFlags usageFlags=USAGE_DEFAULT)
default constructor
virtual void write(const String &filename) const
Saves a FaceRecognizer and its model state.
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.
virtual void setSegEgbThresholdII(float c)=0
: set and get the parameter segEgbThresholdII. This parameter is used in the third stage mentioned ab...
Complex< float > Complexf
Definition: types.hpp:90
int backendId
Backend identifier.
Definition: dnn.hpp:127
Definition: tr_svt.hpp:67
static Ptr< HfsSegment > create(int height, int width, float segEgbThresholdI=0.08f, int minRegionSizeI=100, float segEgbThresholdII=0.28f, int minRegionSizeII=200, float spatialWeight=0.6f, int slicSpixelSize=8, int numSlicIter=5)
: create a hfs object
Definition: ir_affine.hpp:62
int set(int i, const UMat &m)
uchar saturate_cast< uchar >(schar v)
Definition: saturate.hpp:100
@ IMWRITE_JPEG2000_COMPRESSION_X1000
For JPEG2000, use to specify the target compression rate (multiplied by 1000). The value can be from ...
Definition: imgcodecs.hpp:99
std::vector< Point2f > base_shape
basic shape, normalized to be fit in an image with current detection resolution
Definition: facemarkAAM.hpp:130
@ CALIB_HAND_EYE_HORAUD
Hand-eye Calibration .
Definition: calib3d.hpp:307
ERStat(int level=256, int pixel=0, int x=0, int y=0)
Constructor.
virtual float getEdgeMinMag() const =0
Returns the edge min magnitude.
virtual void setPreFilterType(int preFilterType)=0
void write(FileStorage &fs) const
@ GC_PR_BGD
a possible background pixel
Definition: imgproc.hpp:344
Vec4i HoughPoint2Line(const Point &houghPoint, InputArray srcImgInfo, int angleRange=ARO_315_135, int makeSkew=HDO_DESKEW, int rules=RO_IGNORE_BORDERS)
Calculates coordinates of line segment corresponded by point in Hough space.
NCVVector()
Definition: NCV.hpp:572
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.
virtual void upSampler(InputArray flow, int width, int height, int gridSize, InputOutputArray upsampledFlow)=0
The NVIDIA optical flow hardware generates flow vectors at granularity gridSize, which can be queried...
void matchClass(const LinearMemoryPyramid &lm_pyramid, const std::vector< Size > &sizes, float threshold, std::vector< Match > &matches, const String &class_id, const std::vector< TemplatePyramid > &template_pyramids) const
virtual int getNumLevels() const =0
virtual void getObjects(std::vector< cv::Rect > &result) const
NCVStatus ncvDrawRects_8u_device(Ncv8u *d_dst, Ncv32u dstStride, Ncv32u dstWidth, Ncv32u dstHeight, NcvRect32u *d_rects, Ncv32u numRects, Ncv8u color, cudaStream_t cuStream)
Point warp(InputArray src, InputArray K, InputArray H, int interp_mode, int border_mode, OutputArray dst) CV_OVERRIDE
Projects the image.
@ IMWRITE_PAM_FORMAT_GRAYSCALE_ALPHA
Definition: imgcodecs.hpp:129
@ value
Definition: traits.hpp:289
virtual void filter(InputArray src, OutputArray dst, InputArray joint=noArray())=0
Apply high-dimensional filtering using adaptive manifolds.
virtual TermCriteria getTermCriteria() const =0
@ USAGE_ALLOCATE_SHARED_MEMORY
Definition: mat.hpp:456
int _s
Definition: onlineMIL.hpp:95
std::string dep
Definition: gr_skig.hpp:97
__host__ Expr< SobelXPtrSz< typename PtrTraits< SrcPtr >::ptr_type > > sobelX_(const SrcPtr &src)
Definition: deriv.hpp:81
virtual Mat getDefaultPeopleDetector() const =0
Returns coefficients of the classifier trained for people detection.
@ CAP_V4L2
Same as CAP_V4L.
Definition: videoio.hpp:93
_Tp x
x coordinate of the 3D point
Definition: types.hpp:265
_Tp & at(int i0=0)
Returns a reference to the specified array element.
Definition: facemark_train.hpp:35
@ COLOR_BGR2RGB
Definition: imgproc.hpp:536
int borderInterpolate(int p, int len, int borderType)
Computes the source location of an extrapolated pixel.
int rows
Definition: glob.hpp:87
DictValue * ptr(const String &key)
If the key in the dictionary then returns pointer to its value, else returns NULL.
Definition: warpers.hpp:421
GCompiled()
Constructs an empty object.
Ptr< EdgeAwareInterpolator > createEdgeAwareInterpolator()
Factory method that creates an instance of the EdgeAwareInterpolator.
size_t getConfigurationParameterSizeT(const char *name, size_t defaultValue)
static Ptr< QualityPSNR > create(InputArray ref, double maxPixelValue=QualityPSNR::MAX_PIXEL_VALUE_DEFAULT)
Create an object which calculates quality.
Definition: qualitypsnr.hpp:38
int QR64f(double *A, size_t astep, int m, int n, int k, double *b, size_t bstep, double *hFactors)
_Tp & reference
Definition: mat.hpp:3136
double getThreshold() const
Definition: depth.hpp:412
static Ptr< FlattenLayer > create(const LayerParams ¶ms)
@ CV_MODIFIED_CS_CENSUS
Definition: descriptor.hpp:59
Class used for calculating a sparse optical flow.
Definition: tracking.hpp:683
void _mm_deinterleave_epi16(__m128i &v_r0, __m128i &v_r1, __m128i &v_g0, __m128i &v_g1)
Definition: sse_utils.hpp:294
@ CV_SPARSE_CENSUS
Definition: descriptor.hpp:58
virtual void write(cv::FileStorage &fs) const CV_OVERRIDE
Store parameters to a FileStorage object.
uint64 durationNS() const
v_reg(_Tp s0, _Tp s1)
Constructor.
Definition: intrin_cpp.hpp:281
void qunitary(InputArray qimg, OutputArray qnimg)
divides each element by its modulus.
float reid_thr
Affinity threshold for re-identification.
Definition: tracking_by_matching.hpp:294
Action action
Definition: types.hpp:297
int y
Definition: edgeboxes.hpp:59
Definition: NCVHaarObjectDetection.hpp:334
NcvBool isMemReused() const
Definition: NCV.hpp:723
v_reg< typename V_TypeTraits< _Tp >::w_type, n/2 > v_expand_high(const v_reg< _Tp, n > &a)
Expand higher values to the wider pack type.
Definition: intrin_cpp.hpp:1317
TrackerStateEstimator based on SVM.
Definition: tracker.hpp:757
void euclideanToHomogeneous(InputArray src, OutputArray dst)
Converts points from Euclidean to homogeneous space. E.g., ((x,y)->(x,y,1))
actionType
Definition: gr_skig.hpp:61
@ COLOR_YUV2GRAY_UYNV
Definition: imgproc.hpp:714
std::string rgb
Definition: gr_skig.hpp:96
Point_< float > Point2f
Definition: types.hpp:192
@ ALPHA_PLUS_PREMUL
Definition: cudaimgproc.hpp:160
WGrid(const Vec2i &cells=Vec2i::all(10), const Vec2d &cells_spacing=Vec2d::all(1.0), const Color &color=Color::white())
Constructs a WGrid.
#define GAPI_EXPORTS
Definition: exports.hpp:15
vector< vector< Ptr< TRACK_votObj > > > data
Definition: track_vot.hpp:86
__host__ void gridPyrUp(const SrcPtr &src, GpuMat_< DstType > &dst, Stream &stream=Stream::Null())
Definition: pyramids.hpp:79
@ COLOR_BGR5652GRAY
Definition: imgproc.hpp:561
softdouble max(const softdouble &a, const softdouble &b)
Definition: softfloat.hpp:441
@ MJPEG
Definition: container_avi.private.hpp:73
Mat project(const Mat &shape) const
Definition: gcomputation.hpp:27
Base class for line segments detector algorithm. :
Definition: cudaimgproc.hpp:400
@ StsFilterOffsetErr
incorrect filter offset value
Definition: base.hpp:100
void bilateralTextureFilter(InputArray src, OutputArray dst, int fr=3, int numIter=1, double sigmaAlpha=-1., double sigmaAvg=-1.)
Applies the bilateral texture filter to an image. It performs structure-preserving texture filter....
virtual void load(const std::string &path) CV_OVERRIDE=0
GpuMat(Size size, int type, GpuMat::Allocator *allocator=GpuMat::defaultAllocator())
static __host__ int getRows(const Expr< Body > &expr)
Definition: expr.hpp:82
int hal_ni_invSqrt64f(const double *src, double *dst, int len)
Definition: hal_replacement.hpp:423
Mat(Mat const &src)=default
__host__ void gridMerge(const SrcPtrTuple &src, GpuMat_< DstType > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: split_merge.hpp:502
virtual void setSmallerBlockSize(int blockSize)=0
bool compute(const Mat &srcImage, const Mat &srcDepth, const Mat &srcMask, const Mat &dstImage, const Mat &dstDepth, const Mat &dstMask, OutputArray Rt, const Mat &initRt=Mat()) const
Definition: outlier_rejection.hpp:75
Base class for lines detector algorithm. :
Definition: cudaimgproc.hpp:342
_OutputArray(const std::vector< Mat > &vec)
RGBD_PLANE_METHOD
Definition: depth.hpp:332
void feed(InputArray img, InputArray mask, Point tl) CV_OVERRIDE
Processes the image.
void flip(InputArray src, OutputArray dst, int flipCode, Stream &stream=Stream::Null())
Flips a 2D matrix around vertical, horizontal, or both axes.
@ CAP_PROP_XI_DEVICE_SN
Returns device serial number.
Definition: videoio.hpp:437
const uchar * ptr
Definition: mat.hpp:3067
@ DNN_BACKEND_CUDA
Definition: dnn.hpp:76
Rect_(Rect_ &&r) CV_NOEXCEPT
virtual int getSolverIterations() const =0
Number of linear system solver iterations.
virtual ~Blender()
Definition: blenders.hpp:66
ExposureCompensator()
Definition: exposure_compensate.hpp:63
Definition: warping.hpp:131
virtual ~DescriptorCollection()
@ REDUCE_MIN
the output is the minimum (column/row-wise) of all rows/columns of the matrix.
Definition: core.hpp:222
int rows
Definition: zip.hpp:110
void maxWorkItemSizes(size_t *) const
SimilarRects(double _eps)
Definition: objdetect.hpp:124
Matx< _Tp, m, 1 > col(int i) const
extract the matrix column
@ female
Definition: fr_adience.hpp:63
virtual void setKappa(float value)=0
Sets the scale sensitivity.
Boosted tree classifier derived from DTrees.
Definition: ml.hpp:1324
@ FLAGS_MAPPING
Definition: instrumentation.hpp:111
const std::vector< Mat > & getSamples() const
Return the samples from all TrackerSamplerAlgorithm, Fig. 1 variable Sk.
int readPose(const std::string &FileName)
virtual int getAppertureSize() const =0
virtual void find(const std::vector< Size > &size, const std::vector< Point > &corners, std::vector< UMat > &masks)
virtual double getAnnealFinalT() const =0
Mat(Size size, int type, const Scalar &s)
__device__ __forceinline__ void warpFill(It beg, It end, const T &value)
Definition: warp.hpp:79
void setSize(const Size &size)
Sets the image size of the widget.
float16_t(float x)
Definition: cvdef.h:817
virtual void setCameraLookAt(const String &target, InputArray offset=noArray())=0
@ TYPE_GPU
Definition: ocl.hpp:85
float normL2Sqr_(const float *a, const float *b, int n)
Feature2D FeatureDetector
Definition: features2d.hpp:235
void div16u(const ushort *src1, size_t step1, const ushort *src2, size_t step2, ushort *dst, size_t step, int width, int height, void *scale)
virtual void stopEntityAnimation(const String &name, const String &animname)=0
@ CAP_OPENNI_VGA_30HZ
Definition: videoio.hpp:269
@ CAP_PROP_XI_DEBOUNCE_POL
Debounce polarity (pol = 1 t0 - falling edge, t1 - rising edge).
Definition: videoio.hpp:427
Mat_< int > puss
Definition: matching.hpp:371
Ptr< PoseCluster3D > PoseCluster3DPtr
Definition: pose_3d.hpp:61
int numLastPositionsToTrack
Definition: detection_based_tracker.hpp:167
static Ptr< RgbdOdometry > create(const Mat &cameraMatrix=Mat(), float minDepth=Odometry::DEFAULT_MIN_DEPTH(), float maxDepth=Odometry::DEFAULT_MAX_DEPTH(), float maxDepthDiff=Odometry::DEFAULT_MAX_DEPTH_DIFF(), const std::vector< int > &iterCounts=std::vector< int >(), const std::vector< float > &minGradientMagnitudes=std::vector< float >(), float maxPointsPart=Odometry::DEFAULT_MAX_POINTS_PART(), int transformType=Odometry::RIGID_BODY_MOTION)
Ptr< detail::Blender > blender()
Definition: stitching.hpp:247
virtual void setBaseImage(InputArray img)=0
Set a image used by switch* functions to initialize the class.
bool isNone() const
returns true if the node is a "none" object
int solveLP(InputArray Func, InputArray Constr, OutputArray z)
Solve given (non-integer) linear programming problem using the Simplex Algorithm (Simplex Method).
WPlane(const Size2d &size=Size2d(1.0, 1.0), const Color &color=Color::white())
Constructs a default plane with center point at origin and normal oriented along z-axis.
@ INPAINT_SHIFTMAP
Definition: inpainting.hpp:74
NCVStatus nppiStRectStdDev_32f_C1R_host(Ncv32u *h_sum, Ncv32u sumStep, Ncv64u *h_sqsum, Ncv32u sqsumStep, Ncv32f *h_norm, Ncv32u normStep, NcvSize32u roi, NcvRect32u rect, Ncv32f scaleArea)
virtual void setCameraIntrinsicOptions(const libmv_CameraIntrinsicsOptions &libmv_camera_intrinsics_options)=0
Ncv32f scale_factor
pyramid scale factor
Definition: NCVBroxOpticalFlow.hpp:76
virtual bool getUseGlobalSmootherFilter() const =0
Sets whether the fastGlobalSmootherFilter() post-processing is employed.
~AsyncArray() CV_NOEXCEPT
@ FONT_HERSHEY_SCRIPT_SIMPLEX
hand-writing style font
Definition: imgproc.hpp:820
int texture_max_m
Definition: facemarkAAM.hpp:73
HostMem reshape(int cn, int rows=0) const
void cvtGraytoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn)
Vec2i maxTexture1DLayered() const
maximum 1D layered texture dimensions
int getLayerId(const String &layer)
Converts string name of the layer to the integer identifier.
void attachContext(const String &platformName, void *platformID, void *context, void *deviceID)
Attaches OpenCL context to OpenCV.
void convertPointsHomogeneous(InputArray src, OutputArray dst)
Converts points to/from homogeneous coordinates.
struct AsyncArray::Impl Impl
Definition: async_promise.hpp:62
int m_numWeakClassifier
Definition: onlineBoosting.hpp:142
Definition: functional.hpp:87
int nbins
Number of bins used in the calculation of histogram of gradients. Default value is 9.
Definition: objdetect.hpp:599
NCVStatus nppiStIntegral_32f32f_C1R(Ncv32f *d_src, Ncv32u srcStep, Ncv32f *d_dst, Ncv32u dstStep, NcvSize32u roiSize, Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp)
virtual ~NCVMemStackAllocator()
softfloat setExp(int e) const
Construct a copy with new 0-based exponent.
Definition: softfloat.hpp:181
size_t imageMaxArraySize() const
int cols
Definition: deriv.hpp:163
FileNodeIterator begin() const
returns iterator pointing to the first node element
virtual void setWhiteThreshold(size_t value)=0
Sets the value for white threshold, needed for decoding.
std::vector< int > ind2
index of pixels for mapping process to obtains the grays values of eroded face region
Definition: facemarkAAM.hpp:134
Definition: warpers.hpp:626
virtual void setFrameMask(InputArray mask) CV_OVERRIDE
Definition: global_motion.hpp:246
@ COLOR_YUV2RGB_UYVY
YUV 4:2:2 family to RGB.
Definition: imgproc.hpp:674
@ MORPH_ERODE
see erode
Definition: imgproc.hpp:213
static Ptr< IS_weizmann > create()
virtual float getGamma() const =0
Weight of the gradient constancy term.
HostMem(Size size, int type, HostMem::AllocType alloc_type=HostMem::AllocType::PAGE_LOCKED)
static Ptr< BatchNormLayer > create(const LayerParams ¶ms)
void mixChannels(const Mat *src, size_t nsrcs, Mat *dst, size_t ndsts, const int *fromTo, size_t npairs)
Copies specified channels from input arrays to the specified channels of output arrays.
AffineWarper(float scale=1.f)
Construct an instance of the affine warper class.
Definition: warpers.hpp:220
virtual double getSigmaRange() const =0
filter range sigma
int maxConstantArgs() const
static void solveZ(InputArray src, OutputArray dst)
solves an under-determined singular linear system
int hal_ni_FAST_NMS(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height)
Non-maximum suppression for FAST_9_16.
Definition: hal_replacement.hpp:81
void paint(InputOutputArray image, InputArray rlSrc, const cv::Scalar &value)
Paint run length encoded binary image into an image.
void generateRandomClassifier()
Color(const Scalar &color)
void split64s(const int64 *src, int64 **dst, int len, int cn)
int num_inliers
Number of geometrically consistent matches.
Definition: matchers.hpp:109
virtual void setWarpingsNumber(int val)=0
Number of warpings per scale.
std::vector< std::string > lex100
Definition: tr_icdar.hpp:69
virtual int getSvmsgdType() const =0
Algorithm type, one of SVMSGD::SvmsgdType.
void PCAProject(InputArray data, InputArray mean, InputArray eigenvectors, OutputArray result)
Inpaint run(const Mat &mask, Inpaint inpaint)
Template method that runs the Fast Marching Method.
Definition: fast_marching_inl.hpp:54
The class implements Histogram of Oriented Gradients () object detector.
Definition: cudaobjdetect.hpp:80
Definition: all_layers.hpp:460
bool update(const Mat &image, int target, float importance=1.0)
@ nppStSupersample
Supersampling. For downscaling only.
Definition: NPP_staging.hpp:102
float Type
Definition: features2d.hpp:796
virtual void setWinSize(int winSize)=0
void drawDetectedCornersCharuco(InputOutputArray image, InputArray charucoCorners, InputArray charucoIds=noArray(), Scalar cornerColor=Scalar(255, 0, 0))
Draws a set of Charuco corners.
virtual void setFastPyramids(bool fastPyramids)=0
virtual void getMagnoRAW(OutputArray retinaOutput_magno)=0
Accessor of the motion channel of the retina (models peripheral vision).
UndistortTypes
cv::undistort mode
Definition: calib3d.hpp:2839
virtual KAZE::DiffusivityType getDiffusivity() const =0
virtual int getBlockSize() const =0
cv::Vec2f bbox_heights_range
Bounding box heights range.
Definition: tracking_by_matching.hpp:285
Node()
Definition: utility.hpp:1054
virtual void getSparseMatches(std::vector< stereo::Match > &sMatches)=0
Get The sparse corresponding points.
Class for multiple camera calibration that supports pinhole camera and omnidirection camera....
Definition: multicalib.hpp:73
std::vector< KeyPoint > getKeypoints()
Definition: matchers.hpp:64
void selectRandomSubset(int count, int size, std::vector< int > &subset)
@ is_volatile
Definition: type_traits.hpp:137
virtual void setUsePostProc(bool val)=0
enables ximgproc::fastGlobalSmootherFilter
Size size() const
returns GpuMat size : width == number of columns, height == number of rows
Base abstract class for the long-term tracker:
Definition: tracker.hpp:525
__device__ __forceinline__ void reduceBlock(result_type *smem, uint tid)
Definition: vec_distance.hpp:174
virtual void prepare(const std::vector< Point > &corners, const std::vector< Size > &sizes)
Prepares the blender for blending.
const SparseMat::Node * node() const
returns the current node of the sparse matrix. it.node->idx is the current element index
void KRtFromProjection(InputArray P, OutputArray K, OutputArray R, OutputArray t)
Get K, R and t from projection matrix P, decompose using the RQ decomposition.
@ CAP_PROP_XI_WB_KG
White balance green coefficient.
Definition: videoio.hpp:379
double getMaxPixelValue() const
return the maximum pixel value used for PSNR computation
Definition: qualitypsnr.hpp:81
Mat readOpticalFlow(const String &path)
Read a .flo file.
void draw(Size outSize, OutputArray img, int marginSize=0, int borderBits=1)
Draw a GridBoard.
virtual void setTreeHeight(int val)=0
Mat colRange(const Range &r) const
cv::GArrayDesc m_desc
Definition: garray.hpp:115
virtual std::vector< std::string > const & getClassNames() const =0
Return the class (model) names that were passed in constructor or method load or extracted from model...
virtual void setMinObjectSize(Size minSize)=0
Minimum possible object size. Objects smaller than that are ignored.
virtual void setWinSize(int winSize)=0
@ EVENT_MBUTTONDBLCLK
indicates that middle mouse button is double clicked.
Definition: highgui.hpp:215
void inpaint(const Mat &src, const Mat &mask, Mat &dst, const int algorithmType)
The function implements different single-image inpainting algorithms.
__host__ __device__ static __forceinline__ schar make(schar x)
Definition: vec_traits.hpp:147
int face_id
Definition: fr_adience.hpp:71
FileNode(const FileNode &node)
@ SFM_IO_OPENSFM
Definition: io.hpp:60
void setSeamEstimationResol(double resol_mpx)
Definition: stitching.hpp:190
static Ptr< PaddingLayer > create(const LayerParams ¶ms)
#define CV_SUBMAT_FLAG
Definition: cvdef.h:443
double scaleFactor
Parameter specifying how much the image size is reduced at each image scale.
Definition: facemark_train.hpp:37
static Mat getPlane(const Mat &m, int n, int cn)
Definition: shape_utils.hpp:108
void apply(int index, Point corner, InputOutputArray image, InputArray mask) CV_OVERRIDE
Compensate exposure in the specified image.
@ READ
value, open the file for reading
Definition: persistence.hpp:309
int getMaxIteration() const
float area_width
Definition: interpolation.hpp:300
#define CV_CUDEV_GRAY2RGB_INST(name, dcn)
Definition: color_cvt.hpp:89
virtual void setWinSize(Size winSize)=0
@ COLOR_YUV2BGRA_I420
Definition: imgproc.hpp:660
static cv::detail::VectorRef wrap_in(const std::vector< T > &t)
Definition: gtype_traits.hpp:73
@ CALIB_HAND_EYE_TSAI
A New Technique for Fully Autonomous and Efficient 3D Robotics Hand/Eye Calibration .
Definition: calib3d.hpp:305
size_t localMemSize() const
__device__ static __forceinline__ ushort max()
Definition: limits.hpp:91
virtual Size winSize() const
Definition: optical_flow.hpp:85
Mat_ & adjustROI(int dtop, int dbottom, int dleft, int dright)
some more overridden methods
virtual int getMinDisparity() const =0
Ptr< CvCapture > cap
Definition: videoio.hpp:821
const GMetaArgs & metas() const
Vector of metadata this graph was compiled for.
virtual float getContrastWeight() const =0
double maxVal
Maximum value of the statmodel parameter. Default value is 0.
Definition: ml.hpp:116
@ COLOR_BGR5552RGB
Definition: imgproc.hpp:566
@ CPU_AVX_512IFMA512
Definition: cvdef.h:291
__host__ BrdBase< BrdReflect101, typename PtrTraits< SrcPtr >::ptr_type > brdReflect101(const SrcPtr &src)
Definition: extrapolation.hpp:160
Definition: imgproc.hpp:1212
Definition: gtransform.hpp:41
@ JPEG
Definition: cudacodec.hpp:252
virtual ~ClassifierThreshold()
float parasolCells_beta
Definition: retina.hpp:176
Mat(int ndims, const int *sizes, int type)
static Ptr< StaticSaliencySpectralResidual > create()
Definition: saliencySpecializedClasses.hpp:76
virtual Ptr< DescriptorMatcher > clone(bool emptyTrainData=false) const CV_OVERRIDE
Clones the matcher.
@ SOLVELP_UNFEASIBLE
problem is unfeasible (there are no points that satisfy all the constraints imposed)
Definition: optim.hpp:260
int class_id
object class (if the keypoints need to be clustered by an object they belong to)
Definition: types.hpp:778
std::vector< float > classifySetF(const Mat &x)
virtual double getRpropDW0() const =0
virtual void forwardSlice(const float *src, float *dst, int len, size_t outPlaneSize, int cn0, int cn1) const =0
double getMaxDepth() const
Definition: depth.hpp:667
int hal_ni_recip64f(const double *src_data, size_t src_step, double *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:281
GrabCutModes
GrabCut algorithm flags.
Definition: imgproc.hpp:349
virtual void setMaxFeatures(int maxFeatures)=0
@ StsUnsupportedFormat
the data format/type is not supported by the function
Definition: base.hpp:110
Default predict collector.
Definition: predict_collector.hpp:83
uint8_t * OutLineB(int index=0)
Definition: gfluidbuffer.hpp:119
void v_cleanup()
Definition: intrin_cpp.hpp:2548
@ ERGROUPING_ORIENTATION_ANY
Definition: erfilter.hpp:290
Ncv32s x
x-coordinate of upper left corner.
Definition: NCV.hpp:150
virtual void detect(InputArrayOfArrays images, std::vector< std::vector< KeyPoint > > &keypoints, InputArrayOfArrays masks=noArray())
virtual void switchToSelectiveSearchFast(int base_k=150, int inc_k=150, float sigma=0.8f)=0
Initialize the class with the 'Selective search fast' parameters describled in .
float _log_n1
Definition: onlineMIL.hpp:96
Mat measurementNoiseCov
Measurement noise cross-covariance matrix, MP x MP.
Definition: kalman_filters.hpp:136
double getMaxRotation() const
Definition: depth.hpp:988
void reset() noexcept
Definition: optional.hpp:164
static Yes check(binary_function< T1, T2, D >)
float minInertiaRatio
Definition: features2d.hpp:644
void unmapDevice(cuda::Stream &stream)
Unmaps OpenGL buffer.
MatExpr abs(const Mat &m)
Calculates an absolute value of each matrix element.
@ NORM_L1
Definition: base.hpp:176
@ CAP_INTELPERC_IMAGE_GENERATOR
Definition: videoio.hpp:531
@ COLOR_BGR5552RGBA
Definition: imgproc.hpp:570
int64 getFLOPS(const int layerId, const std::vector< MatShape > &netInputShapes) const
@ BadDepth
input image depth is not supported by the function
Definition: base.hpp:86
float a
Definition: warpers.hpp:380
virtual void setWeights(const Mat &Wh, const Mat &Wx, const Mat &b)=0
Set trained weights for LSTM layer.
const String & source() const
uchar * ptr(int i0=0)
Returns a pointer to the specified matrix row.
int maxThreadsPerMultiProcessor() const
maximum resident threads per multiprocessor
void ncvDebugOutput(const cv::String &msg)
int hal_ni_Cholesky32f(float *src1, size_t src1_step, int m, float *src2, size_t src2_step, int n, bool *info)
Definition: hal_replacement.hpp:613
int plusStep
Definition: imgproc.hpp:4739
GMat bitwise_xor(const GMat &src1, const GMat &src2)
computes bitwise logical "exclusive or" of the two matrixes (src1 ^ src2) Calculates the per-element ...
void FT12D_createPolynomMatrixVertical(int radius, OutputArray matrix, const int chn)
Creates vertical matrix for -transform computation.
Size minSize
Minimum possible object size.
Definition: facemark_train.hpp:39
void meanStdDev(InputArray mtx, Scalar &mean, Scalar &stddev)
Computes a mean value and a standard deviation of matrix elements.
float detect_thresh
detection confidence threshold
Definition: tracker.hpp:1244
void correctMatches(InputArray F, InputArray points1, InputArray points2, OutputArray newPoints1, OutputArray newPoints2)
Refines coordinates of corresponding points.
virtual void setFGSLambda(float _lambda)=0
Sets the respective fastGlobalSmootherFilter() parameter.
@ COLOR_YUV2GRAY_I420
Definition: imgproc.hpp:669
virtual int getBlockSize() const =0
static int type()
Definition: flann.hpp:81
KmeansFlags
k-Means flags
Definition: core.hpp:207
void read(const FileNode &node, SparseMat &mat, const SparseMat &default_mat=SparseMat())
NCVMemoryType _memtype
Definition: NCV.hpp:621
virtual ~RawVideoSource()
Definition: cudacodec.hpp:319
GPCTrainingParams(unsigned _maxTreeDepth=20, int _minNumberOfSamples=3, GPCDescType _descriptorType=GPC_DESCRIPTOR_DCT, bool _printProgress=true)
Definition: sparse_matching_gpc.hpp:130
FeatureType
Definition: feature.hpp:141
void makeAgastOffsets(int pixel[16], int rowStride, int type)
Definition: agast_score.txt:54
__device__ static __forceinline__ double min()
Definition: limits.hpp:119
WMFWeightType
Specifies weight types of weighted median filter.
Definition: weighted_median_filter.hpp:65
double log_eps
Definition: descriptor.hpp:705
Definition: mapperpyramid.hpp:80
StaticSaliencyFineGrained()
virtual void setSpeckleRange(int speckleRange)=0
Sparse match interpolation algorithm based on modified piecewise locally-weighted affine estimator ca...
Definition: sparse_match_interpolator.hpp:147
__device__ __forceinline__ uchar1 abs(const uchar1 &a)
Definition: vec_math.hpp:213
const GW m_gw
Definition: gfluidkernel.hpp:94
int getSmallWinSize() const
int type
Definition: gfluidbuffer.hpp:34
NCVStatus nppiStTranspose_64u_C1R_host(Ncv64u *h_src, Ncv32u srcStride, Ncv64u *h_dst, Ncv32u dstStride, NcvSize32u srcRoi)
__device__ __forceinline__ T1 operator()(typename TypeTraits< T1 >::parameter_type lhs, typename TypeTraits< T2 >::parameter_type) const
Definition: functional.hpp:291
int hal_ni_mul16s(const short *src1_data, size_t src1_step, const short *src2_data, size_t src2_step, short *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:241
Op::second_argument_type arg2
Definition: functional.hpp:854
cv::util::any params() const
Definition: ie.hpp:112
GBackend backend
Definition: infer.hpp:191
Definition: gcommon.hpp:27
virtual Mat getWeights() const =0
Returns weights of the mixtures.
#define CV_MAT_CN(flags)
Definition: cvdef.h:435
NCVStatus nppiStSqrIntegralGetSize_8u64u(NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp)
SegmentationParameters()
Definition: transientareassegmentationmodule.hpp:84
static softdouble zero()
Zero constant.
Definition: softfloat.hpp:346
::uint16_t uint16_t
Definition: cvdef.h:769
__device__ __forceinline__ int atomicMin(int *address, int val)
Definition: atomic.hpp:104
uint64 const_param_type
Definition: core.hpp:3256
const std::vector< std::pair< String, Ptr< TrackerSamplerAlgorithm > > > & getSamplers() const
Return the collection of the TrackerSamplerAlgorithm.
virtual void write(InputArray frame, bool lastFrame=false)=0
Writes the next video frame.
static bool isPossibleMatch(InputArray mask, int queryIdx, int trainIdx)
int flags
Definition: mat.hpp:2556
static bool comparator(std::pair< double, size_t > l1, std::pair< double, size_t > l2)
Definition: core_detect.hpp:116
void release()
Definition: lock.private.hpp:53
int getSwappedClassifier() const
sampleType sType
Definition: pd_inria.hpp:72
ImwriteEXRTypeFlags
Definition: imgcodecs.hpp:102
ProgramSource(const ProgramSource &prog)
Ptr< IDenseOptFlowEstimator > optFlowEstimator() const
Definition: inpainting.hpp:147
const Vec2d & getPrincipalPoint() const
Definition: types.hpp:219
static void write(FileStorage &fs, const std::vector< _Tp > &vec)
Definition: persistence.hpp:975
static MatShape shape(const int *dims, const int n)
Definition: shape_utils.hpp:119
Ptr< cuda::BackgroundSubtractorGMG > createBackgroundSubtractorGMG(int initializationFrames=120, double decisionThreshold=0.8)
Creates GMG Background Subtractor.
void restoreImageFromLaplacePyrGpu(std::vector< UMat > &pyr)
virtual void initializeMask(const Mat &)
Definition: objdetect.hpp:212
static void read(FileNodeIterator &it, std::vector< _Tp > &vec, size_t maxCount=(size_t) INT_MAX)
Definition: persistence.hpp:1154
Definition: functional.hpp:852
int type
the type of termination criteria: COUNT, EPS or COUNT + EPS
Definition: types.hpp:881
const String typeToString(int type)
@ pc
Definition: container_avi.private.hpp:136
virtual void process(InputArray img, InputArray mask, Point tl)
void clear()
Definition: NCV.hpp:579
float samplerSearchFactor
search region parameters to use in a OnlineBoosting algorithm
Definition: tracker.hpp:1108
int hal_ni_cvtBGRtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, int dcn, bool swapBlue)
hal_cvtBGRtoBGR
Definition: hal_replacement.hpp:309
std::ostream & operator<<(std::ostream &o, const Rect &rect)
Definition: types.hpp:83
double conf_thresh_
Definition: motion_estimators.hpp:206
@ CAP_PROP_BRIGHTNESS
Brightness of the image (only for those cameras that support).
Definition: videoio.hpp:143
@ CAP_OPENNI2
OpenNI2 (for Kinect)
Definition: videoio.hpp:113
cv::Mat r
Definition: gcpukernel.hpp:161
Matx< float, 1, 3 > Matx13f
Definition: matx.hpp:214
static Ptr< IVideoWriter > create(const String &filename, int fourcc, double fps, Size frameSize, bool isColor=true)
bool isEmptyFrameOffset() const
Definition: container_avi.private.hpp:164
uint64 hash_t
Definition: ocl.hpp:510
void setMotionFilter(Ptr< MotionFilterBase > val)
Definition: stabilizer.hpp:148
virtual bool fitConfig(InputArray image, InputArray roi, OutputArrayOfArrays _landmarks, const std::vector< Config > &runtime_params)=0
overload with additional Config structures
static constexpr std::size_t index_of()
Definition: variant.hpp:319
double probability
probability that the ER belongs to the class we are looking for
Definition: erfilter.hpp:100
static cv::gapi::GBackend backend()
Definition: goclkernel.hpp:238
TLSDataAccumulator< NodeDataTls > m_tls
Definition: instrumentation.hpp:88
void load(const FileStorage &node)
_mat_type _qualityMap
Output quality maps if generated by algorithm.
Definition: qualitybase.hpp:57
virtual void print(const char *format,...)=0
int m_idxOfNewWeakClassifier
Definition: onlineBoosting.hpp:144
int computeNormalsPC3d(const Mat &PC, Mat &PCNormals, const int NumNeighbors, const bool FlipViewpoint, const Vec3f &viewpoint)
Compute the normals of an arbitrary point cloud computeNormalsPC3d uses a plane fitting approach to s...
static softdouble min()
Smallest normalized value.
Definition: softfloat.hpp:354
CirclesGridFinderParameters()
Ptr< DualTVL1OpticalFlow > createOptFlow_DualTVL1_CUDA()
virtual ~BaseCascadeClassifier()
bool empty() const
true if empty
const std::vector< Mat > * stabilizedFrames_
Definition: inpainting.hpp:98
Mat getMat(AccessFlag flags) const
__host__ __device__ NcvRect32u(Ncv32u x_, Ncv32u y_, Ncv32u width_, Ncv32u height_)
Definition: NCV.hpp:167
void loadPattern(const cv::Mat &patternImage)
int hal_ni_resize(int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, double inv_scale_x, double inv_scale_y, int interpolation)
hal_resize
Definition: hal_replacement.hpp:254
int addLayer(const String &name, const String &type, LayerParams ¶ms)
Adds new layer to the net.
virtual void convert(InputArray gpu_keypoints, std::vector< KeyPoint > &keypoints)=0
ProgramSource(const char *prog)
uchar * data
pointer to the data
Definition: cuda.hpp:326
DepthNormal()
Default constructor. Uses reasonable default parameter values.
type_traits_detail::UnConst< T >::type non_const_type
Definition: type_traits.hpp:130
bool parseMovi(frame_list &in_frame_list)
Definition: container_avi.private.hpp:106
Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst)
Projects the image.
int num_images_
Definition: motion_estimators.hpp:196
int m
Definition: facemarkAAM.hpp:68
@ PRESET_FAST
Definition: tracking.hpp:590
bool compute(Ptr< OdometryFrame > &srcFrame, Ptr< OdometryFrame > &dstFrame, OutputArray Rt, const Mat &initRt=Mat()) const
tracked_cv_umat(cv::UMat &m)
Definition: goclkernel.hpp:122
double ddot(const Point3_ &pt) const
dot product computed in double-precision arithmetics
virtual void detectAndComputeAsync(InputArray image, InputArray mask, OutputArray keypoints, OutputArray descriptors, bool useProvidedKeypoints=false, Stream &stream=Stream::Null())
std::vector< object > detections
Vector which holds the final detections of the model.
Definition: core_detect.hpp:54
@ CV_ERROR_FAIL
Some error occurred (TODO Require to fill exception information)
Definition: llapi.h:32
@ AGAST_5_8
Definition: features2d.hpp:514
virtual void setWeights(const Mat &Wxh, const Mat &bh, const Mat &Whh, const Mat &Who, const Mat &bo)=0
bool isNaN() const
NaN state indicator.
Definition: softfloat.hpp:168
int hal_ni_cvtBGRtoXYZ(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue)
hal_cvtBGRtoXYZ
Definition: hal_replacement.hpp:418
int adaptiveThreshWinSizeStep
Definition: aruco.hpp:158
Definition: functional.hpp:299
virtual int getWindowSize() const =0
VideoWriter()
Default constructors.
@ DIST_MASK_3
mask=3
Definition: imgproc.hpp:309
virtual ~IMotionStabilizer()
Definition: motion_stabilizing.hpp:62
virtual ~TrackerGOTURN() CV_OVERRIDE
Definition: tracker.hpp:1304
static Ptr< RTrees > load(const String &filepath, const String &nodeName=String())
Loads and creates a serialized RTree from a file.
GMatDesc(int d, std::vector< int > &&dd)
Definition: gmat.hpp:94
void assign(const std::vector< Mat > &v) const
__host__ ScharrYPtrSz< typename PtrTraits< SrcPtr >::ptr_type > scharrYPtr(const SrcPtr &src)
Definition: deriv.hpp:312
Definition: deriv.hpp:282
virtual double getMinDist() const =0
void computeProjectionMatrix(Matx44d &proj) const
Computes projection matrix using intrinsic parameters of the camera.
the GOTURN (Generic Object Tracking Using Regression Networks) tracker
Definition: tracker.hpp:1288
Definition: warpers.hpp:443
std::string videoUrl
Definition: ar_sports.hpp:62
virtual void setInnerIterations(int inner_iterations)=0
PyRotationWarper()
Definition: warpers.hpp:56
void loadWindowParameters(const String &windowName)
Loads parameters of the specified window.
std::string name
Definition: ar_hmdb.hpp:63
int * integralImage[num_images]
Definition: descriptor.hpp:68
void writeScalar(FileStorage &fs, double value)
virtual void getImagesForShadowMasks(InputOutputArray blackImage, InputOutputArray whiteImage) const =0
Generates the all-black and all-white images needed for shadowMasks computation.
void computeObjectImagePoints(std::vector< cv::Mat > inputImages)
MatConstIterator_(const Mat_< _Tp > *_m, int _row, int _col=0)
constructor that sets the iterator to the specified element of the matrix
@ CAP_PROP_GPHOTO2_RELOAD_CONFIG
Trigger, only by set. Reload camera settings.
Definition: videoio.hpp:556
@ CAP_PROP_XI_FRAMERATE
Define framerate in Hz.
Definition: videoio.hpp:444
frame_list m_frame_list
Definition: container_avi.private.hpp:128
@ NPPST_MEMFREE_ERR
CUDA memory deallocation error.
Definition: NCV.hpp:362
void add(InputArray src1, InputArray src2, OutputArray dst, InputArray mask=noArray(), int dtype=-1, Stream &stream=Stream::Null())
Computes a matrix-matrix or matrix-scalar sum.
AutoBuffer< double, 1 > * pd
Definition: dict.hpp:104
v_reg< _Tp, n > v_absdiffs(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Saturating absolute difference.
Definition: intrin_cpp.hpp:805
static void write(FileStorage &fs, const String &name, const Scalar_< _Tp > &s)
Definition: persistence.hpp:1030
A container class for network configurations. Similar to GKernelPackage.Use cv::gapi::networks() to c...
Definition: infer.hpp:204
static void read(const FileNode &node, ushort &value, ushort default_value)
Definition: persistence.hpp:1138
@ MM_UNKNOWN
Definition: motion_core.hpp:68
void updateImpl(std::vector< ConfidenceMap > &confidenceMaps) CV_OVERRIDE
virtual int getDatasetsNum()=0
size_t getFramesCount()
Definition: container_avi.private.hpp:91
RgbdFrame(const Mat &image, const Mat &depth, const Mat &mask=Mat(), const Mat &normals=Mat(), int ID=-1)
Class implementing the AKAZE keypoint detector and descriptor extractor, described in .
Definition: features2d.hpp:732
MatExpr min(const Mat &a, const Mat &b)
Definition: extrapolation.hpp:121
virtual void inpaint(int idx, Mat &frame, Mat &mask) CV_OVERRIDE
int keypointScale
Definition: calib3d.hpp:1307
@ THRESH_BINARY_INV
Definition: imgproc.hpp:318
static int get_window_impl(const GMetaArgs &metas, const cv::GArgs &in_args, cv::detail::Seq< IIs... >)
Definition: gfluidkernel.hpp:299
Matx< float, 1, 2 > Matx12f
Definition: matx.hpp:212
@ CAP_GPHOTO2
gPhoto2 connection
Definition: videoio.hpp:115
@ CALIB_CB_NORMALIZE_IMAGE
Definition: calib3d.hpp:256
virtual double getVarMax() const =0
@ CPU_AVX_512PF
Definition: cvdef.h:293
KeyPointsFilter()
Definition: features2d.hpp:109
void absdiff(InputArray src1, InputArray src2, OutputArray dst, Stream &stream=Stream::Null())
Computes per-element absolute difference of two matrices (or of a matrix and scalar).
virtual int getType() const =0
bool findCirclesGrid(InputArray image, Size patternSize, OutputArray centers, int flags, const Ptr< FeatureDetector > &blobDetector, const CirclesGridFinderParameters ¶meters)
Finds centers in the grid of circles.
void mapForward(float x, float y, float &u, float &v)
struct hashnode_i ** nodes
Definition: t_hash_int.hpp:70
virtual int getWinSize() const =0
int getCudaEnabledDeviceCount()
Returns the number of installed CUDA-enabled devices.
double invert(InputArray src, OutputArray dst, int flags=DECOMP_LU)
Finds the inverse or pseudo-inverse of a matrix.
A class to represent a line.
Definition: descriptor.hpp:103
@ WINDOW_NORMAL
the user can resize the window (no constraint) / also use to switch a fullscreen window to a normal s...
Definition: highgui.hpp:183
char3 type
Definition: vec_traits.hpp:78
void write(FileStorage &fs, const String &name, double value)
Mat samplePCUniformInd(Mat PC, int sampleStep, std::vector< int > &indices)
__host__ NCVStatus setNumClassifierRootNodes(Ncv32u val)
Definition: NCVHaarObjectDetection.hpp:292
bool running() const
Test if the pipeline is running.
Definition: gcompoundkernel.hpp:93
int hal_ni_div64f(const double *src1_data, size_t src1_step, const double *src2_data, size_t src2_step, double *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:263
QtButtonTypes
Qt "button" type.
Definition: highgui.hpp:247
static DictValue arrayReal(TypeIter begin, int size)
Constructs floating point array.
Definition: reduce_to_vec.hpp:70
uint2 _ui2
Definition: NCVHaarObjectDetection.hpp:274
void loadPattern(const cv::Mat &patternImage, const std::vector< cv::KeyPoint > &patternKeyPoints, const cv::Mat &patternDescriptors)
Mat getParam(LayerId layer, int numParam=0)
Returns parameter blob of the layer.
__host__ __device__ ThreshBinaryFunc< T > thresh_binary_func(T thresh, T maxVal)
Definition: functional.hpp:706
double getRealValue(int idx=-1) const
@ CALIB_FIX_K5
Definition: calib3d.hpp:278
virtual ~CvFeatureEvaluator()
Definition: feature.hpp:160
Class implementing edge detection algorithm from :
Definition: structured_edge_detection.hpp:98
Status composePanorama(OutputArray pano)
int queryIdx
query descriptor index
Definition: types.hpp:815
void homogeneousToEuclidean(InputArray src, OutputArray dst)
Converts point coordinates from homogeneous to euclidean pixel coordinates. E.g., ((x,...
virtual void setMaxFeatures(int maxFeatures)=0
SolverType
Definition: rlofflow.hpp:23
virtual ~BackendNode()
Virtual destructor to make polymorphism.
void cmp64f(const double *src1, size_t step1, const double *src2, size_t step2, uchar *dst, size_t step, int width, int height, void *_cmpop)
T get(int index, bool space_delete=true) const
Access positional arguments by index.
Definition: utility.hpp:895
GMat BGR2YUV(const GMat &src)
Converts an image from BGR color space to YUV color space.
bool colorMode
Definition: retina.hpp:161
TrackedObject(const cv::Rect &rect)
Definition: detection_based_tracker.hpp:191
virtual void setThreshold(int threshold)=0
@ CAP_OPENNI
OpenNI (for Kinect)
Definition: videoio.hpp:103
Definition: all_layers.hpp:84
int widthOfBand_
Definition: descriptor.hpp:197
bool useOpenVX()
Check if use of OpenVX is enabled.
@ PSM_SINGLE_WORD
Definition: ocr.hpp:77
virtual void setupIPLMagnoChannel(const bool normaliseOutput=true, const float parasolCells_beta=0.f, const float parasolCells_tau=0.f, const float parasolCells_k=7.f, const float amacrinCellsTemporalCutFrequency=1.2f, const float V0CompressionParameter=0.95f, const float localAdaptintegration_tau=0.f, const float localAdaptintegration_k=7.f)=0
Set parameters values for the Inner Plexiform Layer (IPL) magnocellular channel.
@ RETR_EXTERNAL
Definition: imgproc.hpp:413
static Ptr< GPCForest > create()
Definition: sparse_matching_gpc.hpp:298
@ value
Definition: functional.hpp:897
virtual void detect(const cv::Mat &image, std::vector< cv::Rect > &objects)=0
virtual void inverseWarp(InputArray img1, OutputArray img2) const =0
virtual void setOutputMax(float val)=0
Output image range maximum value.
@ PSM_CIRCLE_WORD
Definition: ocr.hpp:78
int method_
Definition: depth.hpp:180
virtual void setBackpropMomentumScale(double val)=0
void magnitudeSqr(InputArray xy, OutputArray magnitude, Stream &stream=Stream::Null())
Computes squared magnitudes of complex matrix elements.
void l0Smooth(InputArray src, OutputArray dst, double lambda=0.02, double kappa=2.0)
Global image smoothing via L0 gradient minimization.
Definition: detection_based_tracker.hpp:146
void cornerSubPix(InputArray image, InputOutputArray corners, Size winSize, Size zeroZone, TermCriteria criteria)
Refines the corner locations.
ObjectDetection(const Rect &rect, float score, int classID=-1)
SelectIf< unsigned(VecTraits< A >::cn) !=unsigned(VecTraits< B >::cn), void, typename MakeVec< typename type_traits_detail::LargerDepth< typename VecTraits< A >::elem_type, typename VecTraits< B >::elem_type >::type, VecTraits< A >::cn >::type >::type type
Definition: type_traits.hpp:167
virtual size_t maxSize(void) const =0
int hal_ni_cvtThreePlaneYUVtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx)
hal_cvtThreePlaneYUVtoBGR
Definition: hal_replacement.hpp:512
virtual void onBeginFrame(int frameNumber, EncoderCallBack::PicType picType)=0
Callback function to signal that the encoding operation on the frame has started.
void resetCameraViewpoint(const String &id)
Resets camera viewpoint to a 3D widget in the scene.
virtual int getPreFilterType() const =0
Size img_size
Definition: matchers.hpp:61
const uchar * ptr0
Definition: imgproc.hpp:4735
result_type mySum
Definition: vec_distance.hpp:66
float truncateThreshold
Threshold for depth truncation in meters.
Definition: kinfu.hpp:109
virtual Size getWinSize() const =0
__host__ __device__ __forceinline__ ZipPtr()
Definition: zip.hpp:82
virtual float getForwardBackward() const =0
Threshold for the forward backward confidence check.
int trainIdx
train descriptor index
Definition: types.hpp:816
void setVertexArray(InputArray vertex)
Sets an array of vertex coordinates.
@ ComputeModeProhibited
Definition: cuda.hpp:903
cv::Rect2d tld_InitDataset(int videoInd, const char *rootPath="TLD_dataset", int datasetInd=0)
ColorMomentHash()
Definition: color_moment_hash.hpp:25
double findMedian(const Mat &row)
bool samplingImpl(const Mat &image, Rect boundingBox, std::vector< Mat > &sample) CV_OVERRIDE
Matx< float, 3, 3 > Matx33f
Definition: matx.hpp:237
std::vector< Feature > features
Definition: feature.hpp:327
bool operator==(const Match &rhs) const
Definition: linemod.hpp:277
void detect(InputArray frame, std::vector< int > &classIds, std::vector< float > &confidences, std::vector< Rect > &boxes, float confThreshold=0.5f, float nmsThreshold=0.0f)
Given the input frame, create input blob, run net and return result detections.
@ CAP_PROP_XI_EXP_PRIORITY
Exposure priority (0.5 - exposure 50%, gain 50%).
Definition: videoio.hpp:350
__host__ __device__ ThreshToZeroFunc< T > thresh_to_zero_func(T thresh)
Definition: functional.hpp:764
Point2f warpPoint(const Point2f &pt, InputArray K, InputArray R) CV_OVERRIDE
Projects the image point.
v_reg< _Tp, n > v_sqr_magnitude(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Square of the magnitude.
Definition: intrin_cpp.hpp:844
const value_type * const_pointer
Definition: cvstd.hpp:115
@ CAP_PROP_CHANNEL
Video input or Channel Number (only for those cameras that support)
Definition: videoio.hpp:175
BFMatcher(int normType=NORM_L2, bool crossCheck=false)
Brute-force matcher constructor (obsolete). Please use BFMatcher.create()
volatile int m_counter
Definition: instrumentation.hpp:86
_Tp value_type
Definition: types.hpp:423
virtual void setMaxLevel(int val)=0
TrainingMethods
Definition: ml.hpp:1426
static Ptr< Layer > create(const LayerParams ¶ms)
virtual int getPreFilterCap() const =0
virtual float getThreshold() const =0
v_uint8x16 v_reinterpret_as_u8(const v_reg< _Tp0, n0 > &a)
Definition: intrin_cpp.hpp:2182
double getThreshold() const CV_OVERRIDE
__host__ Expr< BinaryTransformPtrSz< typename PtrTraits< SrcPtr1 >::ptr_type, typename PtrTraits< SrcPtr2 >::ptr_type, minimum< typename LargerType< typename PtrTraits< SrcPtr1 >::value_type, typename PtrTraits< SrcPtr2 >::value_type >::type > > > min_(const SrcPtr1 &src1, const SrcPtr2 &src2)
Definition: per_element_func.hpp:66
virtual vector< Point2d > getGT()=0
@ DNN_TARGET_CPU
Definition: dnn.hpp:89
void cvtBGRtoYUV(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isCbCr)
bool contains(const Point_< _Tp > &pt) const
checks whether the rectangle contains the point
Definition: calib3d.hpp:1301
@ NCV_CUDA_ERROR
Definition: NCV.hpp:319
Read-write Sparse Matrix Iterator.
Definition: mat.hpp:3235
VideoCapture()
Default constructor.
int borderMode() const
Definition: inpainting.hpp:156
bool ECCEnabled() const
device has ECC support enabled
FileNode & operator=(const FileNode &node)
virtual void find(const std::vector< UMat > &src, const std::vector< Point > &corners, std::vector< UMat > &masks) CV_OVERRIDE
Estimates seams.
virtual void setMaxFeatures(int maxFeatures)=0
Background Subtractor module based on the algorithm given in .
Definition: bgsegm.hpp:100
@ SF_IYUV
Definition: cudacodec.hpp:78
Ptr< IFrameSource > frameSource() const
Definition: stabilizer.hpp:78
const Mat & correct(const Mat &measurement)
Updates the predicted state from the measurement.
__device__ __forceinline__ uint vcmpgt2(uint a, uint b)
Definition: simd_functions.hpp:339
__host__ __device__ GlobPtr< T > globPtr(T *data, size_t step)
Definition: glob.hpp:91
A simple scoped lock (RAII-style locking for exclusive/write access).
Definition: lock.private.hpp:16
static Ptr< RgbdICPOdometry > create(const Mat &cameraMatrix=Mat(), float minDepth=Odometry::DEFAULT_MIN_DEPTH(), float maxDepth=Odometry::DEFAULT_MAX_DEPTH(), float maxDepthDiff=Odometry::DEFAULT_MAX_DEPTH_DIFF(), float maxPointsPart=Odometry::DEFAULT_MAX_POINTS_PART(), const std::vector< int > &iterCounts=std::vector< int >(), const std::vector< float > &minGradientMagnitudes=std::vector< float >(), int transformType=Odometry::RIGID_BODY_MOTION)
void readModel(const std::string &weights, const std::string &definition)
Read the model from the given path.
void apply(detail::ProtoToParamT< Args >... inArgs, detail::ProtoToParamT< R > &... outArgs)
Definition: gtyped.hpp:206
Trajectories.
Definition: widgets.hpp:605
Definition: or_pascal.hpp:60
@ CONTOURS_MATCH_I1
Definition: imgproc.hpp:450
void(* ButtonCallback)(int state, void *userdata)
Callback function for a button created by cv::createButton.
Definition: highgui.hpp:278
int type
Definition: all_layers.hpp:248
virtual void setIntensity(float intensity)=0
_OutputArray(const std::vector< UMat > &vec)
std::vector< Feature > features
Definition: feature.hpp:392
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 qdft(InputArray img, OutputArray qimg, int flags, bool sideLeft)
Performs a forward or inverse Discrete quaternion Fourier transform of a 2D quaternion array.
virtual void apply(InputArray image, OutputArray fgmask, double learningRate=-1) CV_OVERRIDE=0
Computes a foreground mask.
FeaturesMatcher(bool is_thread_safe=false)
Definition: matchers.hpp:152
bool normaliseOutput
Definition: retina.hpp:175
static Ptr< SparsePyrLKOpticalFlow > create(Size winSize=Size(21, 21), int maxLevel=3, TermCriteria crit=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 0.01), int flags=0, double minEigThreshold=1e-4)
virtual void getVotes(InputArray samples, OutputArray results, int flags) const =0
void setMotionEstimator(Ptr< ImageMotionEstimatorBase > val)
Definition: wobble_suppression.hpp:67
void thinning(InputArray src, OutputArray dst, int thinningType=THINNING_ZHANGSUEN)
Applies a binary blob thinning operation, to achieve a skeletization of the input image.
bool use_gray
Definition: tracker.hpp:1501
Definition: inpainting.hpp:175
@ CAP_PROP_POS_MSEC
Current position of the video file in milliseconds.
Definition: videoio.hpp:132
@ CPU_SSE3
Definition: cvdef.h:276
softfloat & operator=(const softfloat &c)
Assign constructor.
Definition: softfloat.hpp:97
const uchar * ptr(int row, int col=0) const
Definition: mat.hpp:326
int & stitchingLogLevel()
virtual String getDefaultName() const CV_OVERRIDE
virtual float operator()(int featureIdx, int sampleIdx) CV_OVERRIDE
Definition: feature.hpp:373
std::vector< int > * pixels
Definition: erfilter.hpp:97
virtual Ncv32u alignment() const
const _Tp * ptr(int y=0) const
static Ptr< WBDetector > create()
Create instance of WBDetector.
@ dark
Definition: gr_skig.hpp:84
#define OPENCV_HAL_NOP(a)
Definition: intrin.hpp:55
GMat absDiff(const GMat &src1, const GMat &src2)
Calculates the per-element absolute difference between two matrices.
virtual void setTermCriteria(TermCriteria val)=0
@ IMREAD_REDUCED_GRAYSCALE_2
If set, always convert image to the single channel grayscale image and the image size reduced 1/2.
Definition: imgcodecs.hpp:71
v_reg< _Tp, n > & operator/=(v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Definition: intrin_cpp.hpp:442
int aprilTagMaxNmaxima
Definition: aruco.hpp:183
#define OPENCV_HAL_IMPL_MINMAX_FUNC(func, cfunc)
Helper macro.
Definition: intrin_cpp.hpp:546
@ CAP_PROP_AUTO_EXPOSURE
DC1394: exposure control done by camera, user can adjust reference level using this feature.
Definition: videoio.hpp:154
@ THINNING_ZHANGSUEN
Definition: ximgproc.hpp:111
Definition: inpainting.hpp:184
Gaussian Mixture-based Background/Foreground Segmentation Algorithm.
Definition: bgsegm.hpp:63
void projectPoints(InputArray objectPoints, InputArray rvec, InputArray tvec, InputArray cameraMatrix, InputArray distCoeffs, OutputArray imagePoints, OutputArray jacobian=noArray(), double aspectRatio=0)
Projects 3D points to an image plane.
void setModel(const std::string &algo, int scale)
Set desired model.
CensusKernel(uint8_t **images)
Definition: descriptor.hpp:176
PoseCluster3D(Pose3DPtr newPose)
Definition: pose_3d.hpp:147
virtual int getNOctaveLayers() const =0
double minOtsuStdDev
Definition: aruco.hpp:174
@ DEPTH_CLEANER_NIL
Definition: depth.hpp:195
bool exists(const cv::String &path)
ReduceTypes
Definition: core.hpp:219
virtual float getGamma() const =0
void dtFilter(InputArray guide, InputArray src, OutputArray dst, double sigmaSpatial, double sigmaColor, int mode=DTF_NC, int numIters=3)
Simple one-line Domain Transform filter call. If you have multiple images to filter with the same gui...
__host__ GpuMat_ & operator=(const GpuMat_ &m)
assignment operators
@ COLOR_BGR2YUV
convert between RGB/BGR and YUV
Definition: imgproc.hpp:626
std::vector< std::vector< Ptr< Object > > > test
Definition: dataset.hpp:580
__host__ CubicInterPtrSz< typename PtrTraits< SrcPtr >::ptr_type > interCubic(const SrcPtr &src)
Definition: interpolation.hpp:219
void read(const FileNode &node, KeyPoint &value, const KeyPoint &default_value)
float getRadius(cv::Mat cloud, cv::Point3d center)
Get the proper camera radius from the view point to the center of model.
#define CV_IN_OUT
Definition: cvdef.h:420
void apply(const std::vector< cv::Mat > &ins, std::vector< cv::Mat > &outs, GCompileArgs &&args={})
Execute a computation with arbitrary number of inputs/outputs (with compilation on-the-fly).
@ StsKernelStructContentErr
incorrect transform kernel content
Definition: base.hpp:99
bool isValidDepth(const float &depth)
Definition: depth.hpp:27
__host__ __device__ static __forceinline__ char1 all(schar v)
Definition: vec_traits.hpp:154
void read(const FileNode &fn)
virtual void setNumDisparities(int numDisparities)=0
std::map< int, double > getResultsMap() const
Return results as map Labels are keys, values are minimal distances.
virtual void setThreshold(int threshold)=0
Definition: tracker.hpp:1291
static void expand_impl(GCompoundContext &ctx, detail::Seq< IIs... >, detail::Seq< OIs... >)
Definition: gcompoundkernel.hpp:75
static softfloat max()
Biggest finite value.
Definition: softfloat.hpp:216
@ CAP_PROP_XI_KNEEPOINT2
Value of second kneepoint (% of sensor saturation).
Definition: videoio.hpp:472
virtual void setNumIters(int numIters)=0
Class for video capturing from video files, image sequences or cameras.
Definition: videoio.hpp:609
int rows
Definition: constant.hpp:69
__host__ Expr< RemapPtr1Sz< typename PtrTraits< SrcPtr >::ptr_type, typename PtrTraits< MapPtr >::ptr_type > > remap_(const SrcPtr &src, const MapPtr &map)
Definition: warping.hpp:76
Template sparse n-dimensional array class derived from SparseMat.
Definition: mat.hpp:2944
__host__ Expr< UnaryTransformPtrSz< typename PtrTraits< SrcPtr >::ptr_type, ThreshToZeroFunc< typename PtrTraits< SrcPtr >::value_type > > > threshToZero_(const SrcPtr &src, typename PtrTraits< SrcPtr >::value_type thresh)
Definition: per_element_func.hpp:103
Callback with the character classifier is made a class.
Definition: ocr.hpp:205
softdouble getFrac() const
Get a fraction part.
Definition: softfloat.hpp:329
virtual void extractSimpleFeatures(InputArray src, OutputArray dst)=0
Implements the feature extraction part of the algorithm.
double focal_length_y
Definition: simple_pipeline.hpp:110
std::string window_function
Window function: "hann", "cheb", "kaiser".
Definition: tracker.hpp:1506
int deviceVersionMajor() const
Definition: functional.hpp:735
void updateTexture(const String &name, InputArray image)
@ CPU_MSA
Definition: cvdef.h:305
void _writeFeatures(const std::vector< Feature > features, FileStorage &fs, const Mat &featureMap)
Definition: feature.hpp:106
virtual double getPolySigma() const =0
virtual bool trainAuto(InputArray samples, int layout, InputArray responses, int kFold=10, Ptr< ParamGrid > Cgrid=SVM::getDefaultGridPtr(SVM::C), Ptr< ParamGrid > gammaGrid=SVM::getDefaultGridPtr(SVM::GAMMA), Ptr< ParamGrid > pGrid=SVM::getDefaultGridPtr(SVM::P), Ptr< ParamGrid > nuGrid=SVM::getDefaultGridPtr(SVM::NU), Ptr< ParamGrid > coeffGrid=SVM::getDefaultGridPtr(SVM::COEF), Ptr< ParamGrid > degreeGrid=SVM::getDefaultGridPtr(SVM::DEGREE), bool balanced=false)=0
Trains an SVM with optimal parameters.
virtual int saveParameters(cv::String filepath)=0
Save a file containing all the configuration parameters the class is currently set to.
virtual void setFastThreshold(int fastThreshold)=0
void read(const FileNode &node, std::string &value, const std::string &default_value)
@ TM_CCOEFF_NORMED
Definition: imgproc.hpp:3657
HOGDescriptor()
Creates the HOG descriptor and detector with default params.
Definition: objdetect.hpp:385
virtual void computeDataModulationTerm(InputArrayOfArrays patternImages, OutputArray dataModulationTerm, InputArray shadowMask)=0
compute the data modulation term.
UMat clone() const CV_NODISCARD
returns deep copy of the matrix, i.e. the data is copied
virtual void setStabilizationMotions(const std::vector< Mat > &val)
Definition: wobble_suppression.hpp:84
@ is_integral
Definition: type_traits.hpp:144
double beta
Default is 2.0.
Definition: kalman_filters.hpp:141
std::string imagePath
Definition: track_vot.hpp:64
int index_type
Definition: deriv.hpp:352
NCVStatus nppsStCompact_32f_host(Ncv32f *h_src, Ncv32u srcLen, Ncv32f *h_dst, Ncv32u *dstLen, Ncv32f elemRemove)
GIOProtoArgs< In_Tag > GProtoInputArgs
Definition: gproto.hpp:66
Matx(std::initializer_list< _Tp >)
initialize from an initializer list
int getNumOfAngleLine() const
float Type
Definition: features2d.hpp:795
void setImageWidth(int val)
Definition: saliencySpecializedClasses.hpp:96
virtual void setWinStride(Size win_stride)=0
Window stride. It must be a multiple of block stride.
double threshold(InputArray src, OutputArray dst, double thresh, double maxval, int type)
Applies a fixed-level threshold to each array element.
void getErrors(float *errors)
virtual double get(int propId) const
Returns the specified VideoWriter property.
@ MORPH_HITMISS
Definition: imgproc.hpp:225
float fx
Definition: resize.hpp:66
#define CV_CUDEV_RGB2HSV_INST(name, scn, dcn, bidx)
Definition: color_cvt.hpp:209
softdouble min(const softdouble &a, const softdouble &b)
Definition: softfloat.hpp:438
int preferredVectorWidthShort() const
int numFramesNotDetected
Definition: detection_based_tracker.hpp:188
void accumulateSquare(InputArray src, InputOutputArray dst, InputArray mask=noArray())
Adds the square of a source image to the accumulator image.
virtual void getParvo(OutputArray retinaOutput_parvo)=0
Accessor of the details channel of the retina (models foveal vision).
virtual int getCovarianceMatrixType() const =0
#define CV_CUDEV_Luv2RGB_INST(name, scn, dcn, sRGB, blueIdx)
Definition: color_cvt.hpp:398
int hal_ni_morphFree(cvhalFilter2D *context)
hal_morphFree
Definition: hal_replacement.hpp:230
__device__ __forceinline__ schar saturate_cast< schar >(uchar v)
Definition: saturate_cast.hpp:112
void create(int _rows, int _cols, int _type)
Definition: mat.hpp:223
CovarFlags
Covariation flags.
Definition: core.hpp:171
TrackerStateEstimator based on Boosting.
Definition: tracker.hpp:570
std::string type2
Definition: hpe_humaneva.hpp:65
@ CAP_PROP_PAN
Definition: videoio.hpp:165
Mat errorCovPost
posteriori error estimate covariance matrix (P(k)): P(k)=(I-K(k)*H)*P'(k)
Definition: tracking.hpp:402
int hal_ni_cvtTwoPlaneYUVtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx)
hal_cvtTwoPlaneYUVtoBGR
Definition: hal_replacement.hpp:499
int hal_ni_dft2D(cvhalDFT *context, const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step)
Definition: hal_replacement.hpp:543
void convertToD3D11Texture2D(InputArray src, ID3D11Texture2D *pD3D11Texture2D)
Converts InputArray to ID3D11Texture2D. If destination texture format is DXGI_FORMAT_NV12 then input ...
@ NATIVE_DOUBLE
Definition: cuda.hpp:782
StereographicWarper(float scale)
Definition: warpers.hpp:353
int dims
the matrix dimensionality, >= 2
Definition: mat.hpp:2084
static Ptr< AR_hmdb > create()
std::vector< size_t > strides
Definition: all_layers.hpp:249
static Ptr< RgbdFrame > create(const Mat &image=Mat(), const Mat &depth=Mat(), const Mat &mask=Mat(), const Mat &normals=Mat(), int ID=-1)
v_reg()
Default constructor.
Definition: intrin_cpp.hpp:315
void getDisparityVis(InputArray src, OutputArray dst, double scale=1.0)
Function for creating a disparity map visualization (clamped CV_8U image)
__host__ void gridFindMaxVal(const SrcPtr &src, GpuMat_< ResType > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: reduce.hpp:329
@ MODE_SGBM
Definition: calib3d.hpp:2771
Interface for Adaptive Manifold Filter realizations.
Definition: edge_filter.hpp:204
std::vector< Rect2d > boundingBoxes
Bounding Boxes list for Multi-Object-Tracker.
Definition: tracker.hpp:1437
void upsampleMultioutput(InputArray img, std::vector< Mat > &imgs_new, const std::vector< int > &scale_factors, const std::vector< String > &node_names)
Upsample via neural network of multiple outputs.
@ COLOR_BayerGB2RGB
Definition: imgproc.hpp:745
Definition: goclkernel.hpp:166
value_type * pointer
Definition: cvstd.hpp:114
SparseMat()
Various SparseMat constructors.
__host__ void gridFindMinVal(const SrcPtr &src, GpuMat_< ResType > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: reduce.hpp:317
bool isContinuous() const
Reports whether the matrix is continuous or not.
RadialVarianceHash()
Definition: radial_variance_hash.hpp:38
Definition: imgproc.hpp:990
Definition: features2d.hpp:626
@ COLOR_GRAY2BGR555
convert between grayscale and BGR555 (16-bit images)
Definition: imgproc.hpp:572
Type type
Definition: types.hpp:322
void setWobbleSuppressor(Ptr< WobbleSuppressorBase > val)
Definition: stabilizer.hpp:171
The resulting HDR image is calculated as weighted average of the exposures considering exposure value...
Definition: photo.hpp:678
virtual void checkParams() const CV_OVERRIDE
int hal_ni_adaptiveThreshold(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, double maxValue, int adaptiveMethod, int thresholdType, int blockSize, double C)
Calculates adaptive threshold.
Definition: hal_replacement.hpp:644
Mat(const Matx< _Tp, m, n > &mtx, bool copyData=true)
int getFeatureType() const
void release()
Release associated thread data and free TLS key.
Definition: tls.hpp:176
void setUseSVM(bool enabled)
void fastNlMeansDenoisingColored(InputArray src, OutputArray dst, float h_luminance, float photo_render, int search_window=21, int block_size=7, Stream &stream=Stream::Null())
Modification of fastNlMeansDenoising function for colored images.
virtual void freeAllReservedBuffers()=0
Definition: stabilizer.hpp:164
virtual cv::Scalar compute(InputArray img)=0
Compute quality score per channel with the per-channel score in each element of the resulting cv::Sca...
@ NCV_INVALID_STEP
Definition: NCV.hpp:329
virtual void setBlockSize(int blockSize)=0
cv ::Mat type
Definition: garray.hpp:277
int waitKey(int delay=0)
Waits for a pressed key.
short saturate_cast< short >(ushort v)
Definition: saturate.hpp:129
Base class for all exposure compensators.
Definition: exposure_compensate.hpp:61
@ BadOffset
offset is invalid
Definition: base.hpp:80
virtual double getGamma() const =0
Gradient constancy importance.
Represents a modality operating over an image pyramid.
Definition: linemod.hpp:56
@ CAP_OPENNI_SXGA_15HZ
Definition: videoio.hpp:270
float strong_affinity_thr
of lost track.
Definition: tracking_by_matching.hpp:290
const std::vector< Mat > * frames_
Definition: inpainting.hpp:96
@ COLORMAP_HOT
Definition: imgproc.hpp:4230
Ncv32f * pFV
forward vertical displacement
Definition: NPP_staging.hpp:122
cv::Mat getScreenshot() const
Returns the Mat screenshot of the current scene.
@ CAP_PROP_XI_IMAGE_DATA_BIT_DEPTH
bitdepth of data returned by function xiGetImage.
Definition: videoio.hpp:388
CylindricalPortraitWarper(float scale)
Definition: warpers.hpp:616
virtual Point calculateShift(InputArray img0, InputArray img1)=0
Calculates shift between two images, i. e. how to shift the second image to correspond it with the fi...
std::vector< int > computeSwappedClassifier()
Get the list of the weak classifiers that replace those to be replaced.
Base class for warping logic implementation.
Definition: warpers.hpp:125
static cv::Scalar compute(InputArray img, const cv::String &model_file_path, const cv::String &range_file_path)
static method for computing quality
sparse matrix node - element of a hash table
Definition: mat.hpp:2691
#define CV_ENUM_FLAGS(EnumType)
Definition: cvdef.h:582
virtual bool isOpened() const
Checks whether the file is opened.
@ RIGHT
Definition: slam_tumindoor.hpp:63
static _AccTp normL1(const _Tp *a, int n)
Definition: base.hpp:424
float score
Definition: linemod.hpp:96
virtual int getCannyLowThresh() const =0
bool imageSupport() const
int getThreshold() const
Definition: agast.txt:7524
virtual void setForwardBackward(float val)=0
Threshold for the forward backward confidence check.
uint8_t * image[num_images]
Definition: descriptor.hpp:67
@ COUNT
the maximum number of iterations or elements to compute
Definition: types.hpp:860
static std::vector< float > getDaimlerPeopleDetector()
Returns coefficients of the classifier trained for people detection (for 48x96 windows).
static KernelArg WriteOnlyNoSize(const UMat &m, int wscale=1, int iwscale=1)
Definition: ocl.hpp:373
static Ptr< Retina > create(Size inputSize, const bool colorMode, int colorSamplingMethod=RETINA_COLOR_BAYER, const bool useRetinaLogSampling=false, const float reductionFactor=1.0f, const float samplingStrenght=10.0f)
Constructors from standardized interfaces : retreive a smart pointer to a Retina instance.
Ptr< BaseCascadeClassifier::MaskGenerator > getMaskGenerator()
static bool isFlow(int flags)
@ COLOR_YUV420p2RGBA
Definition: imgproc.hpp:661
int descriptorsCount() const
Returns the count of all descriptors stored in the training set.
@ COLOR_BayerBG2GRAY_MHT
Definition: cudaimgproc.hpp:105
@ QT_NEW_BUTTONBAR
Button should create a new buttonbar.
Definition: highgui.hpp:251
virtual float getSaturation() const =0
virtual void unsetAttached()
"Deattaches" all the layers, attached to particular layer.
@ CAP_PROP_XI_BINNING_PATTERN
Binning pattern type.
Definition: videoio.hpp:363
std::vector< Mat > descriptors
Definition: features2d.hpp:1343
virtual void train(InputArrayOfArrays src, InputArray labels)=0
Trains a FaceRecognizer with given data and associated labels.
virtual vector< Point2f > getNextGT()=0
void read(const FileNode &fn) CV_OVERRIDE
Reads algorithm parameters from a file storage.
float aprilTagQuadDecimate
Definition: aruco.hpp:178
@ IMWRITE_JPEG_CHROMA_QUALITY
Separate chroma quality level, 0 - 100, default is 0 - don't use.
Definition: imgcodecs.hpp:87
virtual void setStabilizationMotions(const std::vector< Mat > &val) CV_OVERRIDE
void reduce(InputArray mtx, OutputArray vec, int dim, int reduceOp, int dtype=-1, Stream &stream=Stream::Null())
Reduces a matrix to a vector.
void computeImageFeatures(const Ptr< Feature2D > &featuresFinder, InputArrayOfArrays images, std::vector< ImageFeatures > &features, InputArrayOfArrays masks=noArray())
double const_param_type
Definition: core.hpp:3200
virtual int getTrainMethod() const =0
virtual void setupOPLandIPLParvoChannel(const bool colorMode=true, const bool normaliseOutput=true, const float photoreceptorsLocalAdaptationSensitivity=0.7f, const float photoreceptorsTemporalConstant=0.5f, const float photoreceptorsSpatialConstant=0.53f, const float horizontalCellsGain=0.f, const float HcellsTemporalConstant=1.f, const float HcellsSpatialConstant=7.f, const float ganglionCellsSensitivity=0.7f)=0
Setup the OPL and IPL parvo channels (see biologocal model)
virtual int getAngleThresh() const =0
static Ptr< ObjectnessBING > create()
Definition: saliencySpecializedClasses.hpp:298
virtual ~ITrackerByMatching()
Destructor for the tracker.
Definition: tracking_by_matching.hpp:418
cv::Mat getMinGradientMagnitudes() const
Definition: depth.hpp:964
int partition(const std::vector< _Tp > &_vec, std::vector< int > &labels, _EqPredicate predicate=_EqPredicate())
Splits an element set into equivalency classes.
Definition: operations.hpp:503
@ CAP_PROP_ROLL
Definition: videoio.hpp:167
void cvtColor(InputArray src, OutputArray dst, int code, int dcn=0, Stream &stream=Stream::Null())
Converts an image from one color space to another.
HOGDescriptor::HistogramNormType histogramNormType
histogramNormType
Definition: objdetect.hpp:608
static constexpr const char * tag()
Definition: infer.hpp:126
int hal_ni_addWeighted8s(const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, schar *dst_data, size_t dst_step, int width, int height, const double scalars[3])
Definition: hal_replacement.hpp:319
@ USAGE_ALLOCATE_DEVICE_MEMORY
Definition: mat.hpp:455
virtual double getPyrScale() const =0
bool parseRiff(frame_list &m_mjpeg_frames)
int numStepsToShowWithoutDetecting
Definition: detection_based_tracker.hpp:170
Definition: all_layers.hpp:553
String name
Name of the layer instance, can be used for logging or other internal purposes.
Definition: dnn.hpp:370
__host__ Expr< UnaryTransformPtrSz< typename PtrTraits< SrcPtr >::ptr_type, ThreshToZeroInvFunc< typename PtrTraits< SrcPtr >::value_type > > > threshToZeroInv_(const SrcPtr &src, typename PtrTraits< SrcPtr >::value_type thresh)
Definition: per_element_func.hpp:110
Definition: dynafu.hpp:17
virtual bool test_point(Point pt)
@ INPAINT_TELEA
Use the algorithm proposed by Alexandru Telea .
Definition: photo.hpp:97
size_t idx
Definition: mat.hpp:3422
void copyTo(OutputArray dst, InputArray mask, Stream &stream) const
copies those GpuMat elements to "m" that are marked with non-zero mask elements (Non-Blocking call)
Rect getWindowImageRect(const String &winname)
Provides rectangle of image in the window.
void knnSearch(const std::vector< ElementType > &query, std::vector< int > &indices, std::vector< DistanceType > &dists, int knn, const ::cvflann::SearchParams ¶ms)
Performs a K-nearest neighbor search for a given query point using the index.
int depth() const
Returns the depth of a matrix element.
Definition: mat.hpp:209
double Rx
Definition: gr_chalearn.hpp:67
virtual void setMinY(double _plotMinY)=0
__device__ static __forceinline__ uint max()
Definition: limits.hpp:105
This class represents a keyboard event.
Definition: types.hpp:283
String readClass(const FileNode &fn, const String &class_id_override="")
GFluidKernel()
Definition: gfluidkernel.hpp:75
int getMinSize() const
Definition: depth.hpp:396
const std::vector< Mat > * stabilizationMotions_
Definition: wobble_suppression.hpp:92
Definition: feature.hpp:158
virtual void setMinArea(int minArea)=0
bool m_funError
Definition: instrumentation.hpp:84
void download(OutputArray dst, Stream &stream) const
Performs data download from GpuMat (Non-Blocking call)
Definition: tuple_adapter.hpp:79
virtual ~Feature2DAsync()
cv::Mat getIterationCounts() const
Definition: depth.hpp:956
@ COLOR_YUV420sp2GRAY
Definition: imgproc.hpp:670
optional & operator=(const optional &rhs)=default
void niBlackThreshold(InputArray _src, OutputArray _dst, double maxValue, int type, int blockSize, double k, int binarizationMethod=BINARIZATION_NIBLACK)
Performs thresholding on input images using Niblack's technique or some of the popular variations it ...
Stub seam estimator which does nothing.
Definition: seam_finders.hpp:77
void write(FileStorage &fs, const double &value)
Definition: persistence.hpp:896
virtual void setLambda(float lambda)=0
PtrTraits< MaskPtr >::value_type value_type
Definition: mask.hpp:70
@ COLOR_Luv2LRGB
Definition: imgproc.hpp:624
virtual ~FastLineDetector()
Definition: fast_line_detector.hpp:55
uchar blobColor
Definition: features2d.hpp:635
void rotation(const Mat3 &R)
virtual void setNonmaxSuppression(bool f)=0
virtual void apply(InputArray image, OutputArray fgmask, double learningRate, Stream &stream)=0
@ QT_STYLE_NORMAL
Normal font.
Definition: highgui.hpp:241
Definition: all_layers.hpp:448
Mat eigenvectors
eigenvectors of the covariation matrix
Definition: core.hpp:2531
void setMaxPixelValue(double val)
sets the maximum pixel value used for PSNR computation
Definition: qualitypsnr.hpp:87
GMatDesc(int d, int c, cv::gapi::own::Size s, bool p=false)
Definition: gmat.hpp:88
Kernel(const char *kname, const Program &prog)
virtual int getRICSPSize() const =0
Parameter to tune the approximate size of the superpixel used for oversegmentation.
void mapBackward(float u, float v, float &x, float &y)
This 3D Widget defines a finite plane.
Definition: widgets.hpp:250
void initBaseClassifier()
v_float32x4 v_matmul(const v_float32x4 &v, const v_float32x4 &m0, const v_float32x4 &m1, const v_float32x4 &m2, const v_float32x4 &m3)
Matrix multiplication.
Definition: intrin_cpp.hpp:2492
float result_type
Definition: vec_distance.hpp:125
Definition: gcompoundkernel.hpp:41
int nativeVectorWidthShort() const
v_reg< typename V_TypeTraits< _Tp >::w_type, n/2 > v_dotprod_fast(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Fast Dot product of elements.
Definition: intrin_cpp.hpp:927
void setNormalArray(InputArray normal)
Sets an array of vertex normals.
void writePLYVisibleNormals(Mat PC, const char *fileName)
Used for debbuging pruposes, writes a point cloud to a PLY file with the tip of the normal vectors as...
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: reduction.hpp:157
Ptr2D::value_type value_type
Definition: traits.hpp:61
GMatP NV12toBGRp(const GMat &src_y, const GMat &src_uv)
Converts an image from NV12 (YUV420p) color space to BGR. The function converts an input image from N...
size_t globalMemSize() const
void mapBackward(float u, float v, float &x, float &y)
int getMaxDisparity()
method for getting the disparity
Definition: matching.hpp:382
static Ptr< FastFeatureDetector > create(int threshold=10, bool nonmaxSuppression=true, FastFeatureDetector::DetectorType type=FastFeatureDetector::TYPE_9_16)
Definition: infer.hpp:189
@ CAP_PROP_GPHOTO2_FLUSH_MSGS
Readonly, returns (const char *).
Definition: videoio.hpp:559
const std::vector< float > & getConfidences() const
Definition: onlineBoosting.hpp:231
GMat subC(const GMat &src, const GScalar &c, int ddepth=-1)
Calculates the per-element difference between matrix and given scalar.
void writeScalar(FileStorage &fs, int value)
int max_m
unused delete
Definition: facemarkAAM.hpp:116
GComputation(GMat in, GScalar out)
Defines an unary (one input – one output) computation.
std::deque< std::pair< uint64_t, uint32_t > > frame_list
Definition: container_avi.private.hpp:68
std::vector< float > scales
defines the scales considered to build the model
Definition: facemarkAAM.hpp:108
Definition: motion_stabilizing.hpp:118
virtual double getPyrScale() const =0
bool operator==(const GPCTree &t) const
Definition: sparse_matching_gpc.hpp:186
virtual void filter(InputArray disparity_map_left, InputArray left_view, OutputArray filtered_disparity_map, InputArray disparity_map_right=Mat(), Rect ROI=Rect(), InputArray right_view=Mat())=0
Apply filtering to the disparity map.
static Ptr< TrackerMIL > create(const TrackerMIL::Params ¶meters)
Constructor.
virtual void detect(InputArray inputImage, std::vector< Rect > &Bbox, std::vector< float > &confidence)=0
Method that provides a quick and simple interface to detect text inside an image.
Definition: extrapolation.hpp:172
#define HaarFeature64_CreateCheck_MaxRectField
Definition: NCVHaarObjectDetection.hpp:82
virtual int getNAllVars() const =0
int startLoop(int(*pt2Func)(int argc, char *argv[]), int argc, char *argv[])
virtual int getSuperpixelSize() const =0
Get the internal cost, i.e. edge map, used for estimating the edge-aware term.
@ CAP_PROP_TILT
Definition: videoio.hpp:166
struct CvCapture CvCapture
Definition: videoio.hpp:68
CameraParams(const CameraParams &other)
static cv::Scalar compute(InputArray ref, InputArray cmp, OutputArray qualityMap, double maxPixelValue=QualityPSNR::MAX_PIXEL_VALUE_DEFAULT)
static method for computing quality
Definition: qualitypsnr.hpp:72
Gaussian Mixture-based Background/Foreground Segmentation Algorithm.
Definition: cudabgsegm.hpp:127
cv::Rect rect
Detected object ROI (zero area if N/A).
Definition: tracking_by_matching.hpp:28
Affine3< double > Affine3d
Definition: affine.hpp:291
@ EVENT_RBUTTONUP
indicates that right mouse button is released.
Definition: highgui.hpp:211
int PeakBitrate
NVVE_PEAK_BITRATE,.
Definition: cudacodec.hpp:92
@ CAP_OPENNI2_ASUS
OpenNI2 (for Asus Xtion and Occipital Structure sensors)
Definition: videoio.hpp:114
void create(int num_vertices)
Definition: util.hpp:89
Rect_ & operator=(const Rect_ &r)
virtual bool fit(InputArray image, InputArray faces, OutputArrayOfArrays landmarks)=0
Detect facial landmarks from an image.
virtual void load(const std::string &path) CV_OVERRIDE=0
@ DECOMP_NORMAL
Definition: base.hpp:151
Definition: reduce.hpp:294
Vec2i maxTextureCubemapLayered() const
maximum Cubemap layered texture dimensions
@ EVENT_RBUTTONDBLCLK
indicates that right mouse button is double clicked.
Definition: highgui.hpp:214
virtual double getScaleStep() const =0
Step between scales (<1)
static Ptr< TransientAreasSegmentationModule > create(Size inputSize)
allocator
@ CPU_AVX_512F
Definition: cvdef.h:286
__device__ __forceinline__ uchar1 max(const uchar1 &a, const uchar1 &b)
Definition: vec_math.hpp:785
static float16_t fromBits(ushort b)
Definition: cvdef.h:868
@ EPS
the desired accuracy or change in parameters at which the iterative algorithm stops
Definition: types.hpp:862
int cols
Definition: deriv.hpp:76
UMat rowRange(int startrow, int endrow) const
... for the specified row span
void setNumOfOctaves(int octaves)
Set number of octaves.
int hal_ni_cvtGraytoBGR5x5(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int greenBits)
hal_cvtGraytoBGR5x5
Definition: hal_replacement.hpp:380
int getPatchIdxOfDetection(int detectionIdx)
Affine3()
Default constructor. It represents a 4x4 identity matrix.
void write(FileStorage &) const
virtual int getTrainMethod() const =0
LineSegmentDetectorModes
Variants of Line Segment Detector.
Definition: imgproc.hpp:480
bool operator==(const Border &b1, const Border &b2)
void knnSearch(const Mat &queries, Mat &indices, Mat &dists, int knn, const ::cvflann::SearchParams ¶ms)
virtual void writeFeatures(FileStorage &fs, const Mat &featureMap) const =0
Definition: histogram.hpp:101
__device__ __forceinline__ uint vsetlt4(uint a, uint b)
Definition: simd_functions.hpp:691
GemmFlags
generalized matrix multiplication flags
Definition: base.hpp:220
int hashtableResize(hashtable_int *hashtbl, size_t size)
std::vector< Mat > trainDescCollection
Collection of descriptors from train images.
Definition: features2d.hpp:1099
virtual double getMaxVal() const =0
float learning_rate
learning_rate stores the learning rate in gradient boosting, also referred as shrinkage.
Definition: face_alignment.hpp:27
PtrTraits< SrcPtr >::value_type value_type
Definition: deriv.hpp:331
@ DICT_4X4_1000
Definition: dictionary.hpp:145
const T & inArg(int input)
Definition: goclkernel.hpp:59
@ StsBadFlag
flag is wrong or not supported
Definition: base.hpp:106
void setSensorErrorA(double val)
Definition: depth.hpp:424
static Ptr< GR_chalearn > create()
AutoBuffer(const AutoBuffer< _Tp, fixed_size > &buf)
the copy constructor
UMatData::MemoryFlag flags
Definition: mat.hpp:562
BestOf2NearestMatcher(bool try_use_gpu=false, float match_conf=0.3f, int num_matches_thresh1=6, int num_matches_thresh2=6)
Constructs a "best of 2 nearest" matcher.
void forward_fallback(InputArrayOfArrays inputs, OutputArrayOfArrays outputs, OutputArrayOfArrays internals)
Given the input blobs, computes the output blobs.
void magnitude64f(const double *x, const double *y, double *dst, int n)
const float * warpMat
Definition: warping.hpp:112
virtual size_t count() const =0
Returns number of counted people.
bool waveCorrection() const
Definition: stitching.hpp:198
int pad_t
Definition: all_layers.hpp:252
void blockAgregation(const Mat &partialSums, int windowSize, Mat &cost)
The aggregation on the cost volume.
Definition: matching.hpp:462
@ CPU_AVX_512VNNI
Definition: cvdef.h:297
bool isIntel() const
Definition: ocl.hpp:190
Mersenne Twister random number generator.
Definition: core.hpp:2926
@ CAP_PROP_OPENNI_CIRCLE_BUFFER
Definition: videoio.hpp:237
int id
Definition: ar_hmdb.hpp:62
int writePoseCluster(const std::string &FileName)
AffineBasedEstimator()
Definition: motion_estimators.hpp:124
XML/YAML/JSON file storage class that encapsulates all the information necessary for writing or readi...
Definition: persistence.hpp:304
int hal_ni_sub16s(const short *src1_data, size_t src1_step, const short *src2_data, size_t src2_step, short *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:87
void setFeaturesMatcher(Ptr< detail::FeaturesMatcher > features_matcher)
Definition: stitching.hpp:214
virtual void compute(InputArray src, OutputArray dst, Stream &stream=Stream::Null())=0
Computes the cornerness criteria at each image pixel.
@ CAP_PROP_XI_BINNING_HORIZONTAL
Horizontal Binning - number of horizontal photo-sensitive cells to combine together.
Definition: videoio.hpp:362
@ CPU_SSE
Definition: cvdef.h:274
@ CALIB_USE_LU
use LU instead of SVD decomposition for solving. much faster but potentially less precise
Definition: calib3d.hpp:292
virtual void load(const std::string &path) CV_OVERRIDE=0
@ CAP_PROP_AUTO_WB
enable/ disable auto white-balance
Definition: videoio.hpp:176
std::vector< size_t > pads_end
Definition: all_layers.hpp:216
static KernelArg ReadWrite(const UMat &m, int wscale=1, int iwscale=1)
Definition: ocl.hpp:363
@ SFM_IO_OPENMVG
Definition: io.hpp:61
GCompileArgs compile_args(Ts &&... args)
Definition: gcommon.hpp:126
double fundamentalFromCorrespondences8PointRobust(InputArray x1, InputArray x2, double max_error, OutputArray F, OutputArray inliers, double outliers_probability=1e-2)
Estimate robustly the fundamental matrix between two dataset of 2D point (image coords space).
float truncateThreshold
Threshold for depth truncation in meters.
Definition: dynafu.hpp:107
float t[3]
Definition: warpers.hpp:135
int depth() const
returns element type
v_reg< int, n > v_floor(const v_reg< _Tp, n > &a)
Floor elements.
Definition: intrin_cpp.hpp:532
void add8u(const uchar *src1, size_t step1, const uchar *src2, size_t step2, uchar *dst, size_t step, int width, int height, void *)
#define CV_8U
Definition: interface.h:73
const _Tp & operator[](int i) const
virtual void computeAsync(InputArray image, OutputArray keypoints, OutputArray descriptors, Stream &stream=Stream::Null())
Computes the descriptors for a set of keypoints detected in an image.
virtual double getDecisionThreshold() const =0
Returns the value of decision threshold.
float uniform(float a, float b)
virtual Size prepareFrameCache(Ptr< OdometryFrame > &frame, int cacheType) const CV_OVERRIDE
MatConstIterator_(const MatConstIterator_ &it)
copy constructor
virtual void writeFeatures(FileStorage &fs, const Mat &featureMap) const CV_OVERRIDE
Describes a global 2D motion estimation method which minimizes L1 error.
Definition: global_motion.hpp:154
int channels() const
Returns the number of matrix channels.
Definition: mat.hpp:216
static cudaEvent_t getEvent(const Event &event)
static Mat subspaceProject(InputArray W, InputArray mean, InputArray src)
SrcPtr src
Definition: interpolation.hpp:239
virtual void setBeta(float value)=0
Sets the nms threshold for object proposals.
int minDistanceToBorder
Definition: aruco.hpp:164
virtual void setWinSize(Size winSize)=0
virtual void setSmallerBlockSize(int blockSize)=0
Bayes classifier for normally distributed data.
Definition: ml.hpp:399
util::variant< cv::Mat *, cv::Scalar *, cv::UMat *, cv::gapi::own::Mat *, cv::gapi::own::Scalar *, cv::detail::VectorRef > GRunArgP
Definition: garg.hpp:132
ERStat * child
Definition: erfilter.hpp:104
@ CPU_AVX512_CLX
Cascade Lake with AVX-512F/CD/BW/DQ/VL/VNNI.
Definition: cvdef.h:315
Point3_(const Vec< _Tp, 3 > &v)
int maxIteration
Definition: rlofflow.hpp:139
@ BM3D_STEP2
Definition: bm3d_image_denoising.hpp:75
MatExpr min(const Mat &a, double s)
int index_type
Definition: deriv.hpp:332
#define CV_8S
Definition: interface.h:74
#define CV_OVERRIDE
Definition: cvdef.h:712
void detectCharucoDiamond(InputArray image, InputArrayOfArrays markerCorners, InputArray markerIds, float squareMarkerLengthRate, OutputArrayOfArrays diamondCorners, OutputArray diamondIds, InputArray cameraMatrix=noArray(), InputArray distCoeffs=noArray())
Detect ChArUco Diamond markers.
virtual ~BFMatcher()
Definition: features2d.hpp:1118
@ COLOR_BGRA2YUV_YV12
Definition: imgproc.hpp:736
int rows
Definition: warping.hpp:127
static AsyncArray testAsyncException()
Definition: bindings_utils.hpp:70
virtual ~Pose3D()
Definition: pose_3d.hpp:123
@ GpuApiCallError
GPU API call error.
Definition: base.hpp:117
virtual void setFGSSigma(float sigma=1.5f)=0
Sets the respective fastGlobalSmootherFilter() parameter.
static Ptr< DescriptorMatcher > create(const DescriptorMatcher::MatcherType &matcherType)
__device__ __host__ NcvBool isTilted(void)
Definition: NCVHaarObjectDetection.hpp:152
virtual void write(String fs) const =0
Write xml/yml formated parameters information.
int getMinLabel() const
Returns label with minimal distance.
Definition: interpolation.hpp:366
Impl * p
Definition: ocl.hpp:266
__device__ static __forceinline__ void blockCopy(InIt beg, InIt end, OutIt out)
Definition: block.hpp:96
Image hash based on color moments.
Definition: color_moment_hash.hpp:21
int subsetOfs
Definition: ml.hpp:1191
virtual void release()
Closes the file and releases all the memory buffers.
static Ptr< DCT2D > create(int width, int height, int depth, int flags)
Definition: all_layers.hpp:222
void showWidget(const String &id, const Widget &widget, const Affine3d &pose=Affine3d::Identity())
Shows a widget in the window.
Rect(const cv::Rect &rect_, const cv::Scalar &color_, int thick_=1, int lt_=cv::LINE_8, int shift_=0)
Rect constructor.
Definition: render.hpp:186
void cvtGraytoBGR5x5(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int greenBits)
virtual void setUniquenessRatio(int uniquenessRatio)=0
Parameters of StructuredLightPattern constructor.
Definition: graycodepattern.hpp:77
Matx34d p
Definition: msm_epfl.hpp:73
int warpSize() const
warp size in threads
Ptr< UnscentedKalmanFilter > createAugmentedUnscentedKalmanFilter(const AugmentedUnscentedKalmanFilterParams ¶ms)
Augmented Unscented Kalman Filter factory method.
virtual void add(InputArrayOfArrays descriptors) CV_OVERRIDE
Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor coll...
@ CAP_PROP_XI_OUTPUT_DATA_PACKING
Device output data packing (or grouping) enabled. Packing could be enabled if output_data_bit_depth >...
Definition: videoio.hpp:389
void setEdgePoints(int edge, int orgPt, int dstPt)
virtual int inputNameToIndex(String inputName)
Returns index of input blob into the input array.
double fundamentalFromCorrespondences7PointRobust(InputArray x1, InputArray x2, double max_error, OutputArray F, OutputArray inliers, double outliers_probability=1e-2)
Estimate robustly the fundamental matrix between two dataset of 2D point (image coords space).
@ COLOR_BayerRG2RGB_EA
Definition: imgproc.hpp:773
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type x) const
Definition: functional.hpp:439
NcvSize32u size
frame size
Definition: NPP_staging.hpp:116
softfloat sqrt(const softfloat &a)
Square root.
Base class for Canny Edge Detector. :
Definition: cudaimgproc.hpp:289
void max32s(const int *src1, size_t step1, const int *src2, size_t step2, int *dst, size_t step, int width, int height, void *)
static bool isAligned(const T &data)
Alignment check of passed values.
Definition: utility.hpp:526
NcvBool isMemAllocated() const
Definition: NCV.hpp:893
@ COLORSPACE_BGR
Definition: container_avi.private.hpp:135
std::vector< TrackedObject > trackedObjects
Definition: detection_based_tracker.hpp:205
NCVStatus nppiStIntegral_32f32f_C1R_host(Ncv32f *h_src, Ncv32u srcStep, Ncv32f *h_dst, Ncv32u dstStep, NcvSize32u roiSize)
double depth(InputArray R, InputArray t, InputArray X)
Returns the depth of a point transformed by a rigid transform.
@ CAP_ANDROID
Android - not used.
Definition: videoio.hpp:105
@ StsObjectNotFound
request can't be completed
Definition: base.hpp:104
@ turnaround
Definition: gr_skig.hpp:70
virtual void convert(OutputArray gpu_objects, std::vector< Rect > &objects)=0
Converts objects array from internal representation to standard vector.
@ ENTITY_MATERIAL
Definition: ovis.hpp:49
void destroy(pointer p)
Definition: cvstd.hpp:136
virtual int getMaxFeatures() const =0
@ CV_ERROR_OK
No error.
Definition: llapi.h:33
const_pointer address(const_reference r)
Definition: cvstd.hpp:130
bool holds_alternative(const util::variant< Types... > &v) noexcept
Definition: variant.hpp:351
void setBlockSize(int val)
Definition: depth.hpp:392
int rows
Definition: deriv.hpp:256
@ CV_CS_CENSUS
Definition: descriptor.hpp:59
Scalar sum(InputArray src)
Calculates the sum of array elements.
RegKinds
Regularization kinds.
Definition: ml.hpp:1663
void createWeightMap(InputArray mask, float sharpness, InputOutputArray weight)
virtual void deblur(int idx, Mat &frame) CV_OVERRIDE
__device__ PtrTraits< SrcPtr >::value_type operator()(int y, int x) const
Definition: deriv.hpp:288
@ BORDER_DEFAULT
same as BORDER_REFLECT_101
Definition: base.hpp:277
virtual void setFlags(int flags)=0
virtual void apply(int index, Point corner, InputOutputArray image, InputArray mask)=0
Compensate exposure in the specified image.
IDetector()
Definition: detection_based_tracker.hpp:71
static constexpr const bool value
Definition: gfluidkernel.hpp:258
The class implements the Expectation Maximization algorithm.
Definition: ml.hpp:837
GArray(detail::GArrayU &&ref)
Definition: garray.hpp:294
Rect buildMaps(Size src_size, InputArray K, InputArray R, InputArray T, OutputArray xmap, OutputArray ymap) CV_OVERRIDE
Definition: warpers.hpp:483
Impl * p
Definition: ocl.hpp:344
virtual int getOuterIterations() const =0
Outer iterations (number of inner loops) used in the numerical scheme.
virtual void getObjects(std::vector< Object > &result) const
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.
This 3D Widget represents normals of a point cloud. :
Definition: widgets.hpp:765
#define CV_CUDEV_RGB2Luv_INST(name, scn, dcn, sRGB, blueIdx)
Definition: color_cvt.hpp:371
NCVStatus nppsStCompact_32u_host(Ncv32u *h_src, Ncv32u srcLen, Ncv32u *h_dst, Ncv32u *dstLen, Ncv32u elemRemove)
int hal_ni_max8u(const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:103
int hal_ni_addWeighted16s(const short *src1_data, size_t src1_step, const short *src2_data, size_t src2_step, short *dst_data, size_t dst_step, int width, int height, const double scalars[3])
Definition: hal_replacement.hpp:321
Vec< int, 3 > Vec3i
Definition: matx.hpp:413
virtual float getSaturation() const =0
Implementation of HOG (Histogram of Oriented Gradients) descriptor and object detector.
Definition: objdetect.hpp:373
const float dampingFactor
Definition: pcaflow.hpp:102
virtual cv::Mat getPriors() const =0
The array of a priori class probabilities, sorted by the class label value.
@ COLOR_BGR2XYZ
convert RGB/BGR to CIE XYZ, color conversions
Definition: imgproc.hpp:575
@ COLOR_BayerBG2RGB
Definition: imgproc.hpp:744
Definition: warpers.hpp:178
void setNormSigma0(float val)
Definition: garray.hpp:62
virtual void detectAndCompute(InputArray image, InputArray mask, std::vector< KeyPoint > &keypoints, OutputArray descriptors, bool useProvidedKeypoints=false)
Ptr< HistogramCostExtractor > createEMDL1HistogramCostExtractor(int nDummies=25, float defaultCost=0.2f)
const size_t & operator[](int i) const
@ CAP_PROP_GSTREAMER_QUEUE_LENGTH
Default is 1.
Definition: videoio.hpp:282
@ CAP_GSTREAMER
GStreamer.
Definition: videoio.hpp:116
virtual void process(Size frameSize, InputArray points0, InputArray points1, OutputArray mask) CV_OVERRIDE
@ COLOR_BGR2YCrCb
convert RGB/BGR to luma-chroma (aka YCC), color conversions
Definition: imgproc.hpp:580
unsigned int m_width
Definition: container_avi.private.hpp:129
int set(int i, const _Tp &value)
Definition: ocl.hpp:407
virtual int getGradientDescentIterations() const =0
Maximum number of gradient descent iterations in the patch inverse search stage. Higher values may im...
const T & unsafe_get() const
Definition: garg.hpp:75
virtual void setCompositors(const std::vector< String > &names)=0
Definition: msm_epfl.hpp:61
virtual bool isMaskSupported() const CV_OVERRIDE
Returns true if the descriptor matcher supports masking permissible matches.
Definition: features2d.hpp:1120
v_reg< _Tp, V_TypeTraits< _Tp >::nlanes128 > v_lut_pairs(const _Tp *tab, const int *idx)
Definition: intrin_cpp.hpp:1994
virtual ~RotationWarper()
Definition: warpers.hpp:62
int hal_ni_split32s(const int *src_data, int **dst_data, int len, int cn)
Definition: hal_replacement.hpp:347
#define CV_PI_F
Definition: common.hpp:87
TranslationBasedLocalOutlierRejector()
static Ptr< SeamFinder > createDefault(int type)
@ COLOR_BGRA2BGR555
Definition: imgproc.hpp:567
static std::string toUpperCase(const std::string &str)
Definition: cvstd.hpp:178
Ptr< TrackerStateEstimator > stateEstimator
Definition: tracker.hpp:510
v_reg< _Tp, n > & operator*=(v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Definition: intrin_cpp.hpp:437
@ TM_CCORR
Definition: imgproc.hpp:3652
@ tile_dim
Definition: transpose.hpp:87
@ CAP_PROP_DC1394_MODE_MANUAL
set automatically when a value of the feature is set by the user.
Definition: videoio.hpp:207
static void retainBest(std::vector< KeyPoint > &keypoints, int npoints)
virtual double getGradientEps() const
SrcPtr src
Definition: deriv.hpp:106
virtual double getNoiseSigma() const =0
virtual NcvBool isCounting() const
uint64_t v
Definition: softfloat.hpp:362
MatAllocator * allocator
custom allocator
Definition: mat.hpp:2096
virtual int getP1() const =0
mat_type gradient_map
Definition: qualitygmsd.hpp:61
@ CAP_FIREWARE
Same value as CAP_FIREWIRE.
Definition: videoio.hpp:95
_Tp v_extract_n(const v_reg< _Tp, n > &v)
Vector extract.
Definition: intrin_cpp.hpp:1806
~TrackerAdaBoostingTargetState()
Destructor.
Definition: tracker.hpp:668
~FinalShowCaller()
Calls finalShow().
Definition: final_show.hpp:42
@ MOTION_TRANSLATION
Definition: tracking.hpp:262
Rect buildMaps(Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap) CV_OVERRIDE
Builds the projection maps according to the given camera data.
virtual void process(InputArrayOfArrays src, OutputArray dst, InputArray times)=0
Recovers inverse camera response.
Ncv32u y
Point Y.
Definition: NCV.hpp:203
Definition: all_layers.hpp:425
std::vector< uchar > pool
Definition: mat.hpp:2684
virtual void setProduceCellOutput(bool produce=false)=0
If this flag is set to true then layer will produce as second output.
@ LINEAR
linear (triangular) shape
Definition: types.hpp:55
virtual const std::vector< float > & blurrinessRates() const
Definition: deblurring.hpp:81
double cornerRefinementMinAccuracy
Definition: aruco.hpp:169
float scale_lr
Definition: tracker.hpp:1525
Definition: wobble_suppression.hpp:114
float endPointX
Definition: descriptor.hpp:128
bool member_type
Definition: core.hpp:3185
void sub64f(const double *src1, size_t step1, const double *src2, size_t step2, double *dst, size_t step, int width, int height, void *)
virtual void write(FileStorage &fs) const
Stores algorithm parameters in a file storage.
Definition: core.hpp:3088
SparseMat_(const SparseMat_ &m)
the copy constructor. This is O(1) operation - no data is copied
SrcPtr src
Definition: deriv.hpp:354
LSTM recurrent layer.
Definition: all_layers.hpp:91
virtual void setSaturation(float saturation)=0
int hal_ni_gaussianBlur(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int cn, size_t margin_left, size_t margin_top, size_t margin_right, size_t margin_bottom, size_t ksize_width, size_t ksize_height, double sigmaX, double sigmaY, int border_type)
Blurs an image using a Gaussian filter.
Definition: hal_replacement.hpp:698
virtual void setMinDisparity(int minDisparity)=0
Rect buildMaps(Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap)
Builds the projection maps according to the given camera data.
void boxPoints(RotatedRect box, OutputArray points)
Finds the four vertices of a rotated rect. Useful to draw the rotated rectangle.
size_t workGroupSize() const
Matx33d k
Definition: msm_middlebury.hpp:63
Model & setInputScale(double scale)
Set scalefactor value for frame.
GMat2 renderNV12(const GMat &y, const GMat &uv, const GArray< Prim > &prims)
Renders on two planes.
float result_type
Definition: vec_distance.hpp:93
virtual double getSigmaS() const =0
static Ptr< HOG > create(Size win_size=Size(64, 128), Size block_size=Size(16, 16), Size block_stride=Size(8, 8), Size cell_size=Size(8, 8), int nbins=9)
Creates the HOG descriptor and detector.
GPlaidMLKernel(const F &f)
Definition: gplaidmlkernel.hpp:62
void cvtBGRtoGray(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue)
WeakClassifierHaarFeature ** weakClassifier
Definition: onlineBoosting.hpp:140
@ COLOR_BGR2BGR565
convert between RGB/BGR and BGR565 (16-bit images)
Definition: imgproc.hpp:551
#define CV_MAKETYPE(depth, cn)
Definition: interface.h:85
std::vector< T > to_own(const cv::MatSize &sz)
Definition: convert.hpp:21
double calibrate(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))
virtual int getHistory() const =0
Returns the number of last frames that affect the background model.
@ CAP_PROP_XI_GAIN
Gain in dB.
Definition: videoio.hpp:358
double y
Definition: facemarkLBF.hpp:105
pointer address(reference r)
Definition: cvstd.hpp:129
virtual void process(InputArrayOfArrays src, OutputArray dst, InputArray times, InputArray response)=0
Merges images.
float template_size
Definition: tracker.hpp:1510
virtual void run(InputArrayOfArrays points2d, InputOutputArray K, OutputArray Rs, OutputArray Ts, OutputArray points3d)=0
virtual int getInnerIterations() const =0
Inner iterations (between outlier filtering) used in the numerical scheme.
bool haveOpenVX()
Check if use of OpenVX is possible.
__device__ __forceinline__ void reduceWarp(result_type *smem, uint tid)
Definition: vec_distance.hpp:169
void train(InputArrayOfArrays imagesFrom, InputArrayOfArrays imagesTo, InputArrayOfArrays gt, const GPCTrainingParams params=GPCTrainingParams())
Definition: sparse_matching_gpc.hpp:257
virtual int getDatasetLength(int id)=0
virtual void setScaleFactor(double scaleFactor)=0
Parameter specifying how much the image size is reduced at each image scale.
WaveCorrectKind
Definition: motion_estimators.hpp:329
@ CHAIN_APPROX_TC89_KCOS
Definition: imgproc.hpp:438
DiffusivityType
Definition: features2d.hpp:673
CylindricalWarperGpu(float scale)
Definition: warpers.hpp:559
virtual void multiply(const MatExpr &expr1, const MatExpr &expr2, MatExpr &res, double scale=1) const
static std::vector< U > & get(GCPUContext &ctx, int idx)
Definition: gcpukernel.hpp:227
int getTypeFromDXGI_FORMAT(const int iDXGI_FORMAT)
Get OpenCV type from DirectX type.
bool wasStopped() const
Returns whether the event loop has been stopped.
void setNumOfAngleLine(int value)
int rows
Definition: extrapolation.hpp:66
std::function< GMetaArgs(const GMetaArgs &, const GArgs &)> M
Definition: gkernel.hpp:36
int hal_ni_QR64f(double *src1, size_t src1_step, int m, int n, int k, double *src2, size_t src2_step, double *dst, int *info)
Definition: hal_replacement.hpp:655
@ NCV_HAAR_TOO_MANY_FEATURES_IN_CLASSIFIER
Definition: NCV.hpp:344
UMat descriptors
Definition: matchers.hpp:63
int label
Definition: or_sun.hpp:62
virtual int getVotesThreshold() const =0
~TrackerMILTargetState()
Destructor.
Definition: tracker.hpp:593
Mat processNoiseCov
process noise covariance matrix (Q)
Definition: tracking.hpp:398
Definition: functional.hpp:173
@ COLOR_RGB2GRAY
Definition: imgproc.hpp:543
#define OPENCV_HAL_IMPL_C_RSHR_PACK(_Tpvec, _Tp, _Tpnvec, _Tpn, pack_suffix, cast)
Helper macro.
Definition: intrin_cpp.hpp:2287
Yes a[2]
Definition: functional.hpp:890
static int swapEndian(int val)
Suit the position of bytes in 4 byte data structure for particular system.
void randu(InputOutputArray dst, InputArray low, InputArray high)
Generates a single uniformly-distributed random number or an array of random numbers.
virtual void setPriors(const cv::Mat &val)=0
The array of a priori class probabilities, sorted by the class label value.
void pow(InputArray src, double power, OutputArray dst, Stream &stream=Stream::Null())
Raises every matrix element to a power.
_Tp y
y coordinate of the point
Definition: types.hpp:187
@ SOLVEPNP_ITERATIVE
Definition: calib3d.hpp:235
__device__ static __forceinline__ T initialValue()
Definition: reduce_to_vec.hpp:94
virtual void setDiscSingleJump(double disc_single_jump)=0
unsigned long long int m_movi_start
Definition: container_avi.private.hpp:126
virtual void calc(InputArray prevImg, InputArray nextImg, InputArray prevPts, InputOutputArray nextPts, OutputArray status, OutputArray err=cv::noArray())=0
Calculates a sparse optical flow.
Circle(const cv::Point ¢er_, int radius_, const cv::Scalar &color_, int thick_=1, int lt_=cv::LINE_8, int shift_=0)
Circle constructor.
Definition: render.hpp:221
void * m_retAddress
Definition: instrumentation.hpp:82
void assign(const Mat &m) const
bool empty() const
Checks whether the classifier has been loaded.
GMat BayerGR2RGB(const GMat &src_gr)
Converts an image from BayerGR color space to RGB. The function converts an input image from BayerGR ...
int hashtableInsert(hashtable_int *hashtbl, KeyType key, void *data)
static Matx all(double alpha)
bool doCorrectionForInclusion() const
Definition: stabilizer.hpp:93
void waitForCompletion()
Blocks the current CPU thread until all operations in the stream are complete.
::uint8_t uint8_t
Definition: cvdef.h:767
@ CAP_PROP_XI_TRG_DELAY
Specifies the delay in microseconds (us) to apply after the trigger reception before activating it.
Definition: videoio.hpp:453
@ CASCADE_DO_CANNY_PRUNING
Definition: objdetect.hpp:168
__device__ __forceinline__ float1 hypot(const uchar1 &a, const uchar1 &b)
Definition: vec_math.hpp:803
int LU64f(double *A, size_t astep, int m, double *b, size_t bstep, int n)
Ptr< FrameSource > createFrameSource_Video(const String &fileName)
Automatically Allocated Buffer Class.
Definition: utility.hpp:102
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: warping.hpp:157
virtual void deleteDataInstance(void *pData) const CV_OVERRIDE
Wrapper to release data by template.
Definition: tls.hpp:80
int predictOptimalVectorWidth(InputArray src1, InputArray src2=noArray(), InputArray src3=noArray(), InputArray src4=noArray(), InputArray src5=noArray(), InputArray src6=noArray(), InputArray src7=noArray(), InputArray src8=noArray(), InputArray src9=noArray(), OclVectorStrategy strat=OCL_VECTOR_DEFAULT)
virtual void setPreFilterSize(int preFilterSize)=0
int getScale()
Returns the scale factor of the model:
virtual bool set(int propId, double value)
Sets a property in the VideoCapture.
int maxSurface1D() const
maximum 1D surface size
float localAdaptintegration_tau
Definition: retina.hpp:176
@ COLOR_YUV2RGBA_YUYV
Definition: imgproc.hpp:705
virtual ~WarperCreator()
Definition: warpers.hpp:126
Mat reconstruct(InputArray src)
std::vector< cv::Point3d > CameraPos
Camera position on the sphere after duplicated points elimination.
Definition: cnn_3dobj.hpp:159
GNetPackage()
Definition: infer.hpp:205
Definition: warpers.hpp:633
static Ptr< TrackerGOTURN > create()
@ StsBackTrace
pseudo error for back trace
Definition: base.hpp:70
Definition: vec_math.hpp:61
virtual void setUseInitialFlow(bool useInitialFlow)=0
NCVStatus nppiStSqrIntegral_8u64u_C1R_host(Ncv8u *h_src, Ncv32u srcStep, Ncv64u *h_dst, Ncv32u dstStep, NcvSize32u roiSize)
void cvtBGRtoHSV(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isFullRange, bool isHSV)
@ CAP_PROP_XI_DEBOUNCE_T0
Debounce time (x * 10us).
Definition: videoio.hpp:425
virtual void setSaturation(float saturation)=0
bool isSubnormal() const
Subnormal number indicator.
Definition: softfloat.hpp:309
v_reg< ushort, 8 > v_uint16x8
Eight 16-bit unsigned integer values.
Definition: intrin_cpp.hpp:389
int getNumberOfCPUs()
Returns the number of logical CPUs available for the process.
virtual int getModelIter() const =0
Parameter defining the number of iterations for piece-wise affine model estimation.
virtual void match(const ImageFeatures &features1, const ImageFeatures &features2, MatchesInfo &matches_info)=0
This method must implement matching logic in order to make the wrappers detail::FeaturesMatcher::oper...
LogTagAuto(const char *_name, LogLevel _level)
Definition: logger.hpp:51
@ INTERP_EPIC
Definition: rlofflow.hpp:33
void readModel(const std::string &path)
Read the model from the given path.
std::vector< GMetaArg > GMetaArgs
Definition: gmetaarg.hpp:42
NCVStatus nppiStDecimate_64s_C1R_host(Ncv64s *h_src, Ncv32u srcStep, Ncv64s *h_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale)
std::wstring text
The text string to be drawn.
Definition: render.hpp:163
@ THRESH_TOZERO
Definition: imgproc.hpp:320
const B m_b
Definition: gfluidkernel.hpp:93
An optional shared scoped lock (RAII-style locking for shared/reader access).
Definition: lock.private.hpp:100
Mat_(Size _size)
equivalent to Mat(_size, DataType<_Tp>::type)
RotatedRect minAreaRect(InputArray points)
Finds a rotated rectangle of the minimum area enclosing the input 2D point set.
size_t elemSize() const
Returns the matrix element size in bytes.
Base class for all minimum graph-cut-based seam estimators.
Definition: seam_finders.hpp:233
virtual int getPreFilterType() const =0
cv::Point2i p0
Definition: quasi_dense_stereo.hpp:29
Ptr< linemod::Detector > getDefaultLINEMOD()
Factory function for detector using LINE-MOD algorithm with color gradients and depth normals.
__host__ NCVStatus setStageThreshold(Ncv32f t)
Definition: NCVHaarObjectDetection.hpp:276
std::vector< GNetParam > networks
Definition: infer.hpp:208
Definition: variant.hpp:62
virtual void stabilize(int size, const std::vector< Mat > &motions, std::pair< int, int > range, Mat *stabilizationMotions) CV_OVERRIDE
assumes that [0, size-1) is in or equals to [range.first, range.second)
void operator()(const cv::Range &r) const CV_OVERRIDE
Definition: descriptor.hpp:385
Mat _eigenvectors
Definition: core.hpp:2610
@ PANORAMA
Definition: stitching.hpp:167
static void write(FileStorage &fs, const String &name, const Matx< _Tp, m, n > &x)
Definition: persistence.hpp:1024
int ForceIntra
NVVE_FORCE_INTRA,.
Definition: cudacodec.hpp:98
Types
SVM type
Definition: ml.hpp:618
std::vector< std::vector< Range > > sliceRanges
Vector of slice ranges.
Definition: all_layers.hpp:367
static Ptr< OR_pascal > create()
void cvtYUVtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isCbCr)
@ FM_LMEDS
least-median algorithm. 7-point algorithm is used.
Definition: calib3d.hpp:299
virtual ~WeakClassifierHaarFeature()
@ CAP_PROP_OPENNI_REGISTRATION
Definition: videoio.hpp:231
Definition: all_layers.hpp:472
Definition: cap_ios.h:101
int label
Definition: predict_collector.hpp:87
virtual float getSuperpixelRuler() const =0
Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation.
NCVStatus nppiStTranspose_32s_C1R_host(Ncv32s *h_src, Ncv32u srcStride, Ncv32s *h_dst, Ncv32u dstStride, NcvSize32u srcRoi)
virtual Ptr< BackendNode > initCUDA(void *context, const std::vector< Ptr< BackendWrapper >> &inputs, const std::vector< Ptr< BackendWrapper >> &outputs)
Returns a CUDA backend node.
void setMaterialProperty(const String &name, int prop, const Scalar &value)
void dft(InputArray src, OutputArray dst, Size dft_size, int flags=0, Stream &stream=Stream::Null())
Performs a forward or inverse discrete Fourier transform (1D or 2D) of the floating point matrix.
@ COLOR_RGB2HSV_FULL
Definition: imgproc.hpp:607
std::vector< int > parent
Definition: util.hpp:64
void create(const std::vector< int > &_dims, int _type)
Definition: mat.hpp:243
PlaneWarperGpu(float scale=1.f)
Definition: warpers.hpp:473
void createConcentricSpheresTestSet(int nsamples, int nfeatures, int nclasses, OutputArray samples, OutputArray responses)
Creates test set.
@ KMEANS_PP_CENTERS
Definition: core.hpp:211
virtual void setLRCthresh(int _LRC_thresh)=0
@ COLOR_YUV2BGR_Y422
Definition: imgproc.hpp:679
@ DIST_LABEL_PIXEL
Definition: imgproc.hpp:369
uchar * data
Definition: cuda.hpp:590
More sophisticated learning-based automatic white balance algorithm.
Definition: white_balance.hpp:169
static Ptr< RgbdPlane > create(int method, int block_size, int min_size, double threshold, double sensor_error_a=0, double sensor_error_b=0, double sensor_error_c=0)
virtual void getBackgroundImage(OutputArray backgroundImage, Stream &stream) const =0
int dims
the matrix dimensionality, >= 2
Definition: mat.hpp:2558
virtual void setUseInitialFlow(bool val)=0
Use initial flow.
size_t freeList
Definition: mat.hpp:2683
void setImagesize(int W, int H)
This is a utility function that allows to set the correct size (taken from the input image) in the co...
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: deriv.hpp:166
int hal_ni_mul8s(const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, schar *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:239
static std::string toLowerCase(const std::string &str)
Definition: cvstd.hpp:171
virtual ~StrongClassifierDirectSelection()
virtual int getMaxLines() const =0
DpSeamFinder(String costFunc)
virtual void getPoints(OutputArray points3d)=0
Mat R
Definition: facemarkAAM.hpp:88
@ WINDOW_KEEPRATIO
the ratio of the image is respected.
Definition: highgui.hpp:189
void * hashtableGet(hashtable_int *hashtbl, KeyType key)
__host__ void gridMerge_(const SrcPtrTuple &src, GpuMat_< DstType > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: split_merge.hpp:64
void calcNorm(InputArray src, OutputArray dst, int normType, InputArray mask=noArray(), Stream &stream=Stream::Null())
@ NPPST_NULL_POINTER_ERROR
NULL pointer argument error.
Definition: NCV.hpp:358
void swapChannels(InputOutputArray image, const int dstOrder[4], Stream &stream=Stream::Null())
Exchanges the color channels of an image in-place.
#define HaarFeatureDescriptor32_NumFeatures_Shift
Definition: NCVHaarObjectDetection.hpp:125
@ CAP_PROP_XI_CC_MATRIX_32
Color Correction Matrix element [3][2].
Definition: videoio.hpp:419
int minusDelta
Definition: imgproc.hpp:4738
@ PSM_SINGLE_CHAR
Definition: ocr.hpp:79
@ CORNER_REFINE_SUBPIX
ArUco approach and refine the corners locations using corner subpixel accuracy.
Definition: aruco.hpp:83
float startPointX
Definition: descriptor.hpp:126
void estimateNewCameraMatrixForUndistortRectify(InputArray K, InputArray D, const Size &image_size, InputArray R, OutputArray P, double balance=0.0, const Size &new_size=Size(), double fov_scale=1.0)
Estimates new camera matrix for undistortion or rectification.
Class for matching keypoint descriptors.
Definition: types.hpp:809
Scalar(double v0)
Definition: scalar.hpp:24
Definition: gasync_context.hpp:48
float angle
Definition: types.hpp:773
int cvFloor(double value)
Rounds floating-point number to the nearest integer not larger than the original.
Definition: fast_math.hpp:231
void setFrameSource(Ptr< IFrameSource > val)
Definition: stabilizer.hpp:77
auto compile(const Ts &... meta_and_compile_args) -> typename std::enable_if< detail::are_meta_descrs_but_last< Ts... >::value &&std::is_same< GCompileArgs, detail::last_type_t< Ts... > >::value, GCompiled >::type
Definition: gcomputation.hpp:390
int firstEdge
Definition: imgproc.hpp:1218
void min32s(const int *src1, size_t step1, const int *src2, size_t step2, int *dst, size_t step, int width, int height, void *)
static Ptr< TrackerBoosting > create(const TrackerBoosting::Params ¶meters)
Constructor.
virtual void setGammaCorrection(bool gamma_correction)=0
Flag to specify whether the gamma correction preprocessing is required or not.
Ncv32f * pFU
forward horizontal displacement
Definition: NPP_staging.hpp:121
virtual void setMotions(const std::vector< Mat > &val)
Definition: wobble_suppression.hpp:78
uint8_t * image[num_images]
Definition: descriptor.hpp:103
@ EVENT_MBUTTONDOWN
indicates that the middle mouse button is pressed.
Definition: highgui.hpp:209
__device__ static __forceinline__ uint blockId()
Definition: block.hpp:58
void setMaxDistDiff(float val)
Definition: depth.hpp:1083
@ CALIB_RATIONAL_MODEL
Definition: calib3d.hpp:280
@ CAP_PROP_XI_CC_MATRIX_12
Color Correction Matrix element [1][2].
Definition: videoio.hpp:411
@ CAP_PROP_ZOOM
Definition: videoio.hpp:160
OpticalFlowPCAFlow(Ptr< const PCAPrior > _prior=Ptr< const PCAPrior >(), const Size _basisSize=Size(18, 14), float _sparseRate=0.024, float _retainedCornersFraction=0.2, float _occlusionsThreshold=0.0003, float _dampingFactor=0.00002, float _claheClip=14)
Creates an instance of PCAFlow algorithm.
virtual void setGradientConstancyImportance(double gamma)=0
bool operator==(const NodeData &lhs, const NodeData &rhs)
NCVStatus nppiStTranspose_32f_C1R(Ncv32f *d_src, Ncv32u srcStride, Ncv32f *d_dst, Ncv32u dstStride, NcvSize32u srcRoi)
TrackerStateEstimatorAdaBoosting(int numClassifer, int initIterations, int nFeatures, Size patchSize, const Rect &ROI)
Constructor.
@ COLOR_YUV420p2BGR
Definition: imgproc.hpp:653
Class computing stereo correspondence (disparity map) using the block matching algorithm....
Definition: cudastereo.hpp:73
void converTo3DRay(const Point3d &window_coord, Point3d &origin, Vec3d &direction)
Transforms a point in window coordinate system to a 3D ray in world coordinate system.
SrcPtr src
Definition: remap.hpp:80
Definition: type_traits.hpp:79
virtual void read(const FileNode &fn)
Reads algorithm parameters from a file storage.
Definition: core.hpp:3097
@ patch_size_x
Definition: reduce.hpp:299
MultiTracker()
Constructor.
Mat(const Point_< _Tp > &pt, bool copyData=true)
void copyTo(OutputArray dst, Stream &stream) const
copies the GpuMat content to device memory (Non-Blocking call)
void integral(InputArray src, OutputArray sum, Stream &stream=Stream::Null())
Computes an integral image.
double residual
Definition: pose_3d.hpp:125
int targetNum
Current number of targets in tracking-list.
Definition: tracker.hpp:1429
bool computeBinaryMap(InputArray _saliencyMap, OutputArray _binaryMap)
This function perform a binary map of given saliency map. This is obtained in this way:
@ NCV_ALLOCATOR_BAD_ALLOC
Definition: NCV.hpp:333
virtual Mat getClassLabels() const =0
Returns the vector of class labels.
Matx< double, 1, 2 > Matx12d
Definition: matx.hpp:213
void write(FileStorage &fs) const CV_OVERRIDE
Stores algorithm parameters in a file storage.
Definition: sparse_matching_gpc.hpp:268
PaniniPortraitWarper(float scale, float A=1, float B=1)
Definition: warpers.hpp:432
bool cancel()
Start cancellation process for an associated request.
static void cv2eigen(const Mat &src, Eigen::Matrix< _Tp, _rows, _cols, _options, _maxRows, _maxCols > &dst)
Definition: eigen.hpp:95
Point3_< double > Point3d
Definition: types.hpp:272
void setInputsNames(const std::vector< String > &inputBlobNames)
Sets outputs names of the network input pseudo layer.
void cmp32s(const int *src1, size_t step1, const int *src2, size_t step2, uchar *dst, size_t step, int width, int height, void *_cmpop)
softfloat exp(const softfloat &a)
Exponent.
File Storage Node class.
Definition: persistence.hpp:473
virtual void write(FileStorage &fs) const CV_OVERRIDE=0
SparseMatIterator_()
the default constructor
std::vector< std::string > imageNames
Definition: hpe_humaneva.hpp:68
@ CAP_PROP_FRAME_HEIGHT
Height of the frames in the video stream.
Definition: videoio.hpp:136
v_reg< _Tp, n > v_sub_wrap(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Subtract values without saturation.
Definition: intrin_cpp.hpp:740
static Ptr< GPCTree > create()
Definition: sparse_matching_gpc.hpp:184
ConfidenceMap currentConfidenceMap
Definition: tracker.hpp:511
#define OPENCV_HAL_IMPL_C_INIT_ZERO(_Tpvec, _Tp, suffix)
Helper macro.
Definition: intrin_cpp.hpp:2134
__host__ Expr< ReduceToRowBody< Reductor, SrcPtr > > reduceToRow_(const SrcPtr &src)
Definition: reduction.hpp:187
const Mat refinementMask() const
Definition: motion_estimators.hpp:136
@ CMP_NE
src1 is unequal to src2.
Definition: base.hpp:216
void setValues(float mean, float sigma)
cv::gapi::own::Scalar & outValR(int output)
_Tp x
x coordinate of the point
Definition: types.hpp:186
#define CV_CUDEV_EXPR_CVTCOLOR_INST(name)
Definition: color.hpp:60
Mat & setTo(InputArray value, InputArray mask=noArray())
Sets all or some of the array elements to the specified value.
virtual NcvBool isCounting() const
Definition: warpers.hpp:525
virtual Mat getProcessNoiseCov() const =0
Definition: depth.hpp:524
QtFontStyles
Qt font style.
Definition: highgui.hpp:240
int hal_ni_cvtBGR5x5toGray(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int greenBits)
hal_cvtBGR5x5toGray
Definition: hal_replacement.hpp:369
Video reader interface.
Definition: cudacodec.hpp:296
float calc(const std::vector< Mat > &_hists, const Mat &_normSum, size_t y, int featComponent) const
Definition: feature.hpp:341
static Ptr< Layer > createLayerInstance(const String &type, LayerParams ¶ms)
Creates instance of registered layer.
GStreamingCompiled compileStreaming(const std::tuple< Ts... > &meta_and_compile_args, detail::Seq< IIs... >)
Definition: gcomputation.hpp:511
bool compilerAvailable() const
void reset()
Definition: utility.hpp:383
__device__ __forceinline__ uint vsetle4(uint a, uint b)
Definition: simd_functions.hpp:654
@ WMF_JAC
Definition: weighted_median_filter.hpp:70
virtual ~NCVVector()
Definition: NCV.hpp:577
virtual void setAnnealCoolingRatio(double val)=0
void setTrackbarPos(const String &trackbarname, const String &winname, int pos)
Sets the trackbar position.
size_t & operator[](int i)
MotionEstimatorBase(MotionModel model)
Definition: global_motion.hpp:123
std::string imageName
Definition: is_weizmann.hpp:62
float coeffObjectSpeedUsingInPrediction
Definition: detection_based_tracker.hpp:174
void hconcat(const Mat *src, size_t nsrc, OutputArray dst)
Applies horizontal concatenation to given matrices.
Vec3f lightPose
light pose for rendering in meters
Definition: kinfu.hpp:96
String padMode
Definition: all_layers.hpp:217
int pyramid_levels
Definition: linemod.hpp:397
value_t & unsafe_any_cast(any &operand)
Definition: any.hpp:159
PredictResult(int label_=-1, double distance_=DBL_MAX)
Definition: predict_collector.hpp:89
char4 type
Definition: vec_traits.hpp:79
virtual ORB::ScoreType getScoreType() const =0
virtual void setOutShape(const MatShape &outTailShape=MatShape())=0
Specifies shape of output blob which will be [[T], N] + outTailShape.
int tilt_ang
Definition: fr_adience.hpp:78
@ rightleft
Definition: gr_skig.hpp:65
size_t size() const
returns the current buffer size
static Ptr< AbsLayer > create(const LayerParams ¶ms)
virtual ~ICP()
Definition: icp.hpp:100
_Tp dot(const Point_ &pt) const
dot product
KeypointBasedMotionEstimator(Ptr< MotionEstimatorBase > estimator)
virtual void setLowThreshold(double low_thresh)=0
float existingVertexGain
Definition: calib3d.hpp:1311
Vec3i maxTexture3D() const
maximum 3D texture dimensions
virtual void generateFeatures() CV_OVERRIDE
GMat LUV2BGR(const GMat &src)
Converts an image from LUV color space to BGR color space.
std::string label_name
Definition: core_detect.hpp:31
int img_idx
Definition: matchers.hpp:60
virtual void setDistanceFast(const Distance &val)=0
Fast distance setter.
void setMaxDepthDiff(double val)
Definition: depth.hpp:679
@ ALPHA_PREMUL
Definition: cudaimgproc.hpp:160
int hal_ni_dftInit2D(cvhalDFT **context, int width, int height, int depth, int src_channels, int dst_channels, int flags, int nonzero_rows)
Definition: hal_replacement.hpp:537
virtual bool getUseInitialFlow() const =0
__host__ __device__ static __forceinline__ char2 make(schar x, schar y)
Definition: vec_traits.hpp:163
int cols
Definition: cuda.hpp:320
std::forward_iterator_tag iterator_category
Definition: mat.hpp:3272
QtFont fontQt(const String &nameFont, int pointSize=-1, Scalar color=Scalar::all(0), int weight=QT_FONT_NORMAL, int style=QT_STYLE_NORMAL, int spacing=0)
Creates the font to draw a text on an image.
virtual void setNLevels(int nlevels)=0
Definition: gpumat.hpp:61
Definition: functional.hpp:289
virtual bool trainAuto(const Ptr< TrainData > &data, int kFold=10, ParamGrid Cgrid=getDefaultGrid(C), ParamGrid gammaGrid=getDefaultGrid(GAMMA), ParamGrid pGrid=getDefaultGrid(P), ParamGrid nuGrid=getDefaultGrid(NU), ParamGrid coeffGrid=getDefaultGrid(COEF), ParamGrid degreeGrid=getDefaultGrid(DEGREE), bool balanced=false)=0
Trains an SVM with optimal parameters.
detail::GArrayU strip() const
Definition: garray.hpp:297
Size_(_Tp _width, _Tp _height)
vector< Point2d > gtbb
Definition: track_vot.hpp:65
@ DECOMP_CHOLESKY
Definition: base.hpp:143
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.
GScalar(const GNode &n, std::size_t out)
Definition: cap_ios.h:133
static void write(FileStorage &fs, const String &name, const Rect_< _Tp > &r)
Definition: persistence.hpp:1010
@ CPU_SSE2
Definition: cvdef.h:275
v_int32x4 v_reinterpret_as_s32(const v_reg< _Tp0, n0 > &a)
Definition: intrin_cpp.hpp:2187
virtual double getLambda() const =0
void setIterationCounts(const cv::Mat &val)
Definition: depth.hpp:960
void hashtableDestroy(hashtable_int *hashtbl)
const int sectionSizes[]
Definition: track_alov.hpp:71
Definition: allocator_stats.hpp:13
@ IMWRITE_JPEG_RST_INTERVAL
JPEG restart interval, 0 - 65535, default is 0 - no restart.
Definition: imgcodecs.hpp:85
__host__ Expr< UnaryTransformPtrSz< typename PtrTraits< GpuMat_< T > >::ptr_type, logical_not< T > > > operator!(const GpuMat_< T > &src)
Definition: unary_op.hpp:90
virtual NcvBool isInitialized() const
int minNeighbours
Definition: detection_based_tracker.hpp:117
Definition: goclkernel.hpp:189
Definition: interpolation.hpp:272
__host__ void gridFindMinMaxVal(const SrcPtr &src, GpuMat_< ResType > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: reduce.hpp:341
int tree_depth
the depth of decision tree, defines the size of feature
Definition: facemarkLBF.hpp:74
@ CAP_PROP_IOS_DEVICE_TORCH
Definition: videoio.hpp:498
bool parseAvi(frame_list &in_frame_list, Codecs codec_)
Definition: container_avi.private.hpp:90
virtual void setGamma(float val)=0
Weight of the gradient constancy term.
@ DFT_COMPLEX_OUTPUT
Definition: base.hpp:243
int depth
Definition: gr_chalearn.hpp:78
__host__ SobelXPtrSz< typename PtrTraits< SrcPtr >::ptr_type > sobelXPtr(const SrcPtr &src)
Definition: deriv.hpp:173
static void write(FileStorage &fs, const Matx< _Tp, m, n > &x)
Definition: persistence.hpp:953
NCVMemStackAllocator(NCVMemoryType memT, size_t capacity, Ncv32u alignment, void *reusePtr=NULL)
float const_param_type
Definition: core.hpp:3240
@ SF_BGR
Definition: cudacodec.hpp:79
bool normaliseOutput
Definition: retina.hpp:161
void polarToCart(InputArray magnitude, InputArray angle, OutputArray x, OutputArray y, bool angleInDegrees=false)
Calculates x and y coordinates of 2D vectors from their magnitude and angle.
int width
Definition: tr_icdar.hpp:63
Point2f warpPoint(const Point2f &pt, InputArray K, InputArray R, InputArray T)
Ncv32u x
Point X.
Definition: NCV.hpp:202
bool hostUnifiedMemory() const
float bilateral_sigma_depth
Depth sigma in meters for bilateral smooth.
Definition: dynafu.hpp:45
std::vector< Vec3i > triangles
each element contains 3 values, represent index of facemarks that construct one triangle (obtained us...
Definition: facemarkAAM.hpp:112
__host__ Expr< ScharrYPtrSz< typename PtrTraits< SrcPtr >::ptr_type > > scharrY_(const SrcPtr &src)
Definition: deriv.hpp:108
static Ptr< KNearest > load(const String &filepath)
Loads and creates a serialized knearest from a file.
std::vector< int > dims
Definition: gmat.hpp:86
virtual ~DPMDetector()
Definition: dpm.hpp:145
cv::Point pt1
The first point of the line segment.
Definition: render.hpp:269
T value_or(U &&default_value) const
Definition: optional.hpp:154
ResultType operator()(const T *a, const T *b, int size) const
Definition: features2d.hpp:810
@ POINTS
Definition: opengl.hpp:479
@ ACCESS_RW
Definition: mat.hpp:65
int cols
Definition: extrapolation.hpp:66
Wrapping class for feature detection using the goodFeaturesToTrack function. :
Definition: features2d.hpp:565
int * refcount
Definition: cuda.hpp:591
@ SOLVEPNP_UPNP
Exhaustive Linearization for Robust Camera Pose and Focal Length Estimation .
Definition: calib3d.hpp:239
void read(const FileNode &fn)
int getNumThreads()
Returns the number of threads used by OpenCV for parallel regions.
void write(FileStorage &fs) const
virtual ~LineSegmentDetector()
Definition: imgproc.hpp:1305
Definition: calib3d.hpp:350
CompressedRectilinearWarper(float scale, float A=1, float B=1)
Definition: warpers.hpp:369
float weight2() const
Definition: motion_stabilizing.hpp:135
Definition: seam_finders.hpp:121
GMat gaussianBlur(const GMat &src, const Size &ksize, double sigmaX, double sigmaY=0, int borderType=BORDER_DEFAULT, const Scalar &borderValue=Scalar(0))
Blurs an image using a Gaussian filter.
GpuMat(InputArray arr, GpuMat::Allocator *allocator=GpuMat::defaultAllocator())
builds GpuMat from host memory (Blocking call)
void buildPyramid(InputArray src, OutputArrayOfArrays dst, int maxlevel, int borderType=BORDER_DEFAULT)
Constructs the Gaussian pyramid for an image.
bool normBySize
Definition: all_layers.hpp:240
#define DUMP_MESSAGE_STDOUT(...)
Definition: opencl_info.hpp:15
Definition: all_layers.hpp:639
RandomPatternGenerator(int imageWidth, int imageHeight)
int hal_ni_merge32s(const int **src_data, int *dst_data, int len, int cn)
Definition: hal_replacement.hpp:368
double ang_th
Definition: descriptor.hpp:704
String padMode
Definition: all_layers.hpp:255
int nneg
Definition: feature.hpp:192
Definition: warpers.hpp:400
SparseMatIterator_(SparseMat *_m)
LSBPCameraMotionCompensation
Definition: bgsegm.hpp:245
void setNumBands(int val)
Definition: blenders.hpp:133
virtual bool getUse1SERule() const =0
int hal_ni_morphInit(cvhalFilter2D **context, int operation, int src_type, int dst_type, int max_width, int max_height, int kernel_type, uchar *kernel_data, size_t kernel_step, int kernel_width, int kernel_height, int anchor_x, int anchor_y, int borderType, const double borderValue[4], int iterations, bool allowSubmatrix, bool allowInplace)
hal_morphInit
Definition: hal_replacement.hpp:204
Definition: tracker.hpp:840
virtual void setUsePrefilter(bool factor)=0
static Matx diag(const diag_type &d)
static constexpr const char * tag()
Definition: infer.hpp:114
MatShape newShapeDesc
Definition: all_layers.hpp:299
UnscentedKalmanFilterParams(int dp, int mp, int cp, double processNoiseCovDiag, double measurementNoiseCovDiag, Ptr< UkfSystemModel > dynamicalSystem, int type=CV_64F)
__host__ LinearInterPtrSz< typename PtrTraits< SrcPtr >::ptr_type > interLinear(const SrcPtr &src)
Definition: interpolation.hpp:140
@ IMWRITE_TIFF_XDPI
For TIFF, use to specify the X direction DPI.
Definition: imgcodecs.hpp:96
@ StsInternal
internal error (bad state)
Definition: base.hpp:72
WPolyLine(InputArray points, InputArray colors)
NCVStatus ncvApplyHaarClassifierCascade_host(NCVMatrix< Ncv32u > &h_integralImage, NCVMatrix< Ncv32f > &h_weights, NCVMatrixAlloc< Ncv32u > &h_pixelMask, Ncv32u &numDetections, HaarClassifierCascadeDescriptor &haar, NCVVector< HaarStage64 > &h_HaarStages, NCVVector< HaarClassifierNode128 > &h_HaarNodes, NCVVector< HaarFeature64 > &h_HaarFeatures, NcvBool bMaskElements, NcvSize32u anchorsRoi, Ncv32u pixelStep, Ncv32f scaleArea)
@ CAP_PROP_XI_GPI_SELECTOR
Selects general purpose input.
Definition: videoio.hpp:340
Definition: calib3d.hpp:353
int edgeDst(int edge, Point2f *dstpt=0) const
Returns the edge destination.
Mutex * mutex_
Definition: lock.private.hpp:109
virtual int getEPICK() const =0
see ximgproc::EdgeAwareInterpolator() K value.
@ NPPST_CUDA_KERNEL_EXECUTION_ERROR
CUDA kernel execution error.
Definition: NCV.hpp:357
Base class for a seam estimator.
Definition: seam_finders.hpp:59
@ DICT_5X5_50
Definition: dictionary.hpp:146
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: .
Class implementing EdgeBoxes algorithm from :
Definition: edgeboxes.hpp:68
int QP_Level_Intra
NVVE_QP_LEVEL_INTRA,.
Definition: cudacodec.hpp:93
Structure containing image keypoints and descriptors.
Definition: matchers.hpp:59
FileNodeIterator(const FileNode &node, bool seekEnd)
static void backSubst(InputArray w, InputArray u, InputArray vt, InputArray rhs, OutputArray dst)
performs back substitution
Mat(const std::vector< int > &sizes, int type)
void write(FileStorage &) const
Write parameters to a file.
float _sig0
Definition: onlineMIL.hpp:93
float k_rinv[9]
Definition: warpers.hpp:134
static int divUp(int a, unsigned int b)
Integer division with result round up.
Definition: utility.hpp:491
T work_type
Definition: reduce_to_vec.hpp:107
void copyTo(OutputArray arr) const
Copies from OpenGL buffer to host/device memory or another OpenGL buffer object.
Template class for specifying the size of an image or rectangle.
Definition: types.hpp:316
double focal
Definition: camera.hpp:65
int step
Definition: imgproc.hpp:4736
virtual float getFGSLambda() const =0
Sets the respective fastGlobalSmootherFilter() parameter.
Affine transformation based estimator.
Definition: motion_estimators.hpp:122
virtual ~ParallelLoopBody()
Definition: tracker.hpp:1483
@ CAP_PROP_CODEC_PIXEL_FORMAT
(read-only) codec's pixel format. 4-character code - see VideoWriter::fourcc . Subset of AV_PIX_FMT_*...
Definition: videoio.hpp:178
@ XYZRGB
Definition: omnidir.hpp:75
@ COLOR_BGRA2BGR565
Definition: imgproc.hpp:555
int cols
Definition: interpolation.hpp:367
@ QT_FONT_DEMIBOLD
Weight of 63.
Definition: highgui.hpp:234
void validate() const
Definition: gcpukernel.hpp:165
int64 getCPUTickCount()
Returns the number of CPU ticks.
Match()
Definition: linemod.hpp:261
virtual Size getMinObjectSize() const =0
void isotropicPreconditionerFromPoints(InputArray points, OutputArray T)
Point conditioning (isotropic).
void cmp16s(const short *src1, size_t step1, const short *src2, size_t step2, uchar *dst, size_t step, int width, int height, void *_cmpop)
@ BadAlphaChannel
Definition: base.hpp:87
void translation(const Vec3 &t)
Ptr< RgbdNormals > getNormalsComputer() const
Definition: depth.hpp:996
void setMaxDepthDiff(double val)
Definition: depth.hpp:944
const GMetaArgs & outMetas() const
Vector of metadata descriptions of graph outputs.
MatIterator_(Mat_< _Tp > *_m, const int *_idx)
constructor that sets the iterator to the specified element of the matrix
int width
Definition: tr_svt.hpp:63
Definition: sr_general100.hpp:29
NCVStatus ncvGroupRectangles_host(NCVVector< NcvRect32u > &hypotheses, Ncv32u &numHypotheses, Ncv32u minNeighbors, Ncv32f intersectEps, NCVVector< Ncv32u > *hypothesesWeights)
virtual void setNMixtures(int nmix)=0
int channels() const
returns number of channels
Definition: inpainting.hpp:62
int getTransformType() const CV_OVERRIDE
Definition: depth.hpp:972
#define OPENCV_HAL_IMPL_C_INIT_VAL(_Tpvec, _Tp, suffix)
Helper macro.
Definition: intrin_cpp.hpp:2154
ImreadModes
Imread flags.
Definition: imgcodecs.hpp:64
Video writer interface.
Definition: cudacodec.hpp:178
void markAsSeparated()
Definition: sparse_matching_gpc.hpp:72
static Matx< _Tp1, m, n > & operator-=(Matx< _Tp1, m, n > &a, const Matx< _Tp2, m, n > &b)
Definition: matx.hpp:1193
virtual void load(const std::string &path) CV_OVERRIDE=0
virtual bool getUseInitialFlow() const =0
virtual void setMinVal(double val)=0
virtual const std::vector< Mat > & motions2() const
Definition: wobble_suppression.hpp:82
const std::vector< cv::Mat > & getImagePoints()
double stereoCalibrate(InputOutputArrayOfArrays objectPoints, InputOutputArrayOfArrays imagePoints1, InputOutputArrayOfArrays imagePoints2, const Size &imageSize1, const Size &imageSize2, InputOutputArray K1, InputOutputArray xi1, InputOutputArray D1, InputOutputArray K2, InputOutputArray xi2, InputOutputArray D2, OutputArray rvec, OutputArray tvec, OutputArrayOfArrays rvecsL, OutputArrayOfArrays tvecsL, int flags, TermCriteria criteria, OutputArray idx=noArray())
Stereo calibration for omnidirectional camera model. It computes the intrinsic parameters for two cam...
virtual void setUseInitialFlow(bool val)=0
int height
Definition: tr_icdar.hpp:63
int nativeVectorWidthChar() const
void min16u(const ushort *src1, size_t step1, const ushort *src2, size_t step2, ushort *dst, size_t step, int width, int height, void *)
A class to upscale images via convolutional neural networks. The following four models are implemente...
Definition: dnn_superres.hpp:41
static void compute(const Matx< _Tp, m, n > &a, Matx< _Tp, nm, 1 > &w, Matx< _Tp, m, nm > &u, Matx< _Tp, n, nm > &vt)
Texture-based strategy for the selective search segmentation algorithm The class is implemented from ...
Definition: segmentation.hpp:118
@ RIGID_BODY_MOTION
Definition: depth.hpp:530
Interface for modalities that plug into the LINE template matching representation.
Definition: linemod.hpp:120
virtual void setLightAdaptation(float light_adapt)=0
__device__ __forceinline__ double4 hypot(double s, const double4 &b)
Definition: vec_math.hpp:917
virtual void setSigmaR(double val)=0
@ DIST_L1
distance = |x1-x2| + |y1-y2|
Definition: imgproc.hpp:298
virtual void setPyrScale(double val)=0
Ptr< HoughSegmentDetector > createHoughSegmentDetector(float rho, float theta, int minLineLength, int maxLineGap, int maxLines=4096)
Creates implementation for cuda::HoughSegmentDetector .
float index_type
Definition: texture.hpp:188
@ CAP_PROP_EXPOSUREPROGRAM
Camera exposure program.
Definition: videoio.hpp:562
@ COLOR_YUV2BGR_UYNV
Definition: imgproc.hpp:681
@ COLOR_YUV2RGBA_YVYU
Definition: imgproc.hpp:703
int decim
Decimation (0 stands for no decimation)
Definition: render.hpp:302
void update(std::vector< ConfidenceMap > &confidenceMaps)
Update the ConfidenceMap with the scores.
virtual void add(const std::vector< GpuMat > &descriptors)=0
Adds descriptors to train a descriptor collection.
@ DNN_TARGET_OPENCL_FP16
Definition: dnn.hpp:91
float size
Definition: descriptor.hpp:123
virtual int getFastThreshold() const =0
Ptr< linemod::Detector > getDefaultLINE()
Factory function for detector using LINE algorithm with color gradients.
int type() const
returns element type, similar to CV_MAT_TYPE(cvmat->type)
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:312
int object_id
Unique object identifier (-1 if N/A).
Definition: tracking_by_matching.hpp:31
void printError(RiffChunk &chunk, unsigned int expected_fourcc)
void operator()(const cv::Range &r) const CV_OVERRIDE
Definition: descriptor.hpp:259
virtual int getThreshold() const =0
Definition: gcpukernel.hpp:131
Matx< float, 1, 4 > Matx14f
Definition: matx.hpp:216
virtual bool getUseVariationalRefinement() const =0
enables VariationalRefinement
Ptr< cuda::BackgroundSubtractorMOG > createBackgroundSubtractorMOG(int history=200, int nmixtures=5, double backgroundRatio=0.7, double noiseSigma=0)
Creates mixture-of-gaussian background subtractor.
@ COLORMAP_BONE
Definition: imgproc.hpp:4220
T * operator->()
Definition: optional.hpp:109
int64 getTimeTicks() const
Definition: utility.hpp:343
int n_bins
Definition: descriptor.hpp:707
Vertex(Point2f pt, bool _isvirtual, int _firstEdge=0)
GComputation(const Generator &gen)
Define a computation using a generator function.
Stream(const Ptr< GpuMat::Allocator > &allocator)
creates a new asynchronous stream with custom allocator
@ CAP_PROP_XI_AUTO_BANDWIDTH_CALCULATION
Automatic bandwidth calculation.
Definition: videoio.hpp:476
static void write(FileStorage &fs, const String &name, const Point_< _Tp > &pt)
Definition: persistence.hpp:982
virtual bool collect(int label, double dist)=0
Interface method called by face recognizer for each result.
virtual void process(std::vector< Rect > &rects)=0
Based on all images, graph segmentations and stragies, computes all possible rects and return them.
Definition: tracker.hpp:1104
@ CPU_AVX_512IFMA
Definition: cvdef.h:292
virtual const std::vector< Mat > & stabilizationMotions() const
Definition: inpainting.hpp:91
virtual void train(cv::InputArrayOfArrays images)=0
train it on positive features compute the mace filter: h = D(-1) * X * (X(+) * D(-1) * X)(-1) * C als...
Ncv8u x
Definition: NCV.hpp:139
virtual int getThreshold() const
Definition: features2d.hpp:297
Exposure compensator which tries to remove exposure related artifacts by adjusting image blocks.
Definition: exposure_compensate.hpp:159
This is a C++ abstract class, it provides external user API to work with DPM.
Definition: dpm.hpp:105
void assert_predictions(std::vector< std::vector< double > > *min_max_boxes)
Ensures that the bounding box values are within image boundaries.
void div8s(const schar *src1, size_t step1, const schar *src2, size_t step2, schar *dst, size_t step, int width, int height, void *scale)
Structure similar to cv::cudev::GlobPtrSz but containing only a pointer and row step.
Definition: glob.hpp:63
virtual void setTermCriteria(const cv::TermCriteria &val)=0
@ LINE_4
4-connected line
Definition: imgproc.hpp:805
Impl * p
Definition: ocl.hpp:233
float searchWinSize
size of search window
Definition: tracker.hpp:788
void mapBackward(float u, float v, float &x, float &y)
Ptr< ImgHashImpl > pImpl
Definition: img_hash_base.hpp:39
void setUpdateGain(bool b)
Definition: exposure_compensate.hpp:90
Affine3 inv(int method=cv::DECOMP_SVD) const
Vec(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4)
5-element vector constructor
NcvBool bHasStumpsOnly
Definition: NCVHaarObjectDetection.hpp:341
virtual void read(const FileNode &node)=0
Read detector from FileNode.
int index_type
Definition: mask.hpp:60
bool setParameters(const Parameters ¶ms)
@ COLOR_LRGB2Lab
Definition: imgproc.hpp:617
GBackend lookup() const
Find a kernel (by its API)
Definition: gkernel.hpp:480
CensusKernel()
Definition: descriptor.hpp:175
T & get(util::variant< Types... > &v)
Definition: variant.hpp:325
virtual Size prepareFrameCache(Ptr< OdometryFrame > &frame, int cacheType) const CV_OVERRIDE
GMat cmpLT(const GMat &src1, const GMat &src2)
Performs the per-element comparison of two matrices checking if elements from first matrix are less t...
Callback with the character classifier is made a class.
Definition: ocr.hpp:407
This is used store and set up the parameters of the robust local optical flow (RLOF) algoritm.
Definition: rlofflow.hpp:64
void setUseInitialFlow(bool val)
Data container for the facemark::getData function.
Definition: facemarkAAM.hpp:99
std::unordered_map< std::size_t, GRunArgP > m_results
Definition: gcpukernel.hpp:106
Point2f pt
coordinates of the keypoints
Definition: types.hpp:771
Definition: descriptor.hpp:66
virtual int getQuantizationLevels() const =0
virtual cv::Ptr< Map > inverseMap() const =0
__host__ Expr< UnaryTransformPtrSz< typename PtrTraits< SrcPtr >::ptr_type, ThreshBinaryFunc< typename PtrTraits< SrcPtr >::value_type > > > threshBinary_(const SrcPtr &src, typename PtrTraits< SrcPtr >::value_type thresh, typename PtrTraits< SrcPtr >::value_type maxVal)
Definition: per_element_func.hpp:82
@ CAP_PROP_OPENNI_FOCAL_LENGTH
In pixels.
Definition: videoio.hpp:230
GMat boxFilter(const GMat &src, int dtype, const Size &ksize, const Point &anchor=Point(-1,-1), bool normalize=true, int borderType=BORDER_DEFAULT, const Scalar &borderValue=Scalar(0))
Blurs an image using the box filter.
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 findMaxSpanningTree(int num_images, const std::vector< MatchesInfo > &pairwise_matches, Graph &span_tree, std::vector< int > ¢ers)
std::vector< Prim > Prims
Definition: render.hpp:377
@ CAP_PROP_XI_DEFAULT_CC_MATRIX
Set default Color Correction Matrix.
Definition: videoio.hpp:421
void replaceWeakClassifier(int index)
virtual void init(const CvFeatureParams *_featureParams, int _maxSampleCount, Size _winSize)
void getShift(OutputArray shift) const
Definition: mapaffine.hpp:100
float getSquareLength() const
Definition: charuco.hpp:111
Definition: variant.hpp:26
bool create(const ProgramSource &src, const String &buildflags, String &errmsg)
void compose_motion(InputArray _om1, InputArray _T1, InputArray _om2, InputArray _T2, Mat &om3, Mat &T3, Mat &dom3dom1, Mat &dom3dT1, Mat &dom3dom2, Mat &dom3dT2, Mat &dT3dom1, Mat &dT3dT1, Mat &dT3dom2, Mat &dT3dT2)
bool NcvBool
Definition: NCV.hpp:118
virtual void setQuantizationLevels(int nlevels)=0
auto make_default() -> decltype(T
Definition: gtyped.hpp:39
Sparse match interpolation algorithm based on modified locally-weighted affine estimator from and Fa...
Definition: sparse_match_interpolator.hpp:78
ptrdiff_t difference_type
Definition: cvstd.hpp:119
MatConstIterator(const Mat *_m, int _row, int _col=0)
constructor that sets the iterator to the specified element of the matrix
imageType type
Definition: slam_tumindoor.hpp:71
void read(const FileNode &fn)
virtual void detectROI(InputArray img, const std::vector< cv::Point > &locations, std::vector< cv::Point > &foundLocations, std::vector< double > &confidences, double hitThreshold=0, cv::Size winStride=Size(), cv::Size padding=Size()) const
evaluate specified ROI and return confidence value for each location
const std::vector< Mat > & getDescriptors() const
Returns a training set of descriptors.
@ IMREAD_IGNORE_ORIENTATION
If set, do not rotate the image according to EXIF's orientation flag.
Definition: imgcodecs.hpp:77
virtual void setImage(const Mat &img, uchar clsLabel=0, int idx=1) CV_OVERRIDE
NCVStatus nppiStTranspose_64u_C1R(Ncv64u *d_src, Ncv32u srcStride, Ncv64u *d_dst, Ncv32u dstStride, NcvSize32u srcRoi)
void cmp16u(const ushort *src1, size_t step1, const ushort *src2, size_t step2, uchar *dst, size_t step, int width, int height, void *_cmpop)
@ BINARIZATION_WOLF
Wolf's technique. See .
Definition: ximgproc.hpp:121
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 .
Mat mat() const
Simplified reading API to use with bindings.
void resetNormalArray()
Resets vertex normals.
virtual const std::vector< Mat > & motions() const
Definition: deblurring.hpp:78
static void computeFeatures(InputArray img, OutputArray features)
static method for computing image features used by the BRISQUE algorithm
void modifiedCensusTransform(const cv::Mat &img1, const cv::Mat &img2, int kernelSize, cv::Mat &dist1, cv::Mat &dist2, const int type, int t=0, const cv::Mat &IntegralImage1=cv::Mat::zeros(100, 100, CV_8UC1), const cv::Mat &IntegralImage2=cv::Mat::zeros(100, 100, CV_8UC1))
@ CAP_PVAPI_PIXELFORMAT_RGB24
Rgb24.
Definition: videoio.hpp:321
Ptr2DSz ptr_sz_type
Definition: traits.hpp:58
Definition: is_weizmann.hpp:61
__host__ size_t stepT() const
returns step()/sizeof(T)
virtual void setShadowThreshold(double threshold)=0
Sets the shadow threshold.
int hal_ni_mul16u(const ushort *src1_data, size_t src1_step, const ushort *src2_data, size_t src2_step, ushort *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:240
RotatedRect(const Point2f ¢er, const Size2f &size, float angle)
void sqrt(InputArray src, OutputArray dst, Stream &stream=Stream::Null())
Computes a square root of each matrix element.
float hog_orientations
Definition: tracker.hpp:1512
@ COLOR_BayerRG2RGBA
Definition: imgproc.hpp:784
_Tp * ptr
pointer to the real buffer, can point to buf if the buffer is small enough
Definition: utility.hpp:146
void finalize()
Finalizes cloud data by repacking to single cloud.
@ SCENE_SHOW_CS_CROSS
draw coordinate system crosses for debugging
Definition: ovis.hpp:26
Matrix read-only iterator.
Definition: mat.hpp:3080
WCone(double length, double radius, int resolution=6.0, const Color &color=Color::white())
Constructs default cone oriented along x-axis with center of its base located at origin.
Full reference GMSD algorithm http://www4.comp.polyu.edu.hk/~cslzhang/IQA/GMSD/GMSD....
Definition: qualitygmsd.hpp:20
struct for detection region of interest (ROI)
Definition: objdetect.hpp:346
@ male
Definition: fr_adience.hpp:62
Vec(_Tp v0, _Tp v1, _Tp v2, _Tp v3)
4-element vector constructor
void showImage(cv::InputArray img, const CallMetaData &data, const char *description, const char *view)
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 filte...
double getConfidence()
Definition: matching.hpp:404
virtual double getScaleFactor() const =0
__host__ Expr< BinaryTransformPtrSz< typename PtrTraits< GpuMat_< T > >::ptr_type, typename PtrTraits< GpuMat_< T > >::ptr_type, modulus< T > > > operator%(const GpuMat_< T > &src1, const GpuMat_< T > &src2)
Definition: binary_op.hpp:216
Rect buildMaps(Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap) CV_OVERRIDE
Builds the projection maps according to the given camera data.
virtual String getDefaultName() const CV_OVERRIDE
void cvtTwoPlaneYUVtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx)
Class that enables getting cudaEvent_t from cuda::Event.
Definition: cuda_stream_accessor.hpp:76
const GOrigin & priv() const
virtual ~WBDetector()
Definition: xobjdetect.hpp:95
void mapForward(float x, float y, float &u, float &v)
Mat_(int _rows, int _cols, _Tp *_data, size_t _step=AUTO_STEP)
constructs a matrix on top of user-allocated data. step is in bytes(!!!), regardless of the type
String dumpInputArray(InputArray argument)
int width
Definition: sinusoidalpattern.hpp:85
unsigned int Ncv32u
Definition: NCV.hpp:128
Ptr< detail::RotationWarper > create(float scale) const CV_OVERRIDE
Definition: warpers.hpp:155
int getImageHeight() const
Definition: saliencySpecializedClasses.hpp:207
std::vector< uchar > inliers_mask
Geometrically consistent matches mask.
Definition: matchers.hpp:108
static GProtoOutputArgs getGOut_impl(const std::tuple< Ts... > &ts, detail::Seq< Indexes... >)
Definition: gproto.hpp:85
virtual int getSpeckleWindowSize() const =0
const F m_f
Definition: gfluidkernel.hpp:90
NCVStatus nppiStIntegral_8u32u_C1R_host(Ncv8u *h_src, Ncv32u srcStep, Ncv32u *h_dst, Ncv32u dstStep, NcvSize32u roiSize)
@ CMP_GT
src1 is greater than src2.
Definition: base.hpp:212
Definition: or_imagenet.hpp:67
int cols
Definition: glob.hpp:87
@ MSLIC
Definition: slic.hpp:132
void removeAllWidgets()
Removes all widgets from the window.
int rows
the number of rows and columns or (-1, -1) when the matrix has more than 2 dimensions
Definition: mat.hpp:2560
int refcount
Definition: mat.hpp:557
static Ptr< ANN_MLP > load(const String &filepath)
Loads and creates a serialized ANN from a file.
Definition: deriv.hpp:255
@ COLOR_RGBA2BGRA
Definition: imgproc.hpp:540
void randShuffle(InputOutputArray dst, double iterFactor=1., RNG *rng=0)
Shuffles the array elements randomly.
size_t imageMaxBufferSize() const
virtual void merge(int r1, int r2)=0
Inform the strategy that two regions will be merged.
@ COLOR_BGR2RGBA
convert between RGB and BGR color spaces (with or without alpha channel)
Definition: imgproc.hpp:530
Graph Based Segmentation Algorithm. The class implements the algorithm described in .
Definition: segmentation.hpp:46
virtual double getHitThreshold() const =0
WCameraPosition(double scale=1.0)
Creates camera coordinate frame at the origin.
Affine warper that uses rotations and translations.
Definition: warpers.hpp:214
@ COLOR_BayerBG2BGR
Demosaicing.
Definition: imgproc.hpp:739
virtual void setMaxLevel(int maxLevel)=0
#define CV_BIG_INT(n)
Definition: interface.h:63
void setIterationCounts(const cv::Mat &val)
Definition: depth.hpp:1123
Status composePanorama(InputArrayOfArrays images, OutputArray pano)
These functions try to compose the given images (or images stored internally from the other function ...
void apply(int index, Point corner, InputOutputArray image, InputArray mask) CV_OVERRIDE
Compensate exposure in the specified image.
void recip8u(const uchar *, size_t, const uchar *src2, size_t step2, uchar *dst, size_t step, int width, int height, void *scale)
int getThreadNum()
Returns the index of the currently executed thread within the current parallel region....
Ncv32f * pSrcFrame1
frame 1
Definition: NPP_staging.hpp:120
virtual ~VideoWriter()
Definition: cudacodec.hpp:180
@ CAP_PROP_TRIGGER
Definition: videoio.hpp:157
SolverType solverType
Definition: rlofflow.hpp:83
Definition: vec_distance.hpp:123
Class implementing the FLD (Fast Line Detector) algorithm described in .
Definition: fast_line_detector.hpp:25
Ncv32u y
y-coordinate of upper left corner.
Definition: NCV.hpp:163
@ IMWRITE_EXR_TYPE_HALF
store as HALF (FP16)
Definition: imgcodecs.hpp:104
virtual void setAlpha(double val)=0
Flow smoothness.
int crossSegmentationThreshold
Definition: rlofflow.hpp:112
int max_patch_size
threshold for the ROI size
Definition: tracker.hpp:1254
@ MATERIAL_TEXTURE
Definition: ovis.hpp:41
RotateFlags
Definition: core.hpp:1060
@ CAP_INTELPERC_IR_MAP
Each pixel is a 16-bit integer. The value indicates the intensity of the reflected laser beam.
Definition: videoio.hpp:538
static void call(GCPUContext &ctx)
Definition: gcpukernel.hpp:265
#define CV_CUDEV_IMPLEMENT_VEC_UNARY_FUNC(func_name, func, input_type, output_type)
Definition: vec_math.hpp:182
MODE
Feature type to be used in the tracking grayscale, colornames, compressed color-names The modes avail...
Definition: tracker.hpp:1221
virtual String getDefaultName() const CV_OVERRIDE
#define CV_CONSTEXPR
Definition: cvdef.h:733
Definition: sparse_matching_gpc.hpp:302
int memoryClockRate() const
peak memory clock frequency in kilohertz
cv::GArrayDesc descr_of() const
Definition: garray.hpp:261
static Ptr< Params > defaultParams()
Default parameters A set of parameters which provides better model quality, can be very slow.
double density_th
Definition: descriptor.hpp:706
@ ALPHA_ATOP_PREMUL
Definition: cudaimgproc.hpp:160
@ COLOR_YUV2BGRA_NV12
Definition: imgproc.hpp:640
NCVStatus nppiStGetInterpolationBufferSize(NcvSize32u srcSize, Ncv32u nStep, Ncv32u *hpSize)
__host__ void gridFindMinMaxVal_(const SrcPtr &src, GpuMat_< ResType > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: reduce.hpp:174
Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst) CV_OVERRIDE
Projects the image.
Definition: warpers.hpp:569
Mat normalizePCCoeff(Mat pc, float scale, float *Cx, float *Cy, float *Cz, float *MinVal, float *MaxVal)
virtual void playEntityAnimation(const String &name, const String &animname, bool loop=true)=0
virtual void setCut(bool value)=0
virtual Mat postProcessFrame(const Mat &frame)
bool computeSaliencyImpl(InputArray image, OutputArray saliencyMap) CV_OVERRIDE
LineIterator & operator++()
prefix increment operator (++it). shifts iterator to the next pixel
@ DIST_C
distance = max(|x1-x2|,|y1-y2|)
Definition: imgproc.hpp:300
Point3_< int > Point3i
Definition: types.hpp:270
@ MPEG1
Definition: cudacodec.hpp:247
virtual void setMotionModel(MotionModel val)
Sets motion model.
Definition: global_motion.hpp:106
Definition: feature.hpp:200
@ CAP_PVAPI_FSTRIGMODE_SOFTWARE
Software.
Definition: videoio.hpp:306
Mat S
Definition: facemarkAAM.hpp:143
virtual void load(const std::string &path) CV_OVERRIDE=0
@ CAP_PROP_FORMAT
Definition: videoio.hpp:140
void mul16u(const ushort *src1, size_t step1, const ushort *src2, size_t step2, ushort *dst, size_t step, int width, int height, void *scale)
ICP(const int iterations, const float tolerence=0.05f, const float rejectionScale=2.5f, const int numLevels=6, const int sampleType=ICP::ICP_SAMPLING_TYPE_UNIFORM, const int numMaxCorr=1)
ICP constructor with default arguments.
Definition: icp.hpp:117
Rect boundingRect(InputArray array)
Calculates the up-right bounding rectangle of a point set or non-zero pixels of gray-scale image.
int readPoseCluster(FILE *f)
Definition: gfluidkernel.hpp:354
int maxLevel_
Definition: optical_flow.hpp:93
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: reduction.hpp:113
bool operator==(const GScalarDesc &) const
Definition: gscalar.hpp:59
TermCriteria(int type, int maxCount, double epsilon)
void rotate(InputArray src, OutputArray dst, int rotateCode)
Rotates a 2D array in multiples of 90 degrees. The function cv::rotate rotates the array in one of th...
void setMaxDisparity(int val)
method for setting the maximum disparity
Definition: matching.hpp:376
@ OPEN_CAMERA
Definition: cap_winrt.hpp:40
virtual void setOptimalParameters(int svmsgdType=SVMSGD::ASGD, int marginType=SVMSGD::SOFT_MARGIN)=0
Function sets optimal parameters values for chosen SVM SGD model.
float uniform(float a, float b)
returns uniformly distributed floating-point random number from [a,b) range
Definition: deblurring.hpp:91
#define CV_CUDEV_EXPR_UNOP_INST(op, functor)
Definition: unary_op.hpp:63
virtual void setHistory(int history)=0
Sets the number of last frames that affect the background model.
virtual void mov(BasicVectorRef &v) override
Definition: garray.hpp:206
virtual float getGamma() const =0
Returns the affinity sensitivity.
float tsdf_min_camera_movement
Minimal camera movement in meters.
Definition: dynafu.hpp:66
bool addTrackerFeature(Ptr< TrackerFeature > &feature)
virtual int getClustersNumber() const =0
int size
subset size
Definition: motion_core.hpp:75
virtual bool getNextPacket(unsigned char **data, size_t *size)=0
Returns next packet with RAW video frame.
@ value
Definition: type_traits.hpp:91
Ptr< CornernessCriteria > createMinEigenValCorner(int srcType, int blockSize, int ksize, int borderType=BORDER_REFLECT101)
Creates implementation for the minimum eigen value of a 2x2 derivative covariation matrix (the corner...
The base class for algorithms that align images of the same scene with different exposures.
Definition: photo.hpp:451
void setFlags(FLAGS modeFlags)
int maxCatCount
Definition: feature.hpp:152
@ COLOR_BayerRG2BGR_EA
Definition: imgproc.hpp:768
BackendWrapper(const Ptr< BackendWrapper > &base, const MatShape &shape)
Make wrapper for reused cv::Mat.
Definition: slam_kitti.hpp:75
virtual int getMaxLines() const =0
@ CAP_PROP_POS_FRAMES
0-based index of the frame to be decoded/captured next.
Definition: videoio.hpp:133
void read(const FileNode &fn)
static int help(const cv::GMetaArgs &, const cv::GArgs &)
Definition: gfluidkernel.hpp:315
MatIterator_(Mat_< _Tp > *_m, int _row, int _col=0)
constructor that sets the iterator to the specified element of the matrix
Ptr< WindowScene > createWindow(const String &title, const Size &size, int flags=SCENE_INTERACTIVE|SCENE_AA)
void createTriangleMesh(const String &name, InputArray vertices, InputArray normals=noArray(), InputArray indices=noArray())
void setValue(int type, const void *value, int len=-1)
#define CV_EXPORTS_AS(synonym)
Definition: cvdef.h:418
int getMouseWheelDelta(int flags)
Gets the mouse-wheel motion delta, when handling mouse-wheel events cv::EVENT_MOUSEWHEEL and cv::EVEN...
Definition: tuple_adapter.hpp:58
virtual void setSamples(int samples)=0
std::vector< Ptr< TrackerTargetState > > Trajectory
Represents the estimate states for all frames.
Definition: tracker.hpp:392
int depth
Definition: or_pascal.hpp:84
virtual void load(const std::string &path) CV_OVERRIDE=0
virtual double getThreshold() const =0
void setGlDevice(int device=0)
Sets a CUDA device and initializes it for the current thread with OpenGL interoperability.
R expand_mat(InputArray src, int TYPE_DEFAULT=EXPANDED_MAT_DEFAULT_TYPE)
Definition: quality_utils.hpp:37
@ ALPHA_OUT
Definition: cudaimgproc.hpp:159
int hal_ni_add8s(const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, schar *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:77
std::vector< Mat > LinearMemories
Definition: linemod.hpp:404
virtual void setType(int val)=0
bool isAMD() const
Definition: ocl.hpp:189
Ptr< SelectiveSearchSegmentationStrategyMultiple > createSelectiveSearchSegmentationStrategyMultiple()
Create a new multiple strategy.
@ CAP_PROP_GPHOTO2_WIDGET_ENUMERATE
Readonly, returns (const char *).
Definition: videoio.hpp:555
@ DICT_7X7_100
Definition: dictionary.hpp:155
int lt
The Type of the line. See LineTypes.
Definition: render.hpp:273
@ ACCESS_FAST
Definition: mat.hpp:65
virtual void run(InputArrayOfArrays points2d, InputOutputArray K, OutputArray Rs, OutputArray Ts, OutputArray points3d) CV_OVERRIDE=0
Calls the pipeline in order to perform Eclidean reconstruction.
Definition: warpers.hpp:409
static Ptr< StandardCollector > create(double threshold=DBL_MAX)
Static constructor.
void addSamplesDataSearchPath(const cv::String &path)
Override search data path by adding new search location.
std::function< void(VectorRef &)> ConstructVec
Definition: garray.hpp:59
void setIterationCounts(const cv::Mat &val)
Definition: depth.hpp:687
PtrTraits< SrcPtr >::value_type value_type
Definition: interpolation.hpp:65
int cols
Definition: warping.hpp:79
virtual void getCloud(OutputArray points, OutputArray normals) const =0
Gets points and normals of current 3d mesh.
virtual bool computeImpl(const Ptr< OdometryFrame > &srcFrame, const Ptr< OdometryFrame > &dstFrame, OutputArray Rt, const Mat &initRt) const =0
virtual void setGamma(double val)=0
coefficient for additional illumination variation term
float endPointY
Definition: descriptor.hpp:129
double eps
Definition: objdetect.hpp:133
void createHanningWindow(OutputArray dst, Size winSize, int type)
This function computes a Hanning window coefficients in two dimensions.
static int getWindow(const GMetaArgs &metas, const cv::GArgs &in_args)
Definition: gfluidkernel.hpp:404
void setConfidence(double val)
setter for the confidence check
Definition: matching.hpp:398
short i
Definition: cvdef.h:339
virtual float getInputMax() const =0
Input image range maximum value.
static Ptr< ParamGrid > getDefaultGridPtr(int param_id)
Generates a grid for SVM parameters.
void solvePnPRansac(const Mat &object, const Mat &image, const Mat &camera_mat, const Mat &dist_coef, Mat &rvec, Mat &tvec, bool use_extrinsic_guess=false, int num_iters=100, float max_dist=8.0, int min_inlier_count=100, std::vector< int > *inliers=NULL)
Finds the object pose from 3D-2D point correspondences.
NcvBool bNeedsTiltedII
Definition: NCVHaarObjectDetection.hpp:340
__host__ Expr< BinaryTransformPtrSz< typename PtrTraits< SrcPtr1 >::ptr_type, typename PtrTraits< SrcPtr2 >::ptr_type, maximum< typename LargerType< typename PtrTraits< SrcPtr1 >::value_type, typename PtrTraits< SrcPtr2 >::value_type >::type > > > max_(const SrcPtr1 &src1, const SrcPtr2 &src2)
Definition: per_element_func.hpp:73
softfloat setFrac(const softfloat &s) const
Construct a copy with provided significand.
Definition: softfloat.hpp:196
Viz3d getWindowByName(const String &window_name)
Retrieves a window by its name.
F m_f
Definition: goclkernel.hpp:94
void add32s(const int *src1, size_t step1, const int *src2, size_t step2, int *dst, size_t step, int width, int height, void *)
virtual int getTextureThreshold() const =0
void Median9x1Filter(const Mat &originalImage, Mat &filteredImage)
9x1 median filter
Definition: matching.hpp:588
MarrHildrethHash()
Definition: marr_hildreth_hash.hpp:45
void bind() const
Binds texture to current active texture unit for GL_TEXTURE_2D target.
const std::vector< float > & getWeights() const
virtual void setMode(int mode)=0
int connectedComponents(InputArray image, OutputArray labels, int connectivity, int ltype, int ccltype)
computes the connected components labeled image of boolean image
int64 getPerfProfile(std::vector< double > &timings)
Returns overall time for inference and timings (in ticks) for layers. Indexes in returned vector corr...
int hal_ni_warpAffine(int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, const double M[6], int interpolation, int borderType, const double borderValue[4])
hal_warpAffine
Definition: hal_replacement.hpp:272
double roundd(double x)
Definition: saturate.hpp:84
@ CALIB_FIX_K1
Definition: omnidir.hpp:58
void getRandomPose(Matx44d &Pose)
ErrorTypes
Error types
Definition: ml.hpp:90
__host__ __device__ BinaryTupleAdapter< Op, n0, n1 > binaryTupleAdapter(const Op &op)
Definition: tuple_adapter.hpp:92
Allocator * allocator
allocator
Definition: cuda.hpp:337
int elemSize
Definition: imgproc.hpp:4736
int hal_ni_FAST(const uchar *src_data, size_t src_step, int width, int height, uchar *keypoints_data, size_t *keypoints_count, int threshold, bool nonmax_suppression, int type)
Detects corners using the FAST algorithm.
Definition: hal_replacement.hpp:97
Size & operator=(const cv::Size &rhs)
Definition: types.hpp:95
int x
Definition: linemod.hpp:282
void GradientDericheX(InputArray op, OutputArray dst, double alpha, double omega)
Applies X Deriche filter to an image.
virtual void reset() CV_OVERRIDE
Definition: frame_source.hpp:68
std::vector< std::pair< int, double > > getResults(bool sorted=false) const
Return results as vector.
const std::vector< Mat > & const_param_type
Definition: core.hpp:3224
#define NCV_CT_ASSERT(X)
Definition: NCV.hpp:89
bool loadTrainingData(String filename, std::vector< String > &images, OutputArray facePoints, char delim=' ', float offset=0.0f)
A utility to load facial landmark dataset from a single file.
Definition: onlineBoosting.hpp:152
int perform_morphing
These erase one-pixel junk blobs and merge almost-touching blobs. Default value is 1.
Definition: cudalegacy.hpp:167
virtual float getTheta() const =0
void selection(Mat &response, int npoints) CV_OVERRIDE
Identify most effective features.
int getAVIIndex(int stream_number, StreamType strm_type)
Vec conj() const
conjugation (makes sense for complex numbers and quaternions)
static Ptr< StereoBM > create(int numDisparities=0, int blockSize=21)
Creates StereoBM object.
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:245
Class for computing stereo correspondence using the block matching algorithm, introduced and contribu...
Definition: calib3d.hpp:2702
virtual ~BOWKMeansTrainer()
Matx< double, 2, 3 > Matx23d
Definition: matx.hpp:233
String className
Definition: tracker.hpp:436
Ptr< VideoReader > createVideoReader(const String &filename)
Creates video reader.
virtual int getSpeckleWindowSize() const =0
Definition: functional.hpp:253
virtual void run(InputArrayOfArrays points2d) CV_OVERRIDE=0
Calls the pipeline in order to perform Eclidean reconstruction.
static Mat getSubMatrix(const Mat &matrix, const Mat &idx, int layout)
Extract from matrix rows/cols specified by passed indexes.
virtual double getTau() const =0
virtual void setTilesGridSize(Size tileGridSize)=0
Sets size of grid for histogram equalization. Input image will be divided into equally sized rectangu...
bool readPose(const String &file, Affine3d &pose, const String &tag="pose")
Read/write poses and trajectories.
void setCameraParams(InputArray K=Mat::eye(3, 3, CV_32F), InputArray R=Mat::eye(3, 3, CV_32F), InputArray T=Mat::zeros(3, 1, CV_32F))
static Ptr< DTrees > load(const String &filepath, const String &nodeName=String())
Loads and creates a serialized DTrees from a file.
void debugFilter(cv::InputArray original, cv::InputArray result, const CallMetaData &data, const char *description, const char *view)
virtual void finalize(const std::vector< Mat * > &input, std::vector< Mat > &output)
Computes and sets internal parameters according to inputs, outputs and blobs.
static UMat diag(const UMat &d)
constructs a square diagonal matrix which main diagonal is vector "d"
virtual void copy(UMatData *srcdata, UMatData *dstdata, int dims, const size_t sz[], const size_t srcofs[], const size_t srcstep[], const size_t dstofs[], const size_t dststep[], bool sync) const
static Ptr< LSDDetector > createLSDDetector(LSDParam params)
Definition: is_weizmann.hpp:69
int hal_ni_sub8s(const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, schar *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:85
@ is_pointer
Definition: type_traits.hpp:140
float index_type
Definition: interpolation.hpp:297
std::vector< std::vector< Ptr< Object > > > train
Definition: dataset.hpp:579
EdgeAwareFiltersList
Definition: edge_filter.hpp:52
virtual void setEntityPose(const String &name, InputArray tvec=noArray(), InputArray rot=noArray(), bool invert=false)=0
MatExpr operator/(const Mat &a, const Mat &b)
virtual ~IImageDescriptor()
Definition: tracking_by_matching.hpp:93
__host__ GpuMat_(const GpuMat &m, Allocator *allocator=defaultAllocator())
copy/conversion constructor. If m is of different type, it's converted
std::string tag() const
Definition: ie.hpp:111
@ KMEANS_RANDOM_CENTERS
Definition: core.hpp:209
@ StsBadArg
function arg/param is bad
Definition: base.hpp:74
@ IMWRITE_PNG_STRATEGY
One of cv::ImwritePNGFlags, default is IMWRITE_PNG_STRATEGY_RLE.
Definition: imgcodecs.hpp:89
virtual void setSlicSpixelSize(int n)=0
: set and get the parameter slicSpixelSize. This parameter is used in the first stage mentioned above...
@ CAP_PROP_XI_IMAGE_BLACK_LEVEL
Last image black level counts. Can be used for Offline processing to recall it.
Definition: videoio.hpp:473
@ IMREAD_REDUCED_COLOR_8
If set, always convert image to the 3 channel BGR color image and the image size reduced 1/8.
Definition: imgcodecs.hpp:76
int singleFPConfig() const
typename GTypeOf< T >::type g_type_of_t
Definition: gtype_traits.hpp:106
int64 getFLOPS(const int layerId, const MatShape &netInputShape) const
uint32_t v
Definition: softfloat.hpp:220
void div32s(const int *src1, size_t step1, const int *src2, size_t step2, int *dst, size_t step, int width, int height, void *scale)
Line iterator.
Definition: imgproc.hpp:4708
Definition: goclkernel.hpp:119
@ CALIB_CHECK_COND
Definition: calib3d.hpp:3052
Definition: depth.hpp:1039
virtual void setScaleStep(double val)=0
Step between scales (<1)
@ CAP_PROP_XI_TRANSPORT_PIXEL_FORMAT
Current format of pixels on transport layer.
Definition: videoio.hpp:440
void createDirectory(const std::string &path)
void setMaxPointsPart(double val)
Definition: depth.hpp:703
This class encapsulates a queue of asynchronous calls.
Definition: cuda.hpp:643
void accumulate(InputArray src, InputOutputArray dst, InputArray mask=noArray())
Adds an image to the accumulator image.
void cvt32f16f(const float *src, float16_t *dst, int len)
virtual void quantize(Mat &dst) const =0
Compute quantized image at current pyramid level for online detection.
@ COLOR_BayerRG2RGB
Definition: imgproc.hpp:746
virtual void setAppertureSize(int apperture_size)=0
static std::ostream & operator<<(std::ostream &out, const MatShape &shape)
Definition: shape_utils.hpp:192
Ptr< DualTVL1OpticalFlow > createOptFlow_DualTVL1()
Creates instance of cv::DenseOpticalFlow.
__device__ __forceinline__ PtrTraits< SrcPtr >::value_type operator()(int y, int x) const
Definition: deriv.hpp:108
virtual void setBackgroundRatio(double backgroundRatio)=0
@ VAR_ORDERED
ordered variables
Definition: ml.hpp:84
@ NPPST_MEM_RESIDENCE_ERROR
Memory residence error detected (check if pointers should be device or pinned)
Definition: NCV.hpp:369
virtual cv::Ptr< Map > calculate(InputArray img1, InputArray img2, cv::Ptr< Map > init=cv::Ptr< Map >()) const CV_OVERRIDE
Matx(const Matx< _Tp, m, n > &a, _T2 alpha, Matx_ScaleOp)
int minorVersion() const
minor compute capability
void undistortImage(InputArray distorted, OutputArray undistorted, InputArray K, InputArray D, InputArray Knew=cv::noArray(), const Size &new_size=Size())
Transforms an image to compensate for fisheye lens distortion.
Definition: hpe_humaneva.hpp:61
@ COLOR_BayerGR2RGB_EA
Definition: imgproc.hpp:774
const std::vector< Rect > & getAreas() const
MapPtr map
Definition: remap.hpp:66
GScalar yieldScalar(int output=0)
virtual void setHostDirty()=0
Indicate that an actual data is on CPU.
void FastHoughTransform(InputArray src, OutputArray dst, int dstMatDepth, int angleRange=ARO_315_135, int op=FHT_ADD, int makeSkew=HDO_DESKEW)
Calculates 2D Fast Hough transform of an image.
void getMemoryConsumption(const MatShape &netInputShape, std::vector< int > &layerIds, std::vector< size_t > &weights, std::vector< size_t > &blobs) const
virtual int getHistory() const =0
virtual bool samplingImpl(const Mat &image, Rect boundingBox, std::vector< Mat > &sample)=0
int getT(int pyramid_level) const
Get sampling step T at pyramid_level.
Definition: linemod.hpp:364
Point3_ cross(const Point3_ &pt) const
cross product of the 2 3D points
InputOutputArray InputOutputArrayOfArrays
Definition: mat.hpp:442
virtual bool decode(const std::vector< std::vector< Mat > > &patternImages, OutputArray disparityMap, InputArrayOfArrays blackImages=noArray(), InputArrayOfArrays whiteImages=noArray(), int flags=DECODE_3D_UNDERWORLD) const =0
Decodes the structured light pattern, generating a disparity map.
Class implementing two-dimensional phase unwrapping based on This algorithm belongs to the quality-g...
Definition: histogramphaseunwrapping.hpp:66
double seamEstimationResol() const
Definition: stitching.hpp:189
static cv::detail::GArrayU wrap_value(const cv::GArray< T > &t)
Definition: gtype_traits.hpp:72
static String dumpInt(int argument)
Definition: bindings_utils.hpp:30
virtual void setMinArea(float minArea)=0
@ CAP_PROP_XI_REGION_SELECTOR
Selects Region in Multiple ROI which parameters are set by width, height, ... ,region mode.
Definition: videoio.hpp:383
@ CAP_PROP_XI_COUNTER_VALUE
Counter status.
Definition: videoio.hpp:446
void write(const Ptr< FileStorage > &fs, const String &name=String()) const
Definition: features2d.hpp:1054
virtual bool getUseInitialFlow() const =0
Use initial flow.
float localAdaptintegration_k
Definition: retina.hpp:176
@ __UMAT_USAGE_FLAGS_32BIT
Definition: mat.hpp:458
softdouble()
Default constructor.
Definition: softfloat.hpp:230
static Context & getDefault(bool initialize=true)
softfloat min(const softfloat &a, const softfloat &b)
Min and Max functions.
Definition: softfloat.hpp:437
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: deriv.hpp:79
GMat select(const GMat &src1, const GMat &src2, const GMat &mask)
Select values from either first or second of input matrices by given mask. The function set to the ou...
@ OCR_DECODER_VITERBI
Definition: ocr.hpp:174
Matx< _Tp, 1, n > row(int i) const
extract the matrix row
void setFlowErrorThreshold(float val)
Definition: inpainting.hpp:149
int hal_ni_absdiff64f(const double *src1_data, size_t src1_step, const double *src2_data, size_t src2_step, double *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:136
GpuMat & setTo(Scalar s, InputArray mask, Stream &stream)
sets some of the GpuMat elements to s, according to the mask (Non-Blocking call)
uchar calc(const Mat &_sum, size_t y) const
Definition: feature.hpp:397
std::vector< PascalPart > parts
Definition: or_pascal.hpp:75
@ ICP_SAMPLING_TYPE_UNIFORM
Definition: icp.hpp:86
virtual HOGDescriptor::DescriptorStorageFormat getDescriptorFormat() const =0
bool isSubnormal() const
Subnormal number indicator.
Definition: softfloat.hpp:172
static MatExpr max(const Mat &a, const Matx< _Tp, m, n > &b)
Definition: mat.hpp:3698
bool inversed
Definition: ml.hpp:1180
DecompTypes
matrix decomposition types
Definition: base.hpp:133
@ CAP_PVAPI_PIXELFORMAT_MONO16
Mono16.
Definition: videoio.hpp:318
bool normVariance
Definition: all_layers.hpp:289
static Ptr< RegionLayer > create(const LayerParams ¶ms)
v_reg< float, n > v_cvt_f32(const v_reg< int, n > &a)
Convert to float.
Definition: intrin_cpp.hpp:1935
util::variant< cv::Mat, cv::Scalar, cv::UMat, cv::gapi::wip::IStreamSource::Ptr, cv::gapi::own::Mat, cv::gapi::own::Scalar, cv::detail::VectorRef > GRunArg
Definition: garg.hpp:100
__device__ static __forceinline__ uint laneId()
Definition: warp.hpp:64
int y
Definition: fr_adience.hpp:75
@ NCV_FILE_ERROR
Definition: NCV.hpp:321
v_uint16x8 v_reinterpret_as_u16(const v_reg< _Tp0, n0 > &a)
Definition: intrin_cpp.hpp:2184
double Wx
Definition: gr_chalearn.hpp:67
GrabCutClasses
class of the pixel in GrabCut algorithm
Definition: imgproc.hpp:341
__device__ __forceinline__ uint vavrg4(uint a, uint b)
Definition: simd_functions.hpp:589
virtual void drawSegments(InputOutputArray _image, InputArray lines)=0
Draws the line segments on a given image.
Matx< float, 3, 2 > Matx32f
Definition: matx.hpp:234
@ IMREAD_GRAYSCALE
If set, always convert image to the single channel grayscale image (codec internal conversion).
Definition: imgcodecs.hpp:66
Complex()
default constructor
Image hash based on Radon transform.
Definition: radial_variance_hash.hpp:22
@ CAP_PROP_XI_LUT_INDEX
Control the index (offset) of the coefficient to access in the LUT.
Definition: videoio.hpp:451
@ CAP_PROP_HUE
Hue of the image (only for cameras).
Definition: videoio.hpp:146
static Ptr< AgastFeatureDetector > create(int threshold=10, bool nonmaxSuppression=true, AgastFeatureDetector::DetectorType type=AgastFeatureDetector::OAST_9_16)
Definition: agast.txt:7537
Brute-force descriptor matcher.
Definition: features2d.hpp:1110
static Ptr< TrackerKCF > create(const TrackerKCF::Params ¶meters)
Constructor.
size_t numVotes
Definition: pose_3d.hpp:178
Mat errorCovPre
priori error estimate covariance matrix (P'(k)): P'(k)=A*P(k-1)*At + Q)*/
Definition: tracking.hpp:400
FeatherBlender(float sharpness=0.02f)
Definition: blenders.hpp:123
static Net readFromModelOptimizer(const uchar *bufferModelConfigPtr, size_t bufferModelConfigSize, const uchar *bufferWeightsPtr, size_t bufferWeightsSize)
Create a network from Intel's Model Optimizer in-memory buffers with intermediate representation (IR)...
__device__ __forceinline__ uint vcmpne2(uint a, uint b)
Definition: simd_functions.hpp:454
static Ptr< BinaryDescriptor > createBinaryDescriptor()
Create a BinaryDescriptor object with default parameters (or with the ones provided) and return a sma...
HostMem(HostMem::AllocType alloc_type=HostMem::AllocType::PAGE_LOCKED)
int cols
Definition: interpolation.hpp:136
VectorRefT(const std::vector< T > &vec)
Definition: garray.hpp:144
virtual bool getUsePostProcessing()=0
cv::String m_funName
Definition: instrumentation.hpp:77
void subtract(InputArray src1, InputArray src2, OutputArray dst, InputArray mask=noArray(), int dtype=-1)
Calculates the per-element difference between two arrays or array and a scalar.
Template Read-Only Sparse Matrix Iterator Class.
Definition: mat.hpp:3269
int64_t int64
Definition: interface.h:61
virtual float getMinBoxArea() const =0
Returns the minimum area of boxes.
Ptr< QualityMSE > _qualityMSE
Definition: qualitypsnr.hpp:91
int lkTermParam1
Definition: quasi_dense_stereo.hpp:56
@ COLOR_YUV2BGR_NV21
Definition: imgproc.hpp:635
const ImageFeatures * features_
Definition: motion_estimators.hpp:202
size_t textureAlignment() const
alignment requirement for textures
Definition: tr_icdar.hpp:67
static Ptr< GrayCodePattern > create(const GrayCodePattern::Params ¶meters=GrayCodePattern::Params())
Constructor.
softfloat max(const softfloat &a, const softfloat &b)
Definition: softfloat.hpp:440
int N1cc
Number of color co-occurrence vectors used to model normal background color variation at a given pixe...
Definition: cudalegacy.hpp:162
size_type max_size() const
Definition: cvstd.hpp:138
size_t idx
Definition: persistence.hpp:679
void setMaxRotation(double val)
Definition: depth.hpp:727
int lt
The type of the line. See LineTypes.
Definition: render.hpp:199
Definition: facerec.hpp:90
__device__ __host__ NcvBool isRightNodeLeaf(void)
Definition: NCVHaarObjectDetection.hpp:162
float alpha1
How quickly we forget old background pixel values seen. Typically set to 0.1.
Definition: cudalegacy.hpp:170
@ CAP_PROP_XI_TEST_PATTERN
Selects which test pattern type is generated by the selected generator.
Definition: videoio.hpp:369
double ddot(const Matx< _Tp, m, n > &v) const
dot product computed in double-precision arithmetics
void pushBack(Ptr< InpainterBase > inpainter)
Definition: inpainting.hpp:111
This structure represents a line to draw.
Definition: render.hpp:247
ModifiedCsCensus(uint8_t **images, int ker)
Definition: descriptor.hpp:148
FastMarchingMethod()
Definition: fast_marching.hpp:66
void setClip(const Vec2d &clip)
Definition: types.hpp:211
void namedWindow(const String &winname, int flags=WINDOW_AUTOSIZE)
Creates a window.
double confidence
Detection confidence level (-1 if N/A).
Definition: tracking_by_matching.hpp:29
frame_list & getFrames()
Definition: container_avi.private.hpp:92
Represents an arbitrary compilation argument.
Definition: gcommon.hpp:94
int cols
Definition: texture.hpp:207
@ COLOR_BayerGR2GRAY
Definition: imgproc.hpp:752
int freeQEdge
Definition: imgproc.hpp:1237
Definition: frame_source.hpp:58
void setMatchingMask(const cv::UMat &mask)
Definition: stitching.hpp:218
uchar const_param_type
Definition: core.hpp:3264
virtual int getCannyThreshold() const =0
@ HISTCMP_KL_DIV
Definition: imgproc.hpp:516
Base interface for dense optical flow algorithms.
Definition: cudaoptflow.hpp:71
@ CAP_PROP_XI_SENSOR_BOARD_TEMP
Camera sensor board temperature.
Definition: videoio.hpp:397
Definition: warpers.hpp:457
Mat(const cuda::GpuMat &m)
download data from GpuMat
void addWeighted(InputArray src1, double alpha, InputArray src2, double beta, double gamma, OutputArray dst, int dtype=-1)
Calculates the weighted sum of two arrays.
@ COVAR_NORMAL
Definition: core.hpp:184
static Ptr< TrackerSamplerAlgorithm > create(const String &trackerSamplerType)
Create TrackerSamplerAlgorithm by tracker sampler type.
Comma-separated Vec Initializer.
Definition: matx.hpp:462
void write(FileStorage &fs, const float &value)
Definition: persistence.hpp:890
Definition: all_layers.hpp:228
GMatDesc asInterleaved() const
Definition: gmat.hpp:209
v_float64x2 v_reinterpret_as_f64(const v_reg< _Tp0, n0 > &a)
Definition: intrin_cpp.hpp:2189
double & operator[](int i)
Definition: scalar.hpp:31
bool operator==(const RNG &other) const
void averageHash(cv::InputArray inputArr, cv::OutputArray outputArr)
Calculates img_hash::AverageHash in one call.
int classID
Definition: dpm.hpp:114
int Presets
NVVE_PRESETS,.
Definition: cudacodec.hpp:102
double getMaxRotation() const
Definition: depth.hpp:846
Definition: ar_hmdb.hpp:61
int index_type
Definition: deriv.hpp:104
virtual void compute(InputArray image, OutputArray result, Stream &stream=Stream::Null())=0
Computes an FFT of a given image.
int hal_ni_sepFilterInit(cvhalFilter2D **context, int src_type, int dst_type, int kernel_type, uchar *kernelx_data, int kernelx_length, uchar *kernely_data, int kernely_length, int anchor_x, int anchor_y, double delta, int borderType)
hal_sepFilterInit
Definition: hal_replacement.hpp:152
virtual void getParvoRAW(OutputArray retinaOutput_parvo)=0
Accessor of the details channel of the retina (models foveal vision).
@ CONTOURS_MATCH_I3
Definition: imgproc.hpp:452
virtual bool getUsePostProc() const =0
enables ximgproc::fastGlobalSmootherFilter
OPLandIplParvoParameters OPLandIplParvo
Definition: retina.hpp:178
Rotation-only model image warper interface.
Definition: warpers.hpp:60
@ CC_STAT_HEIGHT
The vertical size of the bounding box.
Definition: imgproc.hpp:395
__host__ __device__ NcvSize32s()
Definition: NCV.hpp:176
UMat resultMask() const
Definition: stitching.hpp:291
virtual size_t getDescriptorSize() const =0
Returns the number of coefficients required for the classification.
@ NCV_WARNING_HAAR_DETECTIONS_VECTOR_OVERFLOW
Definition: NCV.hpp:352
void setExposureCompensator(Ptr< detail::ExposureCompensator > exposure_comp)
Definition: stitching.hpp:240
@ CAP_PROP_XI_IMAGE_PAYLOAD_SIZE
Buffer size in bytes sufficient for output image returned by xiGetImage.
Definition: videoio.hpp:439
virtual int getLevelsNumber() const =0
Definition: variant.hpp:48
v_reg< typename V_TypeTraits< _Tp >::q_type, n/4 > v_dotprod_expand(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Dot product of elements and expand.
Definition: intrin_cpp.hpp:953
void addWeighted8u(const uchar *src1, size_t step1, const uchar *src2, size_t step2, uchar *dst, size_t step, int width, int height, void *_scalars)
virtual bool same(cv::InputArray query) const =0
correlate query img and threshold to min class value
Definition: gscalar.hpp:56
void convertToDirect3DSurface9(InputArray src, IDirect3DSurface9 *pDirect3DSurface9, void *surfaceSharedHandle=NULL)
Converts InputArray to IDirect3DSurface9.
void Median1x9Filter(const Mat &originalImage, Mat &filteredImage)
Definition: matching.hpp:580
virtual void load(const std::string &path) CV_OVERRIDE=0
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type x) const
Definition: functional.hpp:354
~Node()
Definition: utility.hpp:1062
@ CALIB_ZERO_DISPARITY
Definition: calib3d.hpp:291
std::vector< size_t > pads_end
Definition: all_layers.hpp:250
void FT12D_createPolynomMatrixHorizontal(int radius, OutputArray matrix, const int chn)
Creates horizontal matrix for -transform computation.
all_satisfy< is_meta_descr, Ts... > are_meta_descrs
Definition: gmetaarg.hpp:57
void mul8s(const schar *src1, size_t step1, const schar *src2, size_t step2, schar *dst, size_t step, int width, int height, void *scale)
virtual void marchCubes(OutputArray vertices, OutputArray edges) const =0
DictValue & operator=(const DictValue &r)
__device__ __forceinline__ T2 operator()(typename TypeTraits< T1 >::parameter_type, typename TypeTraits< T2 >::parameter_type rhs) const
Definition: functional.hpp:301
void scale(cv::Mat &mat, const cv::Mat &range, const T min, const T max)
Definition: quality_utils.hpp:90
V_TypeTraits< typename V_TypeTraits< _Tp >::abs_type >::sum_type v_reduce_sad(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Sum absolute differences of values.
Definition: intrin_cpp.hpp:1176
const float claheClip
Definition: pcaflow.hpp:103
__device__ __forceinline__ NormL1()
Definition: vec_distance.hpp:97
float minConvexity
Definition: features2d.hpp:647
void save(const String &filename) const
size_t step
stride between two consecutive rows in bytes. Step is stored always and everywhere in bytes!...
Definition: glob.hpp:70
Definition: reduction.hpp:219
int connectEdges(int edgeA, int edgeB)
@ DNN_TARGET_VULKAN
Definition: dnn.hpp:93
virtual bool read(OutputArray image)
Grabs, decodes and returns the next video frame.
A simple white balance algorithm that works by independently stretching each of the input image chann...
Definition: white_balance.hpp:80
int type() const
Definition: sparse_matching_gpc.hpp:116
void createContinuous(int rows, int cols, int type, OutputArray arr)
Creates a continuous matrix.
static double norm(const Matx< _Tp, m, n > &M)
void setMaxPointsPart(double val)
Definition: depth.hpp:952
MatIterator_< _Tp > it
Definition: mat.hpp:520
@ NCV_ALLOCATOR_DEALLOC_ORDER
Definition: NCV.hpp:336
@ COLORSPACE_YUV444P
Definition: container_avi.private.hpp:135
Definition: global_motion.hpp:199
void setWindowSize(int val)
Definition: depth.hpp:144
void startWriteStruct(const String &name, int flags, const String &typeName)
UMat * m
Definition: ocl.hpp:380
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:106
__device__ static __forceinline__ uchar max()
Definition: limits.hpp:77
bool findRtRANSAC(InputArray image, InputArray cameraMatrix, InputArray distCoeffs, InputOutputArray rvec, InputOutputArray tvec, bool useExtrinsicGuess=false, int iterationsCount=100, float reprojectionError=8.0, int minInliersCount=100, OutputArray inliers=noArray(), int flags=SOLVEPNP_ITERATIVE)
AVCaptureStillImageOutput * stillImageOutput
Definition: cap_ios.h:142
__host__ GpuMat_(int arows, int acols, Allocator *allocator=defaultAllocator())
constructs GpuMat of the specified size
void completeFrameAccordingToFlow(const Mat &flowMask, const Mat &flowX, const Mat &flowY, const Mat &frame1, const Mat &mask1, float distThresh, Mat &frame0, Mat &mask0)
_OutputArray(int _flags, void *_obj)
void setBufferPoolConfig(int deviceId, size_t stackSize, int stackCount)
static Ptr< ReLULayer > create(const LayerParams ¶ms)
Ncv32s height
Rectangle height.
Definition: NCV.hpp:153
virtual int getGridX() const =0
Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst) CV_OVERRIDE
Projects the image.
@ PSM_SINGLE_BLOCK_VERT_TEXT
Definition: ocr.hpp:74
NCVStatus memSegCopyHelper(void *dst, NCVMemoryType dstType, const void *src, NCVMemoryType srcType, size_t sz, cudaStream_t cuStream)
@ LSD_REFINE_ADV
Definition: imgproc.hpp:483
Mat_ clone() const CV_NODISCARD
__device__ __forceinline__ double4 acos(const double4 &a)
Definition: vec_math.hpp:328
int id
Definition: track_vot.hpp:63
@ COLOR_RGB2YUV_IYUV
Definition: imgproc.hpp:726
virtual ~BaseOCR()
Definition: ocr.hpp:95
@ COLOR_YUV2RGB_YUYV
Definition: imgproc.hpp:696
void queryMemory(size_t &totalMemory, size_t &freeMemory) const
gets free and total device memory
static Ptr< RadialVarianceHash > create(double sigma=1, int numOfAngleLine=180)
NCVStatus ncvGrowDetectionsVector_host(NCVVector< Ncv32u > &pixelMask, Ncv32u numPixelMaskDetections, NCVVector< NcvRect32u > &hypotheses, Ncv32u &totalDetections, Ncv32u totalMaxDetections, Ncv32u rectWidth, Ncv32u rectHeight, Ncv32f curScale)
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.
virtual void interpolate(InputArray from_image, InputArray from_points, InputArray to_image, InputArray to_points, OutputArray dense_flow)=0
Interpolate input sparse matches.
@ is_tuple
Definition: tuple.hpp:66
Mat(const Mat &m, const Range &rowRange, const Range &colRange=Range::all())
std::string name
Definition: or_sun.hpp:63
virtual int getNOctaves() const =0
double maxErroneousBitsInBorderRate
Definition: aruco.hpp:173
@ CAP_PROP_XI_HOUS_TEMP
Camera housing temperature.
Definition: videoio.hpp:395
size_t length() const
Definition: NCV.hpp:614
ColorInpainter(int method=INPAINT_TELEA, double radius=2.)
Definition: inpainting.hpp:196
__host__ __device__ __forceinline__ int divUp(int total, int grain)
Definition: common.hpp:80
Ptr< Stitcher > createStitcherScans(bool try_use_gpu=false)
cv::Size getMinObjectSize() const
Definition: detection_based_tracker.hpp:88
void setExceptionMode(bool enable)
Definition: videoio.hpp:794
int hal_ni_div32f(const float *src1_data, size_t src1_step, const float *src2_data, size_t src2_step, float *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:262
void compute(const std::vector< cv::Mat > &mats, std::vector< cv::Mat > &descrs) override
Computes images descriptors.
Definition: tracking_by_matching.hpp:135
Vec3i volumeDims
Resolution of voxel space.
Definition: dynafu.hpp:58
uint64 saturate_cast< uint64 >(schar v)
Definition: saturate.hpp:152
virtual void process(const cv::Mat &imgLeft, const cv::Mat &imgRight)=0
Main process of the algorithm. This method computes the sparse seeds and then densifies them.
std::tuple< GMat, GMat > GMat2
Definition: imgproc.hpp:30
virtual void suppress(int idx, const Mat &frame, Mat &result) CV_OVERRIDE
virtual void setSpekleRemovalTechnique(int factor)=0
Impl * p
Definition: async.hpp:99
virtual int getFinestScale() const =0
Finest level of the Gaussian pyramid on which the flow is computed (zero level corresponds to the ori...
@ INPAINT_NS
Use Navier-Stokes based method.
Definition: photo.hpp:96
virtual void run(InputArray frame0, InputArray frame1, InputOutputArray flowX, InputOutputArray flowY, OutputArray errors)=0
virtual float getSpatialWeight()=0
virtual void setCVFolds(int val)=0
Definition: infer.hpp:123
AutoBuffer()
the default constructor
illuminationType illumination
Definition: gr_skig.hpp:100
static void estimateRecommendedParams(int width, int height, int &ndisp, int &iters, int &levels, int &nr_plane)
Uses a heuristic method to compute parameters (ndisp, iters, levelsand nrplane) for the specified ima...
virtual double getP() const =0
virtual int getVariationalRefinementIterations() const =0
Number of fixed point iterations of variational refinement per scale. Set to zero to disable variatio...
Definition: track_vot.hpp:62
virtual void setShowText(bool needShowText)=0
virtual NCVStatus alloc(NCVMemSegment &seg, size_t size)=0
@ GAMMA
Definition: ml.hpp:671
Params< Net > & cfgOutputLayers(const typename PortCfg< Net >::Out &ll)
Definition: ie.hpp:94
int iterationNum
number of selection rounds
Definition: tracker.hpp:906
@ CAP_PROP_XI_GPO_SELECTOR
Selects general purpose output.
Definition: videoio.hpp:343
bool wait_for(int64 timeoutNs) const
v_reg< _Tp, n > v_select(const v_reg< _Tp, n > &mask, const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Per-element select (blend operation)
Definition: intrin_cpp.hpp:1253
TrackerSampler based on CS (current state), used by algorithm TrackerBoosting.
Definition: tracker.hpp:830
virtual void detect(InputArray image, OutputArray corners, InputArray mask=noArray(), Stream &stream=Stream::Null())=0
Determines strong corners on an image.
void Rodrigues(InputArray src, OutputArray dst, OutputArray jacobian=noArray())
Converts a rotation matrix to a rotation vector or vice versa.
@ StsUnmatchedFormats
formats of input/output arrays differ
Definition: base.hpp:105
virtual void reset() CV_OVERRIDE
int getTargetWidth() const
Get the width of the target.
Definition: onlineBoosting.hpp:196
Point warp(const cuda::GpuMat &src, InputArray K, InputArray R, int interp_mode, int border_mode, cuda::GpuMat &dst)
int p3
Definition: feature.hpp:324
virtual int getSpekleRemovalTechnique() const =0
int nbrOfPeriods
Definition: sinusoidalpattern.hpp:87
__device__ __forceinline__ float1 sqrt(const uchar1 &a)
Definition: vec_math.hpp:222
static void read(const FileNode &node, Matx< _Tp, m, n > &value, const Matx< _Tp, m, n > &default_matx=Matx< _Tp, m, n >())
Definition: persistence.hpp:761
int ForceIDR
NVVE_FORCE_IDR,.
Definition: cudacodec.hpp:99
@ CPU_AVX512_ICL
Ice Lake with AVX-512F/CD/BW/DQ/VL/IFMA/VBMI/VNNI/VBMI2/BITALG/VPOPCNTDQ.
Definition: cvdef.h:316
@ ARO_45_135
Definition: fast_hough_transform.hpp:71
void idct(InputArray src, OutputArray dst, int flags=0)
Calculates the inverse Discrete Cosine Transform of a 1D or 2D array.
@ ROTATE_180
Rotate 180 degrees clockwise.
Definition: core.hpp:1062
double calibrate(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints, Size size, InputOutputArray K, InputOutputArray xi, InputOutputArray D, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, int flags, TermCriteria criteria, OutputArray idx=noArray())
Perform omnidirectional camera calibration, the default depth of outputs is CV_64F.
std::vector< double > getFeatures()
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.
Definition: call_meta_data.hpp:9
GMatDesc withSizeDelta(cv::Size delta) const
Definition: gmat.hpp:131
virtual void onEndFrame(int frameNumber, EncoderCallBack::PicType picType)=0
Callback function signals that the encoding operation on the frame has finished.
float pca_learning_rate
compression learning rate
Definition: tracker.hpp:1249
@ StsError
unknown /unspecified error
Definition: base.hpp:71
__device__ PtrTraits< SrcPtr >::value_type operator()(float y, float x) const
Definition: interpolation.hpp:242
bool getFacesHAAR(InputArray image, OutputArray faces, const String &face_cascade_name)
void getMatGains(std::vector< Mat > &umv) CV_OVERRIDE
Definition: ir_robot.hpp:71
virtual void match(InputArray image, InputArray templ, OutputArray result, Stream &stream=Stream::Null())=0
Computes a proximity map for a raster template and an image where the template is searched for.
@ OAST_9_16
Definition: features2d.hpp:514
GpuMat & setTo(Scalar s)
sets some of the GpuMat elements to s (Blocking call)
@ MODIFY_A
Definition: core.hpp:2635
std::vector< int > computeReplacedClassifier()
Get the list of the weak classifiers that should be replaced.
@ TYPE_9_16
Definition: features2d.hpp:454
bool globalPooling
Definition: all_layers.hpp:253
virtual double getSigmaR() const =0
uint8_t * image[num_images]
Definition: descriptor.hpp:144
Ptr< BackgroundSubtractorCNT > createBackgroundSubtractorCNT(int minPixelStability=15, bool useHistory=true, int maxPixelStability=15 *60, bool isParallel=true)
Creates a CNT Background Subtractor.
pHash
Definition: phash.hpp:23
Ptr< LearningBasedWB > createLearningBasedWB(const String &path_to_model=String())
Creates an instance of LearningBasedWB.
virtual void upload(UMatData *data, const void *src, int dims, const size_t sz[], const size_t dstofs[], const size_t dststep[], const size_t srcstep[]) const
double Py
Definition: gr_chalearn.hpp:67
virtual int getShadowValue() const =0
Returns the shadow value.
Class implementing the ORB (oriented BRIEF) keypoint detector and descriptor extractor.
Definition: cudafeatures2d.hpp:453
#define CV_CUDEV_YUV2RGB_INST(name, scn, dcn, bidx)
Definition: color_cvt.hpp:119
Ptr< EdgeBoxes > createEdgeBoxes(float alpha=0.65f, float beta=0.75f, float eta=1, float minScore=0.01f, int maxBoxes=10000, float edgeMinMag=0.1f, float edgeMergeThr=0.5f, float clusterMinMag=0.5f, float maxAspectRatio=3, float minBoxArea=1000, float gamma=2, float kappa=1.5f)
Creates a Edgeboxes.
@ CAP_PROP_XI_SENSOR_CLOCK_FREQ_HZ
Sensor clock frequency in Hz.
Definition: videoio.hpp:441
GpuMat(GpuMat::Allocator *allocator=GpuMat::defaultAllocator())
default constructor
@ CAP_INTELPERC_DEPTH_MAP
Each pixel is a 16-bit integer. The value indicates the distance from an object to the camera's XY pl...
Definition: videoio.hpp:536
Definition: ir_robot.hpp:66
const Vec2d & getFocalLength() const
Definition: types.hpp:220
void absdiff32s(const int *src1, size_t step1, const int *src2, size_t step2, int *dst, size_t step, int width, int height, void *)
ParallelLoopBodyLambdaWrapper(std::function< void(const Range &)> functor)
Definition: utility.hpp:599
unsigned right
Definition: sparse_matching_gpc.hpp:162
virtual void setMinDistance(double minDistance)=0
schar saturate_cast< schar >(uchar v)
Definition: saturate.hpp:110
std::string nameUser
Definition: gr_chalearn.hpp:77
@ IMWRITE_PAM_FORMAT_GRAYSCALE
Definition: imgcodecs.hpp:128
int Lc
Quantized levels per 'color' component. Power of two, typically 32, 64 or 128.
Definition: cudalegacy.hpp:156
virtual void setSvmsgdType(int svmsgdType)=0
Algorithm type, one of SVMSGD::SvmsgdType.
double gaussian(double sigma)
Returns the next random number sampled from the Gaussian distribution.
const Mat & predict(const Mat &control=Mat())
Computes a predicted state.
void subMatrix(const Mat &src, Mat &dst, const std::vector< int > &cols, const std::vector< int > &rows)
MatStep step
Definition: mat.hpp:2109
GComputation class represents a captured computation graph. GComputation objects form boundaries for ...
Definition: gcomputation.hpp:112
@ ROTATE_90_CLOCKWISE
Rotate 90 degrees clockwise.
Definition: core.hpp:1061
void findContours(InputArray image, OutputArrayOfArrays contours, OutputArray hierarchy, int mode, int method, Point offset=Point())
Finds contours in a binary image.
@ COLOR_YUV2GRAY_YUY2
Definition: imgproc.hpp:711
Definition: goclkernel.hpp:83
void setTransformType(int val) CV_OVERRIDE
Definition: depth.hpp:834
SparseMatConstIterator_(const SparseMatConstIterator_ &it)
the copy constructor
int numOfOctave_
Definition: descriptor.hpp:193
This is for calculation of the LSBP descriptors.
Definition: bgsegm.hpp:277
Definition: gfluidkernel.hpp:170
double class_prob
Definition: core_detect.hpp:32
void write(const String &name, const Mat &val)
This is an overloaded member function, provided for convenience. It differs from the above function o...
int doubleFPConfig() const
@ OpenCLNoAMDBlasFft
Definition: base.hpp:123
@ CALIB_ZERO_TANGENT_DIST
Definition: calib3d.hpp:272
static Ptr< GFTTDetector > create(int maxCorners=1000, double qualityLevel=0.01, double minDistance=1, int blockSize=3, bool useHarrisDetector=false, double k=0.04)
void train(GPCTrainingSamples &samples, const GPCTrainingParams params=GPCTrainingParams())
void gather(std::vector< T * > &data) const
Get data from all threads.
Definition: tls.hpp:106
LDA(InputArrayOfArrays src, InputArray labels, int num_components=0)
virtual void setBlockSize(int blockSize)=0
void reset()
Definition: garray.hpp:236
~TrackerStateEstimatorAdaBoosting()
Destructor.
virtual void setPyrScale(double pyrScale)=0
static Ptr< EltwiseLayer > create(const LayerParams ¶ms)
bool concurrentKernels() const
device can possibly execute multiple kernels concurrently
unsigned long num_trees_per_cascade_level
num_trees_per_cascade_level This stores number of trees fit per cascade level.
Definition: face_alignment.hpp:25
virtual double getBackgroundPrior() const =0
Returns the prior probability that each individual pixel is a background pixel.
void computeNMChannels(InputArray _src, OutputArrayOfArrays _channels, int _mode=ERFILTER_NM_RGBLGrad)
Compute the different channels to be processed independently in the N&M algorithm .
@ RETINA_COLOR_RANDOM
each pixel position is either R, G or B in a random choice
Definition: retina.hpp:84
@ COLOR_BayerGR2RGB_VNG
Definition: imgproc.hpp:763
the Boosting tracker
Definition: tracker.hpp:1101
int getLargeWinSize() const
int width
width of the rectangle
Definition: types.hpp:50
SparseMat_()
the default constructor
virtual ~Function()
Definition: optim.hpp:66
void write(FileStorage) const
Definition: feature.hpp:230
@ CAP_PROP_FOCUS
Definition: videoio.hpp:161
void write(FileStorage &fs, const String &name, const Mat &value)
@ CASCADE_DO_ROUGH_SEARCH
Definition: objdetect.hpp:171
virtual Mat getVarImportance() const =0
Mat _eigenvalues
Definition: core.hpp:2611
void getBoardObjectAndImagePoints(const Ptr< Board > &board, InputArrayOfArrays detectedCorners, InputArray detectedIds, OutputArray objPoints, OutputArray imgPoints)
Given a board configuration and a set of detected markers, returns the corresponding image points and...
@ COLOR_BGR2YUV_IYUV
Definition: imgproc.hpp:727
v_reg(_Tp s0, _Tp s1, _Tp s2, _Tp s3, _Tp s4, _Tp s5, _Tp s6, _Tp s7, _Tp s8, _Tp s9, _Tp s10, _Tp s11, _Tp s12, _Tp s13, _Tp s14, _Tp s15)
Constructor.
Definition: intrin_cpp.hpp:301
bool collect(int label, double dist) CV_OVERRIDE
overloaded interface method
SelectIf< type_traits_detail::IsSimpleParameter< unqualified_type >::value, T, typename type_traits_detail::AddParameterType< T >::type >::type parameter_type
Definition: type_traits.hpp:150
virtual String getDefaultName() const CV_OVERRIDE
virtual int getPatchStride() const =0
Stride between neighbor patches. Must be less than patch size. Lower values correspond to higher flow...
virtual void setEta(float value)=0
Sets the adaptation rate for nms threshold.
@ COLOR_BGR5552GRAY
Definition: imgproc.hpp:573
float trimRatio() const
Definition: stabilizer.hpp:90
virtual int getMode() const =0
void distortPoints(InputArray undistorted, OutputArray distorted, InputArray K, InputArray D, double alpha=0)
Distorts 2D points using fisheye model.
virtual bool nextFrame(GpuMat &frame, Stream &stream=Stream::Null())=0
Grabs, decodes and returns the next video frame.
int rows
Definition: interpolation.hpp:367
Class encapsulating training data.
Definition: ml.hpp:146
@ nlanes128
Definition: intrin.hpp:139
static KernelArg WriteOnly(const UMat &m, int wscale=1, int iwscale=1)
Definition: ocl.hpp:369
OCRHolisticWordRecognizer class provides the functionallity of segmented wordspotting....
Definition: ocr.hpp:543
@ COLOR_YUV2RGB_NV21
Definition: imgproc.hpp:634
v_float32x4 v_setall_f32(float val)
Definition: intrin_cpp.hpp:2166
virtual Rect getROI()=0
Get the ROI used in the last filter call.
void sub16u(const ushort *src1, size_t step1, const ushort *src2, size_t step2, ushort *dst, size_t step, int width, int height, void *)
virtual void pyrDown()=0
Go to the next pyramid level.
virtual int getNeighbors() const =0
virtual void add(const MatExpr &expr1, const MatExpr &expr2, MatExpr &res) const
#define OPENCV_HAL_IMPL_C_PACK_STORE(_Tpvec, _Tp, _Tpnvec, _Tpn, pack_suffix, cast)
Helper macro.
Definition: intrin_cpp.hpp:2322
Definition: limits.hpp:58
Point2f warpPoint(const Point2f &pt, InputArray K, InputArray R)
Projects the image point.
void magnitude(InputArray xy, OutputArray magnitude, Stream &stream=Stream::Null())
Computes magnitudes of complex matrix elements.
std::tuple< Args... > InArgs
Definition: infer.hpp:66
v_reg< uchar, 16 > v_uint8x16
Sixteen 8-bit unsigned integer values.
Definition: intrin_cpp.hpp:385
@ CV_SPECKLE_REMOVAL_AVG_ALGORITHM
Definition: stereo.hpp:119
@ EVENT_LBUTTONDOWN
indicates that the left mouse button is pressed.
Definition: highgui.hpp:207
static void runByImageBorder(std::vector< KeyPoint > &keypoints, Size imageSize, int borderSize)
Types
Definition: ml.hpp:1350
Mat project(InputArray src)
virtual void setup(cv::FileStorage &fs, const bool applyDefaultSetupOnFailure=true)=0
try to open an XML segmentation parameters file to adjust current segmentation instance setup
Definition: reduction.hpp:109
ImwritePNGFlags
Imwrite PNG specific flags used to tune the compression algorithm.
Definition: imgcodecs.hpp:116
int Lcc
Quantized levels per 'color co-occurrence' component. Power of two, typically 16, 32 or 64.
Definition: cudalegacy.hpp:161
RgbdPlane(int method, int block_size, int min_size, double threshold, double sensor_error_a=0, double sensor_error_b=0, double sensor_error_c=0)
@ CAP_PROP_XI_AEAG
Automatic exposure/gain.
Definition: videoio.hpp:349
Definition: functional.hpp:244
virtual int getNumIters() const =0
Context(const Context &c)
virtual int getMinDisparity() const =0
int regsPerBlock() const
32-bit registers available per block
Vec3d t
Definition: pose_3d.hpp:129
int hal_ni_sub32f(const float *src1_data, size_t src1_step, const float *src2_data, size_t src2_step, float *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:89
bool computeSaliency(InputArray image, OutputArray saliencyMap)
Compute the saliency.
@ CAP_PROP_XI_CC_MATRIX_13
Color Correction Matrix element [1][3].
Definition: videoio.hpp:412
The FLANN nearest neighbor index class. This class is templated with the type of elements for which t...
Definition: flann.hpp:161
void matchTemplate(InputArray image, InputArray templ, OutputArray result, int method, InputArray mask=noArray())
Compares a template against overlapped image regions.
void write(FileStorage &fs, const int &value)
Definition: persistence.hpp:884
@ CAP_PVAPI_DECIMATION_2OUTOF16
2 out of 16 decimation
Definition: videoio.hpp:313
virtual void setSplitNumber(int num)=0
Set Split Number from Bezier-curve to line.
void calcNormDiff(InputArray src1, InputArray src2, OutputArray dst, int normType=NORM_L2, Stream &stream=Stream::Null())
virtual double getMinDistance() const =0
void cvtBGRtoThreePlaneYUV(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int uIdx)
double uniform(double a, double b)
returns uniformly distributed double-precision floating-point random number from [a,...
Flann-based descriptor matcher.
Definition: features2d.hpp:1157
uchar * value_type
Definition: mat.hpp:3017
virtual void setScaleThresh(int scaleThresh)=0
Scale votes threshold.
double rhs
Bias term of the hyperplane.
Definition: sparse_matching_gpc.hpp:160
poseType pose
Definition: gr_skig.hpp:101
__host__ Texture(const GlobPtrSz< T > &mat, bool normalizedCoords=false, cudaTextureFilterMode filterMode=cudaFilterModePoint, cudaTextureAddressMode addressMode=cudaAddressModeClamp)
Definition: texture.hpp:209
@ MPEG4
Definition: cudacodec.hpp:249
Definition: gkernel.hpp:50
PtrTraits< SrcPtr >::value_type value_type
Definition: deriv.hpp:283
void markDeviceMemMapped(bool flag)
__device__ __forceinline__ short saturate_cast< short >(ushort v)
Definition: saturate_cast.hpp:194
Mat preProcessedFrame_
Definition: stabilizer.hpp:130
virtual void detect(InputArray src, OutputArray lines, Stream &stream=Stream::Null())=0
Finds lines in a binary image using the classical Hough transform.
_Mutex Mutex
Definition: lock.private.hpp:47
const std::vector< Mat > * motions_
Definition: inpainting.hpp:97
__device__ __forceinline__ schar abs_(schar val)
Definition: vec_math.hpp:202
__device__ static __forceinline__ double max()
Definition: limits.hpp:120
int idx
Definition: matx.hpp:289
Ptr< detail::RotationWarper > create(float scale) const CV_OVERRIDE
Definition: warpers.hpp:207
virtual void process(InputArrayOfArrays src, std::vector< Mat > &dst)=0
Short version of process, that doesn't take extra arguments.
#define OPENCV_HAL_IMPL_ARITHM_OP(func, bin_op, cast_op, _Tp2)
Helper macro.
Definition: intrin_cpp.hpp:721
Definition: functional.hpp:353
std::function< void(const cv::GMetaArgs &, const cv::GArgs &, gapi::fluid::Buffer &)> IS
Definition: gfluidkernel.hpp:60
void setMaxLevel(int val)
Ncv32f * ppBuffers[6]
temporary buffers
Definition: NPP_staging.hpp:126
int hal_ni_recip32s(const int *src_data, size_t src_step, int *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:279
Definition: all_layers.hpp:390
GainCompensator()
Definition: exposure_compensate.hpp:115
void write(const String &name, int val)
Simplified writing API to use with bindings.
@ SOLVEPNP_P3P
Complete Solution Classification for the Perspective-Three-Point Problem .
Definition: calib3d.hpp:237
bool isIntegral
Definition: feature.hpp:213
const float retainedCornersFraction
Definition: pcaflow.hpp:100
std::tuple< R... > OutArgs
Definition: gkernel.hpp:197
__host__ void gridTransformTuple_(const SrcPtr &src, const tuple< GpuMat_< D0 > &, GpuMat_< D1 > & > &dst, const OpTuple &op, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: transform.hpp:163
virtual void setHistory(int nframes)=0
__device__ __forceinline__ void blockReduceKeyVal(volatile K *skeys, K &key, volatile V *svals, V &val, uint tid, const Cmp &cmp)
Definition: reduce.hpp:86
Bm3dSteps
BM3D algorithm steps.
Definition: bm3d_image_denoising.hpp:69
Definition: all_layers.hpp:565
MatExpr diag(int d=0) const
void addResourceLocation(const String &path)
virtual NCVMemoryType memType() const
bool avePoolPaddedArea
Definition: all_layers.hpp:260
int hal_ni_cvtLabtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isLab, bool srgb)
hal_cvtLabtoBGR
Definition: hal_replacement.hpp:486
virtual int getMaxNumPoints() const =0
@ COLOR_BGR2HLS_FULL
Definition: imgproc.hpp:608
NormTypes
Definition: base.hpp:159
float b
Definition: warpers.hpp:380
Matx(const Matx< _Tp, n, m > &a, Matx_TOp)
CpuFeatures
Available CPU features.
Definition: cvdef.h:272
~TrackerSampler()
Destructor.
void clear() CV_OVERRIDE
Implements Algorithm::clear()
Definition: qualitymse.hpp:31
int hal_ni_morph(cvhalFilter2D *context, uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int src_full_width, int src_full_height, int src_roi_x, int src_roi_y, int dst_full_width, int dst_full_height, int dst_roi_x, int dst_roi_y)
hal_morph
Definition: hal_replacement.hpp:224
int getExp() const
Get 0-based exponent.
Definition: softfloat.hpp:179
BOOL cameraAvailable
Definition: cap_ios.h:46
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...
Size_< _Tp > size() const
size (width, height) of the rectangle
void PCACompute(InputArray data, InputOutputArray mean, OutputArray eigenvectors, int maxComponents=0)
TrainFlags
Definition: ml.hpp:1572
float shear
slope coefficient: 0 - normal, >0 - italic
Definition: highgui.hpp:697
@ CAP_PROP_XI_SENSOR_DATA_BIT_DEPTH
Sensor output data bit depth.
Definition: videoio.hpp:386
void convertToGLTexture2D(InputArray src, Texture2D &texture)
Converts InputArray to Texture2D object.
void SVD32f(float *At, size_t astep, float *W, float *U, size_t ustep, float *Vt, size_t vstep, int m, int n, int flags)
void convertScaleAbs(InputArray src, OutputArray dst, double alpha=1, double beta=0)
Scales, calculates absolute values, and converts the result to 8-bit.
@ INTERP_RIC
Definition: rlofflow.hpp:34
virtual void setMaxVal(double val)=0
Sets the maximum value taken on by pixels in image sequence.
MatExpr min(double s, const Mat &a)
static bool hasEqualOrLessPtx(int major, int minor)
virtual void setSpeckleWindowSize(int speckleWindowSize)=0
virtual void getPoints(OutputArray points) const =0
Gets points of current 3d mesh.
double computeMeanReproErr(InputArrayOfArrays imagePoints, InputArrayOfArrays proImagePoints)
virtual int getMaxIter() const =0
T type
Definition: garray.hpp:279
__host__ Expr< Body > makeExpr(const Body &body)
Definition: expr.hpp:63
unsigned long oversampling_amount
oversampling_amount stores number of initialisations used to create training samples.
Definition: face_alignment.hpp:29
bool is_obj_without_holes
If TRUE we ignore holes within foreground blobs. Defaults to TRUE.
Definition: cudalegacy.hpp:166
@ DEGREE
Definition: ml.hpp:675
void setLastTargetState(const Ptr< TrackerTargetState > &lastTargetState)
Set the current TrackerTargetState in the Trajectory.
int urefcount
Definition: mat.hpp:556
GpuMat & adjustROI(int dtop, int dbottom, int dleft, int dright)
moves/resizes the current GpuMat ROI inside the parent GpuMat
Base class for all blenders.
Definition: blenders.hpp:64
Point warp(InputArray src, InputArray K, InputArray R, InputArray T, int interp_mode, int border_mode, OutputArray dst) CV_OVERRIDE
Definition: warpers.hpp:500
@ COLOR_RGB2HLS
Definition: imgproc.hpp:594
@ EVENT_FLAG_ALTKEY
indicates that ALT Key is pressed.
Definition: highgui.hpp:227
virtual double getRpropDWMinus() const =0
UMat(const std::vector< _Tp > &vec, bool copyData=false)
builds matrix from std::vector with or without copying the data
int hal_ni_filterInit(cvhalFilter2D **context, uchar *kernel_data, size_t kernel_step, int kernel_type, int kernel_width, int kernel_height, int max_width, int max_height, int src_type, int dst_type, int borderType, double delta, int anchor_x, int anchor_y, bool allowSubmatrix, bool allowInplace)
hal_filterInit
Definition: hal_replacement.hpp:106
GMat cmpLE(const GMat &src1, const GMat &src2)
Performs the per-element comparison of two matrices checking if elements from first matrix are less o...
Op::result_type result_type
Definition: tuple_adapter.hpp:80
@ MORPH_ELLIPSE
Definition: imgproc.hpp:234
virtual const std::vector< Mat > & stabilizationMotions() const
Definition: wobble_suppression.hpp:85
furnishes all functionalities for querying a dataset provided by user or internal to class (that user...
Definition: descriptor.hpp:816
void setMaxDepth(double val)
Definition: depth.hpp:936
Definition: facemarkAAM.hpp:51
This 3D Widget represents 3D text. The text always faces the camera.
Definition: widgets.hpp:432
Definition: tracker.hpp:1188
void focalsFromHomography(const Mat &H, double &f0, double &f1, bool &f0_ok, bool &f1_ok)
Tries to estimate focal lengths from the given homography under the assumption that the camera underg...
v_reg< _Tp, n > operator+(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Add values.
Definition: intrin_cpp.hpp:427
void write(FileStorage &fs) const
Write parameters to a file.
__host__ GpuMat_(const GpuMat_ &m, Range arowRange, Range acolRange)
selects a submatrix
The class implements the modified H. Hirschmuller algorithm that differs from the original one as fo...
Definition: calib3d.hpp:2767
void setSupportRegionType(SupportRegionType val)
cv::String join(const cv::String &base, const cv::String &path)
@ CALIB_HAND_EYE_PARK
Robot Sensor Calibration: Solving AX = XB on the Euclidean Group .
Definition: calib3d.hpp:306
double getRenderingProperty(const String &id, int property)
Returns rendering property of a widget.
std::vector< size_t > strides
Definition: all_layers.hpp:215
static int getNextId()
Definition: detection_based_tracker.hpp:197
This class represents color in BGR order.
Definition: types.hpp:64
virtual void detect(cv::Mat &image, std::vector< ObjectDetection > &objects)=0
Find rectangular regions in the given image that are likely to contain objects of loaded classes (mod...
int N2c
Used to allow the first N1c vectors to adapt over time to changing background.
Definition: cudalegacy.hpp:158
NCVStatus nppsStCompact_32f(Ncv32f *d_src, Ncv32u srcLen, Ncv32f *d_dst, Ncv32u *p_dstLen, Ncv32f elemRemove, Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp)
virtual void setNoiseSigma(double noiseSigma)=0
Definition: warpers.hpp:557
Vec(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6, _Tp v7, _Tp v8, _Tp v9)
10-element vector constructor
__device__ __forceinline__ double4 asin(const double4 &a)
Definition: vec_math.hpp:319
int preferredVectorWidthDouble() const
Vec3i maxTexture2DLayered() const
maximum 2D layered texture dimensions
LogLevel level
Definition: logtag.hpp:18
double PSNR(InputArray src1, InputArray src2, double R=255.)
Computes the Peak Signal-to-Noise Ratio (PSNR) image quality metric.
virtual double getScaleStep() const =0
std::map< String, DictValue >::const_iterator begin() const
void copyTo(OutputArray dst) const
copies the GpuMat content to device memory (Blocking call)
FileStorage(const String &filename, int flags, const String &encoding=String())
Opens a file.
@ CAP_PROP_XI_SHARPNESS
Sharpness Strength.
Definition: videoio.hpp:404
cv::Mat getCameraMatrix() const CV_OVERRIDE
Definition: depth.hpp:916
Impl * p
Definition: ocl.hpp:575
_Tp value_type
Definition: mat.hpp:3082
Definition: or_mnist.hpp:67
virtual void drawSegments(InputOutputArray _image, InputArray lines, bool draw_arrow=false)=0
Draws the line segments on a given image.
Definition: optical_flow.hpp:181
unsigned long long Ncv64u
Definition: NCV.hpp:124
virtual bool setFaceDetector(FN_FaceDetector detector, void *userData=0)=0
Set a user defined face detector for the Facemark algorithm.
PtrTraits< SrcPtr >::value_type value_type
Definition: deriv.hpp:63
virtual int getSmallerBlockSize() const =0
@ COLORMAP_WINTER
Definition: imgproc.hpp:4222
int hal_ni_dft1D(cvhalDFT *context, const uchar *src, uchar *dst)
Definition: hal_replacement.hpp:516
void stereoRectify(InputArray R, InputArray T, OutputArray R1, OutputArray R2)
Stereo rectification for omnidirectional camera model. It computes the rectification rotations for tw...
@ CAP_PROP_SETTINGS
Pop up video/camera filter dialog (note: only supported by DSHOW backend currently....
Definition: videoio.hpp:169
virtual NCVStatus dealloc(NCVMemSegment &seg)
virtual bool getCalculateVarImportance() const =0
@ QUAD_STRIP
Definition: opengl.hpp:487
void v_store_aligned_nocache(_Tp *ptr, const v_reg< _Tp, n > &a)
Definition: intrin_cpp.hpp:1667
type_traits_detail::PointerTraits< unqualified_type >::type pointee_type
Definition: type_traits.hpp:133
void fourierDescriptor(InputArray src, OutputArray dst, int nbElt=-1, int nbFD=-1)
Fourier descriptors for planed closed curves.
This structure represents a polygon to draw.
Definition: render.hpp:338
MatAllocator * getOpenCLAllocator()
SparseMatIterator(SparseMat *_m, const int *idx)
the full constructor setting the iterator to the specified sparse matrix element
void abs(InputArray src, OutputArray dst, Stream &stream=Stream::Null())
Computes an absolute value of each matrix element.
@ CAP_PROP_PVAPI_DECIMATIONVERTICAL
Vertical sub-sampling of the image.
Definition: videoio.hpp:295
Objectness algorithms based on [3] [3] Cheng, Ming-Ming, et al. "BING: Binarized normed gradients for...
Definition: saliencySpecializedClasses.hpp:292
double nu30
Definition: types.hpp:951
void applyChannelGains(InputArray src, OutputArray dst, float gainB, float gainG, float gainR)
Implements an efficient fixed-point approximation for applying channel gains, which is the last step ...
This class represents high-level API for classification models.
Definition: dnn.hpp:1156
void match(const Mat &scene, std::vector< Pose3DPtr > &results, const double relativeSceneSampleStep=1.0/5.0, const double relativeSceneDistance=0.03)
Matches a trained model across a provided scene.
int err
Definition: imgproc.hpp:4737
@ ONE_STEP
processing in one step
Definition: types.hpp:61
virtual void eval(InputArray image, std::vector< int > &out_class, std::vector< double > &out_confidence)
The character classifier must return a (ranked list of) class(es) id('s)
@ COLOR_BayerGB2BGR
Definition: imgproc.hpp:740
@ CALIB_FIX_FOCAL_LENGTH
Definition: calib3d.hpp:273
virtual float getAlpha() const =0
Returns the step size of sliding window search.
void calcOpticalFlowSparseToDense(InputArray from, InputArray to, OutputArray flow, int grid_step=8, int k=128, float sigma=0.05f, bool use_post_proc=true, float fgs_lambda=500.0f, float fgs_sigma=1.5f)
Fast dense optical flow based on PyrLK sparse matches interpolation.
G_TYPED_KERNEL(GAdd,< GMat(GMat, GMat, int)>, "org.opencv.core.math.add")
Definition: core.hpp:36
Definition: structured_edge_detection.hpp:66
Vec3d findMedian3(InputArray mat)
virtual void reset()=0
Resets the algorithm.
#define CV_32FC3
Definition: interface.h:120
MVKernel(uint8_t **images, int **integral)
Definition: descriptor.hpp:71
@ NCVMemoryTypeHostPageable
Definition: NCV.hpp:430
ActivationFunctions
Definition: ml.hpp:1554
static cv::Scalar get(GOCLContext &ctx, int idx)
Definition: goclkernel.hpp:108
void v_store_low(_Tp *ptr, const v_reg< _Tp, n > &a)
Store data to memory (lower half)
Definition: intrin_cpp.hpp:1631
@ NCVMemoryTypeHostPinned
Definition: NCV.hpp:431
Definition: gproto.hpp:55
Mat backProject(InputArray vec) const
Reconstructs vectors from their PC projections.
@ SOLVEPNP_EPNP
EPnP: Efficient Perspective-n-Point Camera Pose Estimation .
Definition: calib3d.hpp:236
This algorithm converts images to median threshold bitmaps (1 for pixels brighter than median luminan...
Definition: photo.hpp:475
int getDepth()
Definition: utility.hpp:1113
TemplateMatchModes
type of the template matching operation
Definition: imgproc.hpp:3649
void compute(InputArrayOfArrays src, InputArray labels)
TrackerFeature based on HAAR features, used by TrackerMIL and many others algorithms.
Definition: tracker.hpp:978
static Ptr< NormalBayesClassifier > create()
Definition: descriptor.hpp:721
@ MODE_SGBM
Definition: stereo.hpp:206
uint64_t timestamp
Timestamp in milliseconds.
Definition: tracking_by_matching.hpp:32
@ COVAR_USE_AVG
Definition: core.hpp:190
@ COLOR_HLS2BGR
Definition: imgproc.hpp:603
void convertTo(OutputArray m, int rtype, double alpha=1, double beta=0) const
Converts an array to another data type with optional scaling.
int ClearStat
NVVE_CLEAR_STAT,.
Definition: cudacodec.hpp:100
bool throwOnFail
Definition: videoio.hpp:823
@ AUTO_STEP
Definition: mat.hpp:2073
virtual int getNumDisparities() const =0
virtual int getOuterIterations() const =0
Number of warping iterations (number of pyramid levels)
void extraction(const std::vector< Mat > &images)
Extract features from the images collection.
__device__ __forceinline__ T & operator()(int y, int x)
Definition: glob.hpp:75
static const std::vector< U > & get(GOCLContext &ctx, int idx)
Definition: goclkernel.hpp:112
int size
Definition: features2d.hpp:1344
void normalizeIsotropicPoints(InputArray points, OutputArray normalized_points, OutputArray T)
This function normalizes points. (isotropic).
__host__ __device__ static __forceinline__ char3 make(const schar *v)
Definition: vec_traits.hpp:172
virtual void updateImpl(std::vector< ConfidenceMap > &confidenceMaps)=0
virtual void setWindowSize(int val)=0
float photoreceptorsTemporalConstant
Definition: retina.hpp:162
float16_t()
Definition: cvdef.h:816
float minArea
Discard foreground blobs whose bounding box is smaller than this threshold.
Definition: cudalegacy.hpp:176
double winSigma
Gaussian smoothing window parameter.
Definition: objdetect.hpp:605
String name
Name of the layer instance (optional, can be used internal purposes).
Definition: dnn.hpp:113
Definition: all_layers.hpp:375
@ FM_7POINT
7-point algorithm
Definition: calib3d.hpp:297
void apply(int, Point, InputOutputArray, InputArray) CV_OVERRIDE
Compensate exposure in the specified image.
Definition: exposure_compensate.hpp:103
bool validGeometry
Definition: imgproc.hpp:1239
@ COLOR_BayerGB2BGR_VNG
Definition: imgproc.hpp:756
@ IMWRITE_JPEG_OPTIMIZE
Enable JPEG features, 0 or 1, default is False.
Definition: imgcodecs.hpp:84
Impl * p
Definition: ocl.hpp:458
virtual ~Mapper(void)
Definition: mapper.hpp:57
int lt
The Type of the circle boundary. See LineTypes.
Definition: render.hpp:236
Definition: all_layers.hpp:359
RLOFOpticalFlowParameter()
Definition: rlofflow.hpp:66
void setMaxDepthDiff(double val)
Definition: depth.hpp:810
Ptr< TemplateMatching > createTemplateMatching(int srcType, int method, Size user_block_size=Size())
Creates implementation for cuda::TemplateMatching .
float wrapperEMD(InputArray signature1, InputArray signature2, int distType, InputArray cost=noArray(), Ptr< float > lowerBound=Ptr< float >(), OutputArray flow=noArray())
@ QT_RADIOBOX
Radiobox button.
Definition: highgui.hpp:250
virtual size_t getNumberOfPatternImages() const =0
Get the number of pattern images needed for the graycode pattern.
The model of AAM Algorithm.
Definition: facemarkAAM.hpp:107
Mat_(std::initializer_list< _Tp > values)
void threshold(InputArray src, OutputArray rlDest, double thresh, int type)
Applies a fixed-level threshold to each array element.
Flags
Definition: core.hpp:2632
virtual ~TextDetector()
Definition: textDetector.hpp:31
Size2i Size
Definition: types.hpp:347
@ CALIB_TILTED_MODEL
Definition: calib3d.hpp:283
void createOpticalFlowNeedleMap(const GpuMat &u, const GpuMat &v, GpuMat &vertex, GpuMat &colors)
@ CAP_PROP_XI_TIMEOUT
Image capture timeout in milliseconds.
Definition: videoio.hpp:354
cv::Ptr< Map > inverseMap() const CV_OVERRIDE
int hal_ni_and8u(const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:151
An optional simple scoped lock (RAII-style locking for exclusive/write access).
Definition: lock.private.hpp:76
int findChild(Node< OBJECT > *pNode) const
Definition: utility.hpp:1083
@ CAP_PROP_SHARPNESS
Definition: videoio.hpp:153
MouseEventTypes
Mouse Events see cv::MouseCallback.
Definition: highgui.hpp:205
void cvtMultipliedRGBAtoRGBA(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height)
uchar3 type
Definition: vec_traits.hpp:83
virtual void setNrPlane(int nr_plane)=0
void pushFrameSize(size_t elem)
Definition: container_avi.private.hpp:172
size_t remaining() const
returns the number of remaining (not read yet) elements
virtual double getGamma() const =0
coefficient for additional illumination variation term
size_t blockSize
Definition: persistence.hpp:677
Detector(StrongClassifierDirectSelection *classifier)
OCRHMMDecoder class provides an interface for OCR using Hidden Markov Models.
Definition: ocr.hpp:192
std::vector< Ptr< Object > > & getValidation(int splitNum=0)
virtual void setP(double val)=0
int thick
The thickness of line.
Definition: render.hpp:360
float32x2_t cv_vrsqrt_f32(float32x2_t val)
Definition: neon_utils.hpp:106
cv::Ptr< Map > inverseMap() const CV_OVERRIDE
void addWeighted8s(const schar *src1, size_t step1, const schar *src2, size_t step2, schar *dst, size_t step, int width, int height, void *scalars)
Mat distanceMap() const
Definition: fast_marching.hpp:81
virtual int getNumIters() const =0
unsigned int m_stream_id
Definition: container_avi.private.hpp:125
virtual void setMotionModel(MotionModel val)
Definition: global_motion.hpp:180
static GCompoundKernel kernel()
Definition: gcompoundkernel.hpp:100
VectorRef(const std::vector< T > &vec)
Definition: garray.hpp:232
virtual double getWinSigma() const =0
typename ProtoToParam< T >::type ProtoToParamT
Definition: gtyped.hpp:29
void fastAtan32f(const float *y, const float *x, float *dst, int n, bool angleInDegrees)
RAII-class to call finalShow() in it's dtor.
Definition: final_show.hpp:37
static Ptr< CvFeatureParams > create(CvFeatureParams::FeatureType featureType)
static KernelArg ReadOnlyNoSize(const UMat &m, int wscale=1, int iwscale=1)
Definition: ocl.hpp:371
__host__ __device__ __forceinline__ ZipPtr()
Definition: zip.hpp:99
int cols
Definition: warping.hpp:127
int getNrFeeds()
Definition: exposure_compensate.hpp:167
plaidml::edsl::Tensor & outTensor(int output)
Definition: gplaidmlkernel.hpp:47
@ MM_TRANSLATION_AND_SCALE
Definition: motion_core.hpp:62
GArgs m_results
Definition: gcompoundkernel.hpp:37
int getDescriptorType() const
Definition: sparse_matching_gpc.hpp:188
std::vector< float > classify(const Mat &x, bool logR=true)
Ptr< Filter > createLinearFilter(int srcType, int dstType, InputArray kernel, Point anchor=Point(-1, -1), int borderMode=BORDER_DEFAULT, Scalar borderVal=Scalar::all(0))
Creates a non-separable linear 2D filter.
static gapi::fluid::BorderOpt help(const cv::GMetaArgs &, const cv::GArgs &)
Definition: gfluidkernel.hpp:285
bool planar
Definition: gmat.hpp:85
Dictionary(const Ptr< Dictionary > &_dictionary)
virtual void clearGraphSegmentations()=0
Clear the list of graph segmentations to process;.
int distortion_model
Definition: simple_pipeline.hpp:107
__device__ static __forceinline__ int idx_low(int i, int len)
Definition: extrapolation.hpp:122
v_reg< _Tp, n > v_broadcast_element(const v_reg< _Tp, n > &a)
Broadcast i-th element of vector.
Definition: intrin_cpp.hpp:1822
std::vector< VideoCaptureAPIs > getWriterBackends()
Returns list of available backends which works via cv::VideoWriter()
@ COLOR_BayerRG2BGR
Definition: imgproc.hpp:741
float interp_factor
linear interpolation factor for adaptation
Definition: tracker.hpp:1247
Ptr< Filter > createBoxMaxFilter(int srcType, Size ksize, Point anchor=Point(-1, -1), int borderMode=BORDER_DEFAULT, Scalar borderVal=Scalar::all(0))
Creates the maximum filter.
static Ptr< FacemarkLBF > create(const FacemarkLBF::Params ¶meters=FacemarkLBF::Params())
NCVStatus nppiStVectorWarp_PSF2x2_32f_C1(const Ncv32f *pSrc, NcvSize32u srcSize, Ncv32u nSrcStep, const Ncv32f *pU, const Ncv32f *pV, Ncv32u nVFStep, Ncv32f *pBuffer, Ncv32f timeScale, Ncv32f *pDst)
v_reg< typename V_TypeTraits< _Tp >::q_type, V_TypeTraits< _Tp >::nlanes128/4 > v_load_expand_q(const _Tp *ptr)
Load register contents from memory with quad expand.
Definition: intrin_cpp.hpp:1469
void essentialFromRt(InputArray R1, InputArray t1, InputArray R2, InputArray t2, OutputArray E)
Get Essential matrix from Motion (R's and t's ).
virtual int getNSamples() const =0
Returns the number of data samples in the background model.
Mat row(int y) const
Creates a matrix header for the specified matrix row.
double dot(InputArray m) const
Computes a dot-product of two vectors.
virtual void createEntity(const String &name, const String &meshname, InputArray tvec=noArray(), InputArray rot=noArray())=0
Definition: reduction.hpp:131
__device__ __forceinline__ float1 atan2(const uchar1 &a, const uchar1 &b)
Definition: vec_math.hpp:812
WeakClassifierHaarFeature()
Ptr< FastBilateralSolverFilter > createFastBilateralSolverFilter(InputArray guide, double sigma_spatial, double sigma_luma, double sigma_chroma, double lambda=128.0, int num_iter=25, double max_tol=1e-5)
Factory method, create instance of FastBilateralSolverFilter and execute the initialization routines.
A kernel in which a pixel is compared with the center of the window.
Definition: descriptor.hpp:172
double Mahalanobis(InputArray v1, InputArray v2, InputArray icovar)
Calculates the Mahalanobis distance between two vectors.
Ptr< ImagePyramid > createImagePyramid(InputArray img, int nLayers=-1, Stream &stream=Stream::Null())
static void convert(const std::vector< Point2f > &points2f, std::vector< KeyPoint > &keypoints, float size=1, float response=1, int octave=0, int class_id=-1)
bool isNVidia() const
Definition: ocl.hpp:191
void setUseInstrumentation(bool flag)
Ptr< FastGlobalSmootherFilter > createFastGlobalSmootherFilter(InputArray guide, double lambda, double sigma_color, double lambda_attenuation=0.25, int num_iter=3)
Factory method, create instance of FastGlobalSmootherFilter and execute the initialization routines.
bool isTargetFg() const
Get the label. Return true for target foreground, false for background.
virtual void setNumIters(int iters)=0
@ COLOR_RGBA2mRGBA
alpha premultiplication
Definition: imgproc.hpp:720
@ FEATURE_SET_COMPUTE_32
Definition: cuda.hpp:776
Ptr< CornersDetector > createGoodFeaturesToTrackDetector(int srcType, int maxCorners=1000, double qualityLevel=0.01, double minDistance=0.0, int blockSize=3, bool useHarrisDetector=false, double harrisK=0.04)
Creates implementation for cuda::CornersDetector .
virtual void setCovarianceMatrixType(int val)=0
void sqrt64f(const double *src, double *dst, int len)
virtual int getUniquenessRatio() const =0
float getMinEigenValue() const
@ CPU_AVX_512VBMI2
Definition: cvdef.h:296
Definition: frame_source.hpp:73
Linear Discriminant Analysis.
Definition: core.hpp:2549
~ERStat()
Destructor.
Definition: erfilter.hpp:72
@ CAP_INTELPERC
RealSense (former Intel Perceptual Computing SDK)
Definition: videoio.hpp:111
Definition: gcpukernel.hpp:177
@ COLOR_BayerGR2BGR_EA
Definition: imgproc.hpp:769
@ COLOR_YUV2BGRA_YUNV
Definition: imgproc.hpp:708
PaniniWarper(float A=1, float B=1)
Definition: warpers.hpp:203
_OutputArray(Matx< _Tp, m, n > &matx)
@ COLOR_BayerGR2RGB_MHT
Definition: cudaimgproc.hpp:103
void cvtBGRtoXYZ(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue)
@ COLOR_BayerBG2RGB_MHT
Definition: cudaimgproc.hpp:100
vector< vector< Ptr< TRACK_alovObj > > > data
Definition: track_alov.hpp:97
String tempfile(const char *suffix=0)
void solvePnPRefineLM(InputArray objectPoints, InputArray imagePoints, InputArray cameraMatrix, InputArray distCoeffs, InputOutputArray rvec, InputOutputArray tvec, TermCriteria criteria=TermCriteria(TermCriteria::EPS+TermCriteria::COUNT, 20, FLT_EPSILON))
Refine a pose (the translation and the rotation that transform a 3D point expressed in the object coo...
int initialFrame
Definition: gr_chalearn.hpp:62
virtual int getMinRadius() const =0
Matx< double, 4, 4 > Matx44d
Definition: matx.hpp:246
Mat rowRange(const Range &r) const
std::vector< int > icpIterations
Definition: kinfu.hpp:103
virtual ~ExposureCompensator()
Definition: exposure_compensate.hpp:64
@ NU
Definition: ml.hpp:673
std::vector< Point2f > s0
the basic shape obtained from training dataset
Definition: facemarkAAM.hpp:141
float32x4_t cv_vsqrtq_f32(float32x4_t val)
Definition: neon_utils.hpp:114
VideoCapture(int index, int apiPreference=CAP_ANY)
Opens a camera for video capturing.
float coeffObjectSizeToTrack
Definition: detection_based_tracker.hpp:173
LSDParam()
Definition: descriptor.hpp:710
LocalBinarizationMethods
Specifies the binarization method to use in cv::ximgproc::niBlackThreshold.
Definition: ximgproc.hpp:118
@ COLOR_HSV2RGB_FULL
Definition: imgproc.hpp:612
Class used for calculation sparse optical flow and feature tracking with robust local optical flow (R...
Definition: rlofflow.hpp:405
LogTag(const char *_name, LogLevel _level)
Definition: logtag.hpp:20
virtual void detect(InputArray _image, OutputArray _lines)=0
Finds lines in the input image. This is the output of the default parameters of the algorithm on the ...
void jputStreamShort(int val)
Point_< _Tp > tl() const
the top-left corner
float samplerOverlap
search region parameters to use in a OnlineBoosting algorithm
Definition: tracker.hpp:1107
@ NCV_NOIMPL_HAAR_TILTED_FEATURES
Definition: NCV.hpp:349
Ptr< detail::RotationWarper > create(float scale) const CV_OVERRIDE
Definition: warpers.hpp:174
Image warper factories base class.
Definition: warpers.hpp:124
int getTrackbarPos(const String &trackbarname, const String &winname)
Returns the trackbar position.
GBackend(std::shared_ptr< Priv > &&p)
void fastFree(void *ptr)
Deallocates a memory buffer.
Ptr< Convolution > createConvolution(Size user_block_size=Size())
Creates implementation for cuda::Convolution .
R Result
Definition: infer.hpp:69
int hal_ni_magnitude32f(const float *x, const float *y, float *dst, int len)
Definition: hal_replacement.hpp:405
Ptr< WobbleSuppressorBase > wobbleSuppressor() const
Definition: stabilizer.hpp:172
NCVStatus nppsStCompactGetSize_32s(Ncv32u srcLen, Ncv32u *pBufsize, cudaDeviceProp &devProp)
void setBlockSize(int width, int height)
Definition: exposure_compensate.hpp:168
virtual void save(const String &filename) const
Rect buildMaps(Size src_size, InputArray K, InputArray H, OutputArray xmap, OutputArray ymap) CV_OVERRIDE
Builds the projection maps according to the given camera data.
_OutputArray(const Mat &m)
@ COLOR_BGR5652RGB
Definition: imgproc.hpp:554
int64 int_type
Definition: intrin.hpp:142
ObjectStatus status
Definition: detection_based_tracker.hpp:149
void assignTo(GpuMat &m, int type=-1) const
Mat(const Mat &m, const Range *ranges)
void merge8u(const uchar **src, uchar *dst, int len, int cn)
float icpAngleThresh
Definition: kinfu.hpp:101
@ CAP_PROP_GUID
Definition: videoio.hpp:162
void fitLine(InputArray points, OutputArray line, int distType, double param, double reps, double aeps)
Fits a line to a 2D or 3D point set.
_Tp v_reduce_min(const v_reg< _Tp, n > &a)
Find one min value.
Definition: intrin_cpp.hpp:597
MapProjec(InputArray projTr)
void max16u(const ushort *src1, size_t step1, const ushort *src2, size_t step2, ushort *dst, size_t step, int width, int height, void *)
@ COLOR_YUV420p2RGB
Definition: imgproc.hpp:652
void setDetector(Ptr< FeatureDetector > val)
Definition: global_motion.hpp:237
PtrTraits< SrcPtr >::index_type index_type
Definition: resize.hpp:63
Min< U > other
Definition: reduce_to_vec.hpp:111
Mat polygons
CV_32SC1 with only 1 row.
Definition: types.hpp:135
@ SOLVEPNP_IPPE_SQUARE
Definition: calib3d.hpp:243
static bool hasPtx(int major, int minor)
ImageMotionEstimatorBase(MotionModel model)
Definition: global_motion.hpp:192
@ IMWRITE_TIFF_RESUNIT
For TIFF, use to specify which DPI resolution unit to set; see libtiff documentation for valid values...
Definition: imgcodecs.hpp:95
Definition: sr_div2k.hpp:24
float2 value_type
Definition: warping.hpp:109
int getType() const
Definition: agast.txt:7530
__host__ Expr< DerivYPtrSz< typename PtrTraits< SrcPtr >::ptr_type > > derivY_(const SrcPtr &src)
Definition: deriv.hpp:72
T * _ptr
Definition: NCV.hpp:619
int line_type
PointSize.
Definition: highgui.hpp:700
Definition: msm_middlebury.hpp:61
virtual int getVotesThreshold() const =0
Size blockSize
Block size in pixels. Align to cell size. Default value is Size(16,16).
Definition: objdetect.hpp:590
static AsyncArray testAsyncArray(InputArray argument)
Definition: bindings_utils.hpp:62
void setLog(Ptr< ILog > ilog)
Definition: stabilizer.hpp:71
std::string original_image
Definition: fr_adience.hpp:70
int preferredVectorWidthHalf() const
virtual double getTheta() const =0
Exposure compensator which tries to remove exposure related artifacts by adjusting image block on eac...
Definition: exposure_compensate.hpp:217
VectorRef(std::vector< T > &vec)
Definition: garray.hpp:233
bool samplingImpl(const Mat &image, Rect boundingBox, std::vector< Mat > &sample) CV_OVERRIDE
@ StsParseError
invalid syntax/structure of the parsed file
Definition: base.hpp:112
virtual void process(InputArrayOfArrays src, OutputArray dst, InputArray times, InputArray response) CV_OVERRIDE=0
Merges images.
virtual float getOutputMax() const =0
Output image range maximum value.
virtual void setBackgroundRatio(double ratio)=0
Sets the "background ratio" parameter of the algorithm.
virtual void setTemplate(InputArray templ, Point templCenter=Point(-1, -1))=0
set template to search
GScalar normL1(const GMat &src)
Calculates the absolute L1 norm of a matrix.
Definition: core.hpp:3062
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.
virtual void setScaleStep(double scaleStep)=0
FileNode operator[](const char *nodename) const
void drawFacemarks(InputOutputArray image, InputArray points, Scalar color=Scalar(255, 0, 0))
Utility to draw the detected facial landmark points.
Color(double gray)
The three channels will have the same value equal to gray.
@ COLOR_YUV2BGR_YUY2
Definition: imgproc.hpp:693
@ CAP_PROP_XI_DECIMATION_PATTERN
Decimation pattern type.
Definition: videoio.hpp:367
Feature2D DescriptorExtractor
Definition: features2d.hpp:242
@ MAGIC_MASK
Definition: mat.hpp:2074
Definition: stabilizer.hpp:67
Point2f getStartPoint() const
Definition: descriptor.hpp:144
SrcPtr src
Definition: reduction.hpp:88
NCVMemPtr begin
Definition: NCV.hpp:452
ProgramSource(const String &module, const String &name, const String &codeStr, const String &codeHash)
VariableTypes
Variable types.
Definition: ml.hpp:82
cv::Scalar m_s
Definition: goclkernel.hpp:147
virtual std::unordered_map< size_t, std::vector< cv::Point > > getActiveTracks() const =0
Get active tracks to draw.
std::string m_dump_path
Definition: gcommon.hpp:141
int hal_ni_cvtYUVtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isCbCr)
hal_cvtYUVtoBGR
Definition: hal_replacement.hpp:406
void create(Size size, int type)
@ WMF_OFF
unweighted
Definition: weighted_median_filter.hpp:71
int largeWinSize
Definition: rlofflow.hpp:107
virtual void knnMatch(InputArray queryDescriptors, InputArray trainDescriptors, std::vector< std::vector< DMatch > > &matches, int k, InputArray mask=noArray(), bool compactResult=false)=0
Finds the k best matches for each descriptor from a query set (blocking version).
virtual void setVarThresholdGen(double varThresholdGen)=0
Sets the variance threshold for the pixel-model match used for new mixture component generation.
T thresh
Definition: functional.hpp:773
virtual void getBackgroundImage(OutputArray backgroundImage, Stream &stream) const =0
void modelEstimation(const std::vector< Mat > &responses)
Estimate the most likely target location.
bool findRt(InputArray objectPoints, InputArray imagePoints, InputArray cameraMatrix, InputArray distCoeffs, InputOutputArray rvec, InputOutputArray tvec, bool useExtrinsicGuess=false, int flags=SOLVEPNP_ITERATIVE)
int background_ratio
Definition: tracker.hpp:1521
float aprilTagCriticalRad
Definition: aruco.hpp:184
virtual void setThreshold(double threshold)=0
Context & initializeContextFromVA(VADisplay display, bool tryInterop=true)
Creates OpenCL context from VA.
Ptr< FrameSource > createFrameSource_Empty()
MatStep step
Definition: mat.hpp:2578
GpuMat getBuffer(Size size, int type)
Allocates a new GpuMat of given size and type.
Definition: cuda.hpp:492
std::vector< float > getobjectnessValues()
Return the list of the rectangles' objectness value,.
virtual void load(const std::string &path) CV_OVERRIDE=0
float getConfidenceOfDetection(int detectionIdx)
Wrapping class for feature detection using the FAST method. :
Definition: features2d.hpp:450
Abstract base class for TrackerTargetState that represents a possible state of the target.
Definition: tracker.hpp:332
@ CAP_PROP_DC1394_MAX
Definition: videoio.hpp:210
static void help_reset(gapi::fluid::Buffer &)
Definition: gfluidkernel.hpp:250
This class represents a mouse event.
Definition: types.hpp:306
Definition: wobble_suppression.hpp:61
__device__ PtrTraits< SrcPtr >::value_type operator()(float y, float x) const
Definition: interpolation.hpp:179
GMat cmpEQ(const GMat &src1, const GMat &src2)
Performs the per-element comparison of two matrices checking if elements from first matrix are equal ...
char person
Definition: gr_skig.hpp:98
@ CAP_PROP_XI_KNEEPOINT1
Value of first kneepoint (% of sensor saturation).
Definition: videoio.hpp:471
@ BadModelOrChSeq
Definition: base.hpp:83
Definition: tracker.hpp:577
virtual void computeImpl(const Mat &imageSrc, std::vector< KeyLine > &keylines, Mat &descriptors, bool returnFloatDescr, bool useDetectionData) const
const TrackedObject & operator[](size_t i) const
operator [] return const reference to detected object with specified index.
Definition: tracking_by_matching.hpp:352
virtual void setHistory(int history)=0
Sets the number of last frames that affect the background model.
virtual int getNumLevels() const =0
void destroyWindow(const String &winname)
Destroys the specified window.
MatCommaInitializer_(Mat_< _Tp > *_m)
the constructor, created by "matrix << firstValue" operator, where matrix is cv::Mat
static Ptr< ScaleLayer > create(const LayerParams ¶ms)
Definition: gcompoundkernel.hpp:69
virtual void setExtended(bool extended)=0
void FT12D_inverseFT(InputArray components, InputArray kernel, OutputArray output, int width, int height)
Computes inverse -transfrom.
__host__ GpuMat_(int arows, int acols, T *adata, size_t astep=Mat::AUTO_STEP)
constructs a matrix on top of user-allocated data. step is in bytes(!!!), regardless of the type
virtual void apply(InputArray image, OutputArray fgmask, double learningRate, Stream &stream)=0
int cvTrunc(const cv::softfloat &a)
Truncates number to integer with minimum magnitude.
@ CAP_OPENNI_DEPTH_GENERATOR
Definition: videoio.hpp:220
MultiTracker_Alt()
Constructor for Multitracker.
Definition: tracker.hpp:1404
__host__ Expr< PyrUpBody< SrcPtr > > pyrUp_(const SrcPtr &src)
Definition: warping.hpp:143
virtual int getNumLevels() const =0
number of levels
@ COLOR_YUV2RGBA_UYVY
Definition: imgproc.hpp:683
__device__ __host__ Ncv32f getWeight(void)
Definition: NCVHaarObjectDetection.hpp:110
Definition: gcompoundkernel.hpp:54
float getConfidence(int patchIdx)
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: remap.hpp:97
virtual void setDescriptorType(AKAZE::DescriptorType dtype)=0
The resulting HDR image is calculated as weighted average of the exposures considering exposure value...
Definition: photo.hpp:619
virtual double getWeightTrimRate() const =0
Simple TLS data class.
Definition: tls.hpp:62
Definition: vec_traits.hpp:58
@ CAP_PROP_XI_SENSOR_OUTPUT_CHANNEL_COUNT
Number of output channels from sensor used for data transfer.
Definition: videoio.hpp:443
void setMotionEstimator(Ptr< ImageMotionEstimatorBase > val)
Definition: stabilizer.hpp:83
virtual void modelEstimationImpl(const std::vector< Mat > &responses)=0
v_reg< typename V_TypeTraits< _Tp >::w_type, n/2 > v_dotprod(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Dot product of elements.
Definition: intrin_cpp.hpp:888
#define HaarFeatureDescriptor32_CreateCheck_MaxNumFeatures
Definition: NCVHaarObjectDetection.hpp:124
virtual void setNOctaveLayers(int octaveLayers)=0
Definition: warpers.hpp:302
virtual void setFixedPointIterations(int val)=0
Number of outer (fixed-point) iterations in the minimization procedure.
Point2f warpPoint(const Point2f &pt, InputArray K, InputArray R) CV_OVERRIDE
Projects the image point.
virtual void augAssignMultiply(const MatExpr &expr, Mat &m) const
Definition: optical_flow.hpp:62
static double _mse_to_psnr(double mse, double max_pixel_value)
Definition: qualitypsnr.hpp:101
Ncv32u width() const
Definition: NCV.hpp:824
HistogramNormType
Definition: objdetect.hpp:375
void setNumThreads(int nthreads)
OpenCV will try to set the number of threads for the next parallel region.
@ THRESHOLD
Definition: features2d.hpp:519
std::string name
Definition: slam_kitti.hpp:67
void normalizeUsingWeightMap(InputArray weight, InputOutputArray src)
virtual int getEmax() const =0
virtual const std::unordered_map< size_t, Track > & tracks() const =0
tracks Returns all tracks including forgotten (lost too many frames ago).
Definition: type_traits.hpp:65
void solvePnPRefineVVS(InputArray objectPoints, InputArray imagePoints, InputArray cameraMatrix, InputArray distCoeffs, InputOutputArray rvec, InputOutputArray tvec, TermCriteria criteria=TermCriteria(TermCriteria::EPS+TermCriteria::COUNT, 20, FLT_EPSILON), double VVSlambda=1)
Refine a pose (the translation and the rotation that transform a 3D point expressed in the object coo...
virtual void save(const String &filename, const String &objname=String()) const
saves HOGDescriptor parameters and coefficients for the linear SVM classifier to a file
virtual String releaseAndGetString()
Closes the file and releases all the memory buffers.
MapShift(InputArray shift)
const int * ascii
font data and metrics
Definition: highgui.hpp:693
bool verbose
show the training print-out
Definition: facemarkLBF.hpp:62
retina model parameters structure
Definition: retina.hpp:149
Definition: all_layers.hpp:234
Vec< uchar, 4 > Vec4b
Definition: matx.hpp:402
#define OPENCV_HAL_IMPL_ROTATE_SHIFT_OP(suffix, opA, opB)
Element shift left among vector.
Definition: intrin_cpp.hpp:1089
void line(InputOutputArray img, Point pt1, Point pt2, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0)
Draws a line segment connecting two points.
const ProgramSource & source() const
static size_t alignSize(size_t sz, int n)
Aligns a buffer size to the specified number of bytes.
Definition: utility.hpp:479
@ CALIB_FIX_P1
Definition: omnidir.hpp:60
int borderX
Definition: quasi_dense_stereo.hpp:43
@ MAX_ITER
ditto
Definition: types.hpp:861
Definition: instrumentation.hpp:61
int stages_n
number of refinement stages
Definition: facemarkLBF.hpp:70
double getMeanMs() const
Definition: instrumentation.hpp:93
Definition: functional.hpp:623
@ COLOR_BGRA2YUV_IYUV
Definition: imgproc.hpp:732
__device__ __forceinline__ Op::result_type operator()(const Tuple &t) const
Definition: tuple_adapter.hpp:64
@ TRAIN_ERROR
Definition: ml.hpp:92
int LU(float *A, size_t astep, int m, float *b, size_t bstep, int n)
virtual void setNumDisparities(int numDisparities)=0
const uchar * ptr(int y=0) const
@ COLOR_mRGBA2RGBA
Definition: imgproc.hpp:721
@ CAP_PROP_XI_ACQ_TIMING_MODE
Type of sensor frames timing.
Definition: videoio.hpp:447
static const plaidml::edsl::Tensor & get(GPlaidMLContext &ctx, int idx)
Definition: gplaidmlkernel.hpp:81
double m_fps
Definition: container_avi.private.hpp:131
const cv::UMat & matchingMask() const
Definition: stitching.hpp:217
int uniform(int a, int b)
returns uniformly distributed integer random number from [a,b) range
Feature f
Definition: linemod.hpp:95
static Ptr< QualitySSIM > create(InputArray ref)
Create an object which calculates quality.
void reprojectImageTo3D(InputArray disparity, OutputArray _3dImage, InputArray Q, bool handleMissingValues=false, int ddepth=-1)
Reprojects a disparity image to 3D space.
Mat estimateGlobalMotionRansac(InputArray points0, InputArray points1, int model=MM_AFFINE, const RansacParams ¶ms=RansacParams::default2dMotion(MM_AFFINE), float *rmse=0, int *ninliers=0)
Estimates best global motion between two 2D point clouds robustly (using RANSAC method).
const uchar * dataend
Definition: cuda.hpp:594
size_t step
a distance between successive rows in bytes; includes the gap if any
Definition: cuda.hpp:323
virtual Mat getConfidenceMap()=0
Get the confidence map that was used in the last filter call. It is a CV_32F one-channel image with v...
int psRoiOutChannels
Definition: all_layers.hpp:265
Size_< int64 > Size2l
Definition: types.hpp:344
ParamGrid()
Default constructor.
void apply(cv::Mat in1, cv::Mat in2, cv::Scalar &out, GCompileArgs &&args={})
Execute an binary computation (with compilation on the fly)
int flags
Definition: cuda.hpp:317
void rectangle(InputOutputArray img, Point pt1, Point pt2, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0)
Draws a simple, thick, or filled up-right rectangle.
__host__ void upload(InputArray arr, Stream &stream)
pefroms upload data to GpuMat (Non-Blocking call)
Mat_(Size _size, const _Tp &value)
constructor that sets each matrix element to specified value
MarkerTypes
Definition: imgproc.hpp:829
LogLevel setLogLevel(LogLevel logLevel)
Mat mapHost(Access access)
Maps OpenGL buffer to host memory.
float getScale() const
Definition: warpers.hpp:113
std::vector< int > startIdxs
Definition: features2d.hpp:1081
static const unsigned char popCountTable[]
Definition: intrin_cpp.hpp:608
virtual ~Callback()
Definition: erfilter.hpp:130
@ IMWRITE_PNG_STRATEGY_RLE
Use this value to limit match distances to one (run-length encoding).
Definition: imgcodecs.hpp:120
Rect rect
Definition: feature.hpp:389
@ ARO_315_0
Definition: fast_hough_transform.hpp:69
Buffer(const cv::GMatDesc &desc)
bool estimatePoseCharucoBoard(InputArray charucoCorners, InputArray charucoIds, const Ptr< CharucoBoard > &board, InputArray cameraMatrix, InputArray distCoeffs, InputOutputArray rvec, InputOutputArray tvec, bool useExtrinsicGuess=false)
Pose estimation for a ChArUco board given some of their corners.
__device__ __forceinline__ MakeVec< uchar, VecTraits< T >::cn >::type operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:207
virtual void setMotions(const std::vector< Mat > &val)
Definition: deblurring.hpp:77
virtual Mat getCatMap() const =0
size_t memPitch() const
maximum pitch in bytes allowed by memory copies
@ FAPS
Definition: sinusoidalpattern.hpp:60
int hal_ni_absdiff32s(const int *src1_data, size_t src1_step, const int *src2_data, size_t src2_step, int *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:134
std::vector< pose > posesArray
Definition: slam_kitti.hpp:71
T * data
Definition: glob.hpp:67
virtual void inpaint(int idx, Mat &frame, Mat &mask)=0
virtual Size size(const MatExpr &expr) const
virtual void setK(int _k)=0
Parameter to tune the approximate size of the superpixel used for oversegmentation.
Kalman filter class.
Definition: tracking.hpp:361
#define CV_32F
Definition: interface.h:78
__host__ __device__ Binder1st< Op > bind1st(const Op &op, const typename Op::first_argument_type &arg1)
Definition: functional.hpp:843
const Vec2d & getFov() const
Definition: types.hpp:216
void v_rshr_pack_store(uchar *ptr, const v_uint16x8 &a)
Definition: intrin_cpp.hpp:2370
static void dropOutliers(std::vector< std::pair< Point2i, Point2i > > &corr)
Definition: ir_affine.hpp:68
Rect dst_roi_
Definition: blenders.hpp:95
virtual void setUseInitialFlow(bool useInitialFlow)=0
virtual bool getPass2Only() const =0
int frame_idx
Frame index where object was detected (-1 if N/A).
Definition: tracking_by_matching.hpp:30
__device__ __forceinline__ uint vcmpne4(uint a, uint b)
Definition: simd_functions.hpp:823
void feed(const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< std::pair< UMat, uchar > > &masks) CV_OVERRIDE
MatchTemplateDistance(int type=cv::TemplateMatchModes::TM_CCORR_NORMED, float scale=-1, float offset=1)
Constructs the distance object.
Definition: tracking_by_matching.hpp:229
virtual void setRICSLICType(int val)=0
Parameter to choose superpixel algorithm variant to use:
KeyLine()
Definition: descriptor.hpp:168
void split16u(const ushort *src, ushort **dst, int len, int cn)
Template "trait" class for OpenCV primitive data types.
Definition: traits.hpp:113
void writeCloud(const String &file, InputArray cloud, InputArray colors=noArray(), InputArray normals=noArray(), bool binary=false)
Read/write clouds. Supported formats: ply, xyz, obj and stl (readonly)
void meanShiftSegmentation(InputArray src, OutputArray dst, int sp, int sr, int minsize, TermCriteria criteria=TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 5, 1), Stream &stream=Stream::Null())
Performs a mean-shift segmentation of the source image and eliminates small segments.
HomographyBasedEstimator(bool is_focals_estimated=false)
Definition: motion_estimators.hpp:103
Ptr< cuda::StereoBeliefPropagation > createStereoBeliefPropagation(int ndisp=64, int iters=5, int levels=5, int msg_type=CV_32F)
Creates StereoBeliefPropagation object.
Parameters for the detectMarker process:
Definition: aruco.hpp:150
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.
Mat imread(const String &filename, int flags=IMREAD_COLOR)
Loads an image from a file.
void setNumComponents(int val)
Impl * p
Definition: async_promise.hpp:65
@ block_size_y
Definition: reduce_to_vec.hpp:215
void getMatGains(std::vector< Mat > &umv) CV_OVERRIDE
std::vector< Ptr< Object > > & getTest(int splitNum=0)
void computeOrientation(InputArrayOfArrays x1, InputArrayOfArrays x2, OutputArray R, OutputArray t, double s)
Computes Absolute or Exterior Orientation (Pose Estimation) between 2 sets of 3D point.
bool compileWorkGroupSize(size_t wsz[]) const
@ CALIB_FIX_TANGENT_DIST
Definition: calib3d.hpp:286
void compute(const cv::Mat &mat, cv::Mat &descr) override
Computes image descriptor.
Definition: tracking_by_matching.hpp:125
MatIterator_< _Tp > iterator
Definition: mat.hpp:2182
@ THRESH_TRIANGLE
flag, use Triangle algorithm to choose the optimal threshold value
Definition: imgproc.hpp:324
v_reg< _Tp, n > v_mul_wrap(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Multiply values without saturation.
Definition: intrin_cpp.hpp:745
int refine_intrinsics
Definition: simple_pipeline.hpp:153
static Ptr< MapShift > toShift(Ptr< Map > sourceMap)
Definition: mapperpyramid.hpp:88
const string sectionNames[]
Definition: track_alov.hpp:68
Base class for convolution (or cross-correlation) operator. :
Definition: cudaarithm.hpp:849
Op::first_argument_type arg1
Definition: functional.hpp:833
cv::GMetaArgs descrs_of(const std::vector< cv::Mat > &vec)
bool createDirectory(const cv::String &path)
void create(int arows, int acols, Format aformat, bool autoRelease=false)
Allocates memory for ogl::Texture2D object.
char label
Definition: or_mnist.hpp:62
NCVStatus nppiStTranspose_64f_C1R_host(Ncv64f *h_src, Ncv32u srcStride, Ncv64f *h_dst, Ncv32u dstStride, NcvSize32u srcRoi)
double calibrate(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints, const Size &image_size, InputOutputArray K, InputOutputArray D, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, int flags=0, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 100, DBL_EPSILON))
Performs camera calibaration.
String OpenCL_C_Version() const
This class represents high-level API for object detection networks.
Definition: dnn.hpp:1251
AllocatorStatisticsInterface()
Definition: allocator_stats.hpp:15
#define N_CELLS
Definition: feature.hpp:80
void log32f(const float *src, float *dst, int n)
int targetWidth
Definition: tracker.hpp:374
float EMDL1(InputArray signature1, InputArray signature2)
Computes the "minimal work" distance between two weighted point configurations base on the papers "EM...
Net readNetFromModelOptimizer(const String &xml, const String &bin)
Load a network from Intel's Model Optimizer intermediate representation.
const Size basisSize
Definition: pcaflow.hpp:98
void extractChannel(InputArray src, OutputArray dst, int coi)
Extracts a single channel from src (coi is 0-based index)
virtual MotionModel motionModel() const
Definition: inpainting.hpp:74
int aprilTagDeglitch
Definition: aruco.hpp:187
__device__ __forceinline__ MakeVec< uchar, VecTraits< T >::cn >::type operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:165
PCA(InputArray data, InputArray mean, int flags, int maxComponents=0)
virtual void knnMatchAsync(InputArray queryDescriptors, OutputArray matches, int k, const std::vector< GpuMat > &masks=std::vector< GpuMat >(), Stream &stream=Stream::Null())=0
ElseType type
Definition: type_traits.hpp:102
virtual void setTermCriteria(const cv::TermCriteria &val)=0
Termination criteria of the training algorithm. You can specify the maximum number of iterations (max...
@ COLOR_BayerBG2RGB_VNG
Definition: imgproc.hpp:760
int backendId
Backend identifier.
Definition: dnn.hpp:171
@ COLOR_YUV2BGR
Definition: imgproc.hpp:628
size_t ofs
Definition: persistence.hpp:611
virtual void salt(const cv::String &passphrase)=0
optionally encrypt images with random convolution
Definition: randpattern.hpp:161
virtual bool getExtended() const =0
int width
Definition: or_pascal.hpp:82
cv::Rect calcTrackedObjectPositionToShow(int i, ObjectStatus &status) const
void gatherData(std::vector< void * > &data) const
bool create(const Context &c=Context(), const Device &d=Device())
__host__ __device__ HaarClassifierNodeDescriptor32 getRightNodeDesc(void)
Definition: NCVHaarObjectDetection.hpp:261
static void write(FileStorage &fs, const String &name, const KeyPoint &kpt)
Definition: persistence.hpp:1044
Mat normSum
Definition: feature.hpp:329
@ DISP_SCALE
Definition: stereo.hpp:84
@ CAP_PROP_XI_EXPOSURE_BURST_COUNT
Sets the number of times of exposure in one frame.
Definition: videoio.hpp:356
virtual void finalize(InputArrayOfArrays inputs, OutputArrayOfArrays outputs)
Computes and sets internal parameters according to inputs, outputs and blobs.
virtual void dropForgottenTrack(size_t track_id)=0
dropForgottenTrack Check that the track was lost too many frames ago and removes it frm memory.
void registerMouseCallback(MouseCallback callback, void *cookie=0)
Sets mouse handler.
Vec(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5)
6-element vector constructor
virtual int getThreshold() const =0
DictValue(const String &s)
Constructs string scalar.
Definition: dict.hpp:68
bool computeSaliency(InputArray image, OutputArray saliencyMap)
Definition: saliencySpecializedClasses.hpp:180
virtual float getBias() const =0
ParamTypes
SVM params type
Definition: ml.hpp:669
Definition: mapprojec.hpp:54
NCVStatus ncvGrowDetectionsVector_device(NCVVector< Ncv32u > &pixelMask, Ncv32u numPixelMaskDetections, NCVVector< NcvRect32u > &hypotheses, Ncv32u &totalDetections, Ncv32u totalMaxDetections, Ncv32u rectWidth, Ncv32u rectHeight, Ncv32f curScale, cudaStream_t cuStream)
virtual void loadAnnotatedOnly(const std::string &path)=0
VideoWriterProperties
VideoWriter generic properties identifier.
Definition: videoio.hpp:187
Ptr< detail::RotationWarper > create(float scale) const CV_OVERRIDE
Definition: warpers.hpp:137
unsigned saturate_cast< unsigned >(schar v)
Definition: saturate.hpp:143
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type v) const
Definition: functional.hpp:254
Gaussian Mixture-based Background/Foreground Segmentation Algorithm.
Definition: background_segm.hpp:91
std::vector< int > MatShape
Definition: dnn.hpp:59
NCVMatrixAlloc(INCVMemAllocator &allocator_, Ncv32u width_, Ncv32u height_, Ncv32u pitch_=0)
Definition: NCV.hpp:851
void setOffScreenRendering()
Create a window in memory instead of on the screen.
Point pos() const
returns coordinates of the current pixel
int hal_ni_sub64f(const double *src1_data, size_t src1_step, const double *src2_data, size_t src2_step, double *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:90
GraphEdge(int from, int to, float weight)
Definition: util.hpp:82
static const int MAX_PIXEL_VALUE_DEFAULT
Default maximum pixel value.
Definition: qualitypsnr.hpp:30
int getNrFeeds()
Definition: exposure_compensate.hpp:127
virtual void getCovs(std::vector< Mat > &covs) const =0
Returns covariation matrices.
@ CAP_PROP_XI_SENSOR_TAPS
Number of taps.
Definition: videoio.hpp:372
int readPoseCluster(const std::string &FileName)
Definition: interpolation.hpp:135
Definition: warpers.hpp:358
@ CAP_PROP_XI_APPLY_CMS
Enable applying of CMS profiles to xiGetImage (see XI_PRM_INPUT_CMS_PROFILE, XI_PRM_OUTPUT_CMS_PROFIL...
Definition: videoio.hpp:399
@ CAP_OPENNI_IMAGE_GENERATOR_PRESENT
Definition: videoio.hpp:245
static Ptr< ResizeLayer > create(const LayerParams ¶ms)
virtual void setUseMeanNormalization(bool val)=0
Whether to use mean-normalization of patches when computing patch distance. It is turned on by defaul...
@ QT_FONT_LIGHT
Weight of 25.
Definition: highgui.hpp:232
Mat getPixPerLine(Mat const &input)
void finalize(const std::vector< Mat > &inputs, std::vector< Mat > &outputs)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void feed(const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< std::pair< UMat, uchar > > &masks) CV_OVERRIDE
virtual void setNu(double val)=0
bool same
Definition: fr_lfw.hpp:63
virtual Ptr< BackendNode > initHalide(const std::vector< Ptr< BackendWrapper > > &inputs)
Returns Halide backend node.
schar elem_type
Definition: vec_traits.hpp:176
Ptr< TonemapDurand > createTonemapDurand(float gamma=1.0f, float contrast=4.0f, float saturation=1.0f, float sigma_space=2.0f, float sigma_color=2.0f)
Creates TonemapDurand object.
#define CV_CUDEV_RGB2RGB_INST(name, scn, dcn, bidx)
Definition: color_cvt.hpp:59
Definition: frame_source.hpp:90
std::vector< T > host_type
Definition: gtype_traits.hpp:70
Point pos() const
returns the current iterator position
virtual void process(Size frameSize, InputArray points0, InputArray points1, OutputArray mask) CV_OVERRIDE
bool runStateEstimator()
Run the TrackerStateEstimator, return true if is possible to estimate a new state,...
virtual double getLearningRate() const =0
virtual GMetaArg descr_of() const =0
NCVStatus nppiStTranspose_32s_C1R(Ncv32s *d_src, Ncv32u srcStride, Ncv32s *d_dst, Ncv32u dstStride, NcvSize32u srcRoi)
@ CAP_PROP_VIEWFINDER
Enter liveview mode.
Definition: videoio.hpp:563
bool overlapRoi(Point tl1, Point tl2, Size sz1, Size sz2, Rect &roi)
const uchar * sliceStart
Definition: mat.hpp:3068
_OutputArray(const std::vector< cuda::GpuMat > &d_mat)
~TrackerStateEstimatorMILBoosting()
@ COLOR_COLORCVT_MAX
Definition: imgproc.hpp:787
PropagationParameters Param
Definition: quasi_dense_stereo.hpp:189
@ SF_GRAY
Definition: cudacodec.hpp:80
void setSeamFinder(Ptr< detail::SeamFinder > seam_finder)
Definition: stitching.hpp:245
std::string name
Definition: or_pascal.hpp:61
int hal_ni_Cholesky64f(double *src1, size_t src1_step, int m, double *src2, size_t src2_step, int n, bool *info)
Definition: hal_replacement.hpp:614
@ IMAGE
G-API traits an associated cv::Mat as an image so creates an "image" blob (NCHW/NHWC,...
__device__ __forceinline__ PtrTraits< TablePtr >::value_type operator()(typename PtrTraits< SrcPtr >::index_type y, typename PtrTraits< SrcPtr >::index_type x) const
Definition: lut.hpp:68
void resizeWindow(const String &winname, int width, int height)
Resizes window to the specified size.
@ BadCallBack
Definition: base.hpp:91
Definition: warpers.hpp:172
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: deriv.hpp:305
virtual float operator()(int featureIdx, int sampleIdx)=0
Vec< double, 6 > Vec6d
Definition: matx.hpp:426
void write(FileStorage &fs) const CV_OVERRIDE
Stores algorithm parameters in a file storage.
@ ARO_0_45
Definition: fast_hough_transform.hpp:66
@ BadDataPtr
Definition: base.hpp:81
Op op
Definition: functional.hpp:853
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type src) const
Definition: functional.hpp:719
bool gammaCorrection
Flag to specify whether the gamma correction preprocessing is required or not.
Definition: objdetect.hpp:614
static Ptr< GPCTrainingSamples > create(const std::vector< String > &imagesFrom, const std::vector< String > &imagesTo, const std::vector< String > >, int descriptorType)
This function can be used to extract samples from a pair of images and a ground truth flow....
virtual void setRandom(bool random)=0
Interface for implementations of Fast Bilateral Solver.
Definition: edge_filter.hpp:383
bool computeSaliencyImpl(InputArray image, OutputArray objectnessBoundingBox) CV_OVERRIDE
Performs all the operations and calls all internal functions necessary for the accomplishment of the ...
Rect getSampleROI() const
Get the sampling ROI.
__host__ int getRows(const Ptr2DSz &ptr)
Definition: traits.hpp:91
@ MOTION_AFFINE
Definition: tracking.hpp:264
Vec(_Tp v0)
1-element vector constructor
GMat equalizeHist(const GMat &src)
Equalizes the histogram of a grayscale image.
@ QT_STYLE_OBLIQUE
Oblique font.
Definition: highgui.hpp:243
NcvSize32u ClassifierSize
Definition: NCVHaarObjectDetection.hpp:339
void setTargetFg(bool foreground)
Set label: true for target foreground, false for background.
std::vector< UMat > images_
Definition: seam_finders.hpp:100
virtual int getMinNeighbors() const =0
@ ST_STANDART
Definition: rlofflow.hpp:24
float hscale
Definition: highgui.hpp:696
float convex_hull_ratio
Definition: erfilter.hpp:90
virtual void setMaxVal(double val)=0
int hal_ni_absdiff8u(const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:130
GpuMat createGpuMatHeader() const
Maps CPU memory to GPU address space and creates the cuda::GpuMat header without reference counting f...
bool padding
Add zero padding in case of concatenation of blobs with different spatial sizes.
Definition: all_layers.hpp:321
TrackerFeature based on Feature2D.
Definition: tracker.hpp:932
__device__ __forceinline__ Op::result_type operator()(const Tuple &t) const
Definition: tuple_adapter.hpp:85
KeyType key
Definition: t_hash_int.hpp:62
cv::Mat getIterationCounts() const
Definition: depth.hpp:683
static int fourcc(char c1, char c2, char c3, char c4)
Concatenates 4 chars to a fourcc code.
std::string path
The path to the font file (.ttf)
Definition: render.hpp:87
Mat AA0
average of gray values from all erorded face region in the dataset
Definition: facemarkAAM.hpp:125
Mode
Definition: stitching.hpp:161
static _Tp saturate_cast(uchar v)
Template function for accurate conversion from one primitive type to another.
Definition: saturate.hpp:80
void assign(const UMat &u) const
@ OCL_VECTOR_OWN
Definition: ocl.hpp:611
@ CAP_PROP_GAIN
Gain of the image (only for those cameras that support).
Definition: videoio.hpp:147
@ COLOR_XYZ2RGB
Definition: imgproc.hpp:578
Size getTextSize(const String &text, int fontFace, double fontScale, int thickness, int *baseLine)
Calculates the width and height of a text string.
Rect(const cv::Rect &other)
Definition: types.hpp:37
static Ptr< cuda::CascadeClassifier > create(const FileStorage &file)
typename ProtoToMeta< T >::type ProtoToMetaT
Definition: gtyped.hpp:35
static softdouble fromRaw(const uint64_t a)
Construct from raw.
Definition: softfloat.hpp:243
__device__ __forceinline__ double4 acosh(const double4 &a)
Definition: vec_math.hpp:382
static Ptr< AKAZE > create(AKAZE::DescriptorType descriptor_type=AKAZE::DESCRIPTOR_MLDB, int descriptor_size=0, int descriptor_channels=3, float threshold=0.001f, int nOctaves=4, int nOctaveLayers=4, KAZE::DiffusivityType diffusivity=KAZE::DIFF_PM_G2)
The AKAZE constructor.
@ COLOR_BayerBG2RGBA
Definition: imgproc.hpp:782
Definition: feature.hpp:121
#define CV_CUDEV_EXPR_BINOP_INST(op, functor)
Definition: binary_op.hpp:66
virtual void setRegressionAccuracy(float val)=0
Definition: gr_skig.hpp:95
int maxReadImageArgs() const
virtual float getSigmaColor() const =0
WArrow(const Point3d &pt1, const Point3d &pt2, double thickness=0.03, const Color &color=Color::white())
Constructs an WArrow.
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).
static Ptr< BinaryDescriptorMatcher > createBinaryDescriptorMatcher()
Create a BinaryDescriptorMatcher object and return a smart pointer to it.
virtual void setDescriptorChannels(int dch)=0
BorderTypes
Definition: base.hpp:268
virtual double getFlowSmoothness() const =0
void setSharpness(float val)
Definition: blenders.hpp:106
Parameters parameters
Definition: detection_based_tracker.hpp:178
int nativeVectorWidthHalf() const
void max16s(const short *src1, size_t step1, const short *src2, size_t step2, short *dst, size_t step, int width, int height, void *)
std::string image2
Definition: fr_lfw.hpp:62
int bilateral_kernel_size
Kernel size in pixels for bilateral smooth.
Definition: dynafu.hpp:49
Size_ & operator=(const Size_ &sz)
static Ptr< MapAffine > toAffine(Ptr< Map > sourceMap)
Definition: mapperpyramid.hpp:82
Ptr< BackgroundSubtractorKNN > createBackgroundSubtractorKNN(int history=500, double dist2Threshold=400.0, bool detectShadows=true)
Creates KNN Background Subtractor.
@ COLOR_YUV2RGB_Y422
Definition: imgproc.hpp:678
std::vector< VideoCaptureAPIs > getStreamBackends()
Returns list of available backends which works via cv::VideoCapture(filename)
virtual Size getTextSize(const String &text, int fontHeight, int thickness, int *baseLine)=0
Calculates the width and height of a text string.
virtual int getRadius() const =0
Abstract base class for TrackerSamplerAlgorithm that represents the algorithm for the specific sample...
Definition: tracker.hpp:207
#define CV_CUDEV_Lab2RGB_INST(name, scn, dcn, sRGB, blueIdx)
Definition: color_cvt.hpp:344
Ptr< SelectiveSearchSegmentationStrategyTexture > createSelectiveSearchSegmentationStrategyTexture()
Create a new size-based strategy.
Definition: or_imagenet.hpp:61
float coeffTrackingWindowSize
Definition: detection_based_tracker.hpp:172
Ptr< BackgroundSubtractorGSOC > createBackgroundSubtractorGSOC(int mc=LSBP_CAMERA_MOTION_COMPENSATION_NONE, int nSamples=20, float replaceRate=0.003f, float propagationRate=0.01f, int hitsThreshold=32, float alpha=0.01f, float beta=0.0022f, float blinkingSupressionDecay=0.1f, float blinkingSupressionMultiplier=0.1f, float noiseRemovalThresholdFacBG=0.0004f, float noiseRemovalThresholdFacFG=0.0008f)
Creates an instance of BackgroundSubtractorGSOC algorithm.
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 ...
void connect(String outPin, String inpPin)
Connects output of the first layer to input of the second layer.
virtual bool initDataset(int id)=0
virtual void setThreshold(int threshold)=0
MatExpr operator~(const Mat &m)
virtual String getDefaultName() const CV_OVERRIDE
void set(int prop, double value)
Definition: agast.txt:7503
MatConstIterator_()
default constructor
Mat(int ndims, const int *sizes, int type, void *data, const size_t *steps=0)
void writeStreamHeader(Codecs codec_)
Stochastic Gradient Descent SVM classifier.
Definition: ml.hpp:1788
UIDeviceOrientation currentDeviceOrientation
Definition: cap_ios.h:44
Definition: gcommon.hpp:31
Rect buildMaps(Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap) CV_OVERRIDE
Builds the projection maps according to the given camera data.
Definition: warpers.hpp:561
virtual void transpose(const MatExpr &expr, MatExpr &res) const
Mat_(const Matx< typename DataType< _Tp >::channel_type, m, n > &mtx, bool copyData=true)
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.
virtual void setClustersNumber(int val)=0
int deviceVersionMinor() const
@ CAP_WINRT
Microsoft Windows Runtime using Media Foundation.
Definition: videoio.hpp:110
This 2D Widget represents an image overlay. :
Definition: widgets.hpp:458
int featSize
Definition: feature.hpp:153
static _OutputArray rawOut(std::vector< _Tp > &vec)
int hal_ni_gemm64f(const double *src1, size_t src1_step, const double *src2, size_t src2_step, double alpha, const double *src3, size_t src3_step, double beta, double *dst, size_t dst_step, int m, int n, int k, int flags)
Definition: hal_replacement.hpp:697
Impl * getImpl() const
Definition: ocl.hpp:492
static Event wrapEvent(cudaEvent_t event)
@ REDUCE_AVG
the output is the mean vector of all rows/columns of the matrix.
Definition: core.hpp:220
void pushFrameOffset(size_t elem)
Definition: container_avi.private.hpp:171
T value_type
Definition: glob.hpp:64
@ NCV_ALLOCATOR_INSUFFICIENT_CAPACITY
Definition: NCV.hpp:335
Scalar_(const Scalar_ &s)
GComputation(GProtoInputArgs &&ins, GProtoOutputArgs &&outs)
Generic GComputation constructor.
Ptr< StructuredEdgeDetection > createStructuredEdgeDetection(const String &model, Ptr< const RFFeatureGetter > howToGetFeatures=Ptr< RFFeatureGetter >())
void fastAtan64f(const double *y, const double *x, double *dst, int n, bool angleInDegrees)
void setNrFeeds(int nr_feeds)
Definition: exposure_compensate.hpp:166
virtual void setP(float val)=0
Percent of top/bottom values to ignore.
void write(cv::FileStorage &fs) const
Write parameters to a file.
@ CAP_PROP_IMAGES_LAST
Definition: videoio.hpp:577
Base class for all global motion estimation methods.
Definition: global_motion.hpp:98
FileNodeIterator & readRaw(const String &fmt, void *vec, size_t len=(size_t) INT_MAX)
Reads node elements to the buffer with the specified format.
@ ALPHA_OVER_PREMUL
Definition: cudaimgproc.hpp:159
@ COLORMAP_COOL
Definition: imgproc.hpp:4227
@ MORPH_CLOSE
Definition: imgproc.hpp:217
variant() noexcept
Definition: variant.hpp:206
@ CPU_FMA3
Definition: cvdef.h:284
uchar type
Definition: vec_traits.hpp:81
float index_type
Definition: interpolation.hpp:100
const void * obj
Definition: ocl.hpp:381
float num_inflexion_points
Definition: erfilter.hpp:91
void initStream(const String &filename)
@ COLOR_YUV2RGBA_IYUV
Definition: imgproc.hpp:657
void spin()
The window renders and starts the event loop.
bool setTrackerStateEstimator(Ptr< TrackerStateEstimator > trackerStateEstimator)
Set TrackerEstimator, return true if the tracker state estimator is added, false otherwise.
int getTargetHeight() const
Get the height of the target.
virtual void resetTracking()
@ DICT_5X5_100
Definition: dictionary.hpp:147
virtual float getShift()=0
std::tuple< GMat, GMat, GMat > GMat3
Definition: imgproc.hpp:31
int to
Definition: util.hpp:78
GMat Canny(const GMat &image, double threshold1, double threshold2, int apertureSize=3, bool L2gradient=false)
Finds edges in an image using the Canny algorithm.
void operator()(int rrWidth, int w2, int rWidth, int jj, int j, int c[num_images]) const
Definition: descriptor.hpp:182
T & unsafe_get()
Definition: garg.hpp:70
Definition: is_bsds.hpp:61
virtual Size getSize()=0
return the sze of the manage input and output images
static Ptr< ParamGrid > create(double minVal=0., double maxVal=0., double logstep=1.)
Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method.
@ FONT_ITALIC
flag for italic font
Definition: imgproc.hpp:822
Affine3d makeCameraPose(const Vec3d &position, const Vec3d &focal_point, const Vec3d &y_dir)
Constructs camera pose from position, focal_point and up_vector (see gluLookAt() for more information...
float raycast_step_factor
A length of one raycast step.
Definition: dynafu.hpp:87
Definition: slam_kitti.hpp:66
double polynomial_k3
Definition: simple_pipeline.hpp:114
float flowErrorThreshold() const
Definition: inpainting.hpp:150
virtual int descriptorType() const
#define OPENCV_HAL_IMPL_MATH_FUNC(func, cfunc, _Tp2)
Helper macro.
Definition: intrin_cpp.hpp:497
uchar * datastart
helper fields used in locateROI and adjustROI
Definition: cuda.hpp:333
void compute(const std::vector< Mat > &images, Mat &response)
Compute the features in the images collection.
virtual double getVarThreshold() const =0
Returns the variance threshold for the pixel-model match.
int preferredVectorWidthLong() const
void setWeight4(float val)
Definition: motion_stabilizing.hpp:140
__host__ ScharrXPtrSz< typename PtrTraits< SrcPtr >::ptr_type > scharrXPtr(const SrcPtr &src)
Definition: deriv.hpp:266
bool use_segmentation
Definition: tracker.hpp:1504
@ COLOR_YUV420sp2RGB
Definition: imgproc.hpp:636
virtual void setFastPyramids(bool fastPyramids)=0
util::any params
Definition: infer.hpp:192
virtual void setSubPixelInterpolationMethod(int value)=0
@ LOG_LEVEL_INFO
Info message.
Definition: logger.defines.hpp:30
SparseMat(const SparseMat &m)
void download(OutputArray dst) const
Performs data download from GpuMat (Blocking call)
void upload(InputArray arr)
Performs data upload to GpuMat (Blocking call)
T maxVal
Definition: functional.hpp:717
~PyRotationWarper()
Definition: warpers.hpp:57
static Ptr< ReLU6Layer > create(const LayerParams ¶ms)
@ SUBMATRIX_FLAG
Definition: mat.hpp:2073
WTrajectory(InputArray path, int display_mode=WTrajectory::PATH, double scale=1.0, const Color &color=Color::white())
Constructs a WTrajectory.
::int32_t int32_t
Definition: cvdef.h:770
__device__ __forceinline__ Op::result_type operator()(typename TypeTraits< typename Op::second_argument_type >::parameter_type a) const
Definition: functional.hpp:835
virtual ~CvParams()
Definition: feature.hpp:124
@ COLOR_HSV2BGR
backward conversions to RGB/BGR
Definition: imgproc.hpp:596
FileNodeIterator & operator=(const FileNodeIterator &it)
virtual void setShadowValue(int value)=0
Sets the shadow value.
Ptr< OCRHMMDecoder::ClassifierCallback > loadOCRHMMClassifierCNN(const String &filename)
Allow to implicitly load the default character classifier when creating an OCRHMMDecoder object.
@ humaneva_2
Definition: hpe_humaneva.hpp:74
static Ptr< SoftmaxLayer > create(const LayerParams ¶ms)
Multi Object Tracker for TLD.
Definition: tracker.hpp:1459
GMat RGB2HSV(const GMat &src)
Converts an image from RGB color space to HSV. The function converts an input image from RGB color sp...
TransformTypes
BM3D transform types.
Definition: bm3d_image_denoising.hpp:62
virtual void reset() CV_OVERRIDE
_Tp width
the width
Definition: types.hpp:339
void convexHull(InputArray points, OutputArray hull, bool clockwise=false, bool returnPoints=true)
Finds the convex hull of a point set.
virtual ~TrackerTargetState()
Definition: tracker.hpp:334
@ COLOR_HLS2RGB_FULL
Definition: imgproc.hpp:614
int hal_ni_sqrt32f(const float *src, float *dst, int len)
Definition: hal_replacement.hpp:439
Cascade classifier class for object detection.
Definition: objdetect.hpp:225
float index_type
Definition: interpolation.hpp:158
@ CAP_PROP_XI_ACQ_TRANSPORT_BUFFER_COMMIT
Number of buffers to commit to low level.
Definition: videoio.hpp:461
Support Vector Machines.
Definition: ml.hpp:527
bool empty() const
Returns true if the array has no elements.
FileNode operator[](const String &nodename) const
Returns element of a mapping node or a sequence node.
_OutputArray(cudev::GpuMat_< _Tp > &m)
void setWeight3(float val)
Definition: motion_stabilizing.hpp:137
virtual bool read(const FileNode &node)=0
Definition: or_pascal.hpp:79
#define FEATURES
Definition: feature.hpp:62
virtual const std::vector< Mat > & motions() const
Definition: inpainting.hpp:85
@ VIDEOWRITER_PROP_NSTRIPES
Number of stripes for parallel encoding. -1 for auto detection.
Definition: videoio.hpp:190
void HuMoments(const Moments &moments, double hu[7])
Calculates seven Hu invariants.
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.
__device__ __forceinline__ PtrTraits< SrcPtr >::value_type operator()(int y, int x) const
Definition: deriv.hpp:68
void cmp32f(const float *src1, size_t step1, const float *src2, size_t step2, uchar *dst, size_t step, int width, int height, void *_cmpop)
void setTargetFg(bool foreground)
Set label: true for target foreground, false for background.
virtual Mat getTestResponses() const =0
This structure allows to customize the way how Fluid executes parallel regions.
Definition: gfluidkernel.hpp:141
@ CAP_PROP_XI_CC_MATRIX_11
Color Correction Matrix element [1][1].
Definition: videoio.hpp:410
size_t globalMemCacheSize() const
void meanStdDev(InputArray src, OutputArray mean, OutputArray stddev, InputArray mask=noArray())
static T get(GPlaidMLContext &ctx, int idx)
Definition: gplaidmlkernel.hpp:89
void SVDecomp(InputArray src, OutputArray w, OutputArray u, OutputArray vt, int flags=0)
void connectivityMask(const GpuMat &image, GpuMat &mask, const cv::Scalar &lo, const cv::Scalar &hi, Stream &stream=Stream::Null())
compute mask for Generalized Flood fill componetns labeling.
SparseMatConstIterator()
the default constructor
bool solvePnP(InputArray objectPoints, InputArray imagePoints, InputArray cameraMatrix, InputArray distCoeffs, OutputArray rvec, OutputArray tvec, bool useExtrinsicGuess=false, int flags=SOLVEPNP_ITERATIVE)
Finds an object pose from 3D-2D point correspondences. This function returns the rotation and the tra...
Ptr< SuperResolution > createSuperResolution_BTVL1_CUDA()
size_t size
Definition: NCV.hpp:453
Point2f center
returns the rectangle mass center
Definition: types.hpp:530
@ CAP_ANY
Auto detect == 0.
Definition: videoio.hpp:90
std::string name
Definition: ir_robot.hpp:72
@ CALIB_SAME_FOCAL_LENGTH
Definition: calib3d.hpp:289
v_reg< schar, 16 > v_int8x16
Sixteen 8-bit signed integer values.
Definition: intrin_cpp.hpp:387
static Ptr< TRACK_vot > create()
virtual double getLambda() const =0
Weight parameter for the data term, attachment parameter.
Base class for DFT operator as a cv::Algorithm. :
Definition: cudaarithm.hpp:820
Definition: gplaidmlkernel.hpp:16
void getShift(OutputArray shift) const
Definition: mapshift.hpp:89
GScalar(cv::gapi::own::Scalar &&s)
virtual void augAssignDivide(const MatExpr &expr, Mat &m) const
Definition: depth.hpp:483
virtual double getScaleStep() const =0
std::function< gapi::fluid::BorderOpt(const GMetaArgs &, const GArgs &)> B
Definition: gfluidkernel.hpp:69
bool isInf() const
Inf state indicator.
Definition: softfloat.hpp:170
@ DIST_L12
L1-L2 metric: distance = 2(sqrt(1+x*x/2) - 1))
Definition: imgproc.hpp:301
void predict(InputArray src, int &label, double &confidence) const
Predicts a label and associated confidence (e.g. distance) for a given input image.
virtual void setTrainTestSplit(int count, bool shuffle=true)=0
Splits the training data into the training and test parts.
Matx(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4)
1x5 or 5x1 matrix
Definition: traits.hpp:81
@ COLOR_LBGR2Luv
Definition: imgproc.hpp:618
DeblurerBase()
Definition: deblurring.hpp:62
StrongClassifierDirectSelection(int numBaseClf, int numWeakClf, Size patchSz, const Rect &sampleROI, bool useFeatureEx=false, int iterationInit=0)
void write(FileStorage &fs) const
bool classify(const Mat &x, int i)
Definition: detection_based_tracker.hpp:182
void ensureSizeIsEnough(int rows, int cols, int type, OutputArray arr)
Ensures that the size of a matrix is big enough and the matrix has a proper type.
@ COLORMAP_CIVIDIS
Definition: imgproc.hpp:4236
UMat mapGLBuffer(const Buffer &buffer, AccessFlag accessFlags=ACCESS_READ|ACCESS_WRITE)
Maps Buffer object to process on CL side (convert to UMat).
int nbrOfLargeBins
Definition: histogramphaseunwrapping.hpp:85
unsigned short ushort
Definition: interface.h:52
void writeBack() const
Definition: gcpukernel.hpp:180
static String dumpCString(const char *argument)
Definition: bindings_utils.hpp:56
virtual void setUniquenessRatio(int uniquenessRatio)=0
Template class for short numerical vectors, a partial case of Matx.
Definition: matx.hpp:333
static Ptr< GFTTDetector > create(int maxCorners, double qualityLevel, double minDistance, int blockSize, int gradiantSize, bool useHarrisDetector=false, double k=0.04)
virtual void run(InputArray inputToSegment, const int channelIndex=0)=0
main processing method, get result using methods getSegmentationPicture()
cv::Point center
The center of the circle.
Definition: render.hpp:232
void calcSum(InputArray src, OutputArray dst, InputArray mask=noArray(), Stream &stream=Stream::Null())
void mapForward(float x, float y, float &u, float &v)
virtual ~TypeHintBase()=default
#define CV_CUDEV_VEC_TRAITS_INST(type)
Definition: vec_traits.hpp:90
void setSearchParams(const double positionThreshold=-1, const double rotationThreshold=-1, const bool useWeightedClustering=false)
BOWKMeansTrainer(int clusterCount, const TermCriteria &termcrit=TermCriteria(), int attempts=3, int flags=KMEANS_PP_CENTERS)
The constructor.
~Mat()
destructor - calls release()
virtual ~PredictCollector()
Definition: predict_collector.hpp:64
static Ptr< SLAM_tumindoor > create()
static bool isMaskedOut(InputArrayOfArrays masks, int queryIdx)
cv::Mat to_ocv(Mat const &m)
Definition: convert.hpp:50
TemplatesMap class_templates
Definition: linemod.hpp:402
static Ptr< DTrees > create()
Creates the empty model.
"Dual TV L1" Optical Flow Algorithm.
Definition: optflow.hpp:219
__host__ __device__ NcvPoint2D32u()
Definition: NCV.hpp:204
int mergeSets(int set1, int set2)
virtual int getNumRejected() const =0
virtual void setLevelsNumber(int val)=0
float textrureThreshold
Definition: quasi_dense_stereo.hpp:48
Class implementing the Gray-code pattern, based on .
Definition: graycodepattern.hpp:69
__host__ Expr< HistogramBody< BIN_COUNT, SrcPtr > > histogram_(const SrcPtr &src)
Definition: reduction.hpp:231
Definition: reduction.hpp:197
@ NPPST_INVALID_SCALE
Invalid scale parameter passed.
Definition: NCV.hpp:367
std::tuple< R... > OutArgs
Definition: infer.hpp:52
T ValueType
Definition: features2d.hpp:839
void read(const FileNode &node, Mat &mat, const Mat &default_mat=Mat())
QualityBRISQUE(const cv::Ptr< cv::ml::SVM > &model, const cv::Mat &range)
Internal constructor.
Definition: qualitybrisque.hpp:74
Target
The target defines how you intend to use the buffer object.
Definition: opengl.hpp:85
void copyTo(InputArray src, OutputArray dst, InputArray mask)
This is an overloaded member function, provided for convenience (python) Copies the matrix to another...
virtual ~ILog()
Definition: log.hpp:59
@ SCENE_SEPARATE
the window will use a separate scene. The scene will be shared otherwise.
Definition: ovis.hpp:22
Ptr< Stitcher > createStitcher(bool try_use_gpu=false)
void write(const Ptr< FileStorage > &fs, const String &name=String()) const
simplified API for language bindings This is an overloaded member function, provided for convenience....
void convertFromVASurface(VADisplay display, VASurfaceID surface, Size size, OutputArray dst)
Converts VASurfaceID object to OutputArray.
__host__ int getCols(const Ptr2DSz &ptr)
Definition: traits.hpp:97
static Ptr< RetinaFastToneMapping > create(Size inputSize)
virtual const Distance & distanceStrong() const =0
Strong distance getter.
void setNormSigma1(float val)
MatCommaInitializer_< _Tp > & operator,(T2 v)
the operator that takes the next value and put it to the matrix
bool canDescribe(const cv::gapi::own::Mat &mat) const
cv::Scalar color
The text color.
Definition: render.hpp:130
Definition: reduce_to_vec.hpp:212
Mat t
Definition: camera.hpp:70
virtual double getXi() const =0
Model & setInputSize(const Size &size)
Set input size for frame.
@ CAP_OPENNI_IR_GENERATOR_PRESENT
Definition: videoio.hpp:252
@ ENTITY_AABB_WORLD
Definition: ovis.hpp:51
int set_args_(int i, const _Tp0 &a0, const _Tps &... rest_args)
Definition: ocl.hpp:415
double getMaxDepth() const
Definition: depth.hpp:932
@ LSBP_CAMERA_MOTION_COMPENSATION_NONE
Definition: bgsegm.hpp:246
void getMemoryConsumption(const int layerId, const MatShape &netInputShape, size_t &weights, size_t &blobs) const
size_t preferedWorkGroupSizeMultiple() const
Base class for global 2D motion estimation methods which take frames as input.
Definition: global_motion.hpp:176
void setBlender(Ptr< detail::Blender > b)
Definition: stitching.hpp:249
bool kernelExecTimeoutEnabled() const
specified whether there is a run time limit on kernels
Size_()
default constructor
MatExpr operator==(const Mat &a, const Mat &b)
Mat(int rows, int cols, int type, const Scalar &s)
virtual void setUp(const Mat &firstFrame)
virtual void checkParams() const CV_OVERRIDE
static Ptr< AverageHash > create()
bool eval(const Mat &image, Rect ROI, float *result) const
any & operator=(any const &src)
Definition: any.hpp:87
Definition: descriptor.hpp:1154
bool operator<(const Match &rhs) const
Sort matches with high similarity to the front.
Definition: linemod.hpp:268
virtual void setSegEgbThresholdI(float c)=0
: set and get the parameter segEgbThresholdI. This parameter is used in the second stage mentioned ab...
void convertPointsFromHomogeneous(InputArray src, OutputArray dst)
Converts points from homogeneous to Euclidean space.
NCVStatus nppiStVectorWarp_PSF1x1_32f_C1(const Ncv32f *pSrc, NcvSize32u srcSize, Ncv32u nSrcStep, const Ncv32f *pU, const Ncv32f *pV, Ncv32u nVFStep, Ncv32f timeScale, Ncv32f *pDst)
Ncv32u NumClassifierRootNodes
Definition: NCVHaarObjectDetection.hpp:336
@ BadNumChannel1U
Definition: base.hpp:85
@ COLORMAP_INFERNO
Definition: imgproc.hpp:4233
int MP
Dimensionality of the measurement vector.
Definition: kalman_filters.hpp:128
Definition: objdetect.hpp:122
virtual void setDoSort(bool doSort)=0
static Ptr< PriorBoxLayer > create(const LayerParams ¶ms)
static MatExpr zeros(int rows, int cols)
overridden forms of Mat::zeros() etc. Data type is omitted, of course
parameter structure that stores the transient events detector setup parameters
Definition: transientareassegmentationmodule.hpp:82
Definition: type_traits.hpp:129
virtual ~DCT2D()
Definition: hal.hpp:224
int frameCount_
Definition: wobble_suppression.hpp:89
float output_sigma_factor
spatial bandwidth (proportional to target)
Definition: tracker.hpp:1248
Size getChessboardSize() const
Definition: charuco.hpp:106
void copyTo(OutputArray arr, int ddepth=CV_32F, bool autoRelease=false) const
Copies from OpenGL texture to host/device memory or another OpenGL texture object.
@ SORT_EVERY_ROW
each matrix row is sorted independently
Definition: core.hpp:154
Mat_(const Mat_ &m, const Range *ranges)
selects a submatrix, n-dim version
int class_id
Definition: descriptor.hpp:109
Matx(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6, _Tp v7, _Tp v8, _Tp v9, _Tp v10, _Tp v11, _Tp v12, _Tp v13, _Tp v14, _Tp v15)
1x16, 4x4 or 16x1 matrix
Border(int _type, cv::Scalar _val)
Definition: gfluidbuffer.hpp:32
__host__ void gridTransformTuple(const SrcPtr &src, const tuple< GpuMat_< D0 > &, GpuMat_< D1 > & > &dst, const OpTuple &op, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: transform.hpp:471
GpuMat & setTo(Scalar s, Stream &stream)
sets some of the GpuMat elements to s (Non-Blocking call)
@ NCV_MEM_COPY_ERROR
Definition: NCV.hpp:339
__host__ Expr< SobelYPtrSz< typename PtrTraits< SrcPtr >::ptr_type > > sobelY_(const SrcPtr &src)
Definition: deriv.hpp:90
@ COLOR_YUV2RGBA_YV12
Definition: imgproc.hpp:655
SolvePnPMethod
Definition: calib3d.hpp:234
virtual void initialize(const std::vector< Point > &corners, const std::vector< Size > &sizes)
@ TYPE_MARKER
Definition: instrumentation.hpp:48
UMat(const UMat &m)
copy constructor
void convexityDefects(InputArray contour, InputArray convexhull, OutputArray convexityDefects)
Finds the convexity defects of a contour.
v_reg< _Tp, n > v_reverse(const v_reg< _Tp, n > &a)
Vector reverse order.
Definition: intrin_cpp.hpp:1752
virtual void detect(InputArray image, OutputArray edges, Stream &stream=Stream::Null())=0
Finds edges in an image using the algorithm.
int tsdf_max_weight
max number of frames per voxel
Definition: kinfu.hpp:83
Definition: warpers.hpp:337
Provides result of asynchronous operations.
Definition: async_promise.hpp:23
Definition: t_hash_int.hpp:61
page_seg_mode
Tesseract.PageSegMode Enumeration.
Definition: ocr.hpp:68
String OpenCLVersion() const
virtual void selection(Mat &response, int npoints)=0
Identify most effective features.
bool has_value() const noexcept
Definition: optional.hpp:134
MouseButton
Definition: types.hpp:309
Ptr< FarnebackOpticalFlow > createOptFlow_Farneback()
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type src) const
Definition: functional.hpp:699
Vec< _Tp, n > solve(const Vec< _Tp, m > &rhs, int method) const
@ COLOR_Lab2LRGB
Definition: imgproc.hpp:622
virtual ~FileStorage()
the destructor. calls release()
int i
Definition: cvdef.h:349
@ CAP_PROP_INTELPERC_DEPTH_SATURATION_VALUE
Definition: videoio.hpp:523
virtual bool estimate(const std::vector< ImageFeatures > &features, const std::vector< MatchesInfo > &pairwise_matches, std::vector< CameraParams > &cameras) CV_OVERRIDE
This method must implement camera parameters estimation logic in order to make the wrapper detail::Es...
lock_guard(Mutex &m)
Definition: lock.private.hpp:20
virtual int getKernelType() const =0
@ CAP_PROP_XI_BINNING_SELECTOR
Binning engine selector.
Definition: videoio.hpp:360
@ CAP_PROP_XI_OFFSET_X
Horizontal offset from the origin to the area of interest (in pixels).
Definition: videoio.hpp:336
@ LOG_LEVEL_ERROR
Error message.
Definition: logger.defines.hpp:28
Matx< _Tp, m, n > div(const Matx< _Tp, m, n > &a) const
divide two matrices element-wise
schar elem_type
Definition: vec_traits.hpp:160
int level
Definition: erfilter.hpp:76
virtual int getWindowSize() const =0
virtual void apply(InputArray image, OutputArray fgmask, double learningRate=-1) CV_OVERRIDE=0
Computes a foreground mask.
void setMatGains(std::vector< Mat > &umv) CV_OVERRIDE
Definition: gcpukernel.hpp:159
double getMaxTranslation() const
Definition: depth.hpp:715
int fiducial_yaw_angle
Definition: fr_adience.hpp:79
HOGDescriptor(Size _winSize, Size _blockSize, Size _blockStride, Size _cellSize, int _nbins, int _derivAperture=1, double _winSigma=-1, HOGDescriptor::HistogramNormType _histogramNormType=HOGDescriptor::L2Hys, double _L2HysThreshold=0.2, bool _gammaCorrection=false, int _nlevels=HOGDescriptor::DEFAULT_NLEVELS, bool _signedGradient=false)
Definition: objdetect.hpp:405
void gemm64fc(const double *src1, size_t src1_step, const double *src2, size_t src2_step, double alpha, const double *src3, size_t src3_step, double beta, double *dst, size_t dst_step, int m_a, int n_a, int n_d, int flags)
const std::vector< Mat > * motions_
Definition: deblurring.hpp:86
@ COLOR_BayerBG2BGR_VNG
Demosaicing using Variable Number of Gradients.
Definition: imgproc.hpp:755
void write(FileStorage &fs, int varIdx) const
backgroundType background
Definition: gr_skig.hpp:99
Fast dense optical flow computation based on robust local optical flow (RLOF) algorithms and sparse-t...
Definition: rlofflow.hpp:226
@ DNN_BACKEND_HALIDE
Definition: dnn.hpp:71
Matx(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6, _Tp v7, _Tp v8, _Tp v9, _Tp v10, _Tp v11, _Tp v12, _Tp v13)
1x14, 2x7, 7x2 or 14x1 matrix
Definition: functional.hpp:877
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.
virtual SegmentationParameters getParameters()=0
return the current parameters setup
GMat BGR2LUV(const GMat &src)
Converts an image from BGR color space to LUV color space.
virtual void setUseVariationalRefinement(bool use_variational_refinement=false)=0
Parameter to choose wether the VariationalRefinement post-processing is employed.
Definition: instrumentation.hpp:70
@ POLYGON
Definition: opengl.hpp:488
void initializeContextFromHandle(Context &ctx, void *platform, void *context, void *device)
void parallel_for_(const Range &range, const ParallelLoopBody &body, double nstripes=-1.)
Parallel data processor.
virtual void setTermCriteria(const TermCriteria &val)=0
static Ptr< cuda::FarnebackOpticalFlow > create(int numLevels=5, double pyrScale=0.5, bool fastPyramids=false, int winSize=13, int numIters=10, int polyN=5, double polySigma=1.1, int flags=0)
Ptr< Filter > createScharrFilter(int srcType, int dstType, int dx, int dy, double scale=1, int rowBorderMode=BORDER_DEFAULT, int columnBorderMode=-1)
Creates a vertical or horizontal Scharr operator.
void detectResultRoi(Size src_size, Point &dst_tl, Point &dst_br) CV_OVERRIDE
void setEstimator(Ptr< detail::Estimator > estimator)
Definition: stitching.hpp:231
Mat(int rows, int cols, int type, void *data, size_t step=AUTO_STEP)
result_type mySum
Definition: vec_distance.hpp:127
Vec(std::initializer_list< _Tp >)
Definition: optional.hpp:31
float aff_thr_fast
Definition: tracking_by_matching.hpp:267
RgbdNormals(int rows, int cols, int depth, InputArray K, int window_size=5, int method=RgbdNormals::RGBD_NORMALS_METHOD_FALS)
void blendLinear(InputArray img1, InputArray img2, InputArray weights1, InputArray weights2, OutputArray result, Stream &stream=Stream::Null())
Performs linear blending of two images.
@ CAP_PROP_XI_IS_COOLED
Returns 1 for cameras that support cooling.
Definition: videoio.hpp:391
@ COLOR_YUV420p2GRAY
Definition: imgproc.hpp:671
void resize(size_t _size)
resizes the buffer and preserves the content
void setScale(float val) CV_OVERRIDE
Definition: warpers.hpp:157
void create(int rows, int cols, int type, int i=-1, bool allowTransposed=false, _OutputArray::DepthMask fixedDepthMask=static_cast< _OutputArray::DepthMask >(0)) const
@ PSM_OSD_ONLY
Definition: ocr.hpp:69
std::vector< cameraPos > pos
Definition: ir_robot.hpp:73
@ COLOR_YUV2BGR_UYVY
Definition: imgproc.hpp:675
cv::gapi::GNetPackage networks(Args &&... args)
Definition: infer.hpp:230
Definition: functional.hpp:614
Definition: deriv.hpp:327
v_reg< _Tp, n > operator|(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Bitwise OR.
Definition: intrin_cpp.hpp:475
virtual double getLambda() const =0
void v_load_deinterleave(const _Tp *ptr, v_reg< _Tp, n > &a, v_reg< _Tp, n > &b)
Load and deinterleave (2 channels)
Definition: intrin_cpp.hpp:1488
@ COLOR_YUV2RGBA_NV21
Definition: imgproc.hpp:641
softfloat(const uint64_t)
virtual void detect(InputArray src, OutputArray circles, Stream &stream=Stream::Null())=0
Finds circles in a grayscale image using the Hough transform.
virtual void setP1(int P1)=0
std::vector< std::string > images
Definition: ir_robot.hpp:67
static Ptr< QualityGMSD > create(InputArray ref)
Create an object which calculates image quality.
std::vector< GArg > m_args
Definition: goclkernel.hpp:75
virtual void setCannyLowThresh(int cannyLowThresh)=0
Canny low threshold.
WImage3D(InputArray image, const Size2d &size, const Vec3d ¢er, const Vec3d &normal, const Vec3d &up_vector)
Constructs an WImage3D.
Size frameSize_
Definition: stabilizer.hpp:125
@ COLOR_Lab2LBGR
Definition: imgproc.hpp:621
GComputation(GMat in1, GMat in2, GMat out)
Defines a binary (two inputs – one output) computation.
Definition: sparse_matching_gpc.hpp:192
Dummy structure storing filtering context.
Definition: hal_replacement.hpp:84
@ COLOR_BayerGR2RGBA
Definition: imgproc.hpp:785
__device__ __forceinline__ MakeVec< uchar, VecTraits< T >::cn >::type operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:145
DynamicFusion implementation.
Definition: dynafu.hpp:133
int cols
Definition: mat.hpp:2086
Definition: or_mnist.hpp:61
__host__ void upload(InputArray arr)
pefroms upload data to GpuMat (Blocking call)
int hashtableRemove(hashtable_int *hashtbl, KeyType key)
Point2f t
Definition: facemarkAAM.hpp:89
@ CAP_OPENNI_IMAGE_GENERATOR
Definition: videoio.hpp:221
float sharpness() const
Definition: blenders.hpp:105
@ COLOR_HSV2RGB
Definition: imgproc.hpp:597
int DisableCabac
NVVE_DISABLE_CABAC,.
Definition: cudacodec.hpp:103
double maxMarkerPerimeterRate
Definition: aruco.hpp:161
Structure containing information about matches between two images.
Definition: matchers.hpp:100
GRunArgs gin(const Ts &... args)
Definition: garg.hpp:135
int hal_ni_filter(cvhalFilter2D *context, uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int full_width, int full_height, int offset_x, int offset_y)
hal_filter
Definition: hal_replacement.hpp:122
Context & initializeContextFromDirect3DDevice9(IDirect3DDevice9 *pDirect3DDevice9)
Creates OpenCL context from Direct3DDevice9 device.
static Ptr< _Tp > read(const FileNode &fn)
Reads algorithm from the file node.
Definition: core.hpp:3114
__host__ void gridTranspose(const SrcPtr &src, GpuMat_< DstType > &dst, Stream &stream=Stream::Null())
Definition: transpose.hpp:93
SparseMat_(const SparseMat &m)
the copy constructor. If DataType<_Tp>.type != m.type(), the m elements are converted
Wrapping class for feature detection using the AGAST method. :
Definition: features2d.hpp:510
static softfloat inf()
Positive infinity constant.
Definition: softfloat.hpp:206
virtual void unwrapPhaseMap(InputArrayOfArrays wrappedPhaseMap, OutputArray unwrappedPhaseMap, cv::Size camSize, InputArray shadowMask=noArray())=0
Unwrap the wrapped phase map to remove phase ambiguities.
static Mat getBitsFromByteList(const Mat &byteList, int markerSize)
Transform list of bytes to matrix of bits.
~Allocator()
Definition: cvstd.hpp:123
static scalar_wrapper_ocl get(GOCLContext &ctx, int idx)
Definition: goclkernel.hpp:177
void writeClass(const String &class_id, FileStorage &fs) const
__device__ static __forceinline__ schar min()
Definition: limits.hpp:69
virtual void setPlotBackgroundColor(Scalar _plotBackgroundColor)=0
Rect buildMaps(Size src_size, InputArray K, InputArray R, InputArray T, cuda::GpuMat &xmap, cuda::GpuMat &ymap)
void saveWindowParameters(const String &windowName)
Saves parameters of the specified window.
friend bool operator==(const variant< Us... > &lhs, const variant< Us... > &rhs)
Definition: variant.hpp:356
@ WINDOW_GUI_EXPANDED
status bar and tool bar
Definition: highgui.hpp:190
void cleanup()
Release associated thread data.
Definition: tls.hpp:164
void setCostFunction(CostFunction val)
Definition: seam_finders.hpp:129
virtual double getNu() const =0
bool empty() const CV_OVERRIDE
Implements Algorithm::empty()
Definition: qualitymse.hpp:28
size_t class_idx
Definition: core_detect.hpp:30
virtual ~BaseSFM()
Definition: simple_pipeline.hpp:164
void transformPoints(const GpuMat &src, const Mat &rvec, const Mat &tvec, GpuMat &dst, Stream &stream=Stream::Null())
virtual ~TrackerFeature()
virtual float getIntensity() const =0
Definition: functional.hpp:63
void inverseWarp(InputArray img1, OutputArray img2) const CV_OVERRIDE
Text(const std::string &text_, const cv::Point &org_, int ff_, double fs_, const cv::Scalar &color_, int thick_=1, int lt_=cv::LINE_8, bool bottom_left_origin_=false)
Text constructor.
Definition: render.hpp:112
int set(int i, const Image2D &image2D)
Impl * impl
Definition: utility.hpp:939
cv::instr::IMPL m_implType
Definition: instrumentation.hpp:79
std::vector< Template > TemplatePyramid
Definition: linemod.hpp:400
@ CAP_OPENNI_BGR_IMAGE
Data given from RGB image generator.
Definition: videoio.hpp:262
GMat erode(const GMat &src, const Mat &kernel, const 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 groupRectangles(std::vector< Rect > &rectList, int groupThreshold, double eps=0.2)
Groups the object candidate rectangles.
virtual Mat estimateStabilizationMotion()=0
const Ncv32u K_WARP_SIZE
Definition: NCV.hpp:236
void addWeighted64f(const double *src1, size_t step1, const double *src2, size_t step2, double *dst, size_t step, int width, int height, void *scalars)
virtual cv::Ptr< Map > calculate(InputArray img1, InputArray img2, cv::Ptr< Map > init=cv::Ptr< Map >()) const CV_OVERRIDE
void medianBlur(InputArray src, OutputArray dst, int ksize)
Blurs an image using the median filter.
double cross(const Point_ &pt) const
cross-product
size_t image2DMaxWidth() const
void FT02D_process(InputArray matrix, InputArray kernel, OutputArray output, InputArray mask=noArray())
Computes -transfrom and inverse -transfrom at once.
_OutputArray(const cuda::GpuMat &d_mat)
float32x2_t cv_vsqrt_f32(float32x2_t val)
Definition: neon_utils.hpp:119
void detectRegions(InputArray image, const Ptr< ERFilter > &er_filter1, const Ptr< ERFilter > &er_filter2, std::vector< std::vector< Point > > ®ions)
int photoIndex
Definition: multicalib.hpp:86
Full reference mean square error algorithm https://en.wikipedia.org/wiki/Mean_squared_error.
Definition: qualitymse.hpp:18
int image_width
Definition: simple_pipeline.hpp:108
__device__ __forceinline__ double4 asinh(const double4 &a)
Definition: vec_math.hpp:373
virtual void setFgsSigma(float val)=0
see ximgproc::EdgeAwareInterpolator().
Definition: warping.hpp:78
__device__ __forceinline__ float1 atanh(const uchar1 &a)
Definition: vec_math.hpp:384
Affine warper factory class.
Definition: warpers.hpp:144
Definition: face_alignment.hpp:15
virtual Mat estimateMotion() CV_OVERRIDE
float localEnergy_temporalConstant
the time constant of the first order low pass filter, use it to cut high temporal frequencies (noise ...
Definition: transientareassegmentationmodule.hpp:97
virtual void setNumIters(int numIters)=0
int cornerRefinementMaxIterations
Definition: aruco.hpp:168
DistanceTransformMasks
Mask size for distance transform.
Definition: imgproc.hpp:308
virtual int getSmallerBlockSize() const =0
int getWindowSize() const
Definition: depth.hpp:231
void setMatGains(std::vector< Mat > &umv) CV_OVERRIDE
Definition: exposure_compensate.hpp:210
int adaptiveThreshWinSizeMax
Definition: aruco.hpp:157
virtual int getK() const =0
K is a number of nearest-neighbor matches considered, when fitting a locally affine model for a super...
Ncv32u getAllocatorsAlignment() const
Definition: NCV.hpp:898
Ptr< detail::SeamFinder > seamFinder()
Definition: stitching.hpp:243
void setCameraMatrix(const cv::Mat &val) CV_OVERRIDE
Definition: depth.hpp:655
static gapi::fluid::BorderOpt getBorder(const GMetaArgs &metas, const cv::GArgs &in_args)
Definition: gfluidkernel.hpp:395
@ ACCESS_MASK
Definition: mat.hpp:65
virtual Mat nextFrame()=0
void setInterpolationFlags(InterpolationFlags interp_flags)
Definition: stitching.hpp:202
void setEstimateTrimRatio(bool val)
Definition: stabilizer.hpp:174
virtual void subtract(const MatExpr &expr1, const MatExpr &expr2, MatExpr &res) const
__device__ __forceinline__ PtrTraits< SrcPtr >::value_type operator()(int y, int x) const
Definition: extrapolation.hpp:112
void cvtBGRtoLab(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isLab, bool srgb)
float vertexPenalty
Definition: calib3d.hpp:1310
Template class specifying a continuous subsequence (slice) of a sequence.
Definition: types.hpp:590
@ IMWRITE_PNG_BILEVEL
Binary level PNG, 0 or 1, default is 0.
Definition: imgcodecs.hpp:90
cv::UMat _mat_type
internal mat type default
Definition: qualitybase.hpp:54
void release()
equivalent to Mat::release()
@ LOG_LEVEL_VERBOSE
Verbose (trace) messages. Requires verbosity level. Disabled in the "Release" build.
Definition: logger.defines.hpp:32
@ CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE
Definition: videoio.hpp:246
const SparseMat * m
Definition: mat.hpp:3220
softdouble(const double a)
Construct from double.
Definition: softfloat.hpp:257
static String getDefaultObjectName(const String &filename)
Returns the normalized object name for the specified name of a file.
virtual void setInvertOrientation(bool _invertOrientation)=0
This structure represents a mosaicing operation.
Definition: render.hpp:284
@ COLOR_LRGB2Luv
Definition: imgproc.hpp:619
void specifyType()
Definition: garray.hpp:103
bool isSubmatrix() const
returns true if the matrix is a submatrix of another matrix
Matx< float, 1, 6 > Matx16f
Definition: matx.hpp:218
__host__ RemapPtr1Sz< typename PtrTraits< SrcPtr >::ptr_type, AffineMapPtr > warpAffinePtr(const SrcPtr &src, Size dstSize, const GpuMat_< float > &warpMat)
Definition: warping.hpp:100
virtual void setDataWeight(double data_weight)=0
cv::Scalar compute(InputArray cmp) CV_OVERRIDE
Computes SSIM.
@ ALPHA_ATOP
Definition: cudaimgproc.hpp:159
virtual float findNearest(InputArray samples, int k, OutputArray results, OutputArray neighborResponses=noArray(), OutputArray dist=noArray()) const =0
Finds the neighbors and predicts responses for input vectors.
_Mutex Mutex
Definition: lock.private.hpp:102
int maxTexture1DLinear() const
maximum size for 1D textures bound to linear memory
SegmentationModel(const Net &network)
Create model from deep learning network.
SparseMatConstIterator(const SparseMat *_m)
the full constructor setting the iterator to the first sparse matrix element
Rect_(const Point_< _Tp > &org, const Size_< _Tp > &sz)
const char * memopTypeToStr(int t)
const char * typeToStr(int t)
void polylines(InputOutputArray img, const Point *const *pts, const int *npts, int ncontours, bool isClosed, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0)
int label
Quantization.
Definition: linemod.hpp:30
v_uint64x2 v_reinterpret_as_u64(const v_reg< _Tp0, n0 > &a)
Definition: intrin_cpp.hpp:2190
@ REDUCE_MAX
the output is the maximum (column/row-wise) of all rows/columns of the matrix.
Definition: core.hpp:221
virtual bool open(const String &filename, int fourcc, double fps, Size frameSize, bool isColor=true)
Initializes or reinitializes video writer.
int maxTexture1DMipmap() const
maximum 1D mipmapped texture size
Maximally stable extremal region extractor.
Definition: features2d.hpp:399
__device__ __host__ Ncv32u getNumFeatures(void)
Definition: NCVHaarObjectDetection.hpp:167
__device__ __forceinline__ uint vmax4(uint a, uint b)
Definition: simd_functions.hpp:870
@ DFT_ROWS
Definition: base.hpp:236
const Ptr< detail::ExposureCompensator > exposureCompensator() const
Definition: stitching.hpp:239
NCVMemoryType memType() const
Definition: NCV.hpp:828
void setMaxObjectSize(const cv::Size &max)
Definition: detection_based_tracker.hpp:84
virtual int getMarginType() const =0
Margin type, one of SVMSGD::MarginType.
softfloat()
Default constructor.
Definition: softfloat.hpp:93
void start()
Definition: utility.hpp:322
int nextEdge(int edge) const
Returns next edge around the edge origin.
void add32f(const float *src1, size_t step1, const float *src2, size_t step2, float *dst, size_t step, int width, int height, void *)
float photoreceptorsLocalAdaptationSensitivity
Definition: retina.hpp:162
@ RETR_FLOODFILL
Definition: imgproc.hpp:423
SyntheticSequenceGenerator(InputArray background, InputArray object, double amplitude, double wavelength, double wavespeed, double objspeed)
Creates an instance of SyntheticSequenceGenerator.
This 3D Widget defines a sphere. :
Definition: widgets.hpp:274
void read(const FileNode &)
@ CAP_PROP_XI_AE_MAX_LIMIT
Maximum limit of exposure in AEAG procedure.
Definition: videoio.hpp:351
Ptr< InpainterBase > inpainter() const
Definition: stabilizer.hpp:99
Definition: gfluidbuffer.hpp:96
size_t total() const
Returns the total number of array elements.
virtual int getIterations() const =0
@ COLOR_BGRA2RGBA
Definition: imgproc.hpp:539
virtual void setSolverIterations(int val)=0
Number of linear system solver iterations.
FileNode operator[](const String &nodename) const
Returns the specified element of the top-level mapping.
__device__ __forceinline__ uint vcmpge4(uint a, uint b)
Definition: simd_functions.hpp:745
static float elapsedTime(const Event &start, const Event &end)
computes the elapsed time between events
Ptr< IFrameSource > maskSource() const
Definition: stabilizer.hpp:81
TrackerSamplerCS(const TrackerSamplerCS::Params ¶meters=TrackerSamplerCS::Params())
Constructor.
void setMethod(int val)
Definition: depth.hpp:408
bool operator()(const Rect &r1, const Rect &r2) const
Definition: objdetect.hpp:125
Rect_(const Point_< _Tp > &pt1, const Point_< _Tp > &pt2)
std::vector< Point2f > markersLocation
Definition: sinusoidalpattern.hpp:93
Definition: warpers.hpp:222
const Mat * m
Definition: mat.hpp:3065
static cudaStream_t getStream(const Stream &stream)
int cvFloor(const cv::softfloat &a)
Rounds a number down to integer.
virtual void iterate(InputArray img, int num_iterations=4)=0
Calculates the superpixel segmentation on a given image with the initialized parameters in the Superp...
#define OPENCV_HAL_IMPL_SHIFT_OP(shift_op)
Helper macro.
Definition: intrin_cpp.hpp:1067
virtual int getBinaryKernelType() const =0
bool create(InputArray pattern, const Size2f boardSize, OutputArray output=noArray())
WindowPropertyFlags
Flags for cv::setWindowProperty / cv::getWindowProperty.
Definition: highgui.hpp:195
void xor8u(const uchar *src1, size_t step1, const uchar *src2, size_t step2, uchar *dst, size_t step, int width, int height, void *)
@ RECTIFY_LONGLATI
Definition: omnidir.hpp:70
Matx< float, 6, 6 > Matx66f
Definition: matx.hpp:247
int getNrGainsFilteringIterations() const
Definition: exposure_compensate.hpp:172
PredictResult minRes
Definition: predict_collector.hpp:93
PoseCluster3D(Pose3DPtr newPose, int newId)
Definition: pose_3d.hpp:155
virtual void setMaxBufferSize(int maxBufferSize)=0
Maximal size of inner buffers.
virtual void setNumDisparities(int numDisparities)=0
Ptr< Dictionary > generateCustomDictionary(int nMarkers, int markerSize, int randomSeed=0)
void setCtrSize(int n)
set number of Fourier descriptors used in estimateTransformation
@ NCVPipeObjDet_VisualizeInPlace
Definition: NCVHaarObjectDetection.hpp:357
static void compute(const Matx< _Tp, m, n > &a, Matx< _Tp, nm, 1 > &w)
virtual void generateFeatures()=0
static Ptr< PD_caltech > create()
virtual Size getWinSize() const =0
Range(int _start, int _end)
void FT02D_components(InputArray matrix, InputArray kernel, OutputArray components, InputArray mask=noArray())
Computes components of the array using direct -transform.
Implementation of the Global Patch Collider.
virtual NcvBool isInitialized(void) const =0
This type is very similar to InputArray except that it is used for input/output and output function p...
Definition: mat.hpp:291
std::vector< Size > sizes_
Definition: seam_finders.hpp:101
__device__ __forceinline__ float1 atan(const uchar1 &a)
Definition: vec_math.hpp:330
static softdouble eps()
Difference between 1 and next representable value.
Definition: softfloat.hpp:356
virtual void invert(const MatExpr &expr, int method, MatExpr &res) const
FileNode getFirstTopLevelNode() const
Returns the first element of the top-level mapping.
@ CAP_V4L
V4L/V4L2 capturing support.
Definition: videoio.hpp:92
Homography based rotation estimator.
Definition: motion_estimators.hpp:101
virtual void getCameras(OutputArray Rs, OutputArray Ts)=0
TablePtr tbl
Definition: lut.hpp:66
v_reg< typename V_TypeTraits< _Tp >::w_type, V_TypeTraits< _Tp >::nlanes128/2 > v_load_expand(const _Tp *ptr)
Load register contents from memory with double expand.
Definition: intrin_cpp.hpp:1448
void setMinSize(int val)
Definition: depth.hpp:400
void calcOpticalFlowBM(const GpuMat &prev, const GpuMat &curr, Size block_size, Size shift_size, Size max_range, bool use_previous, GpuMat &velx, GpuMat &vely, GpuMat &buf, Stream &stream=Stream::Null())
Calculates optical flow for 2 images using block matching algorithm */.
std::size_t num_in
Definition: ie.hpp:59
v_reg< _Tp, n > operator>=(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Greater-than or equal comparison.
Definition: intrin_cpp.hpp:688
void selection()
Identify most effective features for all feature types (optional)
Vec3i maxThreadsDim() const
maximum size of each dimension of a block
virtual int getScalesNumber() const =0
@ CAP_PROP_XI_ACQ_TRANSPORT_BUFFER_SIZE
Acquisition transport buffer size in bytes.
Definition: videoio.hpp:459
static KernelArg ReadOnly(const UMat &m, int wscale=1, int iwscale=1)
Definition: ocl.hpp:367
FeatureSet
Enumeration providing CUDA computing features.
Definition: cuda.hpp:768
__host__ DerivYPtrSz< typename PtrTraits< SrcPtr >::ptr_type > derivYPtr(const SrcPtr &src)
Definition: deriv.hpp:126
void log(InputArray src, OutputArray dst, Stream &stream=Stream::Null())
Computes a natural logarithm of absolute value of each matrix element.
int index_type
Definition: glob.hpp:65
virtual void setRpropDWMin(double val)=0
virtual void setMaxRadius(int maxRadius)=0
@ FLOODFILL_MASK_ONLY
Definition: imgproc.hpp:380
int id
Definition: or_imagenet.hpp:62
bool identify(const Mat &onlyBits, int &idx, int &rotation, double maxCorrectionRate) const
Given a matrix of bits. Returns whether if marker is identified or not. It returns by reference the c...
#define CV_PROP
Definition: cvdef.h:422
const Mat getDescriptor(int globalDescIdx) const
Size frameSize
frame size in pixels
Definition: kinfu.hpp:32
std::vector< Vertex > vtx
All of the vertices.
Definition: imgproc.hpp:1234
virtual Ptr< RLOFOpticalFlowParameter > getRLOFOpticalFlowParameter() const =0
Configuration of the RLOF alogrithm.
void updateMotionHistory(InputArray silhouette, InputOutputArray mhi, double timestamp, double duration)
Updates the motion history image by a moving silhouette.
WPlane(const Point3d ¢er, const Vec3d &normal, const Vec3d &new_yaxis, const Size2d &size=Size2d(1.0, 1.0), const Color &color=Color::white())
Constructs a repositioned plane.
@ FONT_HERSHEY_PLAIN
small size sans-serif font
Definition: imgproc.hpp:815
void create(int rows, int cols, int type)
allocates new GpuMat data unless the GpuMat already has specified size and type
virtual void setROI1(Rect roi1)=0
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.
#define CV_Error(code, msg)
Call the error handler.
Definition: base.hpp:320
int hal_ni_cvtXYZtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue)
hal_cvtXYZtoBGR
Definition: hal_replacement.hpp:430
Ptr< Algorithm > member_type
Definition: core.hpp:3233
@ SINUS
sinusoidal shape
Definition: types.hpp:56
GpuMat rowRange(Range r) const
void transpose(InputArray src, OutputArray dst)
Transposes a matrix.
sampleType
Definition: pd_inria.hpp:61
@ DICT_6X6_50
Definition: dictionary.hpp:150
SparseMatIterator(const SparseMatIterator &it)
the copy constructor
@ db
Definition: container_avi.private.hpp:136
@ CAP_PROP_BACKEND
Current backend (enum VideoCaptureAPIs). Read-only property.
Definition: videoio.hpp:174
Mat_(int _rows, int _cols)
equivalent to Mat(_rows, _cols, DataType<_Tp>::type)
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: deriv.hpp:119
@ CAP_PVAPI_FSTRIGMODE_SYNCIN2
SyncIn2.
Definition: videoio.hpp:304
size_t nodeCount
Definition: mat.hpp:2682
Definition: functional.hpp:890
Definition: garray.hpp:221
Code
error codes
Definition: base.hpp:68
static Ptr< BaseConvolutionLayer > create(const LayerParams ¶ms)
NCVStatus nppiStIntegralGetSize_32f32f(NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp)
double contourArea(InputArray contour, bool oriented=false)
Calculates a contour area.
__host__ __device__ static __forceinline__ char3 all(schar v)
Definition: vec_traits.hpp:170
Definition: inpainting.hpp:103
virtual bool elementWise(const MatExpr &expr) const
Mat finalFrame_
Definition: stabilizer.hpp:133
int32x2_t cv_vrnd_s32_f32(float32x2_t v)
Definition: neon_utils.hpp:52
virtual void operator()(InputArray image, InputArray mask, std::vector< KeyLine > &keylines, OutputArray descriptors, bool useProvidedKeyLines=false, bool returnFloatDescr=false) const
Define operator '()' to perform detection of KeyLines and computation of descriptors in a row.
__device__ __forceinline__ uint vcmpeq4(uint a, uint b)
Definition: simd_functions.hpp:630
void setKernelSize(int f)
Definition: depth.hpp:1115
virtual void add(const MatExpr &expr1, const Scalar &s, MatExpr &res) const
virtual void setWinSigma(double win_sigma)=0
Gaussian smoothing window parameter.
int hal_ni_sqrt64f(const double *src, double *dst, int len)
Definition: hal_replacement.hpp:440
#define CV_MAT_TYPE(flags)
Definition: cvdef.h:437
void setRefinementMask(const Mat &mask)
Definition: motion_estimators.hpp:137
double mu30
Definition: types.hpp:946
bool v_check_any(const v_reg< _Tp, n > &a)
Check if any of packed values is less than zero.
Definition: intrin_cpp.hpp:1235
virtual int defaultNorm() const
const _OutputArray & OutputArray
Definition: mat.hpp:439
GpuMat row(int y) const
returns a new GpuMat header for the specified row
GMat min(const GMat &src1, const GMat &src2)
Calculates per-element minimum of two matrices.
Definition: tracker.hpp:981
float index_type
Definition: warping.hpp:64
std::tuple< GMat, GMat > polarToCart(const GMat &magnitude, const GMat &angle, bool angleInDegrees=false)
Calculates x and y coordinates of 2D vectors from their magnitude and angle.
const std::vector< Mat > & getResponses() const
Get the responses.
double k
Default is 0.
Definition: kalman_filters.hpp:140
void setMaxRotation(double val)
Definition: depth.hpp:850
Mat cam_params_
Definition: motion_estimators.hpp:212
Definition: all_layers.hpp:534
int hal_ni_add8u(const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:76
bool setDescriptorMatcher(Ptr< DescriptorMatcher > matcher)
@ CPU_AVX_5124FMAPS
Definition: cvdef.h:301
void projectionsFromFundamental(InputArray F, OutputArray P1, OutputArray P2)
Get projection matrices from Fundamental matrix.
paralel implementation of the center symetric census
Definition: descriptor.hpp:366
void getLayersShapes(const std::vector< MatShape > &netInputShapes, std::vector< int > &layersIds, std::vector< std::vector< MatShape > > &inLayersShapes, std::vector< std::vector< MatShape > > &outLayersShapes) const
Returns input and output shapes for all layers in loaded model; preliminary inferencing isn't necessa...
poseType
Definition: gr_skig.hpp:75
virtual bool getUseSpatialPropagation() const =0
Whether to use spatial propagation of good optical flow vectors. This option is turned on by default,...
void cvtBGR5x5toGray(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int greenBits)
MatExpr t() const
Transposes a matrix.
HersheyFonts
Definition: imgproc.hpp:813
static DST saturate(SRC x)
Definition: saturate.hpp:26
void write(FileStorage &fs, const String &name, const optflow::GPCTree::Node &node)
bool canMapHostMemory() const
device can map host memory with cudaHostAlloc/cudaHostGetDevicePointer
std::array< std::string, std::tuple_size< typename Net::InArgs >::value > In
Definition: ie.hpp:69
virtual ~VideoReader()
Definition: cudacodec.hpp:298
bool check() const
Definition: sparse_matching_gpc.hpp:138
Matx< float, 2, 3 > Matx23f
Definition: matx.hpp:232
float voxelSize
Size of voxel in meters.
Definition: kinfu.hpp:62
void setStdevThresh(float val)
Definition: inpainting.hpp:132
void convertTo(OutputArray dst, int rtype, double alpha, double beta=0.0) const
converts GpuMat to another datatype with scaling (Blocking call)
float initWideAngleProjMap(InputArray cameraMatrix, InputArray distCoeffs, Size imageSize, int destImageWidth, int m1type, OutputArray map1, OutputArray map2, enum UndistortTypes projType=PROJ_SPHERICAL_EQRECT, double alpha=0)
initializes maps for remap for wide-angle
friend value_t & unsafe_any_cast(any &operand)
Definition: any.hpp:159
static void debugFilter(cv::InputArray original, cv::InputArray result, impl::CallMetaData metaData=impl::CallMetaData(), const char *description=nullptr, const char *view=nullptr)
Use the debug-framework to compare two images (from which the second is intended to be the result of ...
Definition: filter.hpp:36
@ DICT_4X4_100
Definition: dictionary.hpp:143
void glob(String pattern, std::vector< String > &result, bool recursive=false)
virtual void setBlockSize(int blockSize)=0
virtual void load(const std::string &path) CV_OVERRIDE=0
int imgIdx
train image index
Definition: types.hpp:817
v_uint32x4 v_reinterpret_as_u32(const v_reg< _Tp0, n0 > &a)
Definition: intrin_cpp.hpp:2186
Sum< U > other
Definition: reduce_to_vec.hpp:71
This 3D Widget represents camera position in a scene by its axes or viewing frustum....
Definition: widgets.hpp:544
virtual void setEpsilon(double val)=0
Stopping criterion threshold used in the numerical scheme, which is a trade-off between precision and...
float horizontalCellsGain
Definition: retina.hpp:162
@ QT_FONT_BLACK
Weight of 87.
Definition: highgui.hpp:236
virtual void setRadius(int val)
Definition: deblurring.hpp:66
int getReplacedClassifier() const
@ FILLED
Definition: imgproc.hpp:804
_OutputArray(const std::vector< std::vector< _Tp > > &vec)
_Arg2 second_argument_type
Definition: functional.hpp:71
Definition: mapaffine.hpp:53
Codecs
Definition: container_avi.private.hpp:73
virtual void setMinRegionSizeI(int n)=0
: set and get the parameter minRegionSizeI. This parameter is used in the second stage mentioned abov...
@ CAP_PROP_XI_AEAG_ROI_OFFSET_X
Automatic exposure/gain ROI offset X.
Definition: videoio.hpp:373
const Parameters & getParameters() const
void create(int rows, int cols, int type)
allocates new matrix data unless the matrix already has specified size and type.
@ SR_CROSS
Definition: rlofflow.hpp:19
float samplerTrackInRadius
radius for gathering positive instances during tracking
Definition: tracker.hpp:1075
int xmax
Definition: or_pascal.hpp:64
Param
Definition: core.hpp:3175
std::vector< String > classIds() const
virtual void collectGarbage()
Frees unused memory allocated before if there is any.
Definition: matchers.hpp:149
virtual Mat performSegmentCpu(InputArray src, bool ifDraw=true)=0
do segmentation with cpu This method is only implemented for reference. It is highly NOT recommanded ...
PtrTraits< SrcPtr >::value_type value_type
Definition: resize.hpp:62
static void call_impl(GCPUContext &ctx, detail::Seq< IIs... >, detail::Seq< OIs... >)
Definition: gcpukernel.hpp:254
int height
Definition: tr_svt.hpp:63
void cleanup()
Release associated thread data.
Definition: tls.hpp:71
ChannelsCompensator(int nr_feeds=1)
Definition: exposure_compensate.hpp:141
virtual Ptr< detail::RotationWarper > create(float scale) const =0
void read(const FileNode &)
Ptr< TrackerTargetState > estimateImpl(const std::vector< ConfidenceMap > &confidenceMaps) CV_OVERRIDE
void copyFrom(InputArray arr, cuda::Stream &stream, Target target=ARRAY_BUFFER, bool autoRelease=false)
__host__ void create(Size asize)
Synthetic frame sequence generator for testing background subtraction algorithms.
Definition: bgsegm.hpp:330
int fh
The height of text.
Definition: render.hpp:165
static int total(const MatShape &shape, int start=-1, int end=-1)
Definition: shape_utils.hpp:151
void write(FileStorage &fs, const String &name, int value)
#define CVVISUAL_THREAD_LOCAL
Definition: debug_mode.hpp:7
NodeData & operator=(const NodeData &)
v_reg(_Tp s0, _Tp s1, _Tp s2, _Tp s3, _Tp s4, _Tp s5, _Tp s6, _Tp s7)
Constructor.
Definition: intrin_cpp.hpp:291
GScalar normL2(const GMat &src)
Calculates the absolute L2 norm of a matrix.
Vec< float, 6 > Vec6f
Definition: matx.hpp:421
NCVMatrixReuse(const NCVMatrix< T > &mat, NcvRect32u roi)
Definition: NCV.hpp:961
int cornerRefinementMethod
Definition: aruco.hpp:166
virtual void nextFrame(OutputArray frame)=0
Definition: warpers.hpp:272
virtual void getBackgroundImage(OutputArray backgroundImage) const =0
Computes a background image.
int getReductionRatio()
Get current reduction ratio (used in Gaussian pyramids)
Definition: gkernel.hpp:35
std::string decode(InputArray img, InputArray points, OutputArray straight_qrcode=noArray())
Decodes QR code in image once it's found by the detect() method. Returns UTF8-encoded output string o...
const Priv & priv() const
static cv::Scalar get(GCPUContext &ctx, int idx)
Definition: gcpukernel.hpp:142
Background/Foreground Segmentation Algorithm.
Definition: cudalegacy.hpp:89
SLICType
Definition: slic.hpp:132
virtual int getIterations() const =0
int maxComputeUnits() const
int thick
The thickness of lines that make up the rectangle. Negative values, like FILLED, mean that the functi...
Definition: render.hpp:198
virtual bool getHarrisDetector() const =0
__device__ __forceinline__ void reduceBlock(result_type *smem, uint tid)
Definition: vec_distance.hpp:80
bool computeSaliency(InputArray image, OutputArray saliencyMap)
Definition: saliencySpecializedClasses.hpp:303
Matx< float, 6, 1 > Matx61f
Definition: matx.hpp:227
void update(const Mat &posx, const Mat &negx)
softdouble cos(const softdouble &a)
Cosine.
@ CAP_PROP_XI_CC_MATRIX_33
Color Correction Matrix element [3][3].
Definition: videoio.hpp:420
void morphologyEx(InputArray rlSrc, OutputArray rlDest, int op, InputArray rlKernel, bool bBoundaryOnForErosion=true, Point anchor=Point(0, 0))
Applies a morphological operation to a run-length encoded binary image.
Definition: functional.hpp:521
AccessFlag
Definition: mat.hpp:64
virtual void compute(InputArray left, InputArray right, OutputArray disparity, Stream &stream)=0
MatSize size
Definition: mat.hpp:2577
__host__ __device__ static __forceinline__ schar all(schar v)
Definition: vec_traits.hpp:146
Definition: sparse_matching_gpc.hpp:158
GpuMat colRange(Range r) const
size_t countFrameSize() const
Definition: container_avi.private.hpp:175
mat_type gradient_map_squared
Definition: qualitygmsd.hpp:62
double getTimeSec() const
Definition: utility.hpp:367
virtual void setTrainTestSplitRatio(double ratio, bool shuffle=true)=0
Splits the training data into the training and test parts.
@ MORPH_TOPHAT
Definition: imgproc.hpp:221
std::vector< skeleton > skeletons
Definition: gr_chalearn.hpp:80
void setSigmaDepth(float f)
Definition: depth.hpp:1099
virtual void setHitThreshold(double hit_threshold)=0
@ fmt
Definition: traits.hpp:290
virtual void setClusterMinMag(float value)=0
Sets the cluster min magnitude.
void skipJunk(RiffList &list)
virtual double getDist2Threshold() const =0
Returns the threshold on the squared distance between the pixel and the sample.
ResultType operator()(const T *a, const T *b, int size) const
Definition: features2d.hpp:826
int64 i
Definition: cvdef.h:357
@ CMP_GE
src1 is greater than or equal to src2.
Definition: base.hpp:213
void FT12D_components(InputArray matrix, InputArray kernel, OutputArray components)
Computes components of the array using direct -transform.
virtual Ptr< BackendNode > initVkCom(const std::vector< Ptr< BackendWrapper > > &inputs)
virtual const TrackerParams & params() const =0
Pipeline parameters getter.
void setK(const cv::Mat &val)
Definition: depth.hpp:160
std::vector< PredictResult > data
Definition: predict_collector.hpp:94
virtual int addObject(const cv::Rect &location)
@ DFT_INVERSE
Definition: base.hpp:228
int axis
Definition: all_layers.hpp:368
virtual String name() const CV_OVERRIDE
@ CAP_PROP_DC1394_MODE_AUTO
Definition: videoio.hpp:208
virtual const Params & getParams() const =0
Get current parameters.
Viz3d & operator=(const Viz3d &)
@ DCT_ROWS
Definition: base.hpp:263
virtual MotionModel motionModel() const CV_OVERRIDE
Definition: global_motion.hpp:215
@ CAP_PROP_XI_TS_RST_MODE
Defines how time stamp reset engine will be armed.
Definition: videoio.hpp:454
v_reg< _Tp, V_TypeTraits< _Tp >::nlanes128 > v_load_aligned(const _Tp *ptr)
Load register contents from memory (aligned)
Definition: intrin_cpp.hpp:1390
UMat(const UMat &m, const std::vector< Range > &ranges)
MatSize size
Definition: mat.hpp:2108
static bool waitAny(const std::vector< VideoCapture > &streams, std::vector< int > &readyIndex, int64 timeoutNs=0)
Wait for ready frames from VideoCapture.
int curStabilizedPos_
Definition: stabilizer.hpp:128
double mat2[3]
Definition: msm_epfl.hpp:63
@ COLOR_YUV2RGB_YV12
Definition: imgproc.hpp:646
@ BORDER_REFLECT_101
gfedcb|abcdefgh|gfedcba
Definition: base.hpp:273
TermCriteria termCriteria()
Definition: motion_estimators.hpp:146
void setLogTagLevel(const char *tag, cv::utils::logging::LogLevel level)
unsigned operator()()
returns a random integer sampled uniformly from [0, N).
@ SF_NV12
Definition: cudacodec.hpp:77
Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst) CV_OVERRIDE
Projects the image.
Scalar_ & operator=(Scalar_ &&s) CV_NOEXCEPT
Definition: facemarkLBF.hpp:52
Definition: constant.hpp:58
__device__ static __forceinline__ T initialValue()
Definition: reduce_to_vec.hpp:134
This class declares example interface for system state used in simulated annealing optimization algor...
Definition: ml.hpp:1907
void min(InputArray src1, InputArray src2, OutputArray dst, Stream &stream=Stream::Null())
Computes the per-element minimum of two matrices (or a matrix and a scalar).
virtual float getColorAdaptation() const =0
#define CV_NOEXCEPT
Definition: cvdef.h:724
virtual void setNumIterations(int iterations)=0
Class encapsulating matching parameters.
Definition: sparse_matching_gpc.hpp:144
ColormapTypes
GNU Octave/MATLAB equivalent colormaps.
Definition: imgproc.hpp:4218
v_reg< _Tp, n > v_magnitude(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Magnitude.
Definition: intrin_cpp.hpp:831
cv::gapi::GKernelPackage kernels()
__device__ __forceinline__ uint saturate_cast< uint >(schar v)
Definition: saturate_cast.hpp:244
_Tp area() const
the area (width*height)
@ FULL_UV
Definition: core.hpp:2642
const cv::Mat & getConfImageDisplay() const
Definition: onlineBoosting.hpp:238
virtual void setDetectShadows(bool detectShadows)=0
Enables or disables shadow detection.
Mat(Mat const &src, const Rect &roi)
Definition: mat.hpp:118
virtual float getBeta() const =0
Returns the nms threshold for object proposals.
double adaptiveThreshConstant
Definition: aruco.hpp:159
static std::true_type test(check< C, decltype(>ypeTraits< C >::wrap_value)> *)
virtual double getBackgroundPrior() const =0
int checkVector(int elemChannels, int depth=-1, bool requireContinuous=true) const
@ ComputeModeExclusive
Definition: cuda.hpp:902
@ IMWRITE_EXR_TYPE
Definition: imgcodecs.hpp:92
Definition: gplaidmlkernel.hpp:102
int radius_
Definition: stabilizer.hpp:120
int x
x offset
Definition: linemod.hpp:28
std::vector< PascalObj > objects
Definition: or_pascal.hpp:86
virtual void setUsePostProcessing(bool _use_post_proc)=0
Sets whether the fastGlobalSmootherFilter() post-processing is employed. It is turned on by default.
void feed(const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< std::pair< UMat, uchar > > &masks) CV_OVERRIDE
int kmeansAttempts
Definition: calib3d.hpp:1305
bool operator==(const Node &n) const
Definition: sparse_matching_gpc.hpp:164
void apply(detail::ProtoToParamT< Args >... inArgs, detail::ProtoToParamT< R > &outArg)
Definition: gtyped.hpp:133
@ ARO_CTR_HOR
Definition: fast_hough_transform.hpp:73
_Tp value_type
Definition: mat.hpp:2180
mat_type sigma_2
Definition: qualityssim.hpp:64
__host__ void gridCountNonZero_(const SrcPtr &src, GpuMat_< ResType > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: reduce.hpp:250
bool isContinuous() const
Net readNetFromTensorflow(const String &model, const String &config=String())
Reads a network model stored in TensorFlow framework's format.
virtual void setTrainMethod(int val)=0
virtual void setTruncatePrunedTree(bool val)=0
float getInitSigma() const
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.
virtual void setStabilizedFrames(const std::vector< Mat > &val) CV_OVERRIDE
@ NCV_ALLOCATOR_BAD_REUSE
Definition: NCV.hpp:337
@ CAP_PROP_OPENNI2_MIRROR
Definition: videoio.hpp:241
DataType< _Tp >::channel_type channel_type
Definition: mat.hpp:2181
#define OPENCV_HAL_IMPL_C_PACK(_Tpvec, _Tpnvec, _Tpn, pack_suffix, cast)
Helper macro.
Definition: intrin_cpp.hpp:2252
@ CAP_PROP_XI_HOUS_BACK_SIDE_TEMP
Camera housing back side temperature.
Definition: videoio.hpp:396
void setFrameSize(Size val)
Definition: motion_stabilizing.hpp:125
virtual int getPolyN() const =0
virtual void setNoiseSigma(double noiseSigma)=0
@ DNN_BACKEND_INFERENCE_ENGINE
Definition: dnn.hpp:72
MatExpr mul(InputArray m, double scale=1) const
Performs an element-wise multiplication or division of the two matrices.
double minVal
Minimum value of the statmodel parameter. Default value is 0.
Definition: ml.hpp:115
SrcPtr src
Definition: deriv.hpp:193
const Ptr< detail::Blender > blender() const
Definition: stitching.hpp:248
virtual Size getGridStep() const =0
Size of the grid to spawn the motion vectors.
@ EVENT_RBUTTONDOWN
indicates that the right mouse button is pressed.
Definition: highgui.hpp:208
@ STORE_ALIGNED_NOCACHE
Definition: intrin.hpp:97
Mat(const std::vector< int > &_dims, int _type, void *_data)
Definition: mat.hpp:110
__device__ __forceinline__ uint vavg4(uint a, uint b)
Definition: simd_functions.hpp:574
virtual float getInputMin() const =0
Input image range minimum value.
@ CALIB_FIX_XI
Definition: omnidir.hpp:62
#define CV_INTRIN_DEF_TYPE_TRAITS(type, int_type_, uint_type_, abs_type_, w_type_, q_type_, sum_type_, nlanes128_)
Definition: intrin.hpp:106
std::vector< int > component() const
Definition: stitching.hpp:288
int rows
Definition: deriv.hpp:371
@ HEVC
Definition: cudacodec.hpp:255
virtual bool allocate(GpuMat *mat, int rows, int cols, size_t elemSize)=0
@ BadAlign
incorrect input align
Definition: base.hpp:90
Data structure for salient point detectors.
Definition: types.hpp:712
#define CV_CUDEV_RGB2HLS_INST(name, scn, dcn, bidx)
Definition: color_cvt.hpp:263
virtual void setMotionModel(MotionModel val) CV_OVERRIDE
int t
Definition: descriptor.hpp:104
int length() const
Definition: gfluidbuffer.hpp:134
@ LOG_LEVEL_DEBUG
Debug message. Disabled in the "Release" build.
Definition: logger.defines.hpp:31
void drawKeylines(const Mat &image, const std::vector< KeyLine > &keylines, Mat &outImage, const Scalar &color=Scalar::all(-1), int flags=DrawLinesMatchesFlags::DEFAULT)
Draws keylines.
bool setDescriptorExtractor(Ptr< DescriptorExtractor > extractor)
#define CV_FINAL
Definition: cvdef.h:715
static void write(FileStorage &fs, const String &name, const Point3_< _Tp > &pt)
Definition: persistence.hpp:989
virtual void setP2(int P2)=0
float lineLength
Definition: descriptor.hpp:138
@ NCV_TEXTURE_BIND_ERROR
Definition: NCV.hpp:325
@ CAP_PROP_IOS_DEVICE_FLASH
Definition: videoio.hpp:496
@ CAP_OPENNI_GRAY_IMAGE
Data given from RGB image generator.
Definition: videoio.hpp:263
Net readNetFromTorch(const String &model, bool isBinary=true, bool evaluate=true)
Reads a network model stored in Torch7 framework's format.
virtual ~BackendWrapper()
Virtual destructor to make polymorphism.
int hal_ni_split16u(const ushort *src_data, ushort **dst_data, int len, int cn)
Definition: hal_replacement.hpp:346
v_reg< uint64, 2 > v_uint64x2
Two 64-bit unsigned integer values.
Definition: intrin_cpp.hpp:401
__device__ __host__ void getRect(Ncv32u *rectX, Ncv32u *rectY, Ncv32u *rectWidth, Ncv32u *rectHeight)
Definition: NCVHaarObjectDetection.hpp:101
Predicate pred
Definition: functional.hpp:812
cv::Size size() const override
Returns descriptor size.
Definition: tracking_by_matching.hpp:118
virtual int maxLevel() const
Definition: optical_flow.hpp:88
void setBorderMode(int val)
Definition: inpainting.hpp:155
float b
Definition: warpers.hpp:359
PlaneWarper(float scale=1.f)
Construct an instance of the plane warper class.
Definition: warpers.hpp:187
FileStorage()
The constructors.
virtual float getOutputMin() const =0
Output image range minimum value.
void computeRecallPrecisionCurve(const std::vector< std::vector< DMatch > > &matches1to2, const std::vector< std::vector< uchar > > &correctMatches1to2Mask, std::vector< Point2f > &recallPrecisionCurve)
Ptr< BackgroundSubtractorMOG2 > createBackgroundSubtractorMOG2(int history=500, double varThreshold=16, bool detectShadows=true)
Creates MOG2 Background Subtractor.
This 3D Widget represents a trajectory using spheres and lines.
Definition: widgets.hpp:659
int borderMode_
Definition: stabilizer.hpp:123
@ StsNotImplemented
the requested function/feature is not implemented
Definition: base.hpp:113
int timestamp
Definition: multicalib.hpp:103
@ COLOR_YCrCb2RGB
Definition: imgproc.hpp:583
static const char * tag()
Definition: gfluidkernel.hpp:158
void equalizeHist(InputArray src, OutputArray dst, Stream &stream=Stream::Null())
Equalizes the histogram of a grayscale image.
void match(const Mat &queryDescriptors, const Mat &trainDescriptors, std::vector< DMatch > &matches, const Mat &mask=Mat()) const
For every input query descriptor, retrieve the best matching one from a dataset provided from user or...
float vertexGain
Definition: calib3d.hpp:1309
bool isInt() const
returns true if the node is an integer
virtual int getMaxArea() const =0
MatExpr operator()(const Range &rowRange, const Range &colRange) const
PositionsVector lastPositions
Definition: detection_based_tracker.hpp:185
@ COLOR_YUV2RGB_IYUV
Definition: imgproc.hpp:648
static std::vector< float > getDefaultPeopleDetector()
Returns coefficients of the classifier trained for people detection (for 64x128 windows).
virtual Rect getROI1() const =0
static Ptr< Modality > create(const FileNode &fn)
Load a modality from file.
@ ADAPTIVE_THRESH_MEAN_C
Definition: imgproc.hpp:332
Rotation estimator base class.
Definition: motion_estimators.hpp:66
__device__ __forceinline__ uint vmin4(uint a, uint b)
Definition: simd_functions.hpp:892
__device__ T warpScanInclusive(T data, volatile T *smem, uint tid)
Definition: scan.hpp:89
Definition: global_motion.hpp:210
void create(int arows, int acols, int atype, Target target=ARRAY_BUFFER, bool autoRelease=false)
Allocates memory for ogl::Buffer object.
MercatorWarper(float scale)
Definition: warpers.hpp:452
virtual NCVStatus alloc(NCVMemSegment &seg, size_t size)
__host__ NCVStatus create(Ncv32u offsetHaarClassifierNode)
Definition: NCVHaarObjectDetection.hpp:188
Definition: NCVHaarObjectDetection.hpp:118
double threshold(InputArray src, OutputArray dst, double thresh, double maxval, int type, Stream &stream=Stream::Null())
Applies a fixed-level threshold to each array element.
GProtoArgs packArgs(Ts... args)
Definition: gproto.hpp:46
void swap(Mat &a, Mat &b)
Swaps two matrices.
virtual void setROI2(Rect roi2)=0
virtual double getMinScale() const =0
Point3_ & operator=(const Point3_ &pt)
int findSetByElem(int elem)
void copyFrom(InputArray arr, Target target=ARRAY_BUFFER, bool autoRelease=false)
Copies from host/device memory to OpenGL buffer.
RenderModes
render mode
Definition: opengl.hpp:478
@ SLIC
Definition: slic.hpp:132
::cvflann::IndexParams getParameters()
Definition: flann.hpp:294
#define MIN(a, b)
Definition: cvdef.h:453
std::string getCPUFeaturesLine()
Returns list of CPU features enabled during compilation.
float index_type
Definition: interpolation.hpp:66
static constexpr bool value
Definition: gfluidkernel.hpp:335
Point2f getEndPointInOctave() const
Definition: descriptor.hpp:162
void getPlatfomsInfo(std::vector< PlatformInfo > &platform_info)
v_int64x2 v_setall_s64(int64 val)
Definition: intrin_cpp.hpp:2169
#define CV_CUDEV_RGB2GRAY_INST(name, scn, bidx)
Definition: color_cvt.hpp:75
static Ptr< Plot2d > create(InputArray data)
Creates Plot2d object.
GPCPatchDescriptor ref
Definition: sparse_matching_gpc.hpp:79
SparseMat_(const Mat &m)
converts dense matrix to the sparse form
void log64f(const double *src, double *dst, int n)
Definition: functional.hpp:261
void printCudaDeviceInfo(int device)
@ SYMMETRIC_GRID
Definition: calib3d.hpp:1319
double alpha
Default is 1e-3.
Definition: kalman_filters.hpp:139
void setMethod(int val)
Definition: depth.hpp:251
Definition: gcpukernel.hpp:81
Definition: softfloat.hpp:227
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.
Size_(const Point_< _Tp > &pt)
Ptr< FrameSource > createFrameSource_Video_CUDA(const String &fileName)
Mat texture
Definition: types.hpp:137
This 3D Widget defines a poly line. :
Definition: widgets.hpp:391
Class implementing Fourier transform profilometry (FTP) , phase-shifting profilometry (PSP) and Fouri...
Definition: sinusoidalpattern.hpp:69
void setMaxDepth(double val)
Definition: depth.hpp:802
virtual void setMaxObjectSize(Size maxObjectSize)=0
std::enable_if<!std::is_same< typename std::decay< T >::type, typename std::decay< U >::type >::value, V > are_different
Definition: variant.hpp:43
_Tp y
y coordinate of the top-left corner
Definition: types.hpp:454
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:227
virtual void setScaleFactor(double scale0)=0
Coefficient of the detection window increase.
long long Ncv64s
Definition: NCV.hpp:119
virtual double getBackgroundRatio() const =0
int hal_ni_gemm32f(const float *src1, size_t src1_step, const float *src2, size_t src2_step, float alpha, const float *src3, size_t src3_step, float beta, float *dst, size_t dst_step, int m, int n, int k, int flags)
Definition: hal_replacement.hpp:694
int rows
Definition: extrapolation.hpp:100
static GMetaArgs getOutMeta(const GMetaArgs &, const GArgs &)
Definition: infer.hpp:87
static uchar abs(uchar a)
Definition: cvstd.hpp:66
void setTargetWidth(int width)
Set the width of the target.
virtual void setMaxNumObjects(int maxNumObjects)=0
float alpha2
"Controls speed of feature learning". Depends on T. Typical value circa 0.005.
Definition: cudalegacy.hpp:171
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.
std::string fileName
Definition: hpe_humaneva.hpp:67
@ NPPST_INVALID_ROI
Invalid region of interest argument.
Definition: NCV.hpp:365
bool parseIndex(unsigned int index_size, frame_list &in_frame_list)
Methods
Training methods.
Definition: ml.hpp:1670
Buffer()
The constructors.
pointer allocate(size_type count, const void *=0)
Definition: cvstd.hpp:132
void setBorderMode(int val)
Definition: stabilizer.hpp:95
SparseMatIterator()
the default constructor
@ CAP_FFMPEG
Open and record video file or stream using the FFMPEG library.
Definition: videoio.hpp:117
float getNormSigma0() const
VectorRef(std::vector< T > &&vec)
Definition: garray.hpp:234
Ptr< TrackerTargetState > estimateImpl(const std::vector< ConfidenceMap > &confidenceMaps) CV_OVERRIDE
int iterdepth
Definition: mat.hpp:3421
int n2
Definition: descriptor.hpp:145
@ LADYBUG
Definition: slam_tumindoor.hpp:64
Point2f bottomRight
Bottom right corner of the bounding rect.
Definition: imgproc.hpp:1245
virtual int getWTA_K() const =0
@ COLOR_YUV2BGRA_IYUV
Definition: imgproc.hpp:658
K API
Definition: gcompoundkernel.hpp:97
bool isReal() const
returns true iff v1 == v2 == v3 == 0
float bilateral_sigma_spatial
Spatial sigma in pixels for bilateral smooth.
Definition: dynafu.hpp:47
std::vector< groundTruth > groundTruths
Definition: gr_chalearn.hpp:79
@ QT_FONT_NORMAL
Weight of 50.
Definition: highgui.hpp:233
virtual void init(const CvFeatureParams *_featureParams, int _maxSampleCount, Size _winSize) CV_OVERRIDE
__host__ GpuMat_ colRange(int startcol, int endcol) const
v_int64x2 v_reinterpret_as_s64(const v_reg< _Tp0, n0 > &a)
Definition: intrin_cpp.hpp:2191
Definition: deblurring.hpp:97
virtual const Params & getParams() const =0
Get current parameters.
Matx< double, 3, 3 > Matx33d
Definition: matx.hpp:238
GPCMatchingParams(bool _useOpenCL=false)
Definition: sparse_matching_gpc.hpp:147
const char * nameFont
Name of the font.
Definition: highgui.hpp:690
NCVStatus copySolid(NCVMatrix< T > &dst, cudaStream_t cuStream, size_t howMuch=0) const
Definition: NCV.hpp:766
const std::vector< float > * blurrinessRates_
Definition: deblurring.hpp:87
@ CAP_PROP_XI_CMS
Mode of color management system.
Definition: videoio.hpp:398
Definition: motion_stabilizing.hpp:98
int shift
The number of fractional bits in the point coordinate.
Definition: render.hpp:362
virtual Mat getState() const =0
@ CPU_MMX
Definition: cvdef.h:273
Mat mean
mean value subtracted before the projection and added after the back projection
Definition: core.hpp:2533
virtual void initialize(const std::vector< Point > &corners, const std::vector< Size > &sizes) CV_OVERRIDE
void updateContinuityFlag()
internal use method: updates the continuity flag
static int type()
Definition: flann.hpp:76
static void read(const FileNode &node, Range &value, const Range &default_value)
Definition: persistence.hpp:779
Definition: gtype_traits.hpp:80
GMat sqrt(const GMat &src)
Calculates a square root of array elements.
static bool debugMode()
Returns whether debug-mode is active for this TU and thread.
Definition: debug_mode.hpp:32
Mat estimateRigidTransform(InputArray src, InputArray dst, bool fullAffine)
Computes an optimal affine transformation between two 2D point sets.
Spherical warper factory class.
Definition: warpers.hpp:160
@ COLOR_YUV2RGB_YVYU
Definition: imgproc.hpp:694
the Fine Grained Saliency approach from
Definition: saliencySpecializedClasses.hpp:123
@ H5_NONE
No compression,.
Definition: hdf5.hpp:127
@ TM_CCOEFF
Definition: imgproc.hpp:3654
SparseMat::Node * node() const
returns pointer to the current sparse matrix node. it.node->idx is the index of the current element (...
virtual int getRangeMaxVal() const =0
Maximum possible value of the input image (e.g. 255 for 8 bit images, 4095 for 12 bit images)
int maxTextureCubemap() const
maximum Cubemap texture dimensions
Mat_< int > speckleY
Definition: matching.hpp:369
int maxWorkItemDims() const
virtual std::vector< float > compute(const std::vector< cv::Mat > &descrs1, const std::vector< cv::Mat > &descrs2)=0
Computes distances between two descriptors in batches.
static cv::Scalar compute(InputArray ref, InputArray cmp, OutputArray qualityMap)
static method for computing quality
void equalizeHist(InputArray src, OutputArray dst)
Equalizes the histogram of a grayscale image.
The MIL algorithm trains a classifier in an online manner to separate the object from the background.
Definition: tracker.hpp:1066
TrackerFeatureHAAR(const TrackerFeatureHAAR::Params ¶meters=TrackerFeatureHAAR::Params())
Constructor.
std::map< String, std::vector< TemplatePyramid > > TemplatesMap
Definition: linemod.hpp:401
v_reg< _Tp, n > operator<=(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Less-than or equal comparison.
Definition: intrin_cpp.hpp:683
Ptr< DTFilter > createDTFilter(InputArray guide, double sigmaSpatial, double sigmaColor, int mode=DTF_NC, int numIters=3)
Factory method, create instance of DTFilter and produce initialization routines.
void getByIndex(int index, bool space_delete, Param type, void *dst) const
Augmented Unscented Kalman filter parameters. The class for initialization parameters of Augmented Un...
Definition: kalman_filters.hpp:179
int preferredVectorWidthFloat() const
This 3D Widget represents an image in 3D space. :
Definition: widgets.hpp:476
MatConstIterator_(const Mat_< _Tp > *_m, Point _pt)
constructor that sets the iterator to the specified element of the matrix
float parasolCells_tau
Definition: retina.hpp:176
@ COLOR_Luv2LBGR
Definition: imgproc.hpp:623
virtual double getK() const =0
virtual void updateEntityPose(const String &name, InputArray tvec=noArray(), InputArray rot=noArray())=0
__device__ __forceinline__ uchar saturate_cast< uchar >(schar v)
Definition: saturate_cast.hpp:68
CascadeClassifier(const String &filename)
Loads a classifier from a file.
@ COLOR_YUV2BGRA_NV21
Definition: imgproc.hpp:642
__host__ __device__ __forceinline__ ZipPtr()
Definition: zip.hpp:66
A container class for heterogeneous kernel implementation collections and graph transformations.
Definition: gkernel.hpp:354
virtual Mat predict(InputArray control=noArray())=0
void addWeighted32s(const int *src1, size_t step1, const int *src2, size_t step2, int *dst, size_t step, int width, int height, void *scalars)
__device__ static __forceinline__ double epsilon()
Definition: limits.hpp:121
virtual ~TrackerCSRT() CV_OVERRIDE
Definition: tracker.hpp:1540
cv::Scalar compute(InputArray img) CV_OVERRIDE
Computes BRISQUE quality score for input image.
static Ptr< PHash > create()
Rect dst_roi_
Definition: timelapsers.hpp:76
int thick
The thickness of line.
Definition: render.hpp:272
This 3D Widget defines a cylinder. :
Definition: widgets.hpp:357
@ CAP_PROP_XI_DEVICE_RESET
Resets the camera to default state.
Definition: videoio.hpp:463
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.
int font_face
See cv::QtFontStyles.
Definition: highgui.hpp:692
_Result result_type
Definition: functional.hpp:65
virtual void setSorIterations(int val)=0
Number of inner successive over-relaxation (SOR) iterations in the minimization procedure to solve th...
uint64 u
Definition: cvdef.h:358
virtual void setMinX(double _plotMinX)=0
Abstract base class for generating and decoding structured light patterns.
Definition: structured_light.hpp:62
virtual void detect(InputArray img, std::vector< Point > &found_locations, std::vector< double > *confidences=NULL)=0
Performs object detection without a multi-scale window.
@ WND_PROP_TOPMOST
property to toggle normal window being topmost or not
Definition: highgui.hpp:201
static Ptr< MVNLayer > create(const LayerParams ¶ms)
__host__ NCVStatus setRect(Ncv32u rectX, Ncv32u rectY, Ncv32u rectWidth, Ncv32u rectHeight, Ncv32u, Ncv32u)
Definition: NCVHaarObjectDetection.hpp:84
size_t _length
Definition: NCV.hpp:620
virtual void setBias(float bias)=0
virtual int getNumFrames() const =0
virtual float predict(InputArray samples, OutputArray results=noArray(), int flags=0) const CV_OVERRIDE=0
Returns posterior probabilities for the provided samples.
void forward(std::vector< std::vector< Mat > > &outputBlobs, const std::vector< String > &outBlobNames)
Runs forward pass to compute outputs of layers listed in outBlobNames.
bool hasWeights
Definition: all_layers.hpp:527
const DictValue * ptr(const String &key) const
void eigenNonSymmetric(InputArray src, OutputArray eigenvalues, OutputArray eigenvectors)
Calculates eigenvalues and eigenvectors of a non-symmetric matrix (real eigenvalues only).
int * p
Definition: mat.hpp:583
@ NORM_HAMMING2
Definition: base.hpp:204
NCVStatus nppiStTranspose_32u_C1R(Ncv32u *d_src, Ncv32u srcStride, Ncv32u *d_dst, Ncv32u dstStride, NcvSize32u srcRoi)
virtual size_t getClassCount() const =0
Return a count of loaded models (classes).
@ H264_SVC
Definition: cudacodec.hpp:253
void detectMultiScale(InputArray image, std::vector< Rect > &objects, std::vector< int > &rejectLevels, std::vector< double > &levelWeights, double scaleFactor=1.1, int minNeighbors=3, int flags=0, Size minSize=Size(), Size maxSize=Size(), bool outputRejectLevels=false)
void setRansacParams(RansacParams val)
Definition: outlier_rejection.hpp:82
This sampler is based on particle filtering.
Definition: tracker.hpp:897
GpuMat(int rows, int cols, int type, GpuMat::Allocator *allocator=GpuMat::defaultAllocator())
constructs GpuMat of the specified size and type
CascadeClassifier face_cascade
Definition: facemark_train.hpp:50
@ TRIANGLES
Definition: opengl.hpp:483
@ CAP_PROP_INTELPERC_PROFILE_COUNT
Definition: videoio.hpp:520
virtual TermCriteria getTermCriteria() const =0
Termination criteria of the training algorithm. You can specify the maximum number of iterations (max...
Vec< double, 2 > Vec2d
Definition: matx.hpp:423
std::string nameDepth
Definition: gr_chalearn.hpp:77
MatExpr operator<(const Mat &a, const Mat &b)
virtual float getSigma()=0
NodeDataTls()
Definition: instrumentation.hpp:62
virtual void resetPeakUsage()=0
void accumulateWeighted(InputArray src, InputOutputArray dst, double alpha, InputArray mask=noArray())
Updates a running average.
@ OpenCLDoubleNotSupported
Definition: base.hpp:121
virtual bool scanAttr(const std::string prmName, const std::string val)
int hal_ni_max16s(const short *src1_data, size_t src1_step, const short *src2_data, size_t src2_step, short *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:106
SrcPtr src
Definition: reduction.hpp:110
virtual double getBackpropWeightScale() const =0
int lt
The line type. See LineTypes.
Definition: render.hpp:132
@ CAP_PROP_SPEED
Exposure speed. Can be readonly, depends on camera program.
Definition: videoio.hpp:560
@ COLORMAP_HSV
Definition: imgproc.hpp:4228
void apply(GCPUContext &ctx)
void remap(InputArray src, OutputArray dst, InputArray xmap, InputArray ymap, int interpolation, int borderMode=BORDER_CONSTANT, Scalar borderValue=Scalar(), Stream &stream=Stream::Null())
Applies a generic geometrical transformation to an image.
static Ptr< ORB > create(int nfeatures=500, float scaleFactor=1.2f, int nlevels=8, int edgeThreshold=31, int firstLevel=0, int WTA_K=2, ORB::ScoreType scoreType=ORB::HARRIS_SCORE, int patchSize=31, int fastThreshold=20)
The ORB constructor.
LDA(int num_components=0)
constructor Initializes a LDA with num_components (default 0).
virtual void loadModel(String model)=0
A function to load the trained model before the fitting process.
virtual double getAngleEpsilon() const =0
Definition: descriptor.hpp:143
int hal_ni_absdiff16s(const short *src1_data, size_t src1_step, const short *src2_data, size_t src2_step, short *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:133
int _num_components
Definition: core.hpp:2609
virtual void setMinDist(double minDist)=0
Minimum distance between the centers of the detected objects.
int desc_pca
compressed descriptors of TrackerKCF::MODE
Definition: tracker.hpp:1256
void normalize()
Definition: mapprojec.hpp:95
virtual int getNumRotations() const =0
UMat dst_
Definition: timelapsers.hpp:75
static Ptr< BRISK > create(int thresh, int octaves, const std::vector< float > &radiusList, const std::vector< int > &numberList, float dMax=5.85f, float dMin=8.2f, const std::vector< int > &indexChange=std::vector< int >())
The BRISK constructor for a custom pattern, detection threshold and octaves.
@ COLOR_YUV2BGRA_UYVY
Definition: imgproc.hpp:684
virtual int getNumIters() const =0
number of BP iterations on each level
Definition: warpers.hpp:607
Mat col(int x) const
Creates a matrix header for the specified matrix column.
OCRBeamSearchDecoder class provides an interface for OCR using Beam Search algorithm.
Definition: ocr.hpp:394
virtual bool open(int index, int apiPreference=CAP_ANY)
Opens a camera for video capturing.
Definition: cvstd.hpp:120
#define CV_ELEM_SIZE1(type)
Definition: cvdef.h:448
@ CAP_PROP_XI_RECENT_FRAME
GetImage returns most recent frame.
Definition: videoio.hpp:462
virtual void setK(double k)=0
Definition: detection_based_tracker.hpp:58
int ymin
Definition: or_pascal.hpp:63
Outer Plexiform Layer (OPL) and Inner Plexiform Layer Parvocellular (IplParvo) parameters.
Definition: retina.hpp:151
NCVStatus nppiStInterpolateFrames(const NppStInterpolationState *pState)
Matx(const Matx< _Tp, m, n > &a, const Matx< _Tp, m, n > &b, Matx_MulOp)
GMat addC(const GMat &src1, const GScalar &c, int ddepth=-1)
Calculates the per-element sum of matrix and given scalar.
double arcLength(InputArray curve, bool closed)
Calculates a contour perimeter or a curve length.
@ CAP_PROP_IRIS
Definition: videoio.hpp:168
int hal_ni_cvtBGRtoYUV(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isCbCr)
hal_cvtBGRtoYUV
Definition: hal_replacement.hpp:393
virtual void compute(const std::vector< cv::Mat > &mats, std::vector< cv::Mat > &descrs)=0
Computes image descriptors in batches.
Mat_(int _ndims, const int *_sizes)
n-dim array constructor
virtual int getTextureThreshold() const =0
Definition: mappergradeuclid.hpp:53
Rect & operator&=(Rect &lhs, const Rect &rhs)
Definition: types.hpp:64
int m_selectedClassifier
Definition: onlineBoosting.hpp:143
__host__ void swap(GpuMat_ &mat)
swaps with other smart pointer
Cascade classifier class used for object detection. Supports HAAR and LBP cascades....
Definition: cudaobjdetect.hpp:199
void setWindowProperty(const String &winname, int prop_id, double prop_value)
Changes parameters of a window dynamically.
@ CALIB_FIX_K1
Definition: calib3d.hpp:274
void update(const Mat &posx, const Mat &negx, const cv::Mat_< float > &posw=cv::Mat_< float >(), const cv::Mat_< float > &negw=cv::Mat_< float >())
std::string name
Definition: slam_tumindoor.hpp:69
Definition: warpers.hpp:598
virtual void training(void *parameters=0)=0
Trains a Facemark algorithm using the given dataset. Before the training process, training samples sh...
void getMemoryConsumption(const std::vector< MatShape > &netInputShapes, size_t &weights, size_t &blobs) const
Computes bytes number which are required to store all weights and intermediate blobs for model.
virtual void apply(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step)=0
void unregisterPageLocked(Mat &m)
Unmaps the memory of matrix and makes it pageable again.
bool full_affine_
Definition: matchers.hpp:245
__device__ __forceinline__ double4 tan(const double4 &a)
Definition: vec_math.hpp:310
int asyncEngineCount() const
number of asynchronous engines
float startPointY
Definition: descriptor.hpp:127
static Ptr< QualityBRISQUE > create(const cv::Ptr< cv::ml::SVM > &model, const cv::Mat &range)
Create an object which calculates quality.
int stop
Definition: descriptor.hpp:69
@ CAP_PROP_GIGA_FRAME_WIDTH_MAX
Definition: videoio.hpp:509
Definition: variant.hpp:70
std::vector< float > compute(const std::vector< cv::Mat > &descrs1, const std::vector< cv::Mat > &descrs2) override
Computes distances between two descriptors in batches.
void train()
Update dataset by inserting into it all descriptors that were stored locally by add function.
Mat readCloud(const String &file, OutputArray colors=noArray(), OutputArray normals=noArray())
@ COLOR_RGBA2BGR555
Definition: imgproc.hpp:568
Ncv32s y
y-coordinate of upper left corner.
Definition: NCV.hpp:151
value_t * any_cast(any *operand)
Definition: any.hpp:114
int hal_ni_not8u(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:154
Rect & operator=(const cv::Rect &other)
Definition: types.hpp:38
Definition: functional.hpp:875
virtual void activateMovingContoursProcessing(const bool activate)=0
Activate/desactivate the Magnocellular pathway processing (motion information extraction),...
Definition: saliencyBaseClasses.hpp:63
Definition: objdetect.hpp:175
static scalar_wrapper get(GCPUContext &ctx, int idx)
Definition: gcpukernel.hpp:219
v_reg< _Tp, n > operator~(const v_reg< _Tp, n > &a)
Bitwise NOT.
Definition: intrin_cpp.hpp:485
OCRTesseract class provides an interface with the tesseract-ocr API (v3.02.02) in C++.
Definition: ocr.hpp:117
static Ptr< TrackerTLD > create(const TrackerTLD::Params ¶meters)
Constructor.
int height
Definition: pd_inria.hpp:76
__device__ __forceinline__ uint vsub4(uint a, uint b)
Definition: simd_functions.hpp:550
void operator()(InputArray points3d, OutputArray mask, OutputArray plane_coefficients)
virtual Mat estimate(InputArray points0, InputArray points1, bool *ok=0) CV_OVERRIDE
Estimates global motion between two 2D point clouds.
@ VIDEOWRITER_PROP_QUALITY
Current quality (0..100%) of the encoded videostream. Can be adjusted dynamically in some codecs.
Definition: videoio.hpp:188
static void write(FileStorage &fs, const String &name, const Size_< _Tp > &sz)
Definition: persistence.hpp:996
TrackedObject & back()
back returns non-const reference to last object in track.
Definition: tracking_by_matching.hpp:375
static void write(FileStorage &fs, const Point_< _Tp > &pt)
Definition: persistence.hpp:908
std::vector< size_t > adjust_pads
Definition: all_layers.hpp:214
virtual double getTheta() const =0
ICPOdometry(const Mat &cameraMatrix, float minDepth=Odometry::DEFAULT_MIN_DEPTH(), float maxDepth=Odometry::DEFAULT_MAX_DEPTH(), float maxDepthDiff=Odometry::DEFAULT_MAX_DEPTH_DIFF(), float maxPointsPart=Odometry::DEFAULT_MAX_POINTS_PART(), const std::vector< int > &iterCounts=std::vector< int >(), int transformType=Odometry::RIGID_BODY_MOTION)
void mapForward(float x, float y, float &u, float &v)
int maxCount
the maximum number of iterations/elements
Definition: types.hpp:882
WGrid(const Point3d ¢er, const Vec3d &normal, const Vec3d &new_yaxis, const Vec2i &cells=Vec2i::all(10), const Vec2d &cells_spacing=Vec2d::all(1.0), const Color &color=Color::white())
Creates repositioned grid.
Definition: feature.hpp:360
Image hash based on block mean.
Definition: block_mean_hash.hpp:27
GMat medianBlur(const GMat &src, int ksize)
Blurs an image using the median filter.
bool drop_forgotten_tracks
Definition: tracking_by_matching.hpp:296
Rect resultRoiIntersection(const std::vector< Point > &corners, const std::vector< Size > &sizes)
void qmultiply(InputArray src1, InputArray src2, OutputArray dst)
Calculates the per-element quaternion product of two arrays.
Definition: scalar.hpp:21
virtual void print(const char *,...) CV_OVERRIDE
Definition: log.hpp:66
virtual void setTheta(float theta)=0
int xmin
Definition: core_detect.hpp:28
int64 saturate_cast< int64 >(uint64 v)
Definition: saturate.hpp:157
float normSigma1
Definition: rlofflow.hpp:98
void setCompositingResol(double resol_mpx)
Definition: stitching.hpp:193
int allocatorFlags_
Definition: mat.hpp:565
int n
Definition: facemarkAAM.hpp:69
virtual double getAngleStep() const =0
GComputation(GMat in, GMat out)
Defines an unary (one input – one output) computation.
Definition: all_layers.hpp:571
@ CAP_PROP_XI_IS_DEVICE_EXIST
Returns 1 if camera connected and works properly.
Definition: videoio.hpp:456
virtual void setP2(int P2)=0
@ NCV_UNKNOWN_ERROR
Definition: NCV.hpp:317
Definition: shape_utils.hpp:58
void integral(InputArray src, OutputArray sum, int sdepth=-1)
Definition: gr_chalearn.hpp:71
float r_kinv[9]
Definition: warpers.hpp:133
@ FONT_HERSHEY_TRIPLEX
normal size serif font (more complex than FONT_HERSHEY_COMPLEX)
Definition: imgproc.hpp:818
std::vector< UMat > masks_
Definition: seam_finders.hpp:103
@ is_unsigned_int
Definition: type_traits.hpp:142
Matx< double, 6, 1 > Matx61d
Definition: matx.hpp:228
static void read(const FileNode &node, _Tp &value, const _Tp &default_value=static_cast< _Tp >(0))
Definition: persistence.hpp:1161
GMatDesc(int d, const std::vector< int > &dd)
Definition: gmat.hpp:91
@ COLOR_BGR2BGRA
add alpha channel to RGB or BGR image
Definition: imgproc.hpp:524
Definition: functional.hpp:831
@ CALIB_HAND_EYE_ANDREFF
On-line Hand-Eye Calibration .
Definition: calib3d.hpp:308
static void call(Inputs &&... ins, Outputs &&... outs)
Definition: goclkernel.hpp:199
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: lut.hpp:80
virtual ~IDetector()
Definition: detection_based_tracker.hpp:112
void detect(const Mat &image, std::vector< KeyLine > &keypoints, int scale, int numOctaves, const Mat &mask=Mat())
Detect lines inside an image.
GComputationT(const Gen &generator)
Definition: gtyped.hpp:199
size_t totalConstMem() const
constant memory available on device in bytes
@ HOUGH_PROBABILISTIC
Definition: imgproc.hpp:472
Target
Enum of target devices for computations.
Definition: dnn.hpp:88
int numFeatures
Definition: feature.hpp:193
void updatePose(Matx33d &NewR, Vec3d &NewT)
Updates the pose with the new one.
void detect(const Mat &image, std::vector< KeyLine > &keypoints, const Mat &mask=Mat())
Requires line detection.
virtual ~Dataset()
Definition: dataset.hpp:568
virtual void setWeightTrimRate(double val)=0
std::map< String, DictValue >::const_iterator end() const
Vec< double, 3 > Vec3d
Definition: matx.hpp:424
tuple< typename PtrTraits< Ptr0 >::value_type, typename PtrTraits< Ptr1 >::value_type, typename PtrTraits< Ptr2 >::value_type > value_type
Definition: zip.hpp:79
static void help_init(const cv::GMetaArgs &, const cv::GArgs &, gapi::fluid::Buffer &)
Definition: gfluidkernel.hpp:244
void enableFusion(bool fusion)
Enables or disables layer fusion in the network.
int edgeOrg(int edge, Point2f *orgpt=0) const
Returns the edge origin.
virtual Mat estimateMotion()=0
Definition: functional.hpp:163
virtual void setVarInit(double varInit)=0
Sets the initial variance of each gaussian component.
const Ptr< WarperCreator > warper() const
Definition: stitching.hpp:235
void setFDSize(int n)
set number of Fourier descriptors when estimateTransformation used vector<Point>
size_t forget_delay
Definition: tracking_by_matching.hpp:263
static std::pair< cv::Scalar, mat_type > compute(const _mat_data &lhs, const _mat_data &rhs)
const Mat ** arrays
the iterated arrays
Definition: mat.hpp:3409
implementation for the star kernel descriptor
Definition: descriptor.hpp:274
@ CAP_PROP_XI_LED_MODE
Define camera signalling LED functionality.
Definition: videoio.hpp:346
void setIterationCounts(const cv::Mat &val)
Definition: depth.hpp:818
const uchar * dataend
Definition: cuda.hpp:334
virtual void setFunction(const Ptr< Function > &f)=0
Setter for the optimized function.
The TrackerParams struct stores parameters of TrackerByMatching.
Definition: tracking_by_matching.hpp:260
@ TENSOR
G-API traits an associated cv::Mat as a raw tensor and passes dimensions as-is.
Detector(const std::vector< Ptr< Modality > > &modalities, const std::vector< int > &T_pyramid)
Constructor.
void setCameraMatrix(const cv::Mat &val) CV_OVERRIDE
Definition: depth.hpp:1075
Affine3 rotate(const Vec3 &rvec) const
a.rotate(rvec) is equivalent to Affine(rvec, 0) * a;
@ NCV_NULL_PTR
Definition: NCV.hpp:323
Definition: multicalib.hpp:99
HOGDescriptor(const String &filename)
Definition: objdetect.hpp:419
Class for extracting blobs from an image. :
Definition: features2d.hpp:623
__device__ static __forceinline__ int idx_low(int i, int len)
Definition: extrapolation.hpp:199
Ptr< std::deque< int > > crossings
horizontal crossings
Definition: erfilter.hpp:85
@ MATERIAL_DIFFUSE
Definition: ovis.hpp:39
bool canDescribe(const cv::Mat &mat) const
int set(int i, const KernelArg &arg)
void assign(const std::vector< UMat > &v) const
virtual void setStepDecreasingPower(float stepDecreasingPower)=0
Parameter stepDecreasingPower of a SVMSGD optimization problem.
GProtoOutputArgs GOut(Ts &&... ts)
Definition: gproto.hpp:75
@ SOLVELP_MULTI
there are multiple maxima for target function - the arbitrary one is returned
Definition: optim.hpp:262
double kmeans(InputArray data, int K, InputOutputArray bestLabels, TermCriteria criteria, int attempts, int flags, OutputArray centers=noArray())
Finds centers of clusters and groups input samples around the clusters.
void magnitude(InputArray x, InputArray y, OutputArray magnitude)
Calculates the magnitude of 2D vectors.
int cvIsNaN(double value)
Determines if the argument is Not A Number.
Definition: fast_math.hpp:270
@ CALIB_USE_QR
use QR instead of SVD decomposition for solving. Faster but potentially less precise
Definition: calib3d.hpp:285
void estimateUncertaintiesStereo(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints1, InputArrayOfArrays imagePoints2, InputArray parameters, Mat &errors, Vec2d &std_error, double &rms, int flags)
void setTrackbarMax(const String &trackbarname, const String &winname, int maxval)
Sets the trackbar maximum position.
static void print(const MatShape &shape, const String &name="")
Definition: shape_utils.hpp:188
Impl * p
Definition: ocl.hpp:666
std::tuple< cv::GMatDesc, cv::GMatDesc > GMatDesc2
Definition: render.hpp:381
std::tuple< GMat, GMat > GMat2
Definition: core.hpp:31
virtual float getMinScore() const =0
Returns the min score of boxes to detect.
__device__ __forceinline__ uint vcmpge2(uint a, uint b)
Definition: simd_functions.hpp:302
virtual void deleteDataInstance(void *pData) const =0
Vec3d RQDecomp3x3(InputArray src, OutputArray mtxR, OutputArray mtxQ, OutputArray Qx=noArray(), OutputArray Qy=noArray(), OutputArray Qz=noArray())
Computes an RQ decomposition of 3x3 matrices.
virtual MotionModel motionModel() const CV_OVERRIDE
Definition: global_motion.hpp:235
Point3_(const Point3_ &pt)
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:428
int registerModelToScene(const Mat &srcPC, const Mat &dstPC, std::vector< Pose3DPtr > &poses)
Perform registration with multiple initial poses.
Ptr< HausdorffDistanceExtractor > createHausdorffDistanceExtractor(int distanceFlag=cv::NORM_L2, float rankProp=0.6f)
virtual void setEntityLookAt(const String &origin, const String &target, InputArray offset=noArray())=0
float thresholdStep
Definition: features2d.hpp:628
const _Tp & operator()(int row, int col) const
element access
void initUndistortRectifyMap(InputArray cameraMatrix, InputArray distCoeffs, InputArray R, InputArray newCameraMatrix, Size size, int m1type, OutputArray map1, OutputArray map2)
Computes the undistortion and rectification transformation map.
void radialVarianceHash(cv::InputArray inputArr, cv::OutputArray outputArr, double sigma=1, int numOfAngleLine=180)
Computes radial variance hash of the input image.
Mat stateInit
Initial state, DP x 1, default is zero.
Definition: kalman_filters.hpp:132
static constexpr const std::size_t value
Definition: variant.hpp:49
static KernelArg Constant(const Mat &m)
cameraParam camera
Definition: msm_epfl.hpp:74
@ CAP_PROP_XI_DEVICE_MODEL_ID
Returns device model id.
Definition: videoio.hpp:436
NCVStatus nppiStSqrIntegral_8u64u_C1R(Ncv8u *d_src, Ncv32u srcStep, Ncv64u *d_dst, Ncv32u dstStep, NcvSize32u roiSize, Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp)
Ptr< cuda::BackgroundSubtractorMOG2 > createBackgroundSubtractorMOG2(int history=500, double varThreshold=16, bool detectShadows=true)
Creates MOG2 Background Subtractor.
void GradientPaillouX(InputArray op, OutputArray _dst, double alpha, double omega)
virtual int getDepthDiscontinuityRadius()=0
DepthDiscontinuityRadius is a parameter used in confidence computation. It defines the size of low-co...
virtual void setPolySigma(double polySigma)=0
static Mat getSubVector(const Mat &vec, const Mat &idx)
Extract from 1D vector elements specified by passed indexes.
std::string getAlgorithm()
Returns the scale factor of the model:
virtual float getFGSSigma()=0
int imageStop
Definition: descriptor.hpp:146
__device__ static __forceinline__ int idx_high(int i, int len)
Definition: extrapolation.hpp:178
void read(const FileNode &)
Read parameters from a file.
virtual double eval(const ERStat &stat)=0
The classifier must return probability measure for the region.
__host__ __device__ NcvPoint2D32u(Ncv32u x_, Ncv32u y_)
Definition: NCV.hpp:205
virtual void setL2Gradient(bool L2gradient)=0
Bundle adjuster that expects affine transformation with 4 DOF represented in homogeneous coordinates ...
Definition: motion_estimators.hpp:314
__device__ __forceinline__ MakeVec< uchar, VecTraits< T >::cn >::type operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:155
void bitwise_and(InputArray src1, InputArray src2, OutputArray dst, InputArray mask=noArray(), Stream &stream=Stream::Null())
Performs a per-element bitwise conjunction of two matrices (or of matrix and scalar).
std::string device_id
Definition: ie.hpp:48
double division_k2
Definition: simple_pipeline.hpp:118
int minNumberOfSamples
Minimum number of samples in the node to stop partitioning.
Definition: sparse_matching_gpc.hpp:126
void absdiff(InputArray src1, InputArray src2, OutputArray dst)
Calculates the per-element absolute difference between two arrays or between an array and a scalar.
virtual void setPolySigma(double val)=0
virtual int getNMixtures() const =0
@ fist
Definition: gr_skig.hpp:76
virtual int getSorIterations() const =0
Number of inner successive over-relaxation (SOR) iterations in the minimization procedure to solve th...
int hal_ni_dctFree2D(cvhalDFT *context)
Definition: hal_replacement.hpp:571
void recip32f(const float *, size_t, const float *src2, size_t step2, float *dst, size_t step, int width, int height, void *scale)
int template_id
Definition: linemod.hpp:286
__host__ __device__ NcvPoint2D32s()
Definition: NCV.hpp:195
virtual Mat getSamples() const =0
void setInpainter(Ptr< InpainterBase > val)
Definition: stabilizer.hpp:98
static tracked_cv_mat get(GCPUContext &ctx, int idx)
Definition: gcpukernel.hpp:204
__device__ __forceinline__ float operator()(T val, float power) const
Definition: functional.hpp:648
@ SFM_IO_BUNDLER
Definition: io.hpp:58
Affine3f volumePose
initial volume pose in meters
Definition: dynafu.hpp:69
static float missingValue()
Definition: ml.hpp:148
Image2D(const UMat &src, bool norm=false, bool alias=false)
static Yes check(unary_function< T, D >)
Ncv32u nStep
pitch
Definition: NPP_staging.hpp:117
RotatedRect fitEllipseAMS(InputArray points)
Fits an ellipse around a set of 2D points.
MotionModel motionModel() const
Definition: motion_stabilizing.hpp:123
The base class for stereo correspondence algorithms.
Definition: calib3d.hpp:2661
float edgeGain
Definition: calib3d.hpp:1312
virtual void apply(InputArray image, OutputArray fgmask, double learningRate, Stream &stream)=0
int inputNameToIndex(String inputName) CV_OVERRIDE
Returns index of input blob into the input array.
#define CV_EXPORTS_TEMPLATE
Definition: cvdef.h:385
void setMaxTranslation(double val)
Definition: depth.hpp:984
static Ptr< DownhillSolver > create(const Ptr< MinProblemSolver::Function > &f=Ptr< MinProblemSolver::Function >(), InputArray initStep=Mat_< double >(1, 1, 0.0), TermCriteria termcrit=TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 5000, 0.000001))
This function returns the reference to the ready-to-use DownhillSolver object.
Vec(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6, _Tp v7, _Tp v8, _Tp v9, _Tp v10, _Tp v11, _Tp v12, _Tp v13)
14-element vector constructor
int64 getTickCount()
Returns the number of ticks.
R extract_mat(InputArray in, const int type=-1)
Definition: quality_utils.hpp:22
virtual void setCannyThreshold(int cannyThreshold)=0
@ CAP_PVAPI_FSTRIGMODE_FREERUN
Freerun.
Definition: videoio.hpp:302
@ CAP_PROP_XI_HEIGHT
Height of the Image provided by the device (in pixels).
Definition: videoio.hpp:382
@ CAP_PROP_XI_TEST_PATTERN_GENERATOR_SELECTOR
Selects which test pattern generator is controlled by the TestPattern feature.
Definition: videoio.hpp:368
virtual void write(FileStorage &) const CV_OVERRIDE
Stores algorithm parameters in a file storage.
__host__ __device__ static __forceinline__ char1 make(schar x)
Definition: vec_traits.hpp:155
void setGlobalMotionRansacThreshold(float val)
used to iterate through sequences and mappings.
Definition: persistence.hpp:621
__device__ static __forceinline__ void blockYota(OutIt beg, OutIt end, T value)
Definition: block.hpp:85
QualityMSE(QualityBase::_mat_type ref)
Constructor.
Definition: qualitymse.hpp:57
@ CAP_PROP_XI_GPO_MODE
Set general purpose output mode.
Definition: videoio.hpp:344
cv::instr::TYPE m_instrType
Definition: instrumentation.hpp:78
int maxLevel
Definition: rlofflow.hpp:117
@ INTERP_GEO
Definition: rlofflow.hpp:32
Definition: pd_caltech.hpp:77
InpainterBase()
Definition: inpainting.hpp:64
Ncv8u y
Definition: NCV.hpp:140
CosDistance(const cv::Size &descriptor_size)
CosDistance constructor.
UMat getUMat(AccessFlag accessFlags, UMatUsageFlags usageFlags=USAGE_DEFAULT) const
retrieve UMat from Mat
virtual void setGridLinesNumber(int gridLinesNumber)=0
VectorRefT(std::vector< T > &&vec)
Definition: garray.hpp:146
__device__ static __forceinline__ float min()
Definition: limits.hpp:111
Definition: reduce_to_vec.hpp:86
NCVVectorReuse(const NCVMemSegment &memSegment)
Definition: NCV.hpp:696
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,...
static String dumpBool(bool argument)
Definition: bindings_utils.hpp:24
@ CAP_PROP_XI_FFS_ACCESS_KEY
Setting of key enables file operations on some cameras.
Definition: videoio.hpp:481
Point_< _Tp > br() const
the bottom-right corner
void swap(GpuMat &mat)
swaps with other smart pointer
Hamming HammingLUT
Definition: base.hpp:393
Mat getGaussianKernel(int ksize, double sigma, int ktype=CV_64F)
Returns Gaussian filter coefficients.
B walkBreadthFirst(int from, B body) const
Definition: warpers.hpp:471
@ COLOR_Luv2RGB
Definition: imgproc.hpp:602
virtual void write(cv::FileStorage &fs) const CV_OVERRIDE=0
write xml/yml formated parameters information
virtual String getDefaultName() const CV_OVERRIDE
Definition: functional.hpp:114
virtual bool isOpened() const
Returns true if video capturing has been initialized already.
int rows
Definition: interpolation.hpp:273
@ PSM_AUTO
Definition: ocr.hpp:72
void projectionFromKRt(InputArray K, InputArray R, InputArray t, OutputArray P)
Get projection matrix P from K, R and t.
#define CV_WRAP
Definition: cvdef.h:424
#define CV_PROP_RW
Definition: cvdef.h:423
__device__ __forceinline__ void reduceBlock(result_type *smem, uint tid)
Definition: vec_distance.hpp:142
_Arg1 first_argument_type
Definition: functional.hpp:70
type_traits_detail::UnVolatile< T >::type non_volatile_type
Definition: type_traits.hpp:131
std::deque< TrackedObject > TrackedObjects
Definition: tracking_by_matching.hpp:59
virtual int getRadius() const =0
UMat row(int y) const
returns a new matrix header for the specified row
void anisotropicDiffusion(InputArray src, OutputArray dst, float alpha, float K, int niters)
Performs anisotropic diffusian on an image.
virtual void setPatchStride(int val)=0
Stride between neighbor patches. Must be less than patch size. Lower values correspond to higher flow...
Ptr< Dictionary > getPredefinedDictionary(PREDEFINED_DICTIONARY_NAME name)
Returns one of the predefined dictionaries defined in PREDEFINED_DICTIONARY_NAME.
@ NEG
Definition: pd_inria.hpp:63
Definition: goclkernel.hpp:232
virtual void setParams(const TrackerParams ¶ms)=0
Pipeline parameters setter.
std::is_same< T, typename MetaType< T >::type > is_nongapi_type
Definition: gkernel.hpp:94
int maxClockFrequency() const
Candidate feature with a score.
Definition: linemod.hpp:86
Size2f size
returns width and height of the rectangle
Definition: types.hpp:532
virtual void setMaxY(double _plotMaxY)=0
std::string tag
Definition: infer.hpp:190
BackendWrapper(int targetId, const cv::Mat &m)
Wrap cv::Mat for specific backend and target.
int registerModelToScene(const Mat &srcPC, const Mat &dstPC, double &residual, Matx44d &pose)
Perform registration.
void computeNormals(const Mesh &mesh, OutputArray normals)
virtual Mat getTrainSampleIdx() const =0
virtual void setRadius(int val)=0
Buffer(int arows, int acols, int atype, unsigned int abufId, bool autoRelease=false)
~lock_guard()
Definition: lock.private.hpp:22
UMat(const Matx< _Tp, m, n > &mtx, bool copyData=true)
builds matrix from cv::Matx; the data is copied by default
__device__ __forceinline__ uint vcmpgt4(uint a, uint b)
Definition: simd_functions.hpp:782
_Tp z
z coordinate of the 3D point
Definition: types.hpp:267
@ COLORMAP_PINK
Definition: imgproc.hpp:4229
GComputationT(const Gen &generator)
Definition: gtyped.hpp:126
Definition: logtag.hpp:16
Definition: all_layers.hpp:286
Filters off small noise blobs (speckles) in the disparity map.
Definition: stereo.hpp:81
Definition: gkernel.hpp:172
virtual TermCriteria getTermCriteria() const =0
Getter for the previously set terminal criteria for this algorithm.
void minMaxLoc(InputArray src, double *minVal, double *maxVal, Point *minLoc, Point *maxLoc, InputArray mask=noArray())
Finds global minimum and maximum matrix elements and returns their values with locations.
virtual int getIterations() const =0
void nonLocalMeans(InputArray src, OutputArray dst, float h, int search_window=21, int block_size=7, int borderMode=BORDER_DEFAULT, Stream &stream=Stream::Null())
Performs pure non local means denoising without any simplification, and thus it is not fast.
__device__ __forceinline__ PtrTraits< SrcPtr >::value_type operator()(typename PtrTraits< MapPtr >::index_type y, typename PtrTraits< MapPtr >::index_type x) const
Definition: remap.hpp:68
std::vector< size_t > hashtab
Definition: mat.hpp:2685
__device__ __host__ Ncv32u getFeaturesOffset(void)
Definition: NCVHaarObjectDetection.hpp:172
void calcFlowMask(const Mat &flowX, const Mat &flowY, const Mat &errors, float maxError, const Mat &mask0, const Mat &mask1, Mat &flowMask)
MatExpr operator-(const Mat &a, const Mat &b)
v_reg< float, n > v_not_nan(const v_reg< float, n > &a)
Definition: intrin_cpp.hpp:701
double panoConfidenceThresh() const
Definition: stitching.hpp:195
@ COLOR_BGR2HLS
convert RGB/BGR to HLS (hue lightness saturation), color conversions
Definition: imgproc.hpp:593
virtual ~QualityBase()=default
Destructor.
@ TRIANGLE_STRIP
Definition: opengl.hpp:484
@ USAGE_DEFAULT
Definition: mat.hpp:451
void setMode(int mode)
Create BlockMeanHash object.
virtual void applyFastToneMapping(InputArray inputImage, OutputArray outputToneMappedImage)=0
applies a luminance correction (initially High Dynamic Range (HDR) tone mapping)
GMat Sobel(const GMat &src, int ddepth, int dx, int dy, int ksize=3, double scale=1, double delta=0, int borderType=BORDER_DEFAULT, const Scalar &borderValue=Scalar(0))
Calculates the first, second, third, or mixed image derivatives using an extended Sobel operator.
float padding
Definition: tracker.hpp:1514
SupportRegionType
Definition: rlofflow.hpp:17
std::vector< double > p[4]
Definition: slam_kitti.hpp:70
__device__ static __forceinline__ T initialValue()
Definition: reduce_to_vec.hpp:114
Definition: container_avi.private.hpp:79
virtual void detect(InputArray img, std::vector< Point > &foundLocations, double hitThreshold=0, Size winStride=Size(), Size padding=Size(), const std::vector< Point > &searchLocations=std::vector< Point >()) const
Performs object detection without a multi-scale window.
This class can be used for imposing a learned prior on the resulting optical flow....
Definition: pcaflow.hpp:75
virtual int64 getFLOPS(const std::vector< MatShape > &inputs, const std::vector< MatShape > &outputs) const
Definition: dnn.hpp:367
__device__ __forceinline__ uint vcmplt2(uint a, uint b)
Definition: simd_functions.hpp:413
static constexpr const bool is_same
Definition: variant.hpp:27
virtual void setExposureWeight(float exposure_weight)=0
@ COLOR_RGBA2YUV_I420
Definition: imgproc.hpp:729
Model(const Net &network)
Create model from deep learning network.
Size pooledSize
Definition: all_layers.hpp:262
int newPoint(Point2f pt, bool isvirtual, int firstEdge=0)
Definition: gfluidkernel.hpp:324
Definition: gfluidkernel.hpp:212
virtual void load(const std::string &path) CV_OVERRIDE=0
static void call_impl(const cv::GArgs &in_args, const std::vector< gapi::fluid::Buffer * > &out_bufs, detail::Seq< IIs... >, detail::Seq< OIs... >)
Definition: gfluidkernel.hpp:364
size_t size
Definition: t_hash_int.hpp:69
bool isContinuous() const
static KernelArg Constant(const _Tp *arr, size_t n)
Definition: ocl.hpp:376
@ CAP_INTELPERC_GENERATORS_MASK
Definition: videoio.hpp:533
static Ptr< OR_imagenet > create()
Definition: deriv.hpp:115
static String getPrefix(const String &buildflags)
size_t maxWorkGroupSize() const
double getTimeMicro() const
Definition: utility.hpp:351
Ptr< FeatureDetector > detector() const
Definition: global_motion.hpp:238
@ COLOR_BGR2YUV_I420
Definition: imgproc.hpp:725
Ptr< HistogramCostExtractor > createChiHistogramCostExtractor(int nDummies=25, float defaultCost=0.2f)
@ RANSAC
RANSAC algorithm.
Definition: calib3d.hpp:230
static String dumpDouble(double argument)
Definition: bindings_utils.hpp:50
Ptr ptr()
Definition: source.hpp:43
KeyPoint(float x, float y, float _size, float _angle=-1, float _response=0, int _octave=0, int _class_id=-1)
The IDescriptorDistance class declares an interface for distance computation between reidentification...
Definition: tracking_by_matching.hpp:154
@ INTERSECT_FULL
One of the rectangle is fully enclosed in the other.
Definition: imgproc.hpp:797
@ CAP_PROP_IOS_DEVICE_FOCUS
Definition: videoio.hpp:494
cv::Point3d getCenter(cv::Mat cloud)
Get the center of points on surface in .ply model.
virtual void setPolySigma(double polySigma)=0
void v_lut_deinterleave(const float *tab, const v_reg< int, n > &idx, v_reg< float, n > &x, v_reg< float, n > &y)
Definition: intrin_cpp.hpp:2041
static std::string toString(const MatShape &shape, const String &name="")
Definition: shape_utils.hpp:177
Mat K_
Definition: depth.hpp:178
virtual float getDp() const =0
@ Monochrome
Definition: cudacodec.hpp:271
@ CONTOURS_MATCH_I2
Definition: imgproc.hpp:451
@ CALIB_USE_EXTRINSIC_GUESS
for stereoCalibrate
Definition: calib3d.hpp:293
virtual void train(const std::string &pos_samples, const std::string &neg_imgs)=0
Train WaldBoost detector.
void starCensusTransform(const cv::Mat &img1, const cv::Mat &img2, int kernelSize, cv::Mat &dist1, cv::Mat &dist2)
bool try_pull(cv::GRunArgsP &&outs)
Try to get the next processed frame from the pipeline.
double errorCorrectionRate
Definition: aruco.hpp:175
virtual void setAnnealInitialT(double val)=0
InterpolationFlags interpolationFlags() const
Definition: stitching.hpp:201
virtual ~MaskGenerator()
Definition: objdetect.hpp:210
void mulSpectrums(InputArray a, InputArray b, OutputArray c, int flags, bool conjB=false)
Performs the per-element multiplication of two Fourier spectrums.
virtual double getScaleFactor() const =0
void getInterset(InputArray idx1, InputArray idx2, OutputArray inter1, OutputArray inter2, OutputArray inter_ori)
@ CAP_PROP_OPENNI_FRAME_MAX_DEPTH
In mm.
Definition: videoio.hpp:228
NVIDIA_OF_PERF_LEVEL
Definition: cudaoptflow.hpp:405
Definition: interpolation.hpp:214
virtual void setVarMax(double varMax)=0
Status
Definition: stitching.hpp:153
std::vector< VideoCaptureAPIs > getBackends()
Returns list of all available backends.
T down_cast(Source operand)
Definition: any.hpp:29
static Mat clone_op(Mat m)
Definition: features2d.hpp:1095
@ IMWRITE_PAM_FORMAT_BLACKANDWHITE
Definition: imgcodecs.hpp:127
static Ptr< SplitLayer > create(const LayerParams ¶ms)
virtual void detectMultiScale(InputArray image, OutputArray objects, Stream &stream=Stream::Null())=0
Detects objects of different sizes in the input image.
@ nppStBorderMirror
reflect out of range position across borders
Definition: NPP_staging.hpp:93
__device__ __forceinline__ NormL2()
Definition: vec_distance.hpp:129
NCVStatus nppiStResize_32f_C1R(const Ncv32f *pSrc, NcvSize32u srcSize, Ncv32u nSrcStep, NcvRect32u srcROI, Ncv32f *pDst, NcvSize32u dstSize, Ncv32u nDstStep, NcvRect32u dstROI, Ncv32f xFactor, Ncv32f yFactor, NppStInterpMode interpolation)
std::size_t index() const noexcept
Definition: variant.hpp:297
cv::Scalar color
The rectangle color or brightness (grayscale image)
Definition: render.hpp:197
GScalar normInf(const GMat &src)
Calculates the absolute infinite norm of a matrix.
HandEyeCalibrationMethod
Definition: calib3d.hpp:304
Mat estimateGlobalMotionLeastSquares(InputOutputArray points0, InputOutputArray points1, int model=MM_AFFINE, float *rmse=0)
Estimates best global motion between two 2D point clouds in the least-squares sense.
__host__ void gridCalcSum(const SrcPtr &src, GpuMat_< ResType > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: reduce.hpp:305
int select_keyframes
Definition: simple_pipeline.hpp:154
int label
Definition: tr_chars.hpp:63
Mat_(const Mat_ &m, const Range &rowRange, const Range &colRange=Range::all())
selects a submatrix
GCompiled compile(GMetaArgs &&in_metas, GCompileArgs &&args={})
Compile the computation for specific input format(s).
GMat mulC(const GMat &src, double multiplier, int ddepth=-1)
Multiplies matrix by scalar.
static Ptr< NormalBayesClassifier > load(const String &filepath, const String &nodeName=String())
Loads and creates a serialized NormalBayesClassifier from a file.
SparseMat_(int dims, const int *_sizes)
the full constructor equivalent to SparseMat(dims, _sizes, DataType<_Tp>::type)
@ CAP_PROP_XI_SENSOR_FEATURE_SELECTOR
Selects the current feature which is accessible by XI_PRM_SENSOR_FEATURE_VALUE.
Definition: videoio.hpp:482
Rect selectROI(const String &windowName, InputArray img, bool showCrosshair=true, bool fromCenter=false)
Selects ROI on the given image. Function creates a window and allows user to select a ROI using mouse...
Ptr< DenseOpticalFlow > createOptFlow_SimpleFlow()
Additional interface to the SimpleFlow algorithm - calcOpticalFlowSF()
float b
Definition: warpers.hpp:401
void apply(int index, Point corner, InputOutputArray image, InputArray mask) CV_OVERRIDE
Compensate exposure in the specified image.
@ whitePaper
Definition: gr_skig.hpp:90
bool can_describe(const GMetaArg &meta, const GRunArg &arg)
virtual void augAssignAdd(const MatExpr &expr, Mat &m) const
Flags
Definition: ml.hpp:322
unsigned findLeafForPatch(const GPCPatchDescriptor &descr) const
#define CV_CUDEV_YCrCb2RGB_INST(name, scn, dcn, bidx)
Definition: color_cvt.hpp:155
void setRegistrationResol(double resol_mpx)
Definition: stitching.hpp:187
virtual void setFrameMask(InputArray mask) CV_OVERRIDE
Definition: global_motion.hpp:217
~NCVMatrixAlloc()
Definition: NCV.hpp:883
Mat gain
Kalman gain matrix (K(k)): K(k)=P'(k)*Ht*inv(H*P'(k)*Ht+R)
Definition: tracking.hpp:401
bool operator!=(const GBackend &lhs, const GBackend &rhs)
Definition: gkernel.hpp:301
static Ptr< Layer > create(const LayerParams ¶ms)
__device__ __host__ Ncv32u getNextNodeOffset(void)
Definition: NCVHaarObjectDetection.hpp:206
@ CAP_OPENNI_DISPARITY_MAP
Disparity in pixels (CV_8UC1)
Definition: videoio.hpp:258
virtual void setCameraIntrinsics(InputArray K, const Size &imsize, float zNear=-1, float zFar=-1)=0
void feed(const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< UMat > &masks)
static U * wrap_out(U &u)
Definition: gtype_traits.hpp:147
size_t minRepeatability
Definition: features2d.hpp:631
Ptr< BroxOpticalFlow > createOptFlow_Brox_CUDA()
int getFormat() const
Returns the current format.
Mode
file storage mode
Definition: persistence.hpp:308
virtual void dropForgottenTracks()=0
dropForgottenTracks Removes tracks from memory that were lost too many frames ago.
virtual float getScale() const
Definition: warpers.hpp:118
void write(FileStorage &) const
The class represents rotated (i.e. not up-right) rectangles on a plane.
Definition: types.hpp:504
virtual ~VideoWriter()
Default destructor.
UMatData * u
Definition: mat.hpp:2572
Definition: functional.hpp:754
virtual void setSigma(float _sigma)=0
Sigma is a parameter defining how fast the weights decrease in the locally-weighted affine fitting....
DEPTH_CLEANER_METHOD
Definition: depth.hpp:194
@ CAP_PROP_FOURCC
4-character code of codec. see VideoWriter::fourcc .
Definition: videoio.hpp:138
virtual String name() const =0
@ DNN_BACKEND_OPENCV
Definition: dnn.hpp:74
@ ARO_90_135
Definition: fast_hough_transform.hpp:68
virtual bool getNextFrame(Mat &frame)=0
virtual bool getNonmaxSuppression() const =0
int hal_ni_absdiff16u(const ushort *src1_data, size_t src1_step, const ushort *src2_data, size_t src2_step, ushort *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:132
virtual void compute(InputArray left, InputArray right, OutputArray disparity)=0
Computes disparity map for the specified stereo pair.
virtual ~TrackerModel()
Destructor.
double Rz
Definition: gr_chalearn.hpp:67
int lastFrame
Definition: gr_chalearn.hpp:62
void SVD64f(double *At, size_t astep, double *W, double *U, size_t ustep, double *Vt, size_t vstep, int m, int n, int flags)
__device__ __forceinline__ uint vmin2(uint a, uint b)
Definition: simd_functions.hpp:501
PtrTraits< SrcPtr >::index_type index_type
Definition: lut.hpp:63
virtual void setMinDist(float minDist)=0
CornerRefineMethod
Definition: aruco.hpp:81
GraphCutSeamFinder(int cost_type=COST_COLOR_GRAD, float terminal_cost=10000.f, float bad_region_penalty=1000.f)
void predict(InputArray frame, OutputArrayOfArrays outs)
Given the input frame, create input blob, run net and return the output blobs.
virtual void getEntityPose(const String &name, OutputArray R=noArray(), OutputArray tvec=noArray(), bool invert=false)=0
Arrays()
Default constructor.
virtual void setScalleFactor(int factor)=0
cv::Rect rect
Coordinates of the rectangle.
Definition: render.hpp:196
int total_num_matches_
Definition: motion_estimators.hpp:197
Definition: is_bsds.hpp:66
static tracked_cv_mat get(GCPUContext &ctx, int idx)
Definition: gcpukernel.hpp:212
int getVersionMajor()
Returns major library version.
virtual void matchAsync(InputArray queryDescriptors, InputArray trainDescriptors, OutputArray matches, InputArray mask=noArray(), Stream &stream=Stream::Null())=0
Finds the best match for each descriptor from a query set (asynchronous version).
__host__ size_t step1() const
@ FM_RANSAC
RANSAC algorithm. It needs at least 15 points. 7-point algorithm is used.
Definition: calib3d.hpp:300
Mat R
Definition: camera.hpp:69
@ WND_PROP_ASPECT_RATIO
window's aspect ration (can be set to WINDOW_FREERATIO or WINDOW_KEEPRATIO).
Definition: highgui.hpp:198
@ COLORMAP_VIRIDIS
Definition: imgproc.hpp:4235
int eval(const Mat &image)
virtual void setSigmaColor(float sigma_color)=0
virtual TermCriteria getTermCriteria() const =0
virtual void setUseSpatialPropagation(bool val)=0
Whether to use spatial propagation of good optical flow vectors. This option is turned on by default,...
int nbrOfSmallBins
Definition: histogramphaseunwrapping.hpp:84
bool const_param_type
Definition: core.hpp:3184
Definition: all_layers.hpp:297
DnnSuperResImpl(const std::string &algo, int scale)
Constructor which immediately sets the desired model.
Definition: functional.hpp:105
virtual void write(FileStorage &) const CV_OVERRIDE
Stores algorithm parameters in a file storage.
Uses resized image as descriptor.
Definition: tracking_by_matching.hpp:100
virtual void setDp(double dp)=0
Inverse ratio of the accumulator resolution to the image resolution.
std::vector< std::string > lexFull
Definition: tr_icdar.hpp:70
void cmp8u(const uchar *src1, size_t step1, const uchar *src2, size_t step2, uchar *dst, size_t step, int width, int height, void *_cmpop)
__host__ ~Texture()
Definition: texture.hpp:241
Implementation of the different yet better algorithm which is called GSOC, as it was implemented duri...
Definition: bgsegm.hpp:255
virtual void downloadResults(InputArray d_lines, OutputArray h_lines, OutputArray h_votes=noArray(), Stream &stream=Stream::Null())=0
Downloads results from cuda::HoughLinesDetector::detect to host memory.
float histogram_lr
Definition: tracker.hpp:1520
__host__ NCVStatus setLeftNodeDesc(HaarClassifierNodeDescriptor32 nl)
Definition: NCVHaarObjectDetection.hpp:234
virtual ~StabilizerBase()
Definition: stabilizer.hpp:69
@ VP9
Definition: cudacodec.hpp:257
const FileStorage * fs
Definition: persistence.hpp:674
void save(String filename)
Definition: flann.hpp:288
HistCompMethods
Definition: imgproc.hpp:492
std::vector< word > words
Definition: tr_icdar.hpp:71
void mul16s(const short *src1, size_t step1, const short *src2, size_t step2, short *dst, size_t step, int width, int height, void *scale)
void transform(InputArray src, OutputArray dst, InputArray m)
Performs the matrix transformation of every array element.
void deallocate()
deallocates the buffer if it was dynamically allocated
Strategie for the selective search segmentation algorithm The class implements a generic stragery for...
Definition: segmentation.hpp:74
virtual int getSubPixelInterpolationMethod() const =0
virtual void render(OutputArray _plotResult)=0
virtual ~FeaturesMatcher()
Definition: matchers.hpp:120
size_t total() const
Returns the total number of array elements.
Definition: mat.hpp:297
virtual void setBlurForDescriptor(bool blurForDescriptor)=0
if true, image will be blurred before descriptors calculation
virtual void setTrainMethod(int method, double param1=0, double param2=0)=0
String getStringValue(int idx=-1) const
Predicate pred
Definition: functional.hpp:793
std::string imageName
Definition: sr_bsds.hpp:25
float sigma
gaussian kernel bandwidth
Definition: tracker.hpp:1245
Camera(const Matx33d &K, const Size &window_size)
v_uint32x4 v_setzero_u32()
Definition: intrin_cpp.hpp:2144
GPCPatchDescriptor pos
Definition: sparse_matching_gpc.hpp:80
Class used for calculating a sparse optical flow.
Definition: cudaoptflow.hpp:202
Tracker-by-Matching algorithm interface.
Definition: tracking_by_matching.hpp:410
EstimatedGaussDistribution()
@ RECTIFY_PERSPECTIVE
Definition: omnidir.hpp:68
virtual void setup(String segmentationParameterFile="", const bool applyDefaultSetupOnFailure=true)=0
try to open an XML segmentation parameters file to adjust current segmentation instance setup
Rect buildMaps(Size src_size, InputArray K, InputArray R, cuda::GpuMat &xmap, cuda::GpuMat &ymap)
Ptr< IMotionStabilizer > motionStabilizer() const
Definition: stabilizer.hpp:169
Definition: feature.hpp:294
static Ptr< CvFeatureEvaluator > create(CvFeatureParams::FeatureType type)
kmeans -based class to train visual vocabulary using the bag of visual words approach....
Definition: features2d.hpp:1350
unsigned maxTreeDepth
Maximum tree depth to stop partitioning.
Definition: sparse_matching_gpc.hpp:125
__host__ void gridTransformBinary_(const SrcPtr1 &src1, const SrcPtr2 &src2, GpuMat_< DstType > &dst, const BinOp &op, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: transform.hpp:111
void remove(const GBackend &backend)
Remove all kernels associated with the given backend from the package.
float overlap
overlapping for the search windows
Definition: tracker.hpp:842
void writePLY(Mat PC, const char *fileName)
Write a point cloud to PLY file.
virtual void process(InputArrayOfArrays src, OutputArray dst, InputArray times)=0
virtual void setMaxDiscTerm(double max_disc_term)=0
virtual Rect buildMaps(Size src_size, InputArray K, InputArray R, InputArray T, OutputArray xmap, OutputArray ymap)
std::vector< detail::CameraParams > cameras() const
Definition: stitching.hpp:289
int cvRound(double value)
Rounds floating-point number to the nearest integer.
Definition: fast_math.hpp:197
bool write(String &buf) const
GpuMat(int rows, int cols, int type, Scalar s, GpuMat::Allocator *allocator=GpuMat::defaultAllocator())
constructs GpuMat and fills it with the specified value _s
GMat RGB2Lab(const GMat &src)
Converts an image from RGB color space to Lab color space.
@ IMWRITE_PAM_TUPLETYPE
For PAM, sets the TUPLETYPE field to the corresponding string value that is defined for the format.
Definition: imgcodecs.hpp:94
@ CAP_QT
QuickTime (obsolete, removed)
Definition: videoio.hpp:99
double m30
Definition: types.hpp:941
ERStat * next
Definition: erfilter.hpp:105
Mat createMatHeader() const
returns matrix header with disabled reference counting for HostMem data.
float getMarkerSeparation() const
Definition: aruco.hpp:350
void setTrimRatio(float val)
Definition: stabilizer.hpp:89
Matx(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6, _Tp v7)
1x8, 2x4, 4x2 or 8x1 matrix
int pciDeviceID() const
PCI device ID of the device.
Definition: functional.hpp:153
String className
Definition: tracker.hpp:113
static Ptr< EigenFaceRecognizer > create(int num_components=0, double threshold=DBL_MAX)
Lightweight class encapsulating pitched memory on a GPU and passed to nvcc-compiled code (CUDA kernel...
Definition: glob.hpp:86
Mutex * mutex_
Definition: lock.private.hpp:61
@ DICT_6X6_1000
Definition: dictionary.hpp:153
Definition: all_layers.hpp:440
bool m_alwaysExpand
Definition: instrumentation.hpp:83
DescriptorType
Definition: features2d.hpp:736
MatExpr operator!=(const Mat &a, const Mat &b)
virtual Mat getWeights()=0
_OutputArray(std::vector< UMat > &vec)
virtual void setEPICSigma(float val)=0
see ximgproc::EdgeAwareInterpolator() sigma value.
@ CAP_PVAPI_PIXELFORMAT_BAYER8
Bayer8.
Definition: videoio.hpp:319
Definition: functional.hpp:647
Mat mergedDescriptors
Definition: features2d.hpp:1080
uint64 state
Definition: core.hpp:2915
cv::Ptr< Map > inverseMap() const CV_OVERRIDE
void unloadProg(Program &prog)
Definition: all_layers.hpp:306
Size blockStride
Block stride. It must be a multiple of cell size. Default value is Size(8,8).
Definition: objdetect.hpp:593
virtual void calcError(Mat &err)=0
Calculates error vector.
int64_t saturate_cast< int64_t >(softfloat a)
Definition: softfloat.hpp:424
double width
Definition: facemarkLBF.hpp:108
const cv::gapi::own::Scalar & inVal(int input)
Moments()
the default constructor
@ NumCodecs
Definition: cudacodec.hpp:258
__device__ __forceinline__ float1 asinh(const uchar1 &a)
Definition: vec_math.hpp:366
bool isMap() const
returns true if the node is a mapping
int bilateral_kernel_size
Kernel size in pixels for bilateral smooth.
Definition: kinfu.hpp:51
@ BLOCK_MEAN_HASH_MODE_1
use block blocks(step sizes/2), generate 31*31/8 + 1 uchar hash value
Definition: block_mean_hash.hpp:19
float hole_area_ratio
2nd stage features
Definition: erfilter.hpp:89
void error(int _code, const String &_err, const char *_func, const char *_file, int _line)
Signals an error and raises the exception.
void updateWindow(const String &winname)
Force window to redraw its context and call draw callback ( See cv::setOpenGlDrawCallback ).
void write(FileStorage &fs) const
#define ncvAssertReturn(pred, err)
Definition: NCV.hpp:275
struct CvVideoWriter CvVideoWriter
Definition: videoio.hpp:69
Definition: functional.hpp:427
T get(const String &key) const
The interface for Unscented Kalman filter and Augmented Unscented Kalman filter.
Definition: kalman_filters.hpp:56
static Ptr< OdometryFrame > create(const Mat &image=Mat(), const Mat &depth=Mat(), const Mat &mask=Mat(), const Mat &normals=Mat(), int ID=-1)
friend struct Impl
Definition: async.hpp:96
int samplerTrackMaxPosNum
Definition: tracker.hpp:1076
TickMeter()
the default constructor
Definition: utility.hpp:314
@ CAP_PVAPI_PIXELFORMAT_BGRA32
Bgra32.
Definition: videoio.hpp:324
GaussianMotionFilter(int radius=15, float stdev=-1.f)
Definition: motion_stabilizing.hpp:115
void grabCut(InputArray img, InputOutputArray mask, Rect rect, InputOutputArray bgdModel, InputOutputArray fgdModel, int iterCount, int mode=GC_EVAL)
Runs the GrabCut algorithm.
LogLevel
Supported logging levels and their semantic.
Definition: logger.defines.hpp:25
DepthMask
Definition: mat.hpp:294
virtual void setUpInitialCameraParams(const std::vector< CameraParams > &cameras)=0
Sets initial camera parameter to refine.
static void read(const FileNode &node, std::vector< DMatch > &vec, const std::vector< DMatch > &default_value)
Definition: persistence.hpp:1190
float calcNormFactor(const Mat &sum, const Mat &sqSum)
int index_type
Definition: deriv.hpp:284
__device__ __forceinline__ functional_detail::FloatType< T >::type operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:624
virtual void load(const std::string &path) CV_OVERRIDE=0
Definition: all_layers.hpp:544
static Ptr< TextDetectorCNN > create(const String &modelArchFilename, const String &modelWeightsFilename, std::vector< Size > detectionSizes)
Creates an instance of the TextDetectorCNN class using the provided parameters.
int DisableSPSPPS
NVVE_DISABLE_SPS_PPS.
Definition: cudacodec.hpp:105
MultiCameraCalibration(int cameraType, int nCameras, const std::string &fileName, float patternWidth, float patternHeight, int verbose=0, int showExtration=0, int nMiniMatches=20, int flags=0, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 200, 1e-7), Ptr< FeatureDetector > detector=AKAZE::create(AKAZE::DESCRIPTOR_MLDB, 0, 3, 0.006f), Ptr< DescriptorExtractor > descriptor=AKAZE::create(AKAZE::DESCRIPTOR_MLDB, 0, 3, 0.006f), Ptr< DescriptorMatcher > matcher=DescriptorMatcher::create("BruteForce-L1"))
Mat(const std::initializer_list< int > sizes, const std::initializer_list< _Tp > list)
Layer factory allows to create instances of registered layers.
Definition: layer.hpp:57
std::vector< Scalar > gains() const
Definition: exposure_compensate.hpp:149
float psr_threshold
we lost the target, if the psr is lower than this.
Definition: tracker.hpp:1528
int m_iterationInit
Definition: onlineBoosting.hpp:147
__host__ Expr< TransposeBody< SrcPtr > > transpose_(const SrcPtr &src)
Definition: warping.hpp:165
bool isDirectory(const cv::String &path)
GComputation(GMat in1, GMat in2, GScalar out)
Defines a binary (two inputs – one output) computation.
const std::vector< Mat > & getTrainDescriptors() const
Returns a constant link to the train descriptor collection trainDescCollection .
GpuMat colRange(int startcol, int endcol) const
... for the specified column span
virtual void setMaxArea(float maxArea)=0
std::lock_guard< cv::Mutex > AutoLock
Definition: utility.hpp:715
const GOrigin & priv() const
NCVStatus nppsStCompactGetSize_32u(Ncv32u srcLen, Ncv32u *pBufsize, cudaDeviceProp &devProp)
@ COLOR_BayerGB2RGB_MHT
Definition: cudaimgproc.hpp:101
Definition: wobble_suppression.hpp:96
Adaptive logarithmic mapping is a fast global tonemapping algorithm that scales the image in logarith...
Definition: photo.hpp:369
SrcPtr src
Definition: reduction.hpp:220
int hal_ni_merge8u(const uchar **src_data, uchar *dst_data, int len, int cn)
Definition: hal_replacement.hpp:366
String getClassName() const
Get the name of the specific TrackerSamplerAlgorithm.
float contextEnergy_temporalConstant
context neighborhood energy filtering parameters : the aim is to get information about the energy on ...
Definition: transientareassegmentationmodule.hpp:104
KernelArg(int _flags, UMat *_m, int wscale=1, int iwscale=1, const void *_obj=0, size_t _sz=0)
bool computeImpl(const std::vector< Mat > &images, Mat &response) CV_OVERRIDE
Base class for parallel data processors.
Definition: utility.hpp:584
virtual int getMaxLevel() const =0
virtual double getDegree() const =0
__host__ __device__ static __forceinline__ char1 make(const schar *v)
Definition: vec_traits.hpp:156
void convertTo(OutputArray dst, int rtype, double alpha, Stream &stream) const
converts GpuMat to another datatype with scaling (Non-Blocking call)
PCA & operator()(InputArray data, InputArray mean, int flags, int maxComponents=0)
performs PCA
MotionSaliencyBinWangApr2014()
virtual void checkParams() const CV_OVERRIDE
Definition: tr_chars.hpp:61
tuple_detail::ConvertTuple< Tuple, tuple_size< Tuple >::value, CvtOp >::type type
Definition: tuple.hpp:78
virtual void setMaxLineGap(int maxLineGap)=0
Definition: reduce_to_vec.hpp:130
Definition: functional.hpp:123
@ CAP_PROP_XI_LENS_FEATURE_SELECTOR
Selects the current feature which is accessible by XI_PRM_LENS_FEATURE.
Definition: videoio.hpp:434
void convertFromBuffer(void *cl_mem_buffer, size_t step, int rows, int cols, int type, UMat &dst)
Convert OpenCL buffer to UMat.
@ CPU_AVX_512BITALG
Definition: cvdef.h:298
__host__ NCVStatus create(NcvBool bTilted, NcvBool bLeftLeaf, NcvBool bRightLeaf, Ncv32u numFeatures, Ncv32u offsetFeatures)
Definition: NCVHaarObjectDetection.hpp:132
a Class to measure passing time.
Definition: utility.hpp:311
@ NORM_HAMMING
Definition: base.hpp:199
@ ERFILTER_NM_IHSGrad
Definition: erfilter.hpp:245
double distance_step
Definition: ppf_match_3d.hpp:148
virtual void setWinSize(Size winSize)=0
Ptr< SparseOpticalFlow > createOptFlow_SparseRLOF()
Additional interface to the Sparse RLOF algorithm - optflow::calcOpticalFlowSparseRLOF()
@ COLOR_BGR5552BGRA
Definition: imgproc.hpp:569
int recoverPose(InputArray E, InputArray points1, InputArray points2, InputArray cameraMatrix, OutputArray R, OutputArray t, InputOutputArray mask=noArray())
Recover relative camera rotation and translation from an estimated essential matrix and the correspon...
Definition: warpers.hpp:51
Accumulator< T >::Type ResultType
Definition: features2d.hpp:840
static Ptr< BinaryDescriptor > createBinaryDescriptor(Params parameters)
size_t surfaceAlignment() const
alignment requirements for surfaces
virtual void setUpright(bool upright)=0
virtual double calc(const double *x) const =0
virtual void processImage(InputArray src, OutputArray dst)=0
Segment an image and store output in dst.
void absdiff8u(const uchar *src1, size_t step1, const uchar *src2, size_t step2, uchar *dst, size_t step, int width, int height, void *)
virtual int getSolverIterations() const =0
number of linear system solver iterations
bool update(InputArray image)
Update all trackers from the tracking-list, find a new most likely bounding boxes for the targets.
Definition: all_layers.hpp:327
virtual void detect(const Mat &img, std::vector< Rect > &bboxes, std::vector< double > &confidences)=0
Detect objects on image using WaldBoost detector.
virtual void setImage(const Mat &img, uchar clsLabel, int idx) CV_OVERRIDE
float minThreshold
Definition: features2d.hpp:629
void invSqrt32f(const float *src, float *dst, int len)
@ COLOR_YUV2BGRA_YUY2
Definition: imgproc.hpp:702
virtual const char * what() const noexcept override
Definition: variant.hpp:55
size_t size_type
Definition: cvstd.hpp:118
Definition: depth.hpp:461
@ CAP_PROP_DC1394_MODE_ONE_PUSH_AUTO
Definition: videoio.hpp:209
void apply(int index, Point corner, InputOutputArray image, InputArray mask) CV_OVERRIDE
Compensate exposure in the specified image.
Definition: exposure_compensate.hpp:205
@ DIST_WELSCH
distance = c^2/2(1-exp(-(x/c)^2)), c = 2.9846
Definition: imgproc.hpp:303
virtual void setMinProbabilityDiff(float minProbabilityDiff)=0
MatConstIterator(const MatConstIterator &it)
copy constructor
@ PREFILTER_NORMALIZED_RESPONSE
Definition: stereo.hpp:131
__device__ __forceinline__ uint vsetne2(uint a, uint b)
Definition: simd_functions.hpp:433
NCVStatus nppsStCompact_32u(Ncv32u *d_src, Ncv32u srcLen, Ncv32u *d_dst, Ncv32u *p_dstLen, Ncv32u elemRemove, Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp)
static void write(FileStorage &fs, const String &name, const std::vector< _Tp > &vec)
Definition: persistence.hpp:1073
void printShortCudaDeviceInfo(int device)
@ CAP_PROP_SATURATION
Saturation of the image (only for cameras).
Definition: videoio.hpp:145
@ WINDOW_OPENGL
window with opengl support.
Definition: highgui.hpp:185
__host__ __device__ NcvRect8u()
Definition: NCV.hpp:143
operator std::string() const
returns the node content as text string
Definition: persistence.hpp:570
#define CV_CUDEV_RGB2Lab_INST(name, scn, dcn, sRGB, blueIdx)
Definition: color_cvt.hpp:317
Mat_< int > speckleX
Definition: matching.hpp:370
void clear()
Definition: NCV.hpp:751
Buffer(const cv::GMatDesc &desc, int max_line_consumption, int border_size, int skew, int wlpi, BorderOpt border)
void decomposeEssentialMat(InputArray E, OutputArray R1, OutputArray R2, OutputArray t)
Decompose an essential matrix to possible rotations and translation.
void drawDetectedMarkers(InputOutputArray image, InputArrayOfArrays corners, InputArray ids=noArray(), Scalar borderColor=Scalar(0, 255, 0))
Draw detected markers in image.
double principal_point_y
Definition: simple_pipeline.hpp:111
Definition: deriv.hpp:162
@ HISTCMP_HELLINGER
Synonym for HISTCMP_BHATTACHARYYA.
Definition: imgproc.hpp:509
void setOutlierRejector(Ptr< IOutlierRejector > val)
Definition: global_motion.hpp:243
GMatDesc m_desc
Definition: gfluidbuffer.hpp:51
static Color chartreuse()
#define CV_EXPORTS_W
Definition: cvdef.h:416
virtual int getScalleFactor() const =0
float ePointInOctaveX
Definition: descriptor.hpp:134
virtual int getNTrainSamples() const =0
@ MOTION_HOMOGRAPHY
Definition: tracking.hpp:265
__host__ __device__ BinaryNegate< Predicate > not2(const Predicate &pred)
Definition: functional.hpp:823
@ SFM_REFINE_PRINCIPAL_POINT
Definition: simple_pipeline.hpp:125
int _numSel
Definition: onlineMIL.hpp:65
void intersection_over_union(std::vector< std::vector< double > > *boxes, std::vector< double > *base_box, std::vector< double > *iou)
Computes intersection over union of bounding boxes.
@ TYPE_FUN
Definition: instrumentation.hpp:50
@ CAP_PROP_XI_LENS_FOCUS_MOVEMENT_VALUE
Lens current focus movement value to be used by XI_PRM_LENS_FOCUS_MOVE in motor steps.
Definition: videoio.hpp:430
SparseMatIterator_(SparseMat_< _Tp > *_m)
the full constructor setting the iterator to the first sparse matrix element
virtual void load(const std::string &path) CV_OVERRIDE=0
virtual void find(const std::vector< UMat > &src, const std::vector< Point > &corners, std::vector< UMat > &masks)=0
Estimates seams.
MatExpr operator+(const Mat &a, const Mat &b)
float motion_affinity_w
Motion affinity weight.
Definition: tracking_by_matching.hpp:277
float tsdf_trunc_dist
distance to truncate in meters
Definition: dynafu.hpp:75
Exposure compensator which tries to remove exposure related artifacts by adjusting image block intens...
Definition: exposure_compensate.hpp:193
@ CALIB_FIX_INTRINSIC
Definition: calib3d.hpp:3058
static void init_scratch(const GMetaArgs &metas, const cv::GArgs &in_args, gapi::fluid::Buffer &b)
Definition: gfluidkernel.hpp:382
virtual void setNumLevels(int nlevels)=0
Maximum number of detection window increases.
@ SF_YV12
Definition: cudacodec.hpp:76
Affine3(const Mat &data, const Vec3 &t=Vec3::all(0))
@ rows
Definition: matx.hpp:103
uchar * ptr(int y=0)
returns pointer to y-th row
static void write(FileStorage &fs, const Size_< _Tp > &sz)
Definition: persistence.hpp:923
Vec(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6, _Tp v7)
8-element vector constructor
bool isCanceled() const
Returns true if cancellation was requested for this context.
virtual Mat estimate(InputArray points0, InputArray points1, bool *ok=0)=0
Estimates global motion between two 2D point clouds.
virtual int getSpekleRemovalTechnique() const =0
WCameraPosition(const Vec2d &fov, double scale=1.0, const Color &color=Color::white())
Display the viewing frustum.
virtual void setInputMax(float val)=0
Input image range maximum value.
@ nppStBorderNone
There is no need to define additional pixels, image is extended already.
Definition: NPP_staging.hpp:90
static Ptr< Retina > create(Size inputSize)
__device__ static __forceinline__ VecD cast(const VecS &v)
Definition: vec_math.hpp:65
Rect warpRoi(Size src_size, InputArray K, InputArray R, InputArray T)
@ CV_DENSE_CENSUS
Definition: descriptor.hpp:58
void div16s(const short *src1, size_t step1, const short *src2, size_t step2, short *dst, size_t step, int width, int height, void *scale)
std::shared_ptr< _Tp > Ptr
Definition: cvstd_wrapper.hpp:23
@ COLOR_YUV2BGR_NV12
Definition: imgproc.hpp:633
float minArea
Definition: features2d.hpp:638
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: deriv.hpp:374
Ncv32f * pSrcFrame0
frame 0
Definition: NPP_staging.hpp:119
std::function< void(gapi::fluid::Buffer &)> RS
Definition: gfluidkernel.hpp:63
virtual float getForwardBackward() const =0
Threshold for the forward backward confidence check.
v_reg< _Tp, n > operator/(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Divide values.
Definition: intrin_cpp.hpp:442
virtual void setMinDisparity(int minDisparity)=0
@ CAP_PROP_INTELPERC_DEPTH_CONFIDENCE_THRESHOLD
Definition: videoio.hpp:524
@ ITERATIVE
processing in several iterations
Definition: types.hpp:63
bool hasBackend(VideoCaptureAPIs api)
Returns true if backend is available.
double elem[12]
Definition: slam_kitti.hpp:62
virtual int getNumberOfSuperpixels()=0
Calculates the superpixel segmentation on a given image stored in SuperpixelSEEDS object.
void detectMarkers(InputArray image, const Ptr< Dictionary > &dictionary, OutputArrayOfArrays corners, OutputArray ids, const Ptr< DetectorParameters > ¶meters=DetectorParameters::create(), OutputArrayOfArrays rejectedImgPoints=noArray(), InputArray cameraMatrix=noArray(), InputArray distCoeff=noArray())
Basic marker detection.
int threshold
Definition: agast.txt:7532
std::vector< std::string > paths
Definition: fr_adience.hpp:90
void radiusMatch(const Mat &queryDescriptors, const Mat &trainDescriptors, std::vector< std::vector< DMatch > > &matches, float maxDistance, const Mat &mask=Mat(), bool compactResult=false) const
For every input query descriptor, retrieve, from a dataset provided from user or from the one interna...
virtual float getClusterMinMag() const =0
Returns the cluster min magnitude.
virtual void setTransformType(int val)=0
int num_params_per_cam_
Definition: motion_estimators.hpp:199
void setViewerPose(const Affine3d &pose)
Sets pose of the viewer.
float depthFactor
pre-scale per 1 meter for input values
Definition: kinfu.hpp:44
@ CAP_PROP_XI_AUTO_WB
Automatic white balance.
Definition: videoio.hpp:348
@ MaskIsTiled
Definition: base.hpp:95
static Ptr< ExposureCompensator > createDefault(int type)
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.
Ncv32u number_of_solver_iterations
number of linear system solver iterations
Definition: NCVBroxOpticalFlow.hpp:82
int varIdx
Index of variable on which the split is created.
Definition: ml.hpp:1179
A class filters a vector of keypoints.
Definition: features2d.hpp:107
vector< Point2f > gtbb
Definition: track_alov.hpp:65
Base class for Contrast Limited Adaptive Histogram Equalization. :
Definition: cudaimgproc.hpp:226
int axis
Definition: all_layers.hpp:281
@ CAP_PROP_XI_FREE_FFS_SIZE
Size of free camera FFS.
Definition: videoio.hpp:479
void setEpsY(double epsY)
sets the epsilon used during the vertical scan of QR code stop marker detection.
BBox(double x, double y, double w, double h)
std::forward_iterator_tag iterator_category
Definition: mat.hpp:3306
@ CPU_POPCNT
Definition: cvdef.h:280
int num_ref_points
Definition: ppf_match_3d.hpp:151
@ SFM_REFINE_FOCAL_LENGTH
Definition: simple_pipeline.hpp:124
virtual void getDepth(OutputArray depth)=0
void createKernel(InputArray A, InputArray B, OutputArray kernel, const int chn)
Creates kernel from basic functions.
int m_lineNum
Definition: instrumentation.hpp:81
Definition: gplaidmlkernel.hpp:36
the TLD (Tracking, learning and detection) tracker
Definition: tracker.hpp:1185
Definition: type_traits.hpp:118
__device__ __forceinline__ T saturate_cast(uchar v)
Definition: saturate_cast.hpp:59
@ CALIB_CB_ADAPTIVE_THRESH
Definition: calib3d.hpp:255
softdouble(const uint32_t)
Construct from integer.
v_reg< _Tp, n > v_sqrt(const v_reg< _Tp, n > &a)
Square root of elements.
Definition: intrin_cpp.hpp:509
void addText(const Mat &img, const String &text, Point org, const QtFont &font)
Draws a text on the image.
ThinningTypes
Definition: ximgproc.hpp:110
Base class for circles detector algorithm. :
Definition: cudaimgproc.hpp:446
std::vector< double > times
Definition: slam_kitti.hpp:70
__device__ static __forceinline__ int idx_low(int i, int len)
Definition: extrapolation.hpp:173
static Ptr< CharucoBoard > create(int squaresX, int squaresY, float squareLength, float markerLength, const Ptr< Dictionary > &dictionary)
Create a CharucoBoard object.
Base class for tonemapping algorithms - tools that are used to map HDR image to 8-bit range.
Definition: photo.hpp:337
@ BadCOI
input COI is not supported
Definition: base.hpp:93
static Ptr< TrackerMIL > create()
@ FONT_HERSHEY_COMPLEX_SMALL
smaller version of FONT_HERSHEY_COMPLEX
Definition: imgproc.hpp:819
UMat colRange(int startcol, int endcol) const
... for the specified column span
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type src) const
Definition: functional.hpp:775
virtual int getNumWarps() const =0
Ncv32u getAllocatorsAlignment() const
Definition: NCV.hpp:669
static Mat slice(const Mat &m, const _Range &r0)
Definition: shape_utils.hpp:63
virtual void clearBuffers()=0
Clears all retina buffers.
@ CAP_PROP_XI_IMAGE_DATA_FORMAT
Output data format.
Definition: videoio.hpp:370
cuda::GpuMat & getGpuMatRef() const
Definition: gr_chalearn.hpp:61
static bool isFormatSupported(int depth, int cn, bool norm)
virtual int getNVars() const =0
std::function< void(GOCLContext &)> F
Definition: goclkernel.hpp:86
String dumpInputArrayOfArrays(InputArrayOfArrays argument)
int getBlockSize() const
Definition: depth.hpp:388
static Ptr< IR_robot > create()
cv::Ptr< SeparateDetectionWork > separateDetectionWork
Definition: detection_based_tracker.hpp:161
static float DEFAULT_MAX_POINTS_PART()
Definition: depth.hpp:549
void blend(InputOutputArray dst, InputOutputArray dst_mask) CV_OVERRIDE
Blends and returns the final pano.
NCVMemoryType
Definition: NCV.hpp:428
static MatExpr eye(int rows, int cols)
virtual void knnMatchConvert(InputArray gpu_matches, std::vector< std::vector< DMatch > > &matches, bool compactResult=false)=0
Converts matches array from internal representation to standard matches vector.
static KernelArg PtrWriteOnly(const UMat &m)
Definition: ocl.hpp:357
void putStreamByte(int val)
Definition: mappergradproj.hpp:53
virtual void getQualityMap(OutputArray dst) const
Returns output quality map that was generated during computation, if supported by the algorithm
Definition: qualitybase.hpp:38
softdouble & operator=(const softdouble &c)
Assign constructor.
Definition: softfloat.hpp:234
Ptr< OCRHMMDecoder::ClassifierCallback > loadOCRHMMClassifier(const String &filename, int classifier)
Allow to implicitly load the default character classifier when creating an OCRHMMDecoder object.
std::tuple< GMat, GMat, GMat, GMat > GMat4
Definition: core.hpp:33
double getMinDepth() const
Definition: depth.hpp:924
void spinOnce(int time=1, bool force_redraw=false)
Starts the event loop for a given time.
int addSyntheticTemplate(const std::vector< Template > &templates, const String &class_id)
Add a new object template computed by external means.
@ CASCADE_FIND_BIGGEST_OBJECT
Definition: objdetect.hpp:170
uint32_t uint
Definition: interface.h:42
@ VORONOI_SEAM
Definition: seam_finders.hpp:62
size_t sz
size of the real buffer
Definition: utility.hpp:148
Template class for 2D rectangles.
Definition: types.hpp:421
virtual void collectGarbage()=0
std::function< R(Args...)> API
Definition: infer.hpp:70
std::function< GComputation()> Generator
Definition: gcomputation.hpp:114
virtual int getMsgType() const =0
type for messages (CV_16SC1 or CV_32FC1)
virtual FormatInfo format() const =0
Returns information about video file format.
Point3_< float > Point3f
Definition: types.hpp:271
signed char Ncv8s
Definition: NCV.hpp:131
Ncv32u height
Rectangle height.
Definition: NCV.hpp:184
size_t nplanes
the number of hyper-planes that the iterator steps through
Definition: mat.hpp:3417
bool empty() const
Definition: motion_stabilizing.hpp:74
void flags2idxStereo(int flags, std::vector< int > &idx, int n)
unsigned int texId() const
get OpenGL opject id
CommandLineParser(int argc, const char *const argv[], const String &keys)
Constructor.
Ptr< UkfSystemModel > model
Object of the class containing functions for computing the next state and the measurement.
Definition: kalman_filters.hpp:144
This structure represents the basic parameters for the experimental PlaidML backend.
Definition: plaidml.hpp:29
__host__ LutPtrSz< typename PtrTraits< SrcPtr >::ptr_type, typename PtrTraits< TablePtr >::ptr_type > lutPtr(const SrcPtr &src, const TablePtr &tbl)
Definition: lut.hpp:87
static Ptr< SimpleBlobDetector > create(const SimpleBlobDetector::Params ¶meters=SimpleBlobDetector::Params())
Vec< double, nFeatures > feature
Definition: sparse_matching_gpc.hpp:68
Texture2D(int arows, int acols, Format aformat, bool autoRelease=false)
@ COLOR_YUV2RGBA_YUY2
Definition: imgproc.hpp:701
bool filterByColor
Definition: features2d.hpp:634
@ COVAR_COLS
Definition: core.hpp:203
Ptr< TrackerTargetState > getLastTargetState() const
Get the last TrackerTargetState from Trajectory.
OPLandIplParvoParameters()
Definition: retina.hpp:152
void bilateralFilter(InputArray src, OutputArray dst, int kernel_size, float sigma_color, float sigma_spatial, int borderMode=BORDER_DEFAULT, Stream &stream=Stream::Null())
Performs bilateral filtering of passed image.
void read(const FileNode &node, DMatch &value, const DMatch &default_value)
GpuMat col(int x) const
returns a new GpuMat header for the specified column
Ncv32u width
Rectangle width.
Definition: NCV.hpp:164
std::string detectAndDecode(InputArray img, OutputArray points=noArray(), OutputArray straight_qrcode=noArray())
Both detects and decodes QR code.
Feature()
Definition: linemod.hpp:32
uchar * original_data
Definition: goclkernel.hpp:125
softfloat(const float a)
Construct from float.
Definition: softfloat.hpp:120
Struct, holding a node in the hashtable.
Definition: ppf_match_3d.hpp:80
double getMaxDistDiff() const
Definition: depth.hpp:1079
void convertFromGLTexture2D(const Texture2D &texture, OutputArray dst)
Converts Texture2D object to OutputArray.
__device__ __forceinline__ float cast_fp16< short, float >(short v)
Definition: saturate_cast.hpp:278
std::unordered_map< int, TrackedObjects > ObjectTracks
(object id, detected objects) pairs collection.
Definition: tracking_by_matching.hpp:64
MaterialProperty
Definition: ovis.hpp:34
void readTrajectory(OutputArray traj, const String &files_format="pose%05d.xml", int start=0, int end=INT_MAX, const String &tag="pose")
void essentialFromFundamental(InputArray F, InputArray K1, InputArray K2, OutputArray E)
Get Essential matrix from Fundamental and Camera matrices.
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:321
#define OPENCV_HAL_IMPL_C_SHIFTL(_Tpvec, _Tp)
Helper macro.
Definition: intrin_cpp.hpp:2196
__host__ Expr< UnaryTransformPtrSz< typename PtrTraits< SrcPtr >::ptr_type, saturate_cast_func< typename PtrTraits< SrcPtr >::value_type, D > > > cvt_(const SrcPtr &src)
Definition: per_element_func.hpp:119
void inpaint(InputArray src, InputArray inpaintMask, OutputArray dst, double inpaintRadius, int flags)
Restores the selected region in an image using the region neighborhood.
int hal_ni_filterFree(cvhalFilter2D *context)
hal_filterFree
Definition: hal_replacement.hpp:128
@ HISTCMP_CHISQR_ALT
Definition: imgproc.hpp:513
std::vector< T * > & detachData()
Get and detach data from all threads.
Definition: tls.hpp:130
_OutputArray(const cudev::GpuMat_< _Tp > &m)
void FT12D_process(InputArray matrix, InputArray kernel, OutputArray output, InputArray mask=noArray())
Computes -transfrom and inverse -transfrom at once.
Vec< double, 4 > Vec4d
Definition: matx.hpp:425
NAryMatIterator()
the default constructor
virtual ~CvLBPEvaluator() CV_OVERRIDE
Definition: feature.hpp:368
int hal_ni_addWeighted64f(const double *src1_data, size_t src1_step, const double *src2_data, size_t src2_step, double *dst_data, size_t dst_step, int width, int height, const double scalars[3])
Definition: hal_replacement.hpp:324
Vec< float_type, 3 > Vec3
Definition: affine.hpp:132
Ptr< DescriptorExtractor > getDescriptorExtractor()
virtual void setEntityProperty(const String &name, int prop, const Scalar &value)=0
Ptr< GeneralizedHoughGuil > createGeneralizedHoughGuil()
Creates a smart pointer to a cv::GeneralizedHoughGuil class and initializes it.
Definition: cudalegacy.hpp:200
__host__ __device__ static __forceinline__ char3 make(schar x, schar y, schar z)
Definition: vec_traits.hpp:171
std::string name
Definition: feature.hpp:134
unsigned char uchar
Definition: interface.h:51
@ CAP_PROP_XI_EXPOSURE
Exposure time in microseconds.
Definition: videoio.hpp:355
void debug(std::ostream &os) const
static Ptr< _Tp > makePtr(const A1 &... a1)
Definition: cvstd_wrapper.hpp:26
std::vector< Ptr< Tracker > > trackers
Trackers list for Multi-Object-Tracker.
Definition: tracker.hpp:1433
virtual void setup(const float photoreceptorsNeighborhoodRadius=3.f, const float ganglioncellsNeighborhoodRadius=1.f, const float meanLuminanceModulatorK=1.f)=0
updates tone mapping behaviors by adjusing the local luminance computation area
void * _getImpl() const CV_NOEXCEPT
Definition: async.hpp:97
This class is presented high-level API for neural networks.
Definition: dnn.hpp:1072
The class implements the modified H. Hirschmuller algorithm that differs from the original one as fo...
Definition: stereo.hpp:202
Matx< float_type, 4, 4 > Mat4
Definition: affine.hpp:131
@ CAP_PROP_XI_HDR_KNEEPOINT_COUNT
The number of kneepoints in the PWLR.
Definition: videoio.hpp:468
void initStream(Ptr< VideoInputStream > m_file_stream_)
int shift
The number of fractional bits in the point coordinates.
Definition: render.hpp:274
void island(const std::string &name, GProtoInputArgs &&ins, GProtoOutputArgs &&outs)
Define an tagged island (subgraph) within a computation.
This class implements name-value dictionary, values are instances of DictValue.
Definition: dict.hpp:115
static void setDefaultAllocator(MatAllocator *allocator)
Definition: gfluidkernel.hpp:257
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
#define G_TYPED_KERNEL_M(Class, API, Id)
Definition: gkernel.hpp:267
double Ncv64f
Definition: NCV.hpp:134
Parameters of phaseUnwrapping constructor.
Definition: histogramphaseunwrapping.hpp:79
__host__ Expr< UnaryTransformPtrSz< typename PtrTraits< SrcPtr >::ptr_type, Binder2nd< pow_func< typename PtrTraits< SrcPtr >::value_type > > > > pow_(const SrcPtr &src, float power)
Definition: unary_func.hpp:94
@ COLOR_BGR2HSV_FULL
Definition: imgproc.hpp:606
any(any &src)
Definition: any.hpp:80
Definition: dataset.hpp:561
detail::GArrayU yieldArray(int output=0)
Smart pointer for OpenGL buffer object with reference counting.
Definition: opengl.hpp:80
libmv_ReconstructionOptions(const int _keyframe1=1, const int _keyframe2=2, const int _refine_intrinsics=1, const int _select_keyframes=1, const int _verbosity_level=-1)
Definition: simple_pipeline.hpp:142
@ COLORSPACE_RGBA
Definition: container_avi.private.hpp:135
virtual void release()
Closes video file or capturing device.
GPCDescType
Descriptor types for the Global Patch Collider.
Definition: sparse_matching_gpc.hpp:91
virtual int getFastThreshold() const =0
GMat divRC(const GScalar ÷nt, const GMat &src, double scale, int ddepth=-1)
Divides scalar by matrix.
@ SFM_REFINE_RADIAL_DISTORTION_K1
Definition: simple_pipeline.hpp:126
@ CAP_PROP_CONVERT_RGB
Boolean flags indicating whether images should be converted to RGB.
Definition: videoio.hpp:149
virtual bool allocate(UMatData *data, AccessFlag accessflags, UMatUsageFlags usageFlags) const =0
int getPatchIdxOfBestDetection()
void getLinTr(OutputArray linTr) const
Definition: mapaffine.hpp:88
void cleanupDetachedData()
Release associated thread data returned by detachData() call.
Definition: tls.hpp:155
@ CAP_PROP_GIGA_FRAME_SENS_HEIGH
Definition: videoio.hpp:512
int trackMaxNegNum
Definition: tracker.hpp:791
virtual void run(InputArray image, std::vector< ERStat > ®ions)=0
The key method of ERFilter algorithm.
static Ptr< SinusoidalPattern > create(Ptr< SinusoidalPattern::Params > parameters=makePtr< SinusoidalPattern::Params >())
Constructor.
String extensions() const
Main interface for all filters, that take sparse matches as an input and produce a dense per-pixel ma...
Definition: sparse_match_interpolator.hpp:53
QualityBRISQUE(const cv::String &model_file_path, const cv::String &range_file_path)
Internal constructor.
virtual void setHistory(int nframes)=0
@ CAP_PROP_GIGA_FRAME_SENS_WIDTH
Definition: videoio.hpp:511
float a
Definition: warpers.hpp:359
__host__ void gridSplit(const SrcPtr &src, const tuple< GpuMat_< DstType > &, GpuMat_< DstType > & > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: split_merge.hpp:526
Definition: extrapolation.hpp:61
static std::vector< U > & get(GOCLContext &ctx, int idx)
Definition: goclkernel.hpp:185
float kaiser_alpha
Definition: tracker.hpp:1507
Definition: functional.hpp:183
float stdevThresh() const
Definition: inpainting.hpp:133
virtual void setComplexityReductionThreshold(double ct)=0
Sets the complexity reduction threshold.
void setTexCoordArray(InputArray texCoord)
Sets an array of vertex texture coordinates.
@ DNN_TARGET_CUDA_FP16
Definition: dnn.hpp:96
#define CV_CUDEV_RGB2YCrCb_INST(name, scn, dcn, bidx)
Definition: color_cvt.hpp:137
virtual void setEdgeMergeThr(float value)=0
Sets the edge merge threshold.
virtual void setShowGrid(bool needShowGrid)=0
void exp(InputArray src, OutputArray dst, Stream &stream=Stream::Null())
Computes an exponent of each matrix element.
int getMethod() const
Definition: depth.hpp:164
@ CAP_PROP_XI_HW_REVISION
Returns hardware revision number.
Definition: videoio.hpp:474
Rect warpRoi(Size src_size, InputArray K, InputArray R) CV_OVERRIDE
static Mat getByteListFromBits(const Mat &bits)
Transform matrix of bits to list of bytes in the 4 rotations.
@ CAP_PROP_XI_DEBOUNCE_T1
Debounce time (x * 10us).
Definition: videoio.hpp:426
bool tccDriver() const
true if device is a Tesla device using TCC driver, false otherwise
int area_width
Definition: interpolation.hpp:240
virtual double getVarThresholdGen() const =0
Returns the variance threshold for the pixel-model match used for new mixture component generation.
void relativeCameraMotion(InputArray R1, InputArray t1, InputArray R2, InputArray t2, OutputArray R, OutputArray t)
Computes the relative camera motion between two cameras.
int gestureID
Definition: gr_chalearn.hpp:62
Ptr< detail::RotationWarper > create(float scale) const CV_OVERRIDE
Definition: warpers.hpp:168
@ YUV422
Definition: cudacodec.hpp:273
bool isReal() const
returns true if the node is a floating-point number
virtual float getSaturation() const =0
virtual void setPlotTextColor(Scalar _plotTextColor)=0
void mapForward(float x, float y, float &u, float &v)
float minValue
Definition: all_layers.hpp:442
int hal_ni_max16u(const ushort *src1_data, size_t src1_step, const ushort *src2_data, size_t src2_step, ushort *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:105
virtual ~UkfSystemModel()
Definition: kalman_filters.hpp:102
virtual void applyHalideScheduler(Ptr< BackendNode > &node, const std::vector< Mat * > &inputs, const std::vector< Mat > &outputs, int targetId) const
Automatic Halide scheduling based on layer hyper-parameters.
size_t texturePitchAlignment() const
pitch alignment requirement for texture references bound to pitched memory
float getNormSigma1() const
Definition: gr_chalearn.hpp:84
@ COLOR_BayerGR2BGR
Definition: imgproc.hpp:742
int lkPyrLvl
Definition: quasi_dense_stereo.hpp:55
void div8u(const uchar *src1, size_t step1, const uchar *src2, size_t step2, uchar *dst, size_t step, int width, int height, void *scale)
virtual void setOutputMin(float val)=0
Output image range minimum value.
std::string imageName
Definition: sr_general100.hpp:25
Ptr< TrackerTargetState > estimate(const std::vector< ConfidenceMap > &confidenceMaps)
Estimate the most likely target state, return the estimated state.
@ DICT_APRILTAG_25h9
5x5 bits, minimum hamming distance between any two codes = 9, 35 codes
Definition: dictionary.hpp:160
const uchar ** pointer
Definition: mat.hpp:3019
GMat sub(const GMat &src1, const GMat &src2, int ddepth=-1)
Calculates the per-element difference between two matrices.
Definition: functional.hpp:631
WCloud(InputArray cloud, const Color &color, InputArray normals)
Constructs a WCloud.
@ MPEG2
Definition: cudacodec.hpp:248
This structure contains all the parameters that can be varied during the course of sampling algorithm...
Definition: tracker.hpp:904
Ptr< cuda::StereoBM > createStereoBM(int numDisparities=64, int blockSize=19)
Creates StereoBM object.
void filter_top_n(std::vector< std::vector< double > > *probs, std::vector< std::vector< double > > *boxes, std::vector< std::vector< double > > &top_n_boxes, std::vector< size_t > &top_n_idxs, std::vector< double > &top_n_probs)
Filter top n predictions.
__host__ __device__ NcvRect8u(Ncv8u x_, Ncv8u y_, Ncv8u width_, Ncv8u height_)
Definition: NCV.hpp:144
std::string tag
Definition: gcommon.hpp:96
virtual int getLayout() const =0
Definition: functional.hpp:609
void prep()
Definition: cap.hpp:59
__host__ GpuMat_(const Expr< Body > &expr)
expression templates
@ COLOR_YUV2BGR_YUYV
Definition: imgproc.hpp:697
uint4 _ui4
Definition: NCVHaarObjectDetection.hpp:220
std::vector< String > getUnconnectedOutLayersNames() const
Returns names of layers with unconnected outputs.
Matx< double, 1, 3 > Matx13d
Definition: matx.hpp:215
virtual double getSigmaColor()=0
SigmaColor is a parameter defining how sensitive the filtering process is to source image edges....
Matching(void)
Definition: matching.hpp:596
static void registerLayer(const String &type, Constructor constructor)
Registers the layer class with typename type and specified constructor. Thread-safe.
size_t maxMemAllocSize() const
VecCommaInitializer< _Tp, m > & operator,(T2 val)
Base storage class for GPU memory with reference counting.
Definition: cuda.hpp:106
virtual void setDefaultLearningRate(double lr)=0
PtrTraits< MapPtr >::index_type index_type
Definition: remap.hpp:63
Ptr< Filter > createSobelFilter(int srcType, int dstType, int dx, int dy, int ksize=3, double scale=1, int rowBorderMode=BORDER_DEFAULT, int columnBorderMode=-1)
Creates a Sobel operator.
static double trace(const Matx< _Tp, m, n > &a)
virtual cv::Size size() const =0
Descriptor size getter.
Ptr< FastLineDetector > createFastLineDetector(int _length_threshold=10, float _distance_threshold=1.414213562f, double _canny_th1=50.0, double _canny_th2=50.0, int _canny_aperture_size=3, bool _do_merge=false)
Creates a smart pointer to a FastLineDetector object and initializes it.
virtual void compute(InputArray img, OutputArray descriptors, Stream &stream=Stream::Null())=0
Returns block descriptors computed for the whole image.
Ptr< MergeMertens > createMergeMertens(float contrast_weight=1.0f, float saturation_weight=1.0f, float exposure_weight=0.0f)
Creates MergeMertens object.
@ LOG_LEVEL_FATAL
Fatal (critical) error (unrecoverable internal error)
Definition: logger.defines.hpp:27
void read(const FileNode &node, float &value, float default_value)
Mat A
gray values from all face region in the dataset, projected in PCA space
Definition: facemarkAAM.hpp:119
std::vector< GShape > GShapes
Definition: gkernel.hpp:29
the sparse matrix header
Definition: mat.hpp:2675
virtual bool getUpdateBackgroundModel() const =0
Returns the status of background model update.
virtual int getVarCount() const =0
Returns the number of variables in training samples.
void waitEvent(const Event &event)
Makes a compute stream wait on an event.
void setSigmaSpatial(float f)
Definition: depth.hpp:1107
static Ptr< MSM_epfl > create()
void assign_row(void *ptr, int cols, Scalar const &s)
Definition: mat.hpp:25
virtual void setIterations(int val)=0
virtual void apply(InputArray src, OutputArray dst, Stream &stream)=0
Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization.
@ COLOR_BayerRG2BGR_MHT
Definition: cudaimgproc.hpp:97
@ CAP_PROP_XI_DECIMATION_HORIZONTAL
Horizontal Decimation - horizontal sub-sampling of the image - reduces the horizontal resolution of t...
Definition: videoio.hpp:366
v_reg(_Tp s0, _Tp s1, _Tp s2, _Tp s3)
Constructor.
Definition: intrin_cpp.hpp:286
Definition: wobble_suppression.hpp:102
static void write(FileStorage &fs, const Complex< _Tp > &c)
Definition: persistence.hpp:930
float searchFactor
search region parameter
Definition: tracker.hpp:843
static Ptr< AR_sports > create()
Mat measurementNoiseCov
measurement noise covariance matrix (R)
Definition: tracking.hpp:399
bool get(OutputArray dst, double timeoutNs) const
Definition: async.hpp:63
bool horizontal
Definition: sinusoidalpattern.hpp:91
virtual void release() CV_OVERRIDE
@ GEMM_1_T
transposes src1
Definition: base.hpp:220
Structure to hold the details pertaining to a single bounding box.
Definition: core_detect.hpp:27
Ptr< DenseOpticalFlow > createOptFlow_Farneback()
Additional interface to the Farneback's algorithm - calcOpticalFlowFarneback()
void magnitude32f(const float *x, const float *y, float *dst, int n)
void histEven(InputArray src, OutputArray hist, int histSize, int lowerLevel, int upperLevel, Stream &stream=Stream::Null())
Calculates a histogram with evenly distributed bins.
static cv::UMat get(GOCLContext &ctx, int idx)
Definition: goclkernel.hpp:104
Rect_< float > Rect2f
Definition: types.hpp:460
Viz3d(const String &window_name=String())
The constructors.
void setDepth(int val)
Definition: depth.hpp:243
virtual void setBackground(const Scalar &color)=0
This is an overloaded member function, provided for convenience. It differs from the above function o...
__host__ NCVStatus setThreshold(Ncv32f t)
Definition: NCVHaarObjectDetection.hpp:228
float samplerSearchWinSize
size of search window
Definition: tracker.hpp:1074
static void dumpOpenCLInformation()
Definition: opencl_info.hpp:69
void setUseGlobalMotionPrior(bool val)
T work_type
Definition: reduce_to_vec.hpp:127
Definition: all_layers.hpp:211
bool parseAvi(Codecs codec_)
Definition: container_avi.private.hpp:88
virtual void detect(InputArray _image, OutputArray _lines, OutputArray width=noArray(), OutputArray prec=noArray(), OutputArray nfa=noArray())=0
Finds lines in the input image.
Matx< _Tp, m1, n1 > get_minor(int base_row, int base_col) const
extract part of the matrix
int size
Definition: all_layers.hpp:238
virtual void setContrast(float contrast)=0
size_t blockIdx
Definition: persistence.hpp:610
BlockMeanHash()
Definition: block_mean_hash.hpp:36
@ CMP_LT
src1 is less than src2.
Definition: base.hpp:214
void convertTo(OutputArray dst, int rtype) const
converts GpuMat to another datatype (Blocking call)
const double & operator[](int i) const
Definition: scalar.hpp:30
@ CAP_PROP_ISO_SPEED
Definition: videoio.hpp:163
float eps
max outliers ratio
Definition: motion_core.hpp:77
virtual void setBackground(InputArray image)=0
#define ncvAssertPrintReturn(pred, msg, err)
Definition: NCV.hpp:267
void bind(Target target) const
Binds OpenGL buffer to the specified buffer binding point.
bool first_pulled
Definition: cap.hpp:57
int numClassifiers
the number of classifiers to use in a OnlineBoosting algorithm
Definition: tracker.hpp:1106
virtual void setLevels(int levels)=0
Feature table levels.
@ COLOR_BayerGB2RGB_EA
Definition: imgproc.hpp:772
Constructs a WMesh.
Definition: widgets.hpp:789
@ INTERSECT_NONE
No intersection.
Definition: imgproc.hpp:795
int getOptimalDFTSize(int vecsize)
Returns the optimal DFT size for a given vector size.
static cv::Scalar compute(InputArray ref, InputArray cmp, OutputArray qualityMap)
static method for computing quality
Ncv32u NumStages
Definition: NCVHaarObjectDetection.hpp:335
@ HARRIS_SCORE
Definition: features2d.hpp:316
MatIterator_(const MatIterator_ &it)
copy constructor
Mat frameMask_
Definition: stabilizer.hpp:126
@ CC_STAT_WIDTH
The horizontal size of the bounding box.
Definition: imgproc.hpp:394
void PCABackProject(InputArray data, InputArray mean, InputArray eigenvectors, OutputArray result)
WPolyLine(InputArray points, const Color &color=Color::white())
Constructs a WPolyLine.
Mat cls
Definition: feature.hpp:196
static Ptr< QualityBRISQUE > create(const cv::String &model_file_path, const cv::String &range_file_path)
Create an object which calculates quality.
void write(FileStorage &fs, const String &name, float value)
Point3_(const Point_< _Tp > &pt)
@ none
Definition: fr_adience.hpp:64
@ CC_STAT_AREA
The total area (in pixels) of the connected component.
Definition: imgproc.hpp:396
_OutputArray(std::vector< bool > &vec)=delete
Derivatives of this class wraps cv::Mat for different backends and targets.
Definition: dnn.hpp:134
Definition: all_layers.hpp:279
static Color celestial_blue()
static ParamGrid getDefaultGrid(int param_id)
Generates a grid for SVM parameters.
static void read(const FileNode &node, Vec< _Tp, cn > &value, const Vec< _Tp, cn > &default_value)
Definition: persistence.hpp:755
void glob_relative(const cv::String &directory, const cv::String &pattern, std::vector< cv::String > &result, bool recursive=false, bool includeDirectories=false)
int hal_ni_recip8s(const schar *src_data, size_t src_step, schar *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:276
int type() const
Returns type of the node.
virtual bool isTrackValid(size_t track_id) const =0
isTrackValid Checks whether track is valid (duration > threshold).
T ValueType
Definition: features2d.hpp:807
void resetDevice()
Explicitly destroys and cleans up all resources associated with the current device in the current pro...
virtual double getEpsilon() const =0
static cv::gapi::GBackend backend()
Definition: gcpukernel.hpp:284
Class for ContourFitting algorithms. ContourFitting match two contours and minimizing distance.
Definition: fourier_descriptors.hpp:21
size_t maxParameterSize() const
@ CALIB_CB_ASYMMETRIC_GRID
Definition: calib3d.hpp:264
cv::Vec2f bbox_aspect_ratios_range
Bounding box aspect ratios range.
Definition: tracking_by_matching.hpp:283
bool compress_feature
activate the pca method to compress the features
Definition: tracker.hpp:1253
v_reg(const v_reg< _Tp, n > &r)
Copy constructor.
Definition: intrin_cpp.hpp:318
int radiusSearch(const std::vector< ElementType > &query, std::vector< int > &indices, std::vector< DistanceType > &dists, DistanceType radius, const ::cvflann::SearchParams ¶ms)
Performs a radius nearest neighbor search for a given query point using the index.
SVD()
the default constructor
@ OPTFLOW_LK_GET_MIN_EIGENVALS
Definition: tracking.hpp:57
virtual Mat getTestSamples() const =0
Returns matrix of test samples.
virtual const char * what() const noexcept override
Definition: any.hpp:45
Definition: inpainting.hpp:128
std::string nameColor
Definition: gr_chalearn.hpp:77
@ CLOSE_CAMERA
Definition: cap_winrt.hpp:41
@ IMWRITE_PNG_STRATEGY_FILTERED
Use this value for data produced by a filter (or predictor).Filtered data consists mostly of small va...
Definition: imgcodecs.hpp:118
void calc(InputArray I0, InputArray I1, InputOutputArray flow) CV_OVERRIDE
Calculates an optical flow.
@ OCR_CNN_CLASSIFIER
Definition: ocr.hpp:181
__host__ ResizePtrSz< typename PtrTraits< SrcPtr >::ptr_type > resizePtr(const SrcPtr &src, float fx, float fy)
Definition: resize.hpp:89
int hal_ni_div16u(const ushort *src1_data, size_t src1_step, const ushort *src2_data, size_t src2_step, ushort *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:259
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.
Scalar color
Color of the font. Scalar(blue_component, green_component, red_component[, alpha_component])
Definition: highgui.hpp:691
Definition: intrin.hpp:103
Allocator()
Definition: cvstd.hpp:122
virtual void setBackgroundRatio(double backgroundRatio)=0
@ EVENT_MBUTTONUP
indicates that middle mouse button is released.
Definition: highgui.hpp:212
virtual bool isTrackForgotten(size_t id) const =0
isTrackForgotten returns true if track is forgotten.
static void calcLocalSVDValues(OutputArray localSVDValues, const Mat &frame)
virtual void feed(const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< std::pair< UMat, uchar > > &masks)=0
cv::Point org
The bottom-left corner of the image.
Definition: render.hpp:328
UMat(const Point3_< _Tp > &pt, bool copyData=true)
builds matrix from a 3D point
std::vector< Pose3DPtr > poseList
Definition: pose_3d.hpp:177
cv::Rect location
Definition: detection_based_tracker.hpp:148
@ CAP_PROP_PVAPI_MULTICASTIP
IP for enable multicast master mode. 0 for disable multicast.
Definition: videoio.hpp:292
virtual Mat performSegmentGpu(InputArray src, bool ifDraw=true)=0
do segmentation gpu
Scalar_(Scalar_ &&s) CV_NOEXCEPT
GMat absDiffC(const GMat &src, const GScalar &c)
Calculates absolute value of matrix elements.
virtual ~IDenseOptFlowEstimator()
Definition: optical_flow.hpp:73
size_t rawSize() const
returns raw size of the FileNode in bytes
SrcPtr src
Definition: lut.hpp:65
finds arbitrary template in the grayscale image using Generalized Hough Transform
Definition: imgproc.hpp:878
virtual int getIterations() const =0
NCVStatus nppsStCompact_32s_host(Ncv32s *h_src, Ncv32u srcLen, Ncv32s *h_dst, Ncv32u *dstLen, Ncv32s elemRemove)
#define CV_64F
Definition: interface.h:79
@ CPU_AVX_5124VNNIW
Definition: cvdef.h:300
v_uint16x8 v_setall_u16(ushort val)
Definition: intrin_cpp.hpp:2162
const _Tp & value() const
template method returning the current matrix element
bool solvePnPRansac(InputArray objectPoints, InputArray imagePoints, InputArray cameraMatrix, InputArray distCoeffs, OutputArray rvec, OutputArray tvec, bool useExtrinsicGuess=false, int iterationsCount=100, float reprojectionError=8.0, double confidence=0.99, OutputArray inliers=noArray(), int flags=SOLVEPNP_ITERATIVE)
Finds an object pose from 3D-2D point correspondences using the RANSAC scheme.
virtual int getDisp12MaxDiff() const =0
virtual void shiftMat(InputArray src, OutputArray dst, const Point shift)=0
Helper function, that shift Mat filling new regions with zeros.
friend GKernelPackage combine(const GKernelPackage &lhs, const GKernelPackage &rhs)
Create a new package based on lhs and rhs.
v_reg< _Tp, n > v_combine_low(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Combine vector from first elements of two vectors.
Definition: intrin_cpp.hpp:1691
MapYPtr mapy
Definition: remap.hpp:82
virtual void setTermCriteria(TermCriteria val)=0
int height
Definition: linemod.hpp:44
virtual void setNumIters(int iters)=0
virtual Mat estimate(const Mat &frame0, const Mat &frame1, bool *ok=0)=0
void oilPainting(InputArray src, OutputArray dst, int size, int dynRatio, int code)
oilPainting See the book for details.
int id
Definition: detection_based_tracker.hpp:189
virtual double getRpropDWMin() const =0
MorphShapes
shape of the structuring element
Definition: imgproc.hpp:230
void connect(int outLayerId, int outNum, int inpLayerId, int inpNum)
Connects #outNum output of the first layer to #inNum input of the second layer.
NCVStatus nppiStTranspose_64s_C1R_host(Ncv64s *h_src, Ncv32u srcStride, Ncv64s *h_dst, Ncv32u dstStride, NcvSize32u srcRoi)
__host__ __device__ NcvSize32u(Ncv32u width_, Ncv32u height_)
Definition: NCV.hpp:186
virtual void setScoreType(ORB::ScoreType scoreType)=0
virtual void detectEdges(cv::InputArray _src, cv::OutputArray _dst) const =0
The function detects edges in src and draw them to dst.
virtual double getDecisionThreshold() const =0
Mat readTensorFromONNX(const String &path)
Creates blob from .pb file.
int cols
Definition: interpolation.hpp:215
void divide(InputArray src1, InputArray src2, OutputArray dst, double scale=1, int dtype=-1, Stream &stream=Stream::Null())
Computes a matrix-matrix or matrix-scalar division.
virtual void setDescriptorFormat(HOGDescriptor::DescriptorStorageFormat descr_format)=0
cv::VideoCapture cap
Definition: cap.hpp:55
#define CV_EXPORTS_W_MAP
Definition: cvdef.h:419
int writePose(const std::string &FileName)
static Ptr< Plot2d > create(InputArray dataX, InputArray dataY)
Creates Plot2d object.
void release()
decreases reference counter, deallocate the data when reference counter reaches 0
virtual void setWarpingsNumber(int val)=0
virtual double getRpropDWPlus() const =0
Type
Definition: types.hpp:859
__host__ __forceinline__ void checkCudaError(cudaError_t err, const char *file, const int line, const char *func)
Definition: common.hpp:70
virtual void getNormals(InputArray points, OutputArray normals) const =0
Calculates normals for given points.
virtual void setRpropDW0(double val)=0
static bool builtWith(FeatureSet feature_set)
The following method checks whether the module was built with the support of the given feature:
static void compute(InputArray src, OutputArray w, int flags=0)
void init(size_t size) CV_OVERRIDE
overloaded interface method
void setPanoConfidenceThresh(double conf_thresh)
Definition: stitching.hpp:196
Definition: facerec.hpp:21
void setBackgroundMeshLab()
static Ptr< Params > coarseParams()
Coarse parameters A set of parameters which provides better speed, can fail to match frames in case o...
virtual NCVStatus dealloc(NCVMemSegment &seg)=0
@ NPPST_MEMCPY_ERROR
CUDA memory copy error.
Definition: NCV.hpp:360
double computeBadPixelPercent(InputArray GT, InputArray src, Rect ROI, int thresh=24)
Function for computing the percent of "bad" pixels in the disparity map (pixels where error is higher...
This structure forces Fluid backend to generate multiple parallel output regions in the graph....
Definition: gfluidkernel.hpp:122
Template Read-Write Sparse Matrix Iterator Class.
Definition: mat.hpp:3303
int hal_ni_LU64f(double *src1, size_t src1_step, int m, double *src2, size_t src2_step, int n, int *info)
Definition: hal_replacement.hpp:596
Unscented Kalman filter parameters. The class for initialization parameters of Unscented Kalman filte...
Definition: kalman_filters.hpp:124
Class for computing the optical flow vectors between two images using NVIDIA Optical Flow hardware an...
Definition: cudaoptflow.hpp:399
UMatUsageFlags
Usage flags for allocator.
Definition: mat.hpp:450
std::tuple< GMat, GMat > cartToPolar(const GMat &x, const GMat &y, bool angleInDegrees=false)
Calculates the magnitude and angle of 2D vectors.
@ BORDER_WRAP
cdefgh|abcdefgh|abcdefg
Definition: base.hpp:272
@ CAP_PROP_OPENNI_OUTPUT_MODE
Definition: videoio.hpp:227
virtual String name() const CV_OVERRIDE
DemosaicTypes
Definition: cudaimgproc.hpp:93
virtual float getMaxAspectRatio() const =0
Returns the max aspect ratio of boxes.
WText3D(const String &text, const Point3d &position, double text_scale=1., bool face_camera=true, const Color &color=Color::white())
Constructs a WText3D.
~TLSData()
Definition: tls.hpp:65
float32x4_t cv_vrecpq_f32(float32x4_t val)
Definition: neon_utils.hpp:82
void SVBackSubst(InputArray w, InputArray u, InputArray vt, InputArray rhs, OutputArray dst)
const Size & getWindowSize() const
Definition: types.hpp:213
__device__ __forceinline__ double4 atan(const double4 &a)
Definition: vec_math.hpp:337
void setImageHeight(int val)
Definition: saliencySpecializedClasses.hpp:211
This aggregate type represents all types which G-API can handle (via variant).
Definition: garg.hpp:113
Gaussian Mixture-based Background/Foreground Segmentation Algorithm.
Definition: cudabgsegm.hpp:81
virtual void setLevels(int levels)=0
R-Table levels.
virtual void setInitialStepSize(float InitialStepSize)=0
Parameter initialStepSize of a SVMSGD optimization problem.
const cv::UMat & inMat(int input)
Definition: matchers.hpp:200
Params< Net > & cfgInputLayers(const typename PortCfg< Net >::In &ll)
Definition: ie.hpp:86
void cvtXYZtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue)
virtual bool isMaskSupported() const =0
Returns true if the descriptor matcher supports masking permissible matches.
Exposure compensator which tries to remove exposure related artifacts by adjusting image intensities,...
Definition: exposure_compensate.hpp:112
virtual void detect(InputArray img, std::vector< Point > &foundLocations, std::vector< double > &weights, double hitThreshold=0, Size winStride=Size(), Size padding=Size(), const std::vector< Point > &searchLocations=std::vector< Point >()) const
Performs object detection without a multi-scale window.
static KernelArg PtrReadOnly(const UMat &m)
Definition: ocl.hpp:359
@ BadStep
image step is wrong, this may happen for a non-continuous matrix.
Definition: base.hpp:82
Types
Type of covariation matrices.
Definition: ml.hpp:840
void writeLogMessage(LogLevel logLevel, const char *message)
void merge32s(const int **src, int *dst, int len, int cn)
virtual void setNumLevels(int levels)=0
void writeClasses(const String &format="templates_%s.yml.gz") const
@ GLOBAL_ATOMICS
Definition: cuda.hpp:780
Definition: detection_based_tracker.hpp:69
@ BLOCK_MEAN_HASH_MODE_0
use fewer block and generate 16*16/8 uchar hash value
Definition: block_mean_hash.hpp:18
virtual void setMaxFlow(float maxFlow=250.f)=0
MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model....
float thresh
max error to classify as inlier
Definition: motion_core.hpp:76
bool nonmaxSuppression
Definition: agast.txt:7533
virtual Rect2d createCameraEntity(const String &name, InputArray K, const Size &imsize, float zFar, InputArray tvec=noArray(), InputArray rot=noArray())=0
Definition: deriv.hpp:102
MatConstIterator(const Mat *_m, Point _pt)
constructor that sets the iterator to the specified element of the matrix
void setTargetPosition(const Point2f &position)
Set the position.
@ CAP_PROP_OPENNI_GENERATOR_PRESENT
Definition: videoio.hpp:239
__device__ static __forceinline__ bool max()
Definition: limits.hpp:63
@ CAP_PROP_XI_DATA_FORMAT
Output data format.
Definition: videoio.hpp:335
@ COLOR_Lab2BGR
Definition: imgproc.hpp:599
bool isTargetFg() const
Get the label. Return true for target foreground, false for background.
virtual void calc(InputArray inputImage, InputArray referenceImage, InputOutputArray flow, Stream &stream=Stream::Null(), InputArray hint=cv::noArray(), OutputArray cost=cv::noArray())=0
Calculates Optical Flow using NVIDIA Optical Flow SDK.
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.
float shiftValue
Definition: sinusoidalpattern.hpp:88
virtual cv::Mat getClassWeights() const =0
@ CC_STAT_TOP
Definition: imgproc.hpp:392
int channels
Definition: mask.hpp:74
virtual double getPyrScale() const =0
bool samplingImpl(const Mat &image, Rect boundingBox, std::vector< Mat > &sample) CV_OVERRIDE
int targetHeight
Definition: tracker.hpp:375
Matx(const Matx< _Tp, m, l > &a, const Matx< _Tp, l, n > &b, Matx_MatMulOp)
int nativeVectorWidthFloat() const
@ DECOMP_LU
Definition: base.hpp:135
NCVStatus ncvHaarGetClassifierSize(const cv::String &filename, Ncv32u &numStages, Ncv32u &numNodes, Ncv32u &numFeatures)
Definition: gtype_traits.hpp:139
ExtObject(int _id, cv::Rect _location, ObjectStatus _status)
Definition: detection_based_tracker.hpp:150
@ COLOR_YUV420sp2BGRA
Definition: imgproc.hpp:644
virtual float getFGSSigma() const =0
Sets the respective fastGlobalSmootherFilter() parameter.
CompressedRectilinearWarper(float A=1, float B=1)
Definition: warpers.hpp:181
virtual int getCannyHighThresh() const =0
void imshow(const String &winname, InputArray mat)
Displays an image in the specified window.
@ COLOR_YUV2BGRA_Y422
Definition: imgproc.hpp:688
T & get()
Definition: gcommon.hpp:106
virtual void setWeakCount(int val)=0
Poly(const std::vector< cv::Point > &points_, const cv::Scalar &color_, int thick_=1, int lt_=cv::LINE_8, int shift_=0)
Mosaic constructor.
Definition: render.hpp:348
virtual void write(FileStorage &fs) const =0
void setCameraMatrix(const cv::Mat &val) CV_OVERRIDE
Definition: depth.hpp:786
float free_coef
not documented
Definition: objdetect.hpp:623
MatExpr max(double s, const Mat &a)
NCVStatus nppiStVectorWarpGetBufferSize(NcvSize32u srcSize, Ncv32u nSrcStep, Ncv32u *hpSize)
int modifiers
Definition: types.hpp:300
void feed(const std::vector< Point > &, const std::vector< UMat > &, const std::vector< std::pair< UMat, uchar > > &) CV_OVERRIDE
Definition: exposure_compensate.hpp:101
cv::Scalar color
The line color.
Definition: render.hpp:271
void read(const FileNode &node, int &value, int default_value)
size_t default_step(int type, int cols)
Definition: mat.hpp:37
@ CALIB_HAND_EYE_DANIILIDIS
Hand-Eye Calibration Using Dual Quaternions .
Definition: calib3d.hpp:309
std::tuple< cv::GArray< R >... > ResultL
Definition: infer.hpp:57
WTrajectoryFrustums(InputArray path, const Matx33d &K, double scale=1., const Color &color=Color::white())
Constructs a WTrajectoryFrustums.
v_reg< _Tp, n > operator!=(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Not equal comparison.
Definition: intrin_cpp.hpp:698
virtual void setSolverIterations(int solver_iterations)=0
uint1 _ui1
Definition: NCVHaarObjectDetection.hpp:180
std::vector< Mat > finalize(const std::vector< Mat > &inputs)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void refineDetectedMarkers(InputArray image, const Ptr< Board > &board, InputOutputArrayOfArrays detectedCorners, InputOutputArray detectedIds, InputOutputArrayOfArrays rejectedCorners, InputArray cameraMatrix=noArray(), InputArray distCoeffs=noArray(), float minRepDistance=10.f, float errorCorrectionRate=3.f, bool checkAllOrders=true, OutputArray recoveredIdxs=noArray(), const Ptr< DetectorParameters > ¶meters=DetectorParameters::create())
Refind not detected markers based on the already detected and the board layout.
void getMatGains(std::vector< Mat > &umv) CV_OVERRIDE
void approxPolyDP(InputArray curve, OutputArray approxCurve, double epsilon, bool closed)
Approximates a polygonal curve(s) with the specified precision.
K API
Definition: gcpukernel.hpp:282
static void write(FileStorage &fs, const String &name, const DMatch &m)
Definition: persistence.hpp:1057
RetrievalModes
mode of the contour retrieval algorithm
Definition: imgproc.hpp:410
@ GC_PR_FGD
a possible foreground pixel
Definition: imgproc.hpp:345
String vendorName() const
std::vector< Mat > frames_
Definition: stabilizer.hpp:134
void fundamentalFromProjections(InputArray P1, InputArray P2, OutputArray F)
Get Fundamental matrix from Projection matrices.
__host__ __device__ Ncv32f getThreshold(void)
Definition: NCVHaarObjectDetection.hpp:251
int hal_ni_dct2D(cvhalDFT *context, const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step)
Definition: hal_replacement.hpp:567
Definition: tr_chars.hpp:67
__device__ static __forceinline__ int idx_low(int i, int len)
Definition: extrapolation.hpp:147
__host__ NCVStatus setFeatureDesc(HaarFeatureDescriptor32 f)
Definition: NCVHaarObjectDetection.hpp:222
@ CPU_SSE4_2
Definition: cvdef.h:279
int getTransformType() const CV_OVERRIDE
Definition: depth.hpp:707
Config(Mat rot=Mat::eye(2, 2, CV_32F), Point2f trans=Point2f(0.0f, 0.0f), float scaling=1.0f, int scale_id=0)
@ COLOR_YUV2RGB_YUY2
Definition: imgproc.hpp:692
void setSource(const gapi::wip::IStreamSource::Ptr &s)
Specify an input video stream for a single-input computation pipeline.
int samplerTrackMaxNegNum
Definition: tracker.hpp:1077
SrcPtr src
Definition: reduction.hpp:154
GMat divC(const GMat &src, const GScalar &divisor, double scale, int ddepth=-1)
Divides matrix by scalar.
uint64_t uint64
Definition: interface.h:62
void setTransformType(int val) CV_OVERRIDE
Definition: depth.hpp:711
GridType gridType
Definition: calib3d.hpp:1321
Feature(int offset, int x, int y, int _block_w, int _block_h)
Definition: type_traits.hpp:156
Impl * getImpl() const
Definition: ocl.hpp:264
int hal_ni_max8s(const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, schar *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:104
Implements Logistic Regression classifier.
Definition: ml.hpp:1621
virtual double getVarMin() const =0
T get(const String &key, const T &defaultValue) const
If the key in the dictionary then returns its value, else returns defaultValue.
virtual void setPyrScale(double pyrScale)=0
Buffer(int arows, int acols, int atype, Target target=ARRAY_BUFFER, bool autoRelease=false)
int width
Definition: types.hpp:103
v_uint8x16 v_rshr_pack(const v_uint16x8 &a, const v_uint16x8 &b)
Definition: intrin_cpp.hpp:2310
Rect_< double > Rect2d
Definition: types.hpp:461
int solveP3P(InputArray objectPoints, InputArray imagePoints, InputArray cameraMatrix, InputArray distCoeffs, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, int flags)
Finds an object pose from 3 3D-2D point correspondences.
static std::false_type test(...)
uchar * reference
Definition: mat.hpp:3020
double confThresh() const
Definition: motion_estimators.hpp:143
__host__ void gridReduceToColumn(const SrcPtr &src, GpuMat_< ResType > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: reduce_to_vec.hpp:220
Node(OBJECT &payload)
Definition: utility.hpp:1058
std::vector< U > type
Definition: gtyped.hpp:28
@ shortdim
Definition: matx.hpp:110
Disparity map filter based on Weighted Least Squares filter (in form of Fast Global Smoother that is ...
Definition: disparity_filter.hpp:83
Definition: cudalegacy.hpp:155
virtual void setBoostType(int val)=0
__device__ __forceinline__ float1 cos(const uchar1 &a)
Definition: vec_math.hpp:294
@ MM_HOMOGRAPHY
Definition: motion_core.hpp:67
virtual void setLambda(double lambda)=0
__device__ __forceinline__ double4 cosh(const double4 &a)
Definition: vec_math.hpp:355
@ NCVPipeObjDet_Default
Definition: NCVHaarObjectDetection.hpp:354
@ CALIB_FIX_P2
Definition: omnidir.hpp:61
Definition: fr_adience.hpp:68
Matx< float, 3, 4 > Matx34f
Definition: matx.hpp:240
@ VP8
Definition: cudacodec.hpp:256
uint32x4_t cv_vrndq_u32_f32(float32x4_t v)
Definition: neon_utils.hpp:76
virtual int getNMixtures() const =0
float getRecall(const std::vector< Point2f > &recallPrecisionCurve, float l_precision)
Image2D(const Image2D &i)
void v_expand(const v_reg< _Tp, n > &a, v_reg< typename V_TypeTraits< _Tp >::w_type, n/2 > &b0, v_reg< typename V_TypeTraits< _Tp >::w_type, n/2 > &b1)
Expand values to the wider pack type.
Definition: intrin_cpp.hpp:1276
__host__ GpuMat_(int arows, int acols, Scalar val, Allocator *allocator=defaultAllocator())
constucts GpuMat and fills it with the specified value
Interface for realizations of Guided Filter.
Definition: edge_filter.hpp:131
virtual int getP2() const =0
@ LOG_LEVEL_SILENT
for using in setLogVevel() call
Definition: logger.defines.hpp:26
__device__ __forceinline__ uint vsetlt2(uint a, uint b)
Definition: simd_functions.hpp:396
Ptr< TrackerStateEstimator > getTrackerStateEstimator() const
Get the TrackerStateEstimator.
@ CAP_PROP_XI_LENS_FOCUS_MOVE
Moves lens focus motor by steps set in XI_PRM_LENS_FOCUS_MOVEMENT_VALUE.
Definition: videoio.hpp:431
int narrays
the number of arrays
Definition: mat.hpp:3415
@ SORT_ASCENDING
Definition: core.hpp:158
virtual double getThreshold() const CV_OVERRIDE=0
int findNearest(Point2f pt, Point2f *nearestPt=0)
Finds the subdivision vertex closest to the given point.
void detectMultiScale(InputArray image, std::vector< Rect > &objects, std::vector< int > &numDetections, double scaleFactor=1.1, int minNeighbors=3, int flags=0, Size minSize=Size(), Size maxSize=Size())
int scene_sample_step
Definition: ppf_match_3d.hpp:158
__host__ Expr< FindMinValExprBody< SrcPtr > > minVal_(const SrcPtr &src)
Definition: reduction.hpp:99
static void compute(InputArray src, OutputArray w, OutputArray u, OutputArray vt, int flags=0)
decomposes matrix and stores the results to user-provided matrices
int hal_ni_scharr(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int src_depth, int dst_depth, int cn, int margin_left, int margin_top, int margin_right, int margin_bottom, int dx, int dy, double scale, double delta, int border_type)
Computes Scharr filter.
Definition: hal_replacement.hpp:737
virtual TermCriteria getTermCriteria() const =0
void getMemoryConsumption(const MatShape &netInputShape, size_t &weights, size_t &blobs) const
virtual int period() const
Definition: wobble_suppression.hpp:105
Definition: tr_svt.hpp:74
@ CAP_OPENNI_IR_IMAGE
Data given from IR image generator.
Definition: videoio.hpp:265
void add8s(const schar *src1, size_t step1, const schar *src2, size_t step2, schar *dst, size_t step, int width, int height, void *)
static Ptr< AdaptiveManifoldFilter > create()
int window_size_
Definition: depth.hpp:261
static DictValue arrayString(TypeIter begin, int size)
Constructs array of strings.
virtual bool getMemoryShapes(const std::vector< MatShape > &inputs, const int requiredOutputs, std::vector< MatShape > &outputs, std::vector< MatShape > &internals) const
@ FEATURE_SET_COMPUTE_20
Definition: cuda.hpp:773
void drawFeatures(InputOutputArray img, const std::vector< Template > &templates, const Point2i &tl, int size=10)
Debug function to draw linemod features.
Definition: NCVHaarObjectDetection.hpp:219
static Ptr< ReorgLayer > create(const LayerParams ¶ms)
virtual float getRho() const =0
#define _v512_set_epu8(a63, a62, a61, a60, a59, a58, a57, a56, a55, a54, a53, a52, a51, a50, a49, a48, a47, a46, a45, a44, a43, a42, a41, a40, a39, a38, a37, a36, a35, a34, a33, a32, a31, a30, a29, a28, a27, a26, a25, a24, a23, a22, a21, a20, a19, a18, a17, a16, a15, a14, a13, a12, a11, a10, a9, a8, a7, a6, a5, a4, a3, a2, a1, a0)
Definition: intrin_avx512.hpp:30
float calcBlurriness(const Mat &frame)
virtual void switchToSelectiveSearchQuality(int base_k=150, int inc_k=150, float sigma=0.8f)=0
Initialize the class with the 'Selective search fast' parameters describled in .
__device__ PtrTraits< SrcPtr >::value_type operator()(int y, int x) const
Definition: deriv.hpp:148
float ePointInOctaveY
Definition: descriptor.hpp:135
@ CAP_PROP_XI_CC_MATRIX_02
Color Correction Matrix element [0][2].
Definition: videoio.hpp:407
Matx< double, 2, 1 > Matx21d
Definition: matx.hpp:222
Marr-Hildreth Operator Based Hash, slowest but more discriminative.
Definition: marr_hildreth_hash.hpp:21
PtrTraits< SrcPtr >::value_type value_type
Definition: extrapolation.hpp:96
@ MM_AFFINE
Definition: motion_core.hpp:66
void update(float value, int target)
Definition: depth.hpp:887
Ptr< RgbdNormals > getNormalsComputer() const
Definition: depth.hpp:854
#define _v512_set_epi8(a63, a62, a61, a60, a59, a58, a57, a56, a55, a54, a53, a52, a51, a50, a49, a48, a47, a46, a45, a44, a43, a42, a41, a40, a39, a38, a37, a36, a35, a34, a33, a32, a31, a30, a29, a28, a27, a26, a25, a24, a23, a22, a21, a20, a19, a18, a17, a16, a15, a14, a13, a12, a11, a10, a9, a8, a7, a6, a5, a4, a3, a2, a1, a0)
Definition: intrin_avx512.hpp:42
virtual Size getInputSize()=0
Retreive retina input buffer size.
@ CAP_PROP_XI_CC_MATRIX_22
Color Correction Matrix element [2][2].
Definition: videoio.hpp:415
Abstract base class for trainable facemark models.
Definition: facemark_train.hpp:263
Planar board with grid arrangement of markers More common type of board. All markers are placed in th...
Definition: aruco.hpp:303
@ block_size_y
Definition: histogram.hpp:104
void stereoReconstruct(InputArray image1, InputArray image2, InputArray K1, InputArray D1, InputArray xi1, InputArray K2, InputArray D2, InputArray xi2, InputArray R, InputArray T, int flag, int numDisparities, int SADWindowSize, OutputArray disparity, OutputArray image1Rec, OutputArray image2Rec, const Size &newSize=Size(), InputArray Knew=cv::noArray(), OutputArray pointCloud=cv::noArray(), int pointType=XYZRGB)
Stereo 3D reconstruction from a pair of images.
BufferPool(Stream &stream)
Gets the BufferPool for the given stream.
void calcHist(InputArray src, OutputArray hist, Stream &stream=Stream::Null())
Calculates histogram for one channel 8-bit image.
virtual ~INCVMemAllocator()=0
Definition: NCV.hpp:477
static Matx< _Tp1, m, n > & operator+=(Matx< _Tp1, m, n > &a, const Matx< _Tp2, m, n > &b)
Definition: matx.hpp:1185
virtual void loadFontData(String fontFileName, int id)=0
Load font data.
void setAngleThreshold(float f)
Definition: depth.hpp:1091
#define CV_CUDEV_EXPR_UNARY_FUNC(name)
Definition: unary_func.hpp:60
@ IMREAD_ANYCOLOR
If set, the image is read in any possible color format.
Definition: imgcodecs.hpp:69
MoreAccurateMotionWobbleSuppressorBase()
Definition: wobble_suppression.hpp:108
virtual void setRadius(int val)
Definition: inpainting.hpp:70
@ NPPST_INVALID_STEP
Invalid image lines step argument (check sign, alignment, relation to image width)
Definition: NCV.hpp:366
float cubeRoot(float val)
Computes the cube root of an argument.
Affine3(const Vec3 &rvec, const Vec3 &t=Vec3::all(0))
static Ptr< cuda::ORB > create(int nfeatures=500, float scaleFactor=1.2f, int nlevels=8, int edgeThreshold=31, int firstLevel=0, int WTA_K=2, int scoreType=cv::ORB::HARRIS_SCORE, int patchSize=31, int fastThreshold=20, bool blurForDescriptor=false)
double scale
scale(size) of the bounding box
Definition: objdetect.hpp:348
@ COLOR_GRAY2RGBA
Definition: imgproc.hpp:547
cv ::Scalar type
Definition: garray.hpp:278
virtual bool isEmpty() const =0
const Mat & getDescriptors() const
int Ncv32s
Definition: NCV.hpp:127
@ OpenGlNotSupported
no OpenGL support
Definition: base.hpp:118
WTrajectoryFrustums(InputArray path, const Vec2d &fov, double scale=1., const Color &color=Color::white())
Constructs a WTrajectoryFrustums.
void resetCamera()
Resets camera.
bool unifiedAddressing() const
device shares a unified address space with the host
Vec(const Vec< _Tp, cn > &v)
static Ptr< DenseRLOFOpticalFlow > create(Ptr< RLOFOpticalFlowParameter > rlofParam=Ptr< RLOFOpticalFlowParameter >(), float forwardBackwardThreshold=1.f, Size gridStep=Size(6, 6), InterpolationType interp_type=InterpolationType::INTERP_EPIC, int epicK=128, float epicSigma=0.05f, float epicLambda=999.0f, int ricSPSize=15, int ricSLICType=100, bool use_post_proc=true, float fgsLambda=500.0f, float fgsSigma=1.5f, bool use_variational_refinement=false)
Creates instance of optflow::DenseRLOFOpticalFlow.
#define CV_USRTYPE1
Definition: interface.h:67
int getWindowSize()
Definition: ocr.hpp:420
Definition: garray.hpp:276
virtual void setIterations(int val)=0
v_reg< _Tp, V_TypeTraits< _Tp >::nlanes128 > v_lut(const _Tp *tab, const int *idx)
Definition: intrin_cpp.hpp:1987
@ SFM_IO_VISUALSFM
Definition: io.hpp:59
virtual void read(const String &filename)
Loads a FaceRecognizer and its model state.
void cvtOnePlaneYUVtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int dcn, bool swapBlue, int uIdx, int ycn)
virtual void prepare(Rect dst_roi)
Definition: facemarkLBF.hpp:96
bool isOpenedStream() const
void fillConvexPoly(InputOutputArray img, const Point *pts, int npts, const Scalar &color, int lineType=LINE_8, int shift=0)
double ddot(const Point_ &pt) const
dot product computed in double-precision arithmetics
cv::Mat getIterationCounts() const
Definition: depth.hpp:814
virtual void setPatchSize(int val)=0
Size of an image patch for matching (in pixels). Normally, default 8x8 patches work well enough in mo...
@ HISTCMP_BHATTACHARYYA
Definition: imgproc.hpp:508
float correlationThreshold
Definition: quasi_dense_stereo.hpp:47
unsigned int seed
seed for shuffling the training data
Definition: facemarkLBF.hpp:82
void skipJunk(RiffChunk &chunk)
@ QT_PUSH_BUTTON
Push button.
Definition: highgui.hpp:248
void setMaskGenerator(const Ptr< BaseCascadeClassifier::MaskGenerator > &maskGenerator)
#define GAPI_DbgAssert
Definition: assert.hpp:14
QualityBase::_mat_type _ref
Reference image, converted to internal mat type.
Definition: qualitymse.hpp:51
static const cv::Scalar get(const cv::GArgs &in_args, int idx)
Definition: gfluidkernel.hpp:183
cv::String setInferenceEngineBackendType(const cv::String &newBackendType)
Specify Inference Engine internal backend API.
GShape
Definition: gcommon.hpp:43
virtual uint64_t getNumberOfAllocations() const =0
void detect(const std::vector< Mat > &images, std::vector< std::vector< KeyLine > > &keylines, const std::vector< Mat > &masks=std::vector< Mat >()) const
@ CAP_PROP_XI_GPI_LEVEL
Get general purpose level.
Definition: videoio.hpp:342
Mat temp5
Definition: tracking.hpp:409
float weight3() const
Definition: motion_stabilizing.hpp:138
MatConstIterator_(const Mat_< _Tp > *_m)
constructor that sets the iterator to the beginning of the matrix
@ CAP_PROP_XI_OUTPUT_DATA_BIT_DEPTH
Device output data bit depth.
Definition: videoio.hpp:387
static Ptr< SVMSGD > load(const String &filepath, const String &nodeName=String())
Loads and creates a serialized SVMSGD from a file.
GMat bitwise_or(const GMat &src1, const GMat &src2)
computes bitwise disjunction of the two matrixes (src1 | src2) Calculates the per-element bit-wise lo...
static bool isCollection(int flags)
@ ComputeModeDefault
Definition: cuda.hpp:901
void v_recombine(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b, v_reg< _Tp, n > &low, v_reg< _Tp, n > &high)
Combine two vectors from lower and higher parts of two other vectors.
Definition: intrin_cpp.hpp:1731
GMat bitwise_and(const GMat &src1, const GMat &src2)
computes bitwise conjunction of the two matrixes (src1 & src2) Calculates the per-element bit-wise lo...
Allocator(Allocator< U > const &)
Definition: cvstd.hpp:126
__host__ __device__ static __forceinline__ char4 make(const schar *v)
Definition: vec_traits.hpp:180
virtual void find(const std::vector< UMat > &src, const std::vector< Point > &corners, std::vector< UMat > &masks) CV_OVERRIDE
Estimates seams.
Size getWindowSize() const
Returns the current size of the window.
virtual void run(Mat &image, std::string &output_text, std::vector< Rect > *component_rects=NULL, std::vector< std::string > *component_texts=NULL, std::vector< float > *component_confidences=NULL, int component_level=OCR_LEVEL_WORD) CV_OVERRIDE=0
double getMaxDepthDiff() const
Definition: depth.hpp:675
Program(const ProgramSource &src, const String &buildflags, String &errmsg)
void setBlockSize(Size size)
Definition: exposure_compensate.hpp:169
cv::Size minObjSize
Definition: detection_based_tracker.hpp:115
void updateWidgetPose(const String &id, const Affine3d &pose)
Updates pose of a widget in the window by pre-multiplying its current pose.
softfloat(const softfloat &c)
Copy constructor.
Definition: softfloat.hpp:95
virtual void measurementFunction(const Mat &x_k, const Mat &n_k, Mat &z_k)=0
Definition: reduction.hpp:175
NCVStatus nppsStCompactGetSize_32f(Ncv32u srcLen, Ncv32u *pBufsize, cudaDeviceProp &devProp)
shared_lock_guard(Mutex &m)
Definition: lock.private.hpp:49
uint KeyType
Definition: t_hash_int.hpp:58
Ptr2DSz ptr_type
Definition: traits.hpp:59
int getStepSize()
Definition: ocr.hpp:421
void swap(variant &rhs) noexcept
Definition: variant.hpp:303
HoughDeskewOption
Specifies to do or not to do skewing of Hough transform image.
Definition: fast_hough_transform.hpp:106
void UIImageToMat(const UIImage *image, cv::Mat &m, bool alphaExist=false)
int hal_ni_sobel(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int src_depth, int dst_depth, int cn, int margin_left, int margin_top, int margin_right, int margin_bottom, int dx, int dy, int ksize, double scale, double delta, int border_type)
Computes Sobel derivatives.
Definition: hal_replacement.hpp:718
@ is_const
Definition: type_traits.hpp:136
@ value
Definition: type_traits.hpp:119
virtual FormatInfo format() const =0
Returns information about video file format.
Rect_()
default constructor
SparseMatIterator_< _Tp > iterator
Definition: mat.hpp:2946
A class to group async requests to cancel them in a single shot.
Definition: gasync_context.hpp:28
void min64f(const double *src1, size_t step1, const double *src2, size_t step2, double *dst, size_t step, int width, int height, void *)
ContourFitting(int ctr=1024, int fd=16)
Fit two closed curves using fourier descriptors. More details in and .
Definition: fourier_descriptors.hpp:38
double getMaxPointsPart() const
Definition: depth.hpp:948
Kind m_kind
Definition: gfluidkernel.hpp:86
void backSubst(InputArray rhs, OutputArray dst) const
performs a singular value back substitution.
WCloud(InputArray cloud, const Color &color=Color::white())
Constructs a WCloud.
Vec< double, GPCPatchDescriptor::nFeatures > coef
Hyperplane coefficients.
Definition: sparse_matching_gpc.hpp:159
virtual double getMinAngle() const =0
@ MORPH_CROSS
Definition: imgproc.hpp:232
void addLight(const Vec3d &position, const Vec3d &focalPoint=Vec3d(0, 0, 0), const Color &color=Color::white(), const Color &diffuseColor=Color::white(), const Color &ambientColor=Color::black(), const Color &specularColor=Color::white())
Add a light in the scene.
virtual int getQuantizationLevels() const =0
Returns the parameter used for quantization of color-space.
This class is a typed wrapper over a regular GComputation.
Definition: gtyped.hpp:82
static Ptr< Params > defaultParams()
Default parameters A set of parameters which provides better model quality, can be very slow.
void addSamplesDataSearchSubDirectory(const cv::String &subdir)
Append samples search data sub directory.
Ptr< Filter > createBoxMinFilter(int srcType, Size ksize, Point anchor=Point(-1, -1), int borderMode=BORDER_DEFAULT, Scalar borderVal=Scalar::all(0))
Creates the minimum filter.
Mat refinement_mask_
Definition: motion_estimators.hpp:194
@ SCENE_OFFSCREEN
Render off-screen without a window. Allows separate AA setting. Requires manual update via WindowScen...
Definition: ovis.hpp:30
virtual int getNumIterations() const =0
size_t ofs
Definition: persistence.hpp:676
_Tp width
width of the rectangle
Definition: types.hpp:455
@ COLOR_RGB2Luv
Definition: imgproc.hpp:592
int hal_ni_invSqrt32f(const float *src, float *dst, int len)
Definition: hal_replacement.hpp:422
static Ptr< DFT1D > create(int len, int count, int depth, int flags, bool *useBuffer=0)
void addWeighted(InputArray src1, double alpha, InputArray src2, double beta, double gamma, OutputArray dst, int dtype=-1, Stream &stream=Stream::Null())
Computes the weighted sum of two arrays.
void points(Point2f pts[]) const
void resetTexCoordArray()
Resets vertex texture coordinates.
@ CV_QUADRATIC_INTERPOLATION
Definition: stereo.hpp:123
std::vector< Feature > features
Definition: linemod.hpp:46
Mat blobFromImages(InputArrayOfArrays images, double scalefactor=1.0, Size size=Size(), const Scalar &mean=Scalar(), bool swapRB=false, bool crop=false, int ddepth=CV_32F)
Creates 4-dimensional blob from series of images. Optionally resizes and crops images from center,...
float32x4_t cv_vrsqrtq_f32(float32x4_t val)
Definition: neon_utils.hpp:98
virtual void setLambda(double _lambda)=0
@ GUIDED_FILTER
Definition: edge_filter.hpp:57
virtual float getVariationalRefinementDelta() const =0
Weight of the color constancy term.
__host__ size_t elemSize1() const
@ COLOR_RGB2BGRA
Definition: imgproc.hpp:531
FileNodeIterator(const FileNodeIterator &it)
float delta
Affects color and color co-occurrence quantization, typically set to 2.
Definition: cudalegacy.hpp:174
static void write(FileStorage &fs, const Range &r)
Definition: persistence.hpp:968
DftFlags
Definition: base.hpp:225
virtual TrackedObjects trackedDetections() const =0
Get tracked detections.
@ MARKER_TILTED_CROSS
A 45 degree tilted crosshair marker shape.
Definition: imgproc.hpp:831
std::vector< String > keys() const
Returns keys of a mapping node.
void setUseOpenVX(bool flag)
Enable/disable use of OpenVX.
void(* MouseCallback)(int event, int x, int y, int flags, void *userdata)
Callback function for mouse events. see cv::setMouseCallback.
Definition: highgui.hpp:261
_Tp area() const
area (width*height) of the rectangle
@ cols
Definition: matx.hpp:104
THash * hash_nodes
Definition: ppf_match_3d.hpp:153
Variational optical flow refinement.
Definition: tracking.hpp:524
int hal_ni_cvtBGR5x5toBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int dcn, bool swapBlue, int greenBits)
hal_cvtBGR5x5toBGR
Definition: hal_replacement.hpp:335
@ COLOR_YUV2GRAY_NV12
Definition: imgproc.hpp:666
void setCameraMatrix(const cv::Mat &val) CV_OVERRIDE
Definition: depth.hpp:920
int cornerRefinementWinSize
Definition: aruco.hpp:167
int hal_ni_log64f(const double *src, double *dst, int len)
Definition: hal_replacement.hpp:457
std::vector< Mat > member_type
Definition: core.hpp:3225
__host__ size_t elemSize() const
overridden forms of GpuMat::elemSize() etc.
backgroundType
Definition: gr_skig.hpp:88
static Ptr< KAZE > create(bool extended=false, bool upright=false, float threshold=0.001f, int nOctaves=4, int nOctaveLayers=4, KAZE::DiffusivityType diffusivity=KAZE::DIFF_PM_G2)
The KAZE constructor.
int rows
Definition: mask.hpp:85
virtual void read(const cv::FileNode &fn) CV_OVERRIDE
Read parameters from a FileNode object and store them.
virtual void run(InputArray inputImage)=0
Method which allows retina to be applied on an input image,.
@ CAP_PROP_XI_AEAG_ROI_WIDTH
Automatic exposure/gain ROI Width.
Definition: videoio.hpp:375
double dot(const Mat &m) const
@ StsFilterStructContentErr
incorrect filter structure content
Definition: base.hpp:98
virtual void computeGradient(InputArray img, InputOutputArray grad, InputOutputArray angleOfs, Size paddingTL=Size(), Size paddingBR=Size()) const
Computes gradients and quantized gradient orientations.
int freePoint
Definition: imgproc.hpp:1238
std::vector< T > & outVecR(int output)
Definition: goclkernel.hpp:67
bool valid() const CV_NOEXCEPT
virtual void init(const CvFeatureParams &fp)
void inverseWarp(InputArray img1, OutputArray img2) const CV_OVERRIDE
void merge64s(const int64 **src, int64 *dst, int len, int cn)
virtual int getLevels() const =0
cv::Mat getMinGradientMagnitudes() const
Definition: depth.hpp:691
int radiusSearch(const Mat &query, Mat &indices, Mat &dists, DistanceType radius, const ::cvflann::SearchParams ¶ms)
Definition: reduction.hpp:153
const _Tp & operator()(int i) const
virtual int getMaxLevel() const =0
GCaptureSource(int id)
Definition: cap.hpp:48
bool logSoftMax
Definition: all_layers.hpp:273
void setDeblurer(Ptr< DeblurerBase > val)
Definition: stabilizer.hpp:86
void displayOverlay(const String &winname, const String &text, int delayms=0)
Displays a text on a window image as an overlay for a specified duration.
Definition: warpers.hpp:330
AugmentedUnscentedKalmanFilterParams()
Definition: kalman_filters.hpp:182
int index_type
Definition: extrapolation.hpp:97
__host__ void gridCopy(const SrcPtr &src, GpuMat_< DstType > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: copy.hpp:358
GCompileArg(T &&t)
Definition: gcommon.hpp:100
bool computeMaxIdx
Definition: all_layers.hpp:254
@ StsUnmatchedSizes
sizes of input/output structures do not match
Definition: base.hpp:109
double getMaxDepthDiff() const
Definition: depth.hpp:940
double confidence
Confidence two images are from the same panorama.
Definition: matchers.hpp:111
Mat readTorchBlob(const String &filename, bool isBinary=true)
Loads blob which was serialized as torch.Tensor object of Torch7 framework.
Mat forward(const String &outputName=String())
Runs forward pass to compute output of layer with name outputName.
virtual void setC(double val)=0
@ NCV_DIMENSIONS_INVALID
Definition: NCV.hpp:326
_Tp value_type
Definition: types.hpp:160
static bool has(int major, int minor)
There is a set of methods to check whether the module contains intermediate (PTX) or binary CUDA code...
String type
Type name which was used for creating layer by layer factory.
Definition: dnn.hpp:371
Ncv32u NCVStatus
Definition: NCV.hpp:376
Ptr< cuda::CLAHE > createCLAHE(double clipLimit=40.0, Size tileGridSize=Size(8, 8))
Creates implementation for cuda::CLAHE .
v_reg< int64, 2 > v_int64x2
Two 64-bit signed integer values.
Definition: intrin_cpp.hpp:403
std::vector< int > ind1
index of pixels for mapping process to obtains the grays values of face region
Definition: facemarkAAM.hpp:132
void undistortPoints(InputArray distorted, OutputArray undistorted, InputArray K, InputArray D, InputArray xi, InputArray R)
Undistort 2D image points for omnidirectional camera using CMei's model.
@ IMWRITE_JPEG_QUALITY
For JPEG, it can be a quality from 0 to 100 (the higher is the better). Default value is 95.
Definition: imgcodecs.hpp:82
virtual void map(UMatData *data, AccessFlag accessflags) const
void minMaxLoc(InputArray src, double *minVal, double *maxVal=0, Point *minLoc=0, Point *maxLoc=0, InputArray mask=noArray())
Finds the global minimum and maximum in an array.
MatAllocator * allocator
custom allocator
Definition: mat.hpp:2563
@ FHT_MIN
Definition: fast_hough_transform.hpp:90
int imageStop
Definition: descriptor.hpp:104
@ MM_ROTATION
Definition: motion_core.hpp:63
virtual const std::vector< Mat > & frames() const
Definition: deblurring.hpp:75
Matx(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5)
1x6, 2x3, 3x2 or 6x1 matrix
_Result result_type
Definition: functional.hpp:72
v_reg< _Tp, V_TypeTraits< _Tp >::nlanes128 > v_load(const _Tp *ptr)
Load register contents from memory.
Definition: intrin_cpp.hpp:1380
virtual void load(const std::string &path) CV_OVERRIDE=0
@ COLOR_BayerRG2BGRA
Definition: imgproc.hpp:779
@ CAP_PROP_GPHOTO2_RELOAD_ON_CHANGE
Reload all settings on set.
Definition: videoio.hpp:557
std::shared_ptr< TypeHintBase > m_hint
Definition: garray.hpp:92
void setKernelParam(float alpha, float scale)
Set Mh kernel parameters.
Ptr< HistogramCostExtractor > createNormHistogramCostExtractor(int flag=DIST_L2, int nDummies=25, float defaultCost=0.2f)
virtual void setWinSize(Size val)
Definition: optical_flow.hpp:84
virtual void setPreFilterCap(int preFilterCap)=0
virtual bool getFindLargestObject()=0
@ MARKER_TRIANGLE_UP
An upwards pointing triangle marker shape.
Definition: imgproc.hpp:835
@ WINDOW_GUI_NORMAL
old fashious way
Definition: highgui.hpp:191
__host__ void gridCopy_(const SrcPtr &src, GpuMat_< DstType > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: copy.hpp:64
static const char * tag()
Definition: plaidml.hpp:42
the Spectral Residual approach from
Definition: saliencySpecializedClasses.hpp:70
static void backSubst(const Matx< _Tp, nm, 1 > &w, const Matx< _Tp, m, nm > &u, const Matx< _Tp, n, nm > &vt, const Matx< _Tp, m, nb > &rhs, Matx< _Tp, n, nb > &dst)
int numFeatures
Definition: tracker.hpp:983
Rect buildMaps(Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap) CV_OVERRIDE
Builds the projection maps according to the given camera data.
Definition: warpers.hpp:475
Ptr< Feature2D > featuresFinder()
Definition: stitching.hpp:207
Definition: widgets.hpp:721
virtual void detectMultiScaleROI(InputArray img, std::vector< cv::Rect > &foundLocations, std::vector< DetectionROI > &locations, double hitThreshold=0, int groupThreshold=0) const
evaluate specified ROI and return confidence value for each location in multiple scales
void drawMarker(const Ptr< Dictionary > &dictionary, int id, int sidePixels, OutputArray img, int borderBits=1)
Draw a canonical marker image.
static MatShape concat(const MatShape &a, const MatShape &b)
Definition: shape_utils.hpp:169
ResultType operator()(const unsigned char *a, const unsigned char *b, int size) const
__host__ void gridReduceToRow(const SrcPtr &src, GpuMat_< ResType > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: reduce_to_vec.hpp:146
const std::string tag
Definition: gkernel.hpp:39
bool filterByCircularity
Definition: features2d.hpp:640
static Ptr< ColorMomentHash > create()
@ CAP_FIREWIRE
IEEE 1394 drivers.
Definition: videoio.hpp:94
_mat_data _refImgData
Reference image data.
Definition: qualitygmsd.hpp:82
virtual int getHistory() const =0
PlanePortraitWarper(float scale)
Definition: warpers.hpp:635
virtual void getScaleShift(Mat &scale, Mat &shift) const
Returns parameters of layers with channel-wise multiplication and addition.
Definition: type_traits.hpp:72
@ StsNoConv
iteration didn't converge
Definition: base.hpp:76
PREDEFINED_DICTIONARY_NAME
Predefined markers dictionaries/sets Each dictionary indicates the number of bits and the number of m...
Definition: dictionary.hpp:141
@ COVAR_ROWS
Definition: core.hpp:199
std::vector< float > blurrinessRates_
Definition: stabilizer.hpp:136
std::function< ResultL(cv::GArray< cv::Rect >, Args...)> APIList
Definition: infer.hpp:73
UMat col(int x) const
returns a new matrix header for the specified column
const GMetaArgs & outMetas() const
Vector of metadata descriptions of graph outputs.
SFMLibmvEuclideanReconstruction class provides an interface with the Libmv Structure From Motion pipe...
Definition: simple_pipeline.hpp:194
virtual int compareSegments(const Size &size, InputArray lines1, InputArray lines2, InputOutputArray _image=noArray())=0
Draws two groups of lines in blue and red, counting the non overlapping (mismatching) pixels.
static Ptr< Layer > create(const LayerParams ¶ms)
virtual void write(FileStorage &fs) const CV_OVERRIDE
float lambda
regularization
Definition: tracker.hpp:1246
__device__ __forceinline__ D cast_fp16(T v)
@ NCVMemoryTypeNone
Definition: NCV.hpp:429
DepthCleaner()
Definition: depth.hpp:198
@ MATERIAL_TEXTURE2
Definition: ovis.hpp:43
std::vector< std::string > images[4]
Definition: slam_kitti.hpp:68
@ RETINA_COLOR_DIAGONAL
color sampling is RGBRGBRGB..., line 2 BRGBRGBRG..., line 3, GBRGBRGBR...
Definition: retina.hpp:85
cv::String getParent(const cv::String &path)
@ FLOW
compact representation of a sequence or mapping. Used only by YAML writer
Definition: persistence.hpp:488
virtual void setAlpha(float val)=0
Weight of the smoothness term.
bool update(float value, int target)
virtual void collectGarbage()=0
Releases all buffers, contexts and device pointers.
int hal_ni_div8s(const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, schar *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:258
void merge(const Mat *mv, size_t count, OutputArray dst)
Creates one multi-channel array out of several single-channel ones.
int shift
The number of fractional bits in the point coordinates.
Definition: render.hpp:200
Size rectSize
rect size
Definition: tracker.hpp:984
virtual void setGridY(int val)=0
@ DFT_REAL_OUTPUT
Definition: base.hpp:252
GMat RGB2Gray(const GMat &src)
Converts an image from RGB color space to gray-scaled. The conventional ranges for R,...
static void call(GPlaidMLContext &ctx)
Definition: gplaidmlkernel.hpp:113
Kind
Definition: gfluidkernel.hpp:50
Distance::ElementType ElementType
Definition: flann.hpp:163
@ OEM_CUBE_ONLY
Definition: ocr.hpp:86
__host__ NCVStatus setWeight(Ncv32f weight)
Definition: NCVHaarObjectDetection.hpp:95
NCVStatus ncvDrawRects_8u_host(Ncv8u *h_dst, Ncv32u dstStride, Ncv32u dstWidth, Ncv32u dstHeight, NcvRect32u *h_rects, Ncv32u numRects, Ncv8u color)
Model()
Default constructor.
virtual void getValues(int vi, InputArray sidx, float *values) const =0
float localEnergy_spatialConstant
the spatial constant of the first order low pass filter, use it to cut high spatial frequencies (nois...
Definition: transientareassegmentationmodule.hpp:99
__device__ __forceinline__ MakeVec< uchar, VecTraits< T >::cn >::type operator()(typename TypeTraits< T >::parameter_type a) const
Definition: functional.hpp:217
bool use_color_names
Definition: tracker.hpp:1500
Matx23d bounding
Definition: msm_epfl.hpp:72
virtual void setNumIters(int iters)=0
int nativeVectorWidthInt() const
Point3_(_Tp _x, _Tp _y, _Tp _z)
@ CAP_PROP_XI_CC_MATRIX_20
Color Correction Matrix element [2][0].
Definition: videoio.hpp:413
@ CALIB_NINTRINSIC
Definition: calib3d.hpp:268
@ RO_IGNORE_BORDERS
Skip validations of image borders.
Definition: fast_hough_transform.hpp:118
float distThresh() const
Definition: inpainting.hpp:153
This 3D Widget defines a collection of clouds. :
Definition: widgets.hpp:737
void write(FileStorage &fs) const
Feature(int offset, int x, int y, int cellW, int cellH)
virtual void setVotesThreshold(int votesThreshold)=0
The accumulator threshold for the template centers at the detection stage. The smaller it is,...
GCompoundKernel(const F &f)
void getMemoryConsumption(const std::vector< MatShape > &netInputShapes, std::vector< int > &layerIds, std::vector< size_t > &weights, std::vector< size_t > &blobs) const
Computes bytes number which are required to store all weights and intermediate blobs for each layer.
bool getUseInitialFlow() const
std::function< ResultL(cv::GArray< cv::Rect >, Args...)> APIList
Definition: infer.hpp:58
Definition: vec_distance.hpp:156
__host__ __device__ UnaryNegate< Predicate > not1(const Predicate &pred)
Definition: functional.hpp:803
void feed(InputArray img, InputArray mask, Point tl) CV_OVERRIDE
Processes the image.
This structure represents a text string to draw using FreeType renderer.
Definition: render.hpp:145
bool isThreadSafe() const
Definition: matchers.hpp:145
optional_shared_lock_guard(Mutex *m)
Definition: lock.private.hpp:104
@ COVAR_SCRAMBLED
Definition: core.hpp:179
virtual int getMinArea() const =0
RotatedRect CamShift(InputArray probImage, Rect &window, TermCriteria criteria)
Finds an object center, size, and orientation.
@ NONMAX_SUPPRESSION
Definition: features2d.hpp:519
@ OCL_VECTOR_DEFAULT
Definition: ocl.hpp:617
Matx< double, 4, 3 > Matx43d
Definition: matx.hpp:243
virtual void run(Mat &image, std::string &output_text, std::vector< Rect > *component_rects=NULL, std::vector< std::string > *component_texts=NULL, std::vector< float > *component_confidences=NULL, int component_level=0) CV_OVERRIDE
Recognize text using Beam Search.
__host__ __device__ __forceinline__ ZipPtr(const tuple< Ptr0, Ptr1, Ptr2 > &t)
Definition: zip.hpp:83
virtual Mat cluster() const =0
static Net readFromModelOptimizer(const String &xml, const String &bin)
Create a network from Intel's Model Optimizer intermediate representation (IR).
virtual FastFeatureDetector::DetectorType getType() const =0
bool integrated() const
device is integrated as opposed to discrete
float scale
Definition: facemarkAAM.hpp:90
v_reg< int, n > v_trunc(const v_reg< _Tp, n > &a)
Truncate elements.
Definition: intrin_cpp.hpp:542
static Ptr< cv::stereo::StereoBinarySGBM > create(int minDisparity, int numDisparities, int blockSize, int P1=100, int P2=1000, int disp12MaxDiff=1, int preFilterCap=0, int uniquenessRatio=5, int speckleWindowSize=400, int speckleRange=200, int mode=StereoBinarySGBM::MODE_SGBM)
Creates StereoSGBM object.
virtual bool empty() const CV_OVERRIDE=0
virtual void setNonmaxSuppression(bool f)=0
virtual void divide(const MatExpr &expr1, const MatExpr &expr2, MatExpr &res, double scale=1) const
static __device__ double atomicAdd(double *address, double val)
Definition: atomic.hpp:84
virtual void eval(InputArray image, std::vector< std::vector< double > > &recognition_probabilities, std::vector< int > &oversegmentation)
The character classifier must return a (ranked list of) class(es) id('s)
__device__ static __forceinline__ void blockTransform(InIt beg, InIt end, OutIt out, const UnOp &op)
Definition: block.hpp:107
@ RECURS_FILTER
Recursive Filtering.
Definition: photo.hpp:799
void release()
decrements reference counter and released memory if needed.
void v_transpose4x4(v_reg< _Tp, 4 > &a0, const v_reg< _Tp, 4 > &a1, const v_reg< _Tp, 4 > &a2, const v_reg< _Tp, 4 > &a3, v_reg< _Tp, 4 > &b0, v_reg< _Tp, 4 > &b1, v_reg< _Tp, 4 > &b2, v_reg< _Tp, 4 > &b3)
Transpose 4x4 matrix.
Definition: intrin_cpp.hpp:2121
cv::Scalar color
The text color.
Definition: render.hpp:166
T & get()
Definition: garg.hpp:60
@ CAP_PROP_OPENNI_MAX_BUFFER_SIZE
Definition: videoio.hpp:236
bool stereoRectifyUncalibrated(InputArray points1, InputArray points2, InputArray F, Size imgSize, OutputArray H1, OutputArray H2, double threshold=5)
Computes a rectification transform for an uncalibrated stereo camera.
virtual int getAgregationWindowSize() const =0
Ptr< detail::RotationWarper > create(float scale) const CV_OVERRIDE
Definition: warpers.hpp:185
virtual void setCustomKernel(const Ptr< Kernel > &_kernel)=0
@ CPU_AVX_512DQ
Definition: cvdef.h:289
void waitForCompletion()
waits for an event to complete
double shape_offset
offset for the loaded face landmark points
Definition: facemarkLBF.hpp:58
@ BM3D_STEP1
Definition: bm3d_image_denoising.hpp:73
Impl * p
Definition: ocl.hpp:494
PtrTraits< MapXPtr >::index_type index_type
Definition: remap.hpp:78
int dims
Definition: mat.hpp:2679
void convertPointsToHomogeneous(InputArray src, OutputArray dst)
Converts points from Euclidean to homogeneous space.
std::vector< UMat > utrainDescCollection
Definition: features2d.hpp:1100
virtual void setColorSaturation(const bool saturateColors=true, const float colorSaturationValue=4.0f)=0
Activate color saturation as the final step of the color demultiplexing process -> this saturation is...
virtual void setPreFilterCap(int preFilterCap)=0
void feed(const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< std::pair< UMat, uchar > > &masks) CV_OVERRIDE
virtual void setFrames(const std::vector< Mat > &val)
Definition: inpainting.hpp:81
__host__ void gridFindMinVal_(const SrcPtr &src, GpuMat_< ResType > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: reduce.hpp:106
Ptr< ILog > log_
Definition: stabilizer.hpp:114
virtual void getCompositorTexture(const String &compname, const String &texname, OutputArray out, int mrtIndex=0)=0
int class_id
Definition: interface.h:27
NCVStatus ncvDrawRects_32u_host(Ncv32u *h_dst, Ncv32u dstStride, Ncv32u dstWidth, Ncv32u dstHeight, NcvRect32u *h_rects, Ncv32u numRects, Ncv32u color)
void setWidthOfBand(int width)
Set width of bands.
@ NV_OF_PERF_LEVEL_UNDEFINED
Definition: cudaoptflow.hpp:406
GCaptureSource(const std::string &path)
Definition: cap.hpp:49
std::vector< Mat > stabilizedMasks_
Definition: stabilizer.hpp:138
virtual float getExposureWeight() const =0
GScalar(const cv::Scalar &s)
int hierarchicalClustering(const Mat &features, Mat ¢ers, const ::cvflann::KMeansIndexParams ¶ms, Distance d=Distance())
Clusters features using hierarchical k-means algorithm.
Definition: flann.hpp:552
static cv::Scalar _mse_to_psnr(cv::Scalar mse, double max_pixel_value)
Definition: qualitypsnr.hpp:110
cv::gapi::GBackend backend()
CommandLineParser(const CommandLineParser &parser)
Copy constructor.
Camera(const Matx44d &proj, const Size &window_size)
@ BINARIZATION_SAUVOLA
Sauvola's technique. See .
Definition: ximgproc.hpp:120
virtual int getMaxBufferSize() const =0
@ CAP_PROP_OPENNI_REGISTRATION_ON
Definition: videoio.hpp:234
virtual int getSuperpixelNNCnt() const =0
Parameter defines the number of nearest-neighbor matches for each superpixel considered,...
static Ptr< RTrees > create()
__device__ __forceinline__ double4 atanh(const double4 &a)
Definition: vec_math.hpp:391
virtual void setMaxIters(int maxIters)=0
int adaptiveThreshWinSizeMin
Definition: aruco.hpp:156
@ COLOR_RGBA2GRAY
Definition: imgproc.hpp:549
Mat_(const std::array< _Tp, _Nm > &arr, bool copyData=false)
@ DIST_USER
User defined distance.
Definition: imgproc.hpp:297
__device__ static __forceinline__ T initialValue()
Definition: reduce_to_vec.hpp:74
virtual void setMaxDataTerm(double max_data_term)=0
static cv::gapi::GBackend backend()
Definition: gfluidkernel.hpp:432
@ CAP_PROP_XI_HDR_T1
Position of first kneepoint(in % of XI_PRM_EXPOSURE).
Definition: videoio.hpp:469
virtual void compute(InputArray image, std::vector< KeyPoint > &keypoints, OutputArray descriptors)
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (se...
EntityProperty
Definition: ovis.hpp:48
Point_()
default constructor
void locateROI(Size &wholeSize, Point &ofs) const
locates GpuMat header within a parent GpuMat
Impl *const p
Definition: ocl.hpp:681
Mat processNoiseCov
Process noise cross-covariance matrix, DP x DP.
Definition: kalman_filters.hpp:135
virtual void setRho(float rho)=0
void cvtBGRtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, int dcn, bool swapBlue)
virtual void setK(float k)=0
Ptr< DenseOpticalFlow > createOptFlow_DeepFlow()
DeepFlow optical flow algorithm implementation.
static void debugDMatch(cv::InputArray img1, std::vector< cv::KeyPoint > keypoints1, cv::InputArray img2, std::vector< cv::KeyPoint > keypoints2, std::vector< cv::DMatch > matches, const impl::CallMetaData &data, const char *description=nullptr, const char *view=nullptr, bool useTrainDescriptor=true)
Add a filled in DMatch <dmatch> to debug GUI.
Definition: dmatch.hpp:49
NCVStatus nppiStRectStdDev_32f_C1R(Ncv32u *d_sum, Ncv32u sumStep, Ncv64u *d_sqsum, Ncv32u sqsumStep, Ncv32f *d_norm, Ncv32u normStep, NcvSize32u roi, NcvRect32u rect, Ncv32f scaleArea, NcvBool readThruTexture)
bool useIlluminationModel
Definition: rlofflow.hpp:126
void init(int dp, int mp, int cp, double processNoiseCovDiag, double measurementNoiseCovDiag, Ptr< UkfSystemModel > dynamicalSystem, int type=CV_64F)
virtual void setTheta(double theta)=0
ogl::Buffer & getOGlBufferRef() const
void postprocess(Outputs &... outs)
Definition: gcpukernel.hpp:187
@ NAME_EXPECTED
Definition: persistence.hpp:327
virtual void setEntityProperty(const String &name, int prop, const String &value)=0
This is an overloaded member function, provided for convenience. It differs from the above function o...
Background subtraction based on counting.
Definition: bgsegm.hpp:196
virtual ~Estimator()
Definition: motion_estimators.hpp:68
@ QUADS
Definition: opengl.hpp:486
#define HaarStage64_Interpret_MaskRootNodeOffset
Definition: NCVHaarObjectDetection.hpp:271
RectanglesIntersectTypes
types of intersection between rectangles
Definition: imgproc.hpp:794
int getNumFeatures() const
Definition: feature.hpp:169
int solveCubic(InputArray coeffs, OutputArray roots)
Finds the real roots of a cubic equation.
int simulatedAnnealingSolver(SimulatedAnnealingSolverSystem &solverSystem, double initialTemperature, double finalTemperature, double coolingRatio, size_t iterationsPerStep, double *lastTemperature=NULL, cv::RNG &rngEnergy=cv::theRNG())
The class implements simulated annealing for optimization.
@ QT_STYLE_ITALIC
Italic font.
Definition: highgui.hpp:242
virtual void setNumFrames(int nframes)=0
StreamType
Definition: container_avi.private.hpp:136
Ptr< SelectiveSearchSegmentation > createSelectiveSearchSegmentation()
Create a new SelectiveSearchSegmentation class.
Ptr< DeblurerBase > deblurer_
Definition: stabilizer.hpp:118
__host__ BrdConstant< typename PtrTraits< SrcPtr >::ptr_type > brdConstant(const SrcPtr &src, typename PtrTraits< SrcPtr >::value_type val)
Definition: extrapolation.hpp:76
const Device & device(size_t idx) const
NodeData(const char *funName=0, const char *fileName=NULL, int lineNum=0, void *retAddress=NULL, bool alwaysExpand=false, cv::instr::TYPE instrType=TYPE_GENERAL, cv::instr::IMPL implType=IMPL_PLAIN)
virtual double getDiscSingleJump() const =0
discontinuity single jump
virtual int getMaxCircles() const =0
void subtract(InputArray src1, InputArray src2, OutputArray dst, InputArray mask=noArray(), int dtype=-1, Stream &stream=Stream::Null())
Computes a matrix-matrix or matrix-scalar difference.
unsigned int getWidth()
Definition: container_avi.private.hpp:93
@ EVENT_MOUSEHWHEEL
positive and negative values mean right and left scrolling, respectively.
Definition: highgui.hpp:217
virtual int getEdgeThreshold() const =0
virtual void load(const std::string &path) CV_OVERRIDE=0
size_t step1() const
returns step/elemSize1()
void setMinInlierRatio(float val)
Definition: global_motion.hpp:139
void undistort(InputArray src, OutputArray dst, InputArray cameraMatrix, InputArray distCoeffs, InputArray newCameraMatrix=noArray())
Transforms an image to compensate for lens distortion.
@ is_vec
Definition: type_traits.hpp:147
__host__ GpuMat_ rowRange(int startrow, int endrow) const
virtual double getDecisionFunction(int i, OutputArray alpha, OutputArray svidx) const =0
Retrieves the decision function.
double getTickFrequency()
Returns the number of ticks per second.
void glob(const cv::String &directory, const cv::String &pattern, std::vector< cv::String > &result, bool recursive=false, bool includeDirectories=false)
bool setFeatureDetector(Ptr< FeatureDetector > featureDetector)
const MatAllocator * prevAllocator
Definition: mat.hpp:554
float maxRectifiedDistance
Max deviation from predicion. Used by CALIB_CB_CLUSTERING.
Definition: calib3d.hpp:1324
int euler
Euler's number.
Definition: erfilter.hpp:81
virtual void setColorAdaptation(float color_adapt)=0
bool create(const char *kname, const ProgramSource &prog, const String &buildopts, String *errmsg=0)
float16_t saturate_cast< float16_t >(uchar v)
Definition: saturate.hpp:164
Matx< float, 2, 2 > Matx22f
Definition: matx.hpp:230
@ CALIB_FIX_SKEW
Definition: calib3d.hpp:3053
double rotation_threshold
Definition: ppf_match_3d.hpp:155
int getMinNeighbours()
Definition: detection_based_tracker.hpp:104
double getMinDist() const
Returns minimal distance value.
@ WAVE_CORRECT_HORIZ
Definition: motion_estimators.hpp:330
const T & inArg(int input)
Definition: gplaidmlkernel.hpp:39
uchar * ptr
Definition: mat.hpp:3222
NCVStatus nppiStTranspose_128_C1R(void *d_src, Ncv32u srcStep, void *d_dst, Ncv32u dstStep, NcvSize32u srcRoi)
int l2CacheSize() const
size of L2 cache in bytes
virtual void setSaturation(float saturation)=0
__device__ __forceinline__ uint vcmple4(uint a, uint b)
Definition: simd_functions.hpp:671
virtual void calc(int vcount, int n, const float *vecs, const float *another, float *results)=0
Definition: track_vot.hpp:69
__device__ static __forceinline__ VecD cast(const VecS &v)
Definition: vec_math.hpp:92
Element wise operation on inputs.
Definition: all_layers.hpp:519
Mat cross(const Mat &m) const
bool deviceSupports(FeatureSet feature_set)
checks whether current device supports the given feature
size_t printfBufferSize() const
Definition: agast.txt:7482
float response
Definition: descriptor.hpp:120
@ CAP_PROP_XI_AEAG_ROI_OFFSET_Y
Automatic exposure/gain ROI offset Y.
Definition: videoio.hpp:374
Definition: gfluidkernel.hpp:47
Definition: functional.hpp:715
void setTransformType(int val) CV_OVERRIDE
Definition: depth.hpp:1131
@ LMEDS
least-median of squares algorithm
Definition: calib3d.hpp:229
void guidedFilter(InputArray guide, InputArray src, OutputArray dst, int radius, double eps, int dDepth=-1)
Simple one-line Guided Filter call.
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.
virtual void setPlotSize(int _plotSizeWidth, int _plotSizeHeight)=0
void grid(const Mat &img, Mat &grid_r, Mat &grid_c) const
static bool & getDebugFlag()
Definition: debug_mode.hpp:22
virtual ~TrackerMOSSE() CV_OVERRIDE
Definition: tracker.hpp:1320
std::vector< Node< OBJECT > * > m_childs
Definition: utility.hpp:1124
void setMaxTranslation(double val)
Definition: depth.hpp:842
std::vector< VideoCaptureAPIs > getCameraBackends()
Returns list of available backends which works via cv::VideoCapture(int index)
PaniniPortraitWarper(float A=1, float B=1)
Definition: warpers.hpp:214
String type
Type name which was used for creating layer by layer factory (optional).
Definition: dnn.hpp:114
static bool hasEqualOrGreaterPtx(int major, int minor)
virtual void run(Mat &image, std::string &output_text, std::vector< Rect > *component_rects=NULL, std::vector< std::string > *component_texts=NULL, std::vector< float > *component_confidences=NULL, int component_level=0) CV_OVERRIDE
Recognize text using the tesseract-ocr API.
Mat rowRange(int startrow, int endrow) const
Creates a matrix header for the specified row span.
UMat(Size size, int type, const Scalar &s, UMatUsageFlags usageFlags=USAGE_DEFAULT)
virtual ~FacemarkKazemi()
static void removeDuplicatedSorted(std::vector< KeyPoint > &keypoints)
virtual void addStrategy(Ptr< SelectiveSearchSegmentationStrategy > s)=0
Add a new strategy in the list of strategy to process.
float neighborhoodEnergy_temporalConstant
local neighborhood energy filtering parameters : the aim is to get information about the energy neigh...
Definition: transientareassegmentationmodule.hpp:101
@ SOLVELP_UNBOUNDED
problem is unbounded (target function can achieve arbitrary high values)
Definition: optim.hpp:259
FileNode()
The constructors.
_Tp value_type
Definition: matx.hpp:113
@ HOUGH_MULTI_SCALE
Definition: imgproc.hpp:475
int createButton(const String &bar_name, ButtonCallback on_change, void *userdata=0, int type=QT_PUSH_BUTTON, bool initial_button_state=false)
Attaches a button to the control panel.
int hal_ni_cmp32f(const float *src1_data, size_t src1_step, const float *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height, int operation)
Definition: hal_replacement.hpp:214
virtual int getSlicSpixelSize()=0
Scalar_< double > Scalar
Definition: types.hpp:669
int hal_ni_cvtBGRtoGray(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue)
hal_cvtBGRtoGray
Definition: hal_replacement.hpp:347
void imageMeanKernelSize(const cv::Mat &img, int windowSize, cv::Mat &c)
std::string model_filename
Definition: facemarkAAM.hpp:67
@ CAP_PROP_PVAPI_BINNINGY
Vertical binning factor.
Definition: videoio.hpp:297
@ IMPL_IPP
Definition: instrumentation.hpp:56
virtual int getWinSize() const =0
virtual float getRho() const =0
Definition: deriv.hpp:301
virtual int getNumFrames() const =0
Returns the number of frames used to initialize background model.
void gemm(InputArray src1, InputArray src2, double alpha, InputArray src3, double beta, OutputArray dst, int flags=0, Stream &stream=Stream::Null())
Performs generalized matrix multiplication.
Mat_ & operator=(const Mat &m)
bool detect(InputArray img, OutputArray points) const
Detects QR code in image and returns the quadrangle containing the code.
MatxCommaInitializer(Matx< _Tp, m, n > *_mtx)
static Matx randu(_Tp a, _Tp b)
__device__ __forceinline__ uint vabsdiff4(uint a, uint b)
Definition: simd_functions.hpp:847
void setRepresentation(int representation)
Sets geometry representation of the widgets to surface, wireframe or points.
@ AGAST_7_12s
Definition: features2d.hpp:514
virtual Mat estimate(const Mat &frame0, const Mat &frame1, bool *ok=0) CV_OVERRIDE
virtual bool computeSaliencyImpl(InputArray image, OutputArray saliencyMap) CV_OVERRIDE=0
Definition: descriptor.hpp:199
NCVStatus ncvDetectObjectsMultiScale_device(NCVMatrix< Ncv8u > &d_srcImg, NcvSize32u srcRoi, NCVVector< NcvRect32u > &d_dstRects, Ncv32u &dstNumRects, HaarClassifierCascadeDescriptor &haar, NCVVector< HaarStage64 > &h_HaarStages, NCVVector< HaarStage64 > &d_HaarStages, NCVVector< HaarClassifierNode128 > &d_HaarNodes, NCVVector< HaarFeature64 > &d_HaarFeatures, NcvSize32u minObjSize, Ncv32u minNeighbors, Ncv32f scaleStep, Ncv32u pixelStep, Ncv32u flags, INCVMemAllocator &gpuAllocator, INCVMemAllocator &cpuAllocator, cudaDeviceProp &devProp, cudaStream_t cuStream)
void GaussianBlur(InputArray src, OutputArray dst, Size ksize, double sigmaX, double sigmaY=0, int borderType=BORDER_DEFAULT)
Blurs an image using a Gaussian filter.
friend void swap(any &lhs, any &rhs)
Definition: any.hpp:106
void mapForward(float x, float y, float &u, float &v)
virtual ~ImageMotionEstimatorBase()
Definition: global_motion.hpp:178
std::vector< std::pair< Ptr< TrackerTargetState >, float > > ConfidenceMap
Represents the model of the target at frame (all states and scores)
Definition: tracker.hpp:384
@ PSM_AUTO_ONLY
Definition: ocr.hpp:71
cv::Mat getK() const
Definition: depth.hpp:156
float sPointInOctaveX
Definition: descriptor.hpp:132
virtual void setLambda(float _lambda)=0
Lambda is a parameter defining the weight of the edge-aware term in geodesic distance,...
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type a) const
Definition: functional.hpp:124
static _OutputArray rawOut(std::array< _Tp, _Nm > &arr)
Definition: container_avi.private.hpp:148
static softfloat eps()
Difference between 1 and next representable value.
Definition: softfloat.hpp:214
Mat temp3
Definition: tracking.hpp:407
size_t blockIdx
Definition: persistence.hpp:675
@ CALIB_FIX_K4
Definition: calib3d.hpp:277
GArg(const T &t)
Definition: garg.hpp:47
void apply(GOCLContext &ctx)
static Ptr< _Tp > load(const String &filename, const String &objname=String())
Loads algorithm from the file.
Definition: core.hpp:3133
virtual void setPyramidScaleFactor(double scale_factor)=0
String getClassName() const
Get the name of the specific TrackerFeature.
int height
Definition: sinusoidalpattern.hpp:86
virtual void run(const std::vector< String > &images) CV_OVERRIDE=0
Calls the pipeline in order to perform Eclidean reconstruction.
int resImHeight
Definition: saliencySpecializedClasses.hpp:112
ObjectStatus
Definition: detection_based_tracker.hpp:139
v_reg< short, 8 > v_int16x8
Eight 16-bit signed integer values.
Definition: intrin_cpp.hpp:391
virtual void activateContoursProcessing(const bool activate)=0
Activate/desactivate the Parvocellular pathway processing (contours information extraction),...
@ VAR_NUMERICAL
same as VAR_ORDERED
Definition: ml.hpp:83
virtual int getFirstLevel() const =0
static void convert(const std::vector< KeyPoint > &keypoints, std::vector< Point2f > &points2f, const std::vector< int > &keypointIndexes=std::vector< int >())
Definition: vec_traits.hpp:88
Class implementing the BRISK keypoint detector and descriptor extractor, described in .
Definition: features2d.hpp:250
std::vector< Point2f > s0
Definition: facemarkAAM.hpp:100
WCloudNormals(InputArray cloud, InputArray normals, int level=64, double scale=0.1, const Color &color=Color::white())
Constructs a WCloudNormals.
Random Number Generator.
Definition: core.hpp:2769
const char * convertTypeStr(int sdepth, int ddepth, int cn, char *buf)
bool value_type
Definition: mask.hpp:59
static int type()
Definition: flann.hpp:82
int cols
Definition: deriv.hpp:209
int getHeight() const
Definition: container_avi.private.hpp:166
virtual void setWTA_K(int wta_k)=0
static cv::GPlaidMLKernel kernel()
Definition: gplaidmlkernel.hpp:133
virtual float getEPICLambda() const =0
see ximgproc::EdgeAwareInterpolator() lambda value.
Status stitch(InputArrayOfArrays images, OutputArray pano)
void * pv
Definition: dict.hpp:106
Program(const Program &prog)
int id
Definition: ppf_match_3d.hpp:81
static Ptr< MarrHildrethHash > create(float alpha=2.0f, float scale=1.0f)
Mat eigenvectors() const
Definition: core.hpp:2599
void setNonmaxSuppression(bool f)
Definition: agast.txt:7526
@ COLOR_BayerGB2BGR_MHT
Definition: cudaimgproc.hpp:96
float vscale
Definition: highgui.hpp:696
virtual bool getFaces(InputArray image, OutputArray faces)=0
get faces using the custom detector
Point(int _x, int _y)
Definition: types.hpp:25
size_t elemSize() const
Returns the matrix element size in bytes.
Definition: mat.hpp:185
void filterSpeckles(InputOutputArray img, double newVal, int maxSpeckleSize, double maxDiff, InputOutputArray buf=noArray())
Filters off small noise blobs (speckles) in the disparity map.
ERStat * prev
Definition: erfilter.hpp:106
Mat depth
Definition: depth.hpp:473
virtual ~ObjectnessBING()
_Tp * data()
returns pointer to the real buffer, stack-allocated or heap-allocated
Definition: utility.hpp:128
std::vector< GBackend > backends() const
Dictionary(const Mat &_bytesList=Mat(), int _markerSize=0, int _maxcorr=0)
K API
Definition: goclkernel.hpp:236
Type
Definition: types.hpp:308
@ value
Definition: functional.hpp:884
MCTKernel(uint8_t **images, int threshold)
Definition: descriptor.hpp:106
friend T & get(variant< Us... > &v)
bool empty() const CV_OVERRIDE
Implements Algorithm::empty()
Definition: qualitybase.hpp:49
virtual void setSaturationWeight(float saturation_weight)=0
void create(Size sz, int type, int i=-1, bool allowTransposed=false, _OutputArray::DepthMask fixedDepthMask=static_cast< _OutputArray::DepthMask >(0)) const
void drawChessboardCorners(InputOutputArray image, Size patternSize, InputArray corners, bool patternWasFound)
Renders the detected chessboard corners.
virtual void diag(const MatExpr &expr, int d, MatExpr &res) const
virtual bool scanAttr(const std::string prm, const std::string val) CV_OVERRIDE
MatConstIterator()
default constructor
int hal_ni_threshold(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int cn, double thresh, double maxValue, int thresholdType)
Calculates fixed-level threshold to each array element.
Definition: hal_replacement.hpp:661
int n_iter
Definition: facemarkAAM.hpp:70
virtual int getShadowValue() const =0
Returns the shadow value.
void MSERsToERStats(InputArray image, std::vector< std::vector< Point > > &contours, std::vector< std::vector< ERStat > > ®ions)
Converts MSER contours (vector<Point>) to ERStat regions.
void compute(const Mat &image, std::vector< KeyLine > &keylines, Mat &descriptors, bool returnFloatDescr=false) const
Requires descriptors computation.
virtual int getOuterIterations() const =0
number of warping iterations (number of pyramid levels)
virtual void setDelta(int delta)=0
virtual void clearStrategies()=0
Clear the list of strategy to process;.
virtual void init(const CvFeatureParams *_featureParams, int _maxSampleCount, Size _winSize) CV_OVERRIDE
static Affine3 Identity()
Create an 4x4 identity transform.
GpuMat(const GpuMat &m, Rect roi)
Ptr< DenseOpticalFlow > createOptFlow_DenseRLOF()
Additional interface to the Dense RLOF algorithm - optflow::calcOpticalFlowDenseRLOF()
virtual double getScaleFactor() const =0
static Ptr< BRISK > create(const std::vector< float > &radiusList, const std::vector< int > &numberList, float dMax=5.85f, float dMin=8.2f, const std::vector< int > &indexChange=std::vector< int >())
The BRISK constructor for a custom pattern.
@ SORT_EVERY_COLUMN
Definition: core.hpp:155
@ CAP_IMAGES
OpenCV Image Sequence (e.g. img_%02d.jpg)
Definition: videoio.hpp:118
Ptr< ISparseOptFlowEstimator > opticalFlowEstimator() const
Definition: global_motion.hpp:241
Definition: superres.hpp:67
void buildWarpPerspectiveMaps(InputArray M, bool inverse, Size dsize, OutputArray xmap, OutputArray ymap, Stream &stream=Stream::Null())
Builds transformation maps for perspective transformation.
float value_type
Definition: vec_distance.hpp:124
Mat(const Vec< _Tp, n > &vec, bool copyData=true)
virtual double getMinVal() const =0
Returns the minimum value taken on by pixels in image sequence. Usually 0.
float minGraphConfidence
Definition: calib3d.hpp:1308
Definition: inpainting.hpp:142
ContourApproximationModes
the contour approximation algorithm
Definition: imgproc.hpp:427
MatExpr operator>(const Mat &a, const Mat &b)
int64 getFLOPS(const std::vector< MatShape > &netInputShapes) const
Computes FLOP for whole loaded model with specified input shapes.
virtual int getNumIters() const =0
double sigma_scale
Definition: descriptor.hpp:702
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.
@ IMWRITE_PAM_FORMAT_RGB
Definition: imgcodecs.hpp:130
virtual double getMaxScale() const =0
Vec< _Tp, m > operator*() const
void set_distance_type(flann_distance_t distance_type, int order)
__host__ Expr< LaplacianPtrSz< ksize, typename PtrTraits< SrcPtr >::ptr_type > > laplacian_(const SrcPtr &src)
Definition: deriv.hpp:117
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.
__device__ static __forceinline__ VecD cast(const VecS &v)
Definition: vec_math.hpp:74
int iterationInit
the initial iterations
Definition: tracker.hpp:1109
std::string action
Definition: hpe_humaneva.hpp:63
uchar * datastart
Definition: cuda.hpp:593
@ CAP_PROP_XI_LENS_FEATURE
Allows access to lens feature value currently selected by XI_PRM_LENS_FEATURE_SELECTOR.
Definition: videoio.hpp:435
WMesh(InputArray cloud, InputArray polygons, InputArray colors=noArray(), InputArray normals=noArray())
@ DEPTH_MASK
Definition: mat.hpp:2074
static Ptr< FR_adience > create()
Definition: logger.hpp:50
int x
Definition: tr_svt.hpp:63
T & at(Ncv32u x, Ncv32u y) const
Definition: NCV.hpp:812
int getDepth() const
Definition: depth.hpp:239
void train(const std::vector< String > &imagesFrom, const std::vector< String > &imagesTo, const std::vector< String > >, const GPCTrainingParams params=GPCTrainingParams())
Train the forest using individual samples for each tree. It is generally better to use this instead o...
Definition: sparse_matching_gpc.hpp:246
@ COLOR_YUV2BGR_YUNV
Definition: imgproc.hpp:699
Definition: all_layers.hpp:312
softfloat getFrac() const
Get a fraction part.
Definition: softfloat.hpp:187
virtual float getFgsSigma() const =0
see ximgproc::EdgeAwareInterpolator().
@ DFT_SCALE
Definition: base.hpp:231
Ptr< DFT > createDFT(Size dft_size, int flags)
Creates implementation for cuda::DFT.
void setDistThreshold(float val)
Definition: inpainting.hpp:152
Ptr< IOutlierRejector > outlierRejector() const
Definition: global_motion.hpp:244
Class implements both functionalities for detection of lines and computation of their binary descript...
Definition: descriptor.hpp:181
Definition: fr_lfw.hpp:61
@ SR_FIXED
Definition: rlofflow.hpp:18
@ LINE_STRIP
Definition: opengl.hpp:482
_OutputArray(const std::array< Mat, _Nm > &arr)
int initShape_n
multiplier for augment the training data
Definition: facemarkLBF.hpp:67
bool update_opt(InputArray image)
Update all trackers from the tracking-list, find a new most likely bounding boxes for the targets by ...
virtual Mat getResponses() const =0
@ COLOR_YUV2RGBA_YUNV
Definition: imgproc.hpp:707
int multiProcessorCount() const
number of multiprocessors on device
VideoFileSource(const String &path, bool volatileFrame=false)
virtual int getInnerIterations() const =0
number of lagged non-linearity iterations (inner loop)
Ptr< ERFilter > createERFilterNM2(const Ptr< ERFilter::Callback > &cb, float minProbability=(float) 0.3)
Create an Extremal Region Filter for the 2nd stage classifier of N&M algorithm .
size_t elemSize() const
overridden forms of Mat::elemSize() etc.
~Matching(void)
Definition: matching.hpp:600
_mat_data(const mat_type &)
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: reduction.hpp:179
double calcGlobalOrientation(InputArray orientation, InputArray mask, InputArray mhi, double timestamp, double duration)
Calculates a global motion orientation in a selected region.
GBackend backend() const
Definition: ie.hpp:110
Mat & operator=(Mat const &src)=default
static MatExpr min(const Matx< _Tp, m, n > &a, const Mat &b)
Definition: mat.hpp:3692
__host__ __device__ NcvPoint2D32s(Ncv32s x_, Ncv32s y_)
Definition: NCV.hpp:196
int hal_ni_div16s(const short *src1_data, size_t src1_step, const short *src2_data, size_t src2_step, short *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:260
std::vector< cv::Point > locations
set of requested locations to be evaluated
Definition: objdetect.hpp:350
void computeJacobianStereo(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints1, InputArrayOfArrays imagePoints2, InputArray parameters, Mat &JTJ_inv, Mat &JTE, int flags, double epsilon)
@ CPU_FP16
Definition: cvdef.h:281
@ CAP_AVFOUNDATION
AVFoundation framework for iOS (OS X Lion will have the same API)
Definition: videoio.hpp:107
cv::GMetaArgs descrs_of(const std::vector< Mat > &vec)
void symetricCensusTransform(const cv::Mat &img1, const cv::Mat &img2, int kernelSize, cv::Mat &dist1, cv::Mat &dist2, const int type)
Definition: functional.hpp:320
The base class for auto white balance algorithms.
Definition: white_balance.hpp:64
virtual void setNumSlicIter(int n)=0
: set and get the parameter numSlicIter. This parameter is used in the first stage....
Abstract base class for all face recognition models.
Definition: face.hpp:158
__host__ Expr< PyrDownBody< SrcPtr > > pyrDown_(const SrcPtr &src)
Definition: warping.hpp:121
std::string name() const
returns the node name or an empty string if the node is nameless
void convertTo(OutputArray dst, int rtype, Stream &stream) const
converts GpuMat to another datatype (Non-Blocking call)
int cols
Definition: deriv.hpp:116
static Ptr< KNearest > create()
Creates the empty model.
ANN_MLP ANN_MLP_ANNEAL
Definition: ml.hpp:1609
void updateContinuityFlag()
internal use method: updates the continuity flag
void normalizeFundamental(InputArray F, OutputArray F_normalized)
Normalizes the Fundamental matrix.
NCVStatus nppiStTranspose_64s_C1R(Ncv64s *d_src, Ncv32u srcStride, Ncv64s *d_dst, Ncv32u dstStride, NcvSize32u srcRoi)
virtual void setCannyHighThresh(int cannyHighThresh)=0
Canny high threshold.
float trackInPosRad
radius for gathering positive instances during tracking
Definition: tracker.hpp:787
static Ptr< OR_mnist > create()
@ HOUGH_STANDARD
Definition: imgproc.hpp:467
virtual int run(InputOutputArray param) const =0
void createLaplacePyrGpu(InputArray img, int num_levels, std::vector< UMat > &pyr)
MaskPtr mask
Definition: mask.hpp:73
virtual void setHighThreshold(double high_thresh)=0
@ VC1
Definition: cudacodec.hpp:250
unsigned int m_height
Definition: container_avi.private.hpp:130
int perimeter
Definition: erfilter.hpp:80
NCVStatus copy2D(NCVMatrix< T > &dst, NcvSize32u roi, cudaStream_t cuStream) const
Definition: NCV.hpp:794
@ CCL_WU
SAUF algorithm for 8-way connectivity, SAUF algorithm for 4-way connectivity.
Definition: imgproc.hpp:404
dispatch_queue_t videoDataOutputQueue
Definition: cap_ios.h:104
int hal_ni_cvtHSVtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isFullRange, bool isHSV)
hal_cvtHSVtoBGR
Definition: hal_replacement.hpp:458
Mat operator()(Range rowRange, Range colRange) const
Extracts a rectangular submatrix.
static void getAllDescriptorsForImage(const Mat *imgCh, std::vector< GPCPatchDescriptor > &descr, const GPCMatchingParams &mp, int type)
int height
Definition: or_pascal.hpp:83
float _log_n0
Definition: onlineMIL.hpp:96
virtual void collectGarbage()=0
Mat bytesList
Definition: dictionary.hpp:64
@ GC_BGD
an obvious background pixels
Definition: imgproc.hpp:342
SparseMatIterator_(const SparseMatIterator_ &it)
the copy constructor
void projectPoints(InputArray objectPoints, OutputArray imagePoints, InputArray rvec, InputArray tvec, InputArray K, double xi, InputArray D, OutputArray jacobian=noArray())
Projects points for omnidirectional camera using CMei's model.
void writeComment(const String &comment, bool append=false)
Writes a comment.
int mapcount
Definition: mat.hpp:566
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.
T get(int idx=-1) const
Tries to convert array element with specified index to requested type and returns its.
virtual void setMaxNumPoints(int max_npoints)=0
__device__ __forceinline__ void reduceBlock(result_type *smem, uint tid)
Definition: vec_distance.hpp:109
@ FM_8POINT
8-point algorithm
Definition: calib3d.hpp:298
GMat YUV2RGB(const GMat &src)
Converts an image from YUV color space to RGB. The function converts an input image from YUV color sp...
@ PROJ_SPHERICAL_ORTHO
Definition: calib3d.hpp:2840
float med_crossings
median of the crossings at three different height levels
Definition: erfilter.hpp:86
This algorithm decomposes image into two layers: base layer and detail layer using bilateral filter a...
Definition: tonemap.hpp:25
double Rw
Definition: gr_chalearn.hpp:67
const int * greek
Definition: highgui.hpp:694
Size_< double > Size2d
Definition: types.hpp:346
int numClasses() const
Definition: linemod.hpp:381
Vec2i maxSurface1DLayered() const
maximum 1D layered surface dimensions
AllocType alloc_type
Definition: cuda.hpp:596
int IDR_Period
NVVE_IDR_PERIOD,.
Definition: cudacodec.hpp:88
@ COLOR_HSV2BGR_FULL
Definition: imgproc.hpp:611
join s[20]
Definition: gr_chalearn.hpp:72
@ NO
Definition: blenders.hpp:68
void getProjTr(OutputArray projTr) const
Definition: mapprojec.hpp:88
__host__ GpuMat_ operator()(Range rowRange, Range colRange) const
WCircle(double radius, const Point3d ¢er, const Vec3d &normal, double thickness=0.01, const Color &color=Color::white())
Constructs repositioned planar circle.
@ COLOR_RGBA2BGR
Definition: imgproc.hpp:533
void write(FileStorage &fs, const String &name, const String &value)
Singular Value Decomposition.
Definition: core.hpp:2630
void erase(const String &key)
Erase key from the dictionary.
virtual void scale(double factor)=0
Class providing a set of static methods to check what NVIDIA* card architecture the CUDA module was b...
Definition: cuda.hpp:797
void multiply(InputArray src1, InputArray src2, OutputArray dst, double scale=1, int dtype=-1, Stream &stream=Stream::Null())
Computes a matrix-matrix or matrix-scalar per-element product.
int hal_ni_div32s(const int *src1_data, size_t src1_step, const int *src2_data, size_t src2_step, int *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:261
bool findPattern(InputArray image, OutputArray matched_features, OutputArray pattern_points, const double ratio=0.7, const double proj_error=8.0, const bool refine_position=false, OutputArray out=noArray(), OutputArray H=noArray(), OutputArray pattern_corners=noArray())
virtual void setMarginRegularization(float marginRegularization)=0
Parameter marginRegularization of a SVMSGD optimization problem.
std::function< std::tuple< R... >Args...)> Gen
Definition: gtyped.hpp:156
Scalar absSum(InputArray src, InputArray mask=noArray())
Returns the sum of absolute values for matrix elements.
static Mesh load(const String &file, int type=LOAD_PLY)
Loads a mesh from a ply or a obj file.
virtual Ptr< QuantizedPyramid > processImpl(const Mat &src, const Mat &mask) const =0
Definition: mapperpyramid.hpp:56
int addLayerToPrev(const String &name, const String &type, LayerParams ¶ms)
Adds new layer and connects its first input to the first output of previously added layer.
int descriptorSize() const
Return descriptor size.
Impl * getImpl() const
Definition: ocl.hpp:342
@ AM_FILTER
Definition: edge_filter.hpp:58
PHash()
Definition: phash.hpp:27
static Ptr< TRACK_alov > create()
void include()
Put a new kernel implementation or a new transformation KImpl into the package.
Definition: gkernel.hpp:495
const Vec2d & getClip() const
Definition: types.hpp:210
virtual void transform(InputArray src, OutputArray dst, Stream &stream=Stream::Null())=0
Transforms the source matrix into the destination matrix using the given look-up table: dst(I) = lut(...
bool filterByInertia
Definition: features2d.hpp:643
void setWarper(Ptr< WarperCreator > creator)
Definition: stitching.hpp:236
@ COLORMAP_MAGMA
Definition: imgproc.hpp:4232
virtual Mat stabilize(int idx, const std::vector< Mat > &motions, std::pair< int, int > range)=0
_Tp height
height of the rectangle
Definition: types.hpp:456
Definition: onlineBoosting.hpp:63
@ LINES
Definition: opengl.hpp:480
DictValue(double p)
Constructs floating point scalar.
Definition: dict.hpp:67
@ MORPH_BLACKHAT
Definition: imgproc.hpp:223
const GOrigin & priv() const
static GComputation invoke(Callable f, Seq< IIs... >, Seq< OIs... >)
Definition: gtransform.hpp:47
@ COLOR_YUV2BGR_YVYU
Definition: imgproc.hpp:695
MatExpr max(const Mat &a, double s)
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::st...
Class that manages the extraction and selection of features.
Definition: tracker.hpp:129
Video writer class.
Definition: videoio.hpp:843
static Ptr< Layer > create(const LayerParams ¶ms)
int octave
octave (pyramid layer) from which the keypoint has been extracted
Definition: types.hpp:777
@ CALIB_THIN_PRISM_MODEL
Definition: calib3d.hpp:281
Definition: multicalib.hpp:83
float negativeSlope
Definition: all_layers.hpp:434
void setDepth(int val)
Definition: depth.hpp:152
void or8u(const uchar *src1, size_t step1, const uchar *src2, size_t step2, uchar *dst, size_t step, int width, int height, void *)
void read(const FileNode &fn)
Read parameters from a file.
void demosaicing(InputArray src, OutputArray dst, int code, int dcn=-1, Stream &stream=Stream::Null())
Converts an image from Bayer pattern to RGB or grayscale.
int rows
Definition: resize.hpp:79
__device__ static __forceinline__ int idx_high(int i, int len)
Definition: extrapolation.hpp:152
View mkView(int borderSize, bool ownStorage)
virtual ~IFrameSource()
Definition: frame_source.hpp:60
Matx()
default constructor
Matx< float, 4, 3 > Matx43f
Definition: matx.hpp:242
PtrTraits< SrcPtr >::value_type value_type
Definition: remap.hpp:62
float _sig1
Definition: onlineMIL.hpp:93
PCAFlow algorithm.
Definition: pcaflow.hpp:95
GKernelPackage pkg
Definition: gkernel.hpp:589
virtual void copyToHost()=0
Transfer data to CPU host memory.
virtual const std::vector< Mat > & frames() const
Definition: inpainting.hpp:82
virtual void compute(InputArray data, OutputArray disparity, Stream &stream=Stream::Null())=0
Enables the stereo correspondence operator that finds the disparity for the specified data cost.
Ncv32u number_of_inner_iterations
number of lagged non-linearity iterations (inner loop)
Definition: NCVBroxOpticalFlow.hpp:78
virtual void inpaint(int, Mat &, Mat &) CV_OVERRIDE
Definition: inpainting.hpp:105
@ NORM_TYPE_MASK
bit-mask which can be used to separate norm type from norm flags
Definition: base.hpp:205
@ MAGIC_VAL
Definition: mat.hpp:2073
static Ptr< TrackerBoosting > create()
void Scharr(InputArray src, OutputArray dst, int ddepth, int dx, int dy, double scale=1, double delta=0, int borderType=BORDER_DEFAULT)
Calculates the first x- or y- image derivative using Scharr operator.
std::function< R(Args...)> Gen
Definition: gtyped.hpp:88
virtual void setEdgeMinMag(float value)=0
Sets the edge min magnitude.
Candidate(int x, int y, int label, float score)
Definition: linemod.hpp:112
void cvtLabtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isLab, bool srgb)
virtual double getMaxAngle() const =0
int getWidthOfBand()
Get current width of bands.
@ FEATURE_SET_COMPUTE_12
Definition: cuda.hpp:771
void setMouseCallback(const String &winname, MouseCallback onMouse, void *userdata=0)
Sets mouse handler for the specified window.
Definition: functional.hpp:143
void detectResultRoi(Size src_size, Point &dst_tl, Point &dst_br) CV_OVERRIDE
Definition: warpers.hpp:638
void phase(InputArray x, InputArray y, OutputArray angle, bool angleInDegrees=false, Stream &stream=Stream::Null())
Computes polar angles of complex matrix elements.
ptrdiff_t difference_type
Definition: mat.hpp:3018
void cleanup()
Release created TLS data container objects. It is similar to release() call, but it keeps TLS contain...
@ COL_SAMPLE
each training sample occupies a column of samples
Definition: ml.hpp:99
virtual ~BasicVectorRef()
Definition: garray.hpp:116
std::vector< std::vector< int > > nearestMarkerCorners
Definition: charuco.hpp:70
@ COLOR_BGRA2GRAY
Definition: imgproc.hpp:548
virtual String getDefaultName() const CV_OVERRIDE
GIOProtoArgs(GProtoArgs &&args)
Definition: gproto.hpp:58
void write(FileStorage &) const
bool empty() const CV_OVERRIDE
Implements Algorithm::empty()
Definition: qualitygmsd.hpp:31
QtFont available only for Qt. See cv::fontQt.
Definition: highgui.hpp:689
virtual void setCostMap(const Mat &_costMap)=0
Interface to provide a more elaborated cost map, i.e. edge map, for the edge-aware term....
Class passed to an error.
Definition: core.hpp:116
GMatDesc withSizeDelta(cv::gapi::own::Size delta) const
Definition: gmat.hpp:124
@ SFM_REFINE_RADIAL_DISTORTION_K2
Definition: simple_pipeline.hpp:127
#define CV_CUDEV_RGB2XYZ_INST(name, scn, dcn, bidx)
Definition: color_cvt.hpp:173
@ CALIB_CB_ACCURACY
Definition: calib3d.hpp:260
virtual int getSpeckleRange() const =0
@ block_size_y
Definition: split_merge.hpp:497
void write(FileStorage &fs, const String &value)
Definition: persistence.hpp:902
__device__ __forceinline__ void warpYota(OutIt beg, OutIt end, T value)
Definition: warp.hpp:114
Feature matchers base class.
Definition: matchers.hpp:118
@ StsBadFunc
unsupported function
Definition: base.hpp:75
double polynomial_p2
Definition: simple_pipeline.hpp:115
PtrTraits< SrcPtr >::value_type value_type
Definition: deriv.hpp:103
std::vector< double > getMean() const
virtual bool getData(void *items=0)=0
Get data from an algorithm.
float fy
Definition: resize.hpp:66
Base class for modelling a Map between two images.
Definition: map.hpp:125
virtual void setAngleThresh(int angleThresh)=0
Angle votes threshold.
static Ptr< LSTMLayer > create(const LayerParams ¶ms)
@ CPU_AVX2
Definition: cvdef.h:283
virtual void knnMatchImpl(InputArray queryDescriptors, std::vector< std::vector< DMatch > > &matches, int k, InputArrayOfArrays masks=noArray(), bool compactResult=false)=0
Principal Component Analysis.
Definition: core.hpp:2393
virtual void run(Mat &image, Mat &mask, std::string &output_text, std::vector< Rect > *component_rects=NULL, std::vector< std::string > *component_texts=NULL, std::vector< float > *component_confidences=NULL, int component_level=0)=0
@ TM_CCORR_NORMED
Definition: imgproc.hpp:3653
@ XYZ
Definition: omnidir.hpp:76
virtual void setQuantizationLevels(int nlevels)=0
Sets the parameter used for quantization of color-space.
int(* ErrorCallback)(int status, const char *func_name, const char *err_msg, const char *file_name, int line, void *userdata)
Definition: utility.hpp:162
@ COLOR_YUV2GRAY_YVYU
Definition: imgproc.hpp:715
cv::Mat descriptor_strong
Strong descriptor (reid embedding).
Definition: tracking_by_matching.hpp:385
int window_size_
Definition: depth.hpp:179
bool inside(const Rect_< _Tp > &r) const
checks whether the point is inside the specified rectangle
int x
Definition: tr_icdar.hpp:63
@ FHT_ADD
Definition: fast_hough_transform.hpp:94
void setBackgroundColor(const Color &color=Color::black(), const Color &color2=Color::not_set())
Sets background color.
virtual void setRLOFOpticalFlowParameter(Ptr< RLOFOpticalFlowParameter > val)=0
Configuration of the RLOF alogrithm.
virtual ~StaticSaliencyFineGrained()
@ PINHOLE
Definition: multicalib.hpp:76
void getTriangleList(std::vector< Vec6f > &triangleList) const
Returns a list of all triangles.
const uchar * sliceEnd
Definition: mat.hpp:3069
void init(int dp, int mp, int cp, double processNoiseCovDiag, double measurementNoiseCovDiag, Ptr< UkfSystemModel > dynamicalSystem, int type=CV_64F)
v_reg< typename V_TypeTraits< _Tp >::q_type, n/4 > v_dotprod_expand_fast(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Fast Dot product of elements and expand.
Definition: intrin_cpp.hpp:996
const RS m_rs
Definition: gfluidkernel.hpp:92
Vec2i maxTexture2DGather() const
maximum 2D texture dimensions if texture gather operations have to be performed
void release()
Decrements the reference counter and destroys the texture object if needed.
_OutputArray(const std::vector< Mat_< _Tp > > &vec)
virtual void getScreenshot(OutputArray frame)=0
static int help(const GMetaArgs &metas, const cv::GArgs &in_args)
Definition: gfluidkernel.hpp:306
int hal_ni_FAST_dense(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, cv::FastFeatureDetector::DetectorType type)
Detects corners using the FAST algorithm, returns mask.
Definition: hal_replacement.hpp:69
int getNumOfOctaves()
Get current number of octaves.
Abstract base class for phase unwrapping.
Definition: phase_unwrapping.hpp:56
Definition: features2d.hpp:805
void min16s(const short *src1, size_t step1, const short *src2, size_t step2, short *dst, size_t step, int width, int height, void *)
@ STORE_ALIGNED
Definition: intrin.hpp:96
Definition: interpolation.hpp:77
Definition: softfloat.hpp:90
void setMotionStabilizer(Ptr< IMotionStabilizer > val)
Definition: stabilizer.hpp:168
Class encapsulating training parameters.
Definition: sparse_matching_gpc.hpp:124
virtual void load(const std::string &path) CV_OVERRIDE=0
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.
int histogram_bins
Definition: tracker.hpp:1519
double computeMeanReproErrStereo(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints1, InputArrayOfArrays imagePoints2, InputArray K1, InputArray K2, InputArray D1, InputArray D2, double xi1, double xi2, InputArray om, InputArray T, InputArrayOfArrays omL, InputArrayOfArrays TL)
static Ptr< Boost > load(const String &filepath, const String &nodeName=String())
Loads and creates a serialized Boost from a file.
virtual void setReconstructionOptions(const libmv_ReconstructionOptions &libmv_reconstruction_options)=0
virtual void compose(cv::Ptr< Map > map)=0
PtrTraits< TablePtr >::value_type value_type
Definition: lut.hpp:62
~SparseMat()
the destructor
void markHostCopyObsolete(bool flag)
virtual void process(const cv::Mat &imageGray)
Mat_(const Mat_ &m, const std::vector< Range > &ranges)
selects a submatrix, n-dim version
virtual double getAnnealCoolingRatio() const =0
Definition: stabilizer.hpp:144
float tsdf_trunc_dist
distance to truncate in meters
Definition: kinfu.hpp:77
_OutputArray(const std::array< _Tp, _Nm > &arr)
__device__ __forceinline__ Predicate::result_type operator()(typename TypeTraits< typename Predicate::argument_type >::parameter_type x) const
Definition: functional.hpp:795
virtual double getTau() const =0
Time step of the numerical scheme.
GpuMat(Size size, int type, Scalar s, GpuMat::Allocator *allocator=GpuMat::defaultAllocator())
static void write(FileStorage &fs, const Scalar_< _Tp > &s)
Definition: persistence.hpp:959
float neighborhoodEnergy_spatialConstant
Definition: transientareassegmentationmodule.hpp:102
void async(GCompiled &gcmpld, std::function< void(std::exception_ptr)> &&callback, GRunArgs &&ins, GRunArgsP &&outs)
double calibrateCameraAruco(InputArrayOfArrays corners, InputArray ids, InputArray counter, const Ptr< Board > &board, 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))
Calibrate a camera using aruco markers.
bool occluded
Definition: or_pascal.hpp:73
void writeScalar(FileStorage &fs, const String &value)
NCVMatrixReuse(const NCVMemSegment &memSegment, Ncv32u alignment, Ncv32u width_, Ncv32u height_, Ncv32u pitch_=0, NcvBool bSkipPitchCheck=false)
Definition: NCV.hpp:926
Mat c
Definition: mat.hpp:3548
@ COVAR_SCALE
Definition: core.hpp:195
const FileStorage * fs
Definition: persistence.hpp:609
virtual int getThreshold() const =0
__host__ PtrTraits< Ptr2DSz >::ptr_type shrinkPtr(const Ptr2DSz &ptr)
Definition: traits.hpp:85
int borderY
Definition: quasi_dense_stereo.hpp:44
Definition: slam_kitti.hpp:61
void drawOrientation(InputOutputArray image, InputArray tvec, InputArray rvec, InputArray cameraMatrix, InputArray distCoeffs, double axis_length=3, int axis_width=2)
@ CAP_PROP_XI_DEBOUNCE_EN
Enable/Disable debounce to selected GPI.
Definition: videoio.hpp:424
Mat member_type
Definition: core.hpp:3217
void add(const std::vector< Mat > &descriptors)
Store locally new descriptors to be inserted in dataset, without updating dataset.
float aprilTagMaxLineFitMse
Definition: aruco.hpp:185
virtual void setDisp12MaxDiff(int disp12MaxDiff)=0
Vec< short, 2 > Vec2s
Definition: matx.hpp:404
int getScallingFactor()
method for getting the scalling factor
Definition: matching.hpp:393
@ CALIB_USE_INTRINSIC_GUESS
Definition: calib3d.hpp:269
class which allows the Gipsa/Listic Labs model to be used with OpenCV.
Definition: retina.hpp:207
@ CAP_PROP_XI_GPI_MODE
Set general purpose input mode.
Definition: videoio.hpp:341
static int type()
Definition: flann.hpp:79
virtual void setAlgorithmType(int val)=0
GMat inRange(const GMat &src, const GScalar &threshLow, const GScalar &threshUp)
Applies a range-level threshold to each matrix element.
@ wb
Definition: container_avi.private.hpp:136
int type
Definition: all_layers.hpp:236
Camera getCamera() const
Returns a camera object that contains intrinsic parameters of the current viewer.
__host__ void gridHistogram(const SrcPtr &src, GpuMat_< ResType > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: histogram.hpp:109
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.
#define CV_CUDEV_RGB2RGB5x5_INST(name, scn, bidx, green_bits)
Definition: color_cvt.hpp:425
Rect warpRoi(Size src_size, InputArray K, InputArray R)
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type src) const
Definition: functional.hpp:738
T thresh
Definition: functional.hpp:696
@ INPAINT_FSR_FAST
See INPAINT_FSR_BEST.
Definition: inpainting.hpp:95
GFluidKernel(Kind k, int l, bool scratch, const F &f, const IS &is, const RS &rs, const B &b, const GW &win)
Definition: gfluidkernel.hpp:76
void setWeight2(float val)
Definition: motion_stabilizing.hpp:134
int pyramidLevels
Number of pyramid levels for ICP.
Definition: dynafu.hpp:52
bool linkerAvailable() const
virtual size_t maxSize() const
static String dumpFloat(float argument)
Definition: bindings_utils.hpp:44
std::string imageName
Definition: sr_div2k.hpp:25
Vec(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6)
7-element vector constructor
bool addTrackerSamplerAlgorithm(String trackerSamplerAlgorithmType)
Add TrackerSamplerAlgorithm in the collection. Return true if sampler is added, false otherwise.
@ CAP_PROP_XI_CC_MATRIX_01
Color Correction Matrix element [0][1].
Definition: videoio.hpp:406
std::string imageName
Definition: msm_middlebury.hpp:62
std::vector< std::pair< Backend, Target > > getAvailableBackends()
WImage3D(InputArray image, const Size2d &size)
Constructs an WImage3D.
@ CAP_PROP_SAR_NUM
Sample aspect ratio: num/den (num)
Definition: videoio.hpp:172
void setCellSize(Size val)
Definition: outlier_rejection.hpp:79
NcvBool isMemAllocated() const
Definition: NCV.hpp:664
void forward(OutputArrayOfArrays outputBlobs, const std::vector< String > &outBlobNames)
Runs forward pass to compute outputs of layers listed in outBlobNames.
const std::vector< Mat > * frames_
Definition: deblurring.hpp:85
virtual double getQualityLevel() const =0
__host__ void gridFindMaxVal_(const SrcPtr &src, GpuMat_< ResType > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: reduce.hpp:140
@ BORDER_REFLECT
fedcba|abcdefgh|hgfedcb
Definition: base.hpp:271
MatConstIterator_(const Mat_< _Tp > *_m, const int *_idx)
constructor that sets the iterator to the specified element of the matrix
@ CPU_AVX_512VBMI
Definition: cvdef.h:294
v_float32x4 v_reinterpret_as_f32(const v_reg< _Tp0, n0 > &a)
Definition: intrin_cpp.hpp:2188
virtual void load(const std::string &path) CV_OVERRIDE=0
Complex conj() const
conjugation
virtual double getMaxDiscThreshold() const =0
truncation of disparity continuity
@ CAP_PROP_XI_BUFFER_POLICY
Data move policy.
Definition: videoio.hpp:449
static Ptr< FarnebackOpticalFlow > create(int numLevels=5, double pyrScale=0.5, bool fastPyramids=false, int winSize=13, int numIters=10, int polyN=5, double polySigma=1.1, int flags=0)
ClassifierThreshold(EstimatedGaussDistribution *posSamples, EstimatedGaussDistribution *negSamples)
Definition: gr_chalearn.hpp:66
static const char * tag()
Definition: gcommon.hpp:149
virtual void setNSamples(int _nN)=0
Sets the number of data samples in the background model.
void mapBackward(float u, float v, float &x, float &y)
int pyramidLevels
Number of pyramid levels for ICP.
Definition: kinfu.hpp:54
Max< U > other
Definition: reduce_to_vec.hpp:131
int index_type
Definition: deriv.hpp:237
virtual int getDatasetLength(int id)=0
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: reduction.hpp:201
virtual double getBackgroundRatio() const =0
Returns the "background ratio" parameter of the algorithm.
@ CAP_PROP_XI_LUT_VALUE
Value at entry LUTIndex of the LUT.
Definition: videoio.hpp:452
T thresh
Definition: functional.hpp:755
__device__ __forceinline__ T warpScanExclusive(T data, volatile T *smem, uint tid)
Definition: scan.hpp:122
__host__ void gridMinMaxLoc_(const SrcPtr &src, GpuMat_< ResType > &valBuf, GpuMat_< int > &locBuf, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: reduce.hpp:210
int clockRate() const
clock frequency in kilohertz
virtual void load(const std::string &path) CV_OVERRIDE=0
void pencilSketch(InputArray src, OutputArray dst1, OutputArray dst2, float sigma_s=60, float sigma_r=0.07f, float shade_factor=0.02f)
Pencil-like non-photorealistic line drawing.
Paths getConfigurationParameterPaths(const char *name, const Paths &defaultValue=Paths())
virtual int getWarpingsNumber() const =0
std::function< int(const GMetaArgs &, const GArgs &)> GW
Definition: gfluidkernel.hpp:72
@ CPU_SSE4_1
Definition: cvdef.h:278
@ COLOR_BayerGB2BGRA
Definition: imgproc.hpp:778
TrackedObject first_object
First object in track.
Definition: tracking_by_matching.hpp:388
uint imageBaseAddressAlignment() const
virtual bool initDataset(int id)=0
virtual bool getUseSurrogates() const =0
GMat cmpGT(const GMat &src1, const GMat &src2)
Performs the per-element comparison of two matrices checking if elements from first matrix are greate...
String getText() const
Returns the current text content of the widget.
friend value_t * any_cast(any *operand)
Definition: any.hpp:114
This class wraps mesh attributes, and it can load a mesh from a ply file. :
Definition: types.hpp:121
Definition: functional.hpp:205
virtual void getLabelContourMask(OutputArray image, bool thick_line=false)=0
Returns the mask of the superpixel segmentation stored in SuperpixelSEEDS object.
GIOProtoArgs< Out_Tag > GProtoOutputArgs
Definition: gproto.hpp:67
optional()
Definition: optional.hpp:36
Mat project(InputArray vec) const
Projects vector(s) to the principal component subspace.
int memBaseAddrAlign() const
Plane warper factory class.
Definition: warpers.hpp:135
void putText(InputOutputArray img, const String &text, Point org, int fontFace, double fontScale, Scalar color, int thickness=1, int lineType=LINE_8, bool bottomLeftOrigin=false)
Draws a text string.
virtual String getDefaultName() const CV_OVERRIDE
GMat YUV2BGR(const GMat &src)
Converts an image from YUV color space to BGR color space.
__host__ __device__ static __forceinline__ char2 all(schar v)
Definition: vec_traits.hpp:162
bool isSeparated() const
Definition: sparse_matching_gpc.hpp:74
Definition: warpers.hpp:189
Definition: optical_flow.hpp:57
float parasolCells_k
Definition: retina.hpp:176
static Ptr< QualityMSE > create(InputArray ref)
Create an object which calculates quality.
@ SFM_DISTORTION_MODEL_POLYNOMIAL
Definition: simple_pipeline.hpp:52
static Ptr< Blender > createDefault(int type, bool try_gpu=false)
@ COLOR_BayerGB2RGB_VNG
Definition: imgproc.hpp:761
Rect rect
Definition: dpm.hpp:112
@ CAP_PROP_PVAPI_BINNINGX
Horizontal binning factor.
Definition: videoio.hpp:296
void convertToWindowCoordinates(const Point3d &pt, Point3d &window_coord)
Transforms a point in world coordinate system to window coordinate system.
virtual void setPolyN(int polyN)=0
Definition: predict_collector.hpp:86
@ CAP_PROP_GPHOTO2_COLLECT_MSGS
Collect messages with details.
Definition: videoio.hpp:558
Mat image
Definition: or_mnist.hpp:63
void setValue(InputArray value)
Definition: slam_tumindoor.hpp:75
virtual void setPlotLineColor(Scalar _plotLineColor)=0
Point2i Point
Definition: types.hpp:194
@ CAP_PROP_XI_COOLING
Start camera cooling.
Definition: videoio.hpp:392
void splice(int edgeA, int edgeB)
@ TYPE_CPU
Definition: ocl.hpp:84
virtual void download(UMatData *data, void *dst, int dims, const size_t sz[], const size_t srcofs[], const size_t srcstep[], const size_t dststep[]) const
std::function< GMetaArgs(const GMetaArgs &, const GArgs &)> M
Definition: gfluidkernel.hpp:66
virtual int getDisp12MaxDiff() const =0
__host__ BrdBase< BrdWrap, typename PtrTraits< SrcPtr >::ptr_type > brdWrap(const SrcPtr &src)
Definition: extrapolation.hpp:211
@ COLOR_BayerGR2RGB
Definition: imgproc.hpp:747
int hal_ni_pyrdown(const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int depth, int cn, int border_type)
Perform Gaussian Blur and downsampling for input tile.
Definition: hal_replacement.hpp:753
#define CV_Assert(expr)
Checks a condition at runtime and throws exception if it fails.
Definition: base.hpp:342
virtual void detect(InputArray dx, InputArray dy, OutputArray edges, Stream &stream=Stream::Null())=0
const Scalar & const_param_type
Definition: core.hpp:3272
Definition: dataset.hpp:565
int normL1_(const uchar *a, const uchar *b, int n)
static Ptr< OCRHolisticWordRecognizer > create(const std::string &archFilename, const std::string &weightsFilename, const std::string &wordsFilename)
Creates an instance of the OCRHolisticWordRecognizer class.
__host__ int depth() const
cv::Rect calcTrackedObjectPositionToShow(int i) const
mat_type mu
Definition: qualityssim.hpp:62
PPF3DDetector(const double relativeSamplingStep, const double relativeDistanceStep=0.05, const double numAngles=30)
Allocator(Allocator const &)
Definition: cvstd.hpp:124
__device__ __forceinline__ void reduceThread(value_type val1, value_type val2)
Definition: vec_distance.hpp:131
std::tuple< Args... > InArgs
Definition: gkernel.hpp:215
Ptr< TonemapDrago > createTonemapDrago(float gamma=1.0f, float saturation=1.0f, float bias=0.85f)
Creates TonemapDrago object.
FileStorage & operator<<(FileStorage &fs, const String &str)
Writes string to a file storage.
virtual void setGroupThreshold(int group_threshold)=0
std::unordered_map< std::size_t, GRunArgP > m_results
Definition: goclkernel.hpp:76
static bool isEmptyCollection(int flags)
bool Cholesky32f(float *A, size_t astep, int m, float *b, size_t bstep, int n)
void * getDistribution(int target)
Rect_(_Tp _x, _Tp _y, _Tp _width, _Tp _height)
Regroup multiple strategies for the selective search segmentation algorithm.
Definition: segmentation.hpp:135
Definition: infer.hpp:111
int hal_ni_min16s(const short *src1_data, size_t src1_step, const short *src2_data, size_t src2_step, short *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:114
virtual NCVMemoryType memType(void) const =0
@ CAP_PROP_BUFFERSIZE
Definition: videoio.hpp:170
@ FONT_HERSHEY_SCRIPT_COMPLEX
more complex variant of FONT_HERSHEY_SCRIPT_SIMPLEX
Definition: imgproc.hpp:821
Scalar_()
default constructor
static Ptr< SigmoidLayer > create(const LayerParams ¶ms)
void calcOpticalFlowDenseRLOF(InputArray I0, InputArray I1, InputOutputArray flow, Ptr< RLOFOpticalFlowParameter > rlofParam=Ptr< RLOFOpticalFlowParameter >(), float forwardBackwardThreshold=0, Size gridStep=Size(6, 6), InterpolationType interp_type=InterpolationType::INTERP_EPIC, int epicK=128, float epicSigma=0.05f, float epicLambda=100.f, int ricSPSize=15, int ricSLICType=100, bool use_post_proc=true, float fgsLambda=500.0f, float fgsSigma=1.5f, bool use_variational_refinement=false)
Fast dense optical flow computation based on robust local optical flow (RLOF) algorithms and sparse-t...
Size_(Size_ &&sz) CV_NOEXCEPT
void clear() CV_OVERRIDE
Implements Algorithm::clear()
Definition: qualityssim.hpp:33
int cols
Definition: constant.hpp:69
Artificial Neural Networks - Multi-Layer Perceptrons.
Definition: ml.hpp:1423
Program getProg(const ProgramSource &prog, const String &buildopt, String &errmsg)
std::string fileName
Definition: tr_svt.hpp:68
SegmentationModel(const String &model, const String &config="")
Create segmentation model from network represented in one of the supported formats....
@ DICT_ARUCO_ORIGINAL
Definition: dictionary.hpp:158
Mat(int _rows, int _cols, int _type, void *_data, size_t _step=AUTO_STEP)
Definition: mat.hpp:106
void v_store(_Tp *ptr, const v_reg< _Tp, n > &a)
Store data to memory.
Definition: intrin_cpp.hpp:1617
StoreMode
Definition: intrin.hpp:94
#define CV_OUT
Definition: cvdef.h:421
Mat_(const MatCommaInitializer_< _Tp > &commaInitializer)
static GMetaArgs getOutMeta(const GMetaArgs &, const GArgs &)
Definition: infer.hpp:99
This is a global tonemapping operator that models human visual system.
Definition: photo.hpp:398
int int_type
Definition: intrin.hpp:139
@ PSM_SINGLE_COLUMN
Definition: ocr.hpp:73
cv::utils::logging::LogTag * getGlobalLogTag()
virtual cv::Mat getCameraMatrix() const =0
virtual int getMaxLevel() const =0
static void estimateRecommendedParams(int width, int height, int &ndisp, int &iters, int &levels)
Uses a heuristic method to compute the recommended parameters ( ndisp, iters and levels ) for the spe...
void applyColorMap(InputArray src, OutputArray dst, int colormap)
Applies a GNU Octave/MATLAB equivalent colormap on a given image.
Definition: garray.hpp:33
void run(const std::vector< Mat > &inputs, std::vector< Mat > &outputs, std::vector< Mat > &internals)
Allocates layer and computes output.
void addref()
Increments the reference counter.
#define OPENCV_HAL_IMPL_C_REINTERPRET(_Tpvec, _Tp, suffix)
Helper macro.
Definition: intrin_cpp.hpp:2174
Clouds.
Definition: widgets.hpp:681
std::vector< float > m_wWrong
Definition: onlineBoosting.hpp:146
cv::Scalar color
The line color.
Definition: render.hpp:359
MatExpr mul(const Mat &m, double scale=1) const
virtual void setDecisionThreshold(double thresh)=0
Sets the value of decision threshold.
virtual void setLambda(double val)=0
Definition: features2d.hpp:837
optional_lock_guard(Mutex *m)
Definition: lock.private.hpp:80
Definition: or_pascal.hpp:69
This class is used to perform the non-linear non-constrained minimization of a function with known gr...
Definition: optim.hpp:237
int compressed_size
feature size after compression
Definition: tracker.hpp:1255
Wrapping class for feature detection using the FAST method.
Definition: cudafeatures2d.hpp:427
virtual String getDefaultName() const CV_OVERRIDE
int curPos_
Definition: stabilizer.hpp:127
int width
Definition: linemod.hpp:43
Base class for all pairwise seam estimators.
Definition: seam_finders.hpp:85
@ COLOR_BGR2Lab
convert RGB/BGR to CIE Lab, color conversions
Definition: imgproc.hpp:588
v_int32x4 v_setall_s32(int val)
Definition: intrin_cpp.hpp:2165
UMat(const MatCommaInitializer_< _Tp > &commaInitializer)
builds matrix from comma initializer
_OutputArray(_Tp *vec, int n)
@ NCV_ALLOCATOR_NOT_INITIALIZED
Definition: NCV.hpp:332
v_reg< int, n > v_round(const v_reg< _Tp, n > &a)
Round elements.
Definition: intrin_cpp.hpp:527
@ GEMM_2_T
transposes src2
Definition: base.hpp:221
@ PATH
Definition: widgets.hpp:607
void vconcat(const Mat *src, size_t nsrc, OutputArray dst)
Applies vertical concatenation to given matrices.
virtual void setMaxBoxes(int value)=0
Sets max number of boxes to detect.
virtual int getMinRegionSizeI()=0
void copyMakeBorder(InputArray src, OutputArray dst, int top, int bottom, int left, int right, int borderType, Scalar value=Scalar(), Stream &stream=Stream::Null())
Forms a border around an image.
void write(const String &name, const std::vector< String > &val)
This is an overloaded member function, provided for convenience. It differs from the above function o...
virtual void suppress(int idx, const Mat &frame, Mat &result)=0
@ CAP_PROP_XI_LENS_APERTURE_VALUE
Current lens aperture value in stops. Examples: 2.8, 4, 5.6, 8, 11.
Definition: videoio.hpp:429
static MatExpr ones(int rows, int cols)
int pciDomainID() const
PCI domain ID of the device.
virtual void setUniquenessRatio(int uniquenessRatio)=0
Class encapsulating training samples.
Definition: sparse_matching_gpc.hpp:99
int corrWinSizeX
Definition: quasi_dense_stereo.hpp:40
double dot(const Vec< double, nFeatures > &coef) const
int RCType
NVVE_RC_TYPE,.
Definition: cudacodec.hpp:90
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.
@ COLOR_YUV2GRAY_IYUV
Definition: imgproc.hpp:668
virtual void collectGarbage()=0
int hal_ni_sub32s(const int *src1_data, size_t src1_step, const int *src2_data, size_t src2_step, int *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:88
GMat threshold(const GMat &src, const GScalar &thresh, const GScalar &maxval, int type)
Applies a fixed-level threshold to each matrix element.
void not8u(const uchar *src1, size_t step1, const uchar *src2, size_t step2, uchar *dst, size_t step, int width, int height, void *)
PyrLkOptFlowEstimatorBase()
Definition: optical_flow.hpp:82
__host__ Expr< SumExprBody< SrcPtr > > sum_(const SrcPtr &src)
Definition: reduction.hpp:77
@ SOLVEPNP_DLS
A Direct Least-Squares (DLS) Method for PnP .
Definition: calib3d.hpp:238
The class implements the random forest predictor.
Definition: ml.hpp:1248
void getEdgeList(std::vector< Vec4f > &edgeList) const
Returns a list of all edges.
void operator()(InputArray points3d, InputArray normals, OutputArray mask, OutputArray plane_coefficients)
@ CAP_PROP_XI_CC_MATRIX_23
Color Correction Matrix element [2][3].
Definition: videoio.hpp:416
int DP
Dimensionality of the state vector.
Definition: kalman_filters.hpp:127
bool difficult
Definition: or_pascal.hpp:72
virtual void copyTo(HOGDescriptor &c) const
clones the HOGDescriptor
void rshift(InputArray src, Scalar_< int > val, OutputArray dst, Stream &stream=Stream::Null())
Performs pixel by pixel right shift of an image by a constant value.
float sensitivity() const
Definition: deblurring.hpp:102
@ EVENT_MOUSEMOVE
indicates that the mouse pointer has moved over the window.
Definition: highgui.hpp:206
virtual void setInitialMask(InputArray mask)=0
void setAutoRelease(bool flag)
Sets auto release mode all inner buffers.
void seek(const int *_idx, bool relative=false)
static Ptr< cuda::FastFeatureDetector > create(int threshold=10, bool nonmaxSuppression=true, int type=cv::FastFeatureDetector::TYPE_9_16, int max_npoints=5000)
void mulSpectrums(InputArray src1, InputArray src2, OutputArray dst, int flags, bool conjB=false, Stream &stream=Stream::Null())
Performs a per-element multiplication of two Fourier spectrums.
_Tp get0() const
Access first value.
Definition: intrin_cpp.hpp:333
Mat H
Estimated transformation.
Definition: matchers.hpp:110
int getBasisSize() const
Definition: pcaflow.hpp:87
static const cv::gapi::fluid::View & get(const cv::GArgs &in_args, int idx)
Definition: gfluidkernel.hpp:173
void buildOptionsAddMatrixDescription(String &buildOptions, const String &name, InputArray _m)
void setThreshold(double val)
Definition: depth.hpp:416
int hal_ni_add16s(const short *src1_data, size_t src1_step, const short *src2_data, size_t src2_step, short *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:79
virtual int getPreFilterSize() const =0
imageType
Definition: slam_tumindoor.hpp:61
Mat pose
Definition: multicalib.hpp:100
Matx44d pose
Definition: pose_3d.hpp:127
void setBackgroundTexture(InputArray image=noArray())
__device__ __forceinline__ uint vcmpeq2(uint a, uint b)
Definition: simd_functions.hpp:261
double f
Definition: cvdef.h:359
@ StsBadMask
bad format of mask (neither 8uC1 nor 8sC1)
Definition: base.hpp:108
static void runByPixelsMask(std::vector< KeyPoint > &keypoints, const Mat &mask)
__host__ NCVStatus setStartClassifierRootNodeOffset(Ncv32u val)
Definition: NCVHaarObjectDetection.hpp:282
float min_det_conf
Min confidence of detection.
Definition: tracking_by_matching.hpp:281
Range newShapeRange
Definition: all_layers.hpp:300
virtual cv::Ptr< Map > calculate(InputArray img1, InputArray img2, cv::Ptr< Map > init=cv::Ptr< Map >()) const =0
__device__ __forceinline__ Predicate::result_type operator()(typename TypeTraits< typename Predicate::first_argument_type >::parameter_type x, typename TypeTraits< typename Predicate::second_argument_type >::parameter_type y) const
Definition: functional.hpp:814
Abstract base class for all strategies of prediction result handling.
Definition: predict_collector.hpp:62
@ COLOR_BayerRG2BGR_VNG
Definition: imgproc.hpp:757
float estimateOptimalTrimRatio(const Mat &M, Size size)
void interpolateFrames(const GpuMat &frame0, const GpuMat &frame1, const GpuMat &fu, const GpuMat &fv, const GpuMat &bu, const GpuMat &bv, float pos, GpuMat &newFrame, GpuMat &buf, Stream &stream=Stream::Null())
Interpolates frames (images) using provided optical flow (displacement field).
bool deviceCopyObsolete() const
MatcherType
Definition: features2d.hpp:864
Definition: functional.hpp:811
Mat samplePCUniform(Mat PC, int sampleStep)
void mul8u(const uchar *src1, size_t step1, const uchar *src2, size_t step2, uchar *dst, size_t step, int width, int height, void *scale)
int rows
Definition: interpolation.hpp:215
int size() const
Definition: flann.hpp:292
int numFrames
Definition: gr_chalearn.hpp:78
bool run(int dims, size_t globalsize[], size_t localsize[], bool sync, const Queue &q=Queue())
Run the OpenCL kernel.
int number_of_scales
Definition: tracker.hpp:1522
Parameters of SinusoidalPattern constructor.
Definition: sinusoidalpattern.hpp:83
Ptr< Impl > p
Definition: persistence.hpp:456
void dctDenoising(const Mat &src, Mat &dst, const double sigma, const int psize=16)
The function implements simple dct-based denoising.
int getRows() const
Definition: depth.hpp:124
Class implementing the SEEDS (Superpixels Extracted via Energy-Driven Sampling) superpixels algorithm...
Definition: seeds.hpp:67
void groupRectangles_meanshift(std::vector< Rect > &rectList, std::vector< double > &foundWeights, std::vector< double > &foundScales, double detectThreshold=0.0, Size winDetSize=Size(64, 128))
virtual void getInverseReliabilityMap(OutputArray reliabilityMap)=0
Get the reliability map computed from the wrapped phase map.
KeypointsModel(const Net &network)
Create model from deep learning network.
__host__ SingleMaskChannelsSz< typename PtrTraits< MaskPtr >::ptr_type > singleMaskChannels(const MaskPtr &mask, int channels)
Definition: mask.hpp:90
cv::gapi::own::Scalar & m_org_s
Definition: goclkernel.hpp:148
bool useOpenCL
Whether to use OpenCL to speed up the matching.
Definition: sparse_matching_gpc.hpp:145
void copyTo(Mat &dst) const
Copies the matrix to another one.
Definition: mat.hpp:265
void stereoRectify(InputArray cameraMatrix1, InputArray distCoeffs1, InputArray cameraMatrix2, InputArray distCoeffs2, Size imageSize, InputArray R, InputArray T, OutputArray R1, OutputArray R2, OutputArray P1, OutputArray P2, OutputArray Q, int flags=CALIB_ZERO_DISPARITY, double alpha=-1, Size newImageSize=Size(), Rect *validPixROI1=0, Rect *validPixROI2=0)
Computes rectification transforms for each head of a calibrated stereo camera.
static void read(const FileNode &node, Point3_< _Tp > &value, const Point3_< _Tp > &default_value)
Definition: persistence.hpp:729
bool operator!=(const variant< Us... > &lhs, const variant< Us... > &rhs)
Definition: variant.hpp:371
MCTKernel()
Definition: descriptor.hpp:105
Mat errorCovInit
State estimate cross-covariance matrix, DP x DP, default is identity.
Definition: kalman_filters.hpp:133
std::tuple< GMat, GMat, GMat > GMat3
Definition: core.hpp:32
void detectResultRoi(Size src_size, Point &dst_tl, Point &dst_br) CV_OVERRIDE
Definition: warpers.hpp:322
GpuMat(const GpuMat &m, Range rowRange, Range colRange)
creates a GpuMat header for a part of the bigger matrix
float ganglionCellsSensitivity
Definition: retina.hpp:162
PicType
Definition: cudacodec.hpp:134
#define G_TYPED_KERNEL(Class, API, Id)
Definition: gkernel.hpp:252
@ CAP_OPENNI_ASUS
OpenNI (for Asus Xtion)
Definition: videoio.hpp:104
@ CALIB_FIX_GAMMA
Definition: omnidir.hpp:63
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 outpu...
Affine3d makeTransformToGlobal(const Vec3d &axis_x, const Vec3d &axis_y, const Vec3d &axis_z, const Vec3d &origin=Vec3d::all(0))
Takes coordinate frame data and builds transform to global coordinate frame.
float classifySmooth(const std::vector< Mat > &images, const Rect &sampleROI, int &idx)
T value_type
Definition: texture.hpp:187
GMatDesc()
Definition: gmat.hpp:97
virtual int getPCAIterations() const =0
String getBackendName() const
Returns used backend API name.
@ CAP_PROP_BACKLIGHT
Definition: videoio.hpp:164
void apply(cv::Mat in1, cv::Mat in2, cv::Mat &out, GCompileArgs &&args={})
Execute a binary computation (with compilation on the fly)
uint32_t UINT32
Definition: descriptor.hpp:64
double angle
Definition: pose_3d.hpp:128
_Tp value_type
Definition: types.hpp:242
@ IMPL_PLAIN
Definition: instrumentation.hpp:55
@ CAP_PROP_XI_IMAGE_IS_COLOR
Returns 1 for color cameras.
Definition: videoio.hpp:400
void knnMatch(const Mat &queryDescriptors, const Mat &trainDescriptors, std::vector< std::vector< DMatch > > &matches, int k, const Mat &mask=Mat(), bool compactResult=false) const
For every input query descriptor, retrieve the best k matching ones from a dataset provided from user...
@ DIFF_PM_G2
Definition: features2d.hpp:675
v_reg< int, n > v_ceil(const v_reg< _Tp, n > &a)
Ceil elements.
Definition: intrin_cpp.hpp:537
virtual void setLearningRate(double val)=0
float epsilon
Definition: all_layers.hpp:528
Matx< _Tp, n, m > inv(int method=DECOMP_LU, bool *p_is_ok=NULL) const
invert the matrix
void setMaxRotation(double val)
Definition: depth.hpp:992
@ CAP_PROP_FPS
Frame rate.
Definition: videoio.hpp:137
void readClasses(const std::vector< String > &class_ids, const String &format="templates_%s.yml.gz")
static Ptr< BRISK > create(int thresh=30, int octaves=3, float patternScale=1.0f)
The BRISK constructor.
SparseMat(int dims, const int *_sizes, int _type)
TextDetectorCNN class provides the functionallity of text bounding box detection. This class is repre...
Definition: textDetector.hpp:42
Definition: type_traits.hpp:60
int activeDatasetID
Definition: track_alov.hpp:98
Definition: resize.hpp:61
__host__ __device__ Ncv32f getStageThreshold(void)
Definition: NCVHaarObjectDetection.hpp:302
BlocksChannelsCompensator(int bl_width=32, int bl_height=32, int nr_feeds=1)
Definition: exposure_compensate.hpp:219
Definition: gfluidkernel.hpp:293
@ CAP_OPENNI_DEPTH_MAP
Depth values in mm (CV_16UC1)
Definition: videoio.hpp:256
const T & inArg(int input)
Definition: gcompoundkernel.hpp:34
__device__ __forceinline__ NormHamming()
Definition: vec_distance.hpp:162
PtrTraits< SrcPtr >::value_type value_type
Definition: interpolation.hpp:236
virtual Rect getROI2() const =0
virtual float get(int r1, int r2)=0
Return the score between two regions (between 0 and 1)
void setCols(int val)
Definition: depth.hpp:136
@ COLOR_YUV2GRAY_NV21
Definition: imgproc.hpp:665
virtual void write(FileStorage &fs) const CV_OVERRIDE=0
TLSDataAccumulator()
Definition: tls.hpp:93
@ is_signed_int
Definition: type_traits.hpp:143
void getLayerShapes(const std::vector< MatShape > &netInputShapes, const int layerId, std::vector< MatShape > &inLayerShapes, std::vector< MatShape > &outLayerShapes) const
Definition: ir_robot.hpp:77
int dataType
Type of elements of vectors and matrices, default is CV_64F.
Definition: kalman_filters.hpp:130
__host__ __device__ __forceinline__ ZipPtr(const tuple< Ptr0, Ptr1 > &t)
Definition: zip.hpp:67
_Tp im
Definition: types.hpp:87
WCone(double radius, const Point3d ¢er, const Point3d &tip, int resolution=6.0, const Color &color=Color::white())
Constructs repositioned planar cone.
static _OutputArray rawOut(_Tp &v)
v_float32x4 v_matmuladd(const v_float32x4 &v, const v_float32x4 &m0, const v_float32x4 &m1, const v_float32x4 &m2, const v_float32x4 &m3)
Matrix multiplication and add.
Definition: intrin_cpp.hpp:2516
v_reg< _Tp, n > operator>(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Greater-than comparison.
Definition: intrin_cpp.hpp:678
detail::VectorRef & outVecRef(int output)
virtual void findInPair(size_t first, size_t second, Rect roi)=0
Resolves masks intersection of two specified images in the given ROI.
This structure represents an image to draw.
Definition: render.hpp:312
@ CPU_AVX512_KNM
Knights Mill with AVX-512F/CD/ER/PF/4FMAPS/4VNNIW/VPOPCNTDQ.
Definition: cvdef.h:313
bool isCompatible() const
Checks the CUDA module and device compatibility.
static Camera KinectCamera(const Size &window_size)
Creates a Kinect Camera with.
void sort(InputArray src, OutputArray dst, int flags)
Sorts each row or each column of a matrix.
@ HeaderIsNull
image header is NULL
Definition: base.hpp:78
double logStep
Logarithmic step for iterating the statmodel parameter.
Definition: ml.hpp:125
int tsdf_max_weight
max number of frames per voxel
Definition: dynafu.hpp:81
MouseEvent(const Type &type, const MouseButton &button, const Point &pointer, int modifiers)
Constructs a MouseEvent.
Definition: functional.hpp:888
@ WARP_SHUFFLE_FUNCTIONS
Definition: cuda.hpp:783
@ BadNumChannels
bad number of channels, for example, some functions accept only single channel matrices.
Definition: base.hpp:84
@ CAP_CMU1394
Same value as CAP_FIREWIRE.
Definition: videoio.hpp:98
Definition: linemod.hpp:42
virtual bool getUpdateBackgroundModel() const =0
void stylization(InputArray src, OutputArray dst, float sigma_s=60, float sigma_r=0.45f)
Stylization aims to produce digital imagery with a wide variety of effects not focused on photorealis...
virtual void setVarMin(double varMin)=0
SampleTypes
Sample types.
Definition: ml.hpp:97
Definition: functional.hpp:226
Mat vt
Definition: core.hpp:2753
virtual void setPlotAxisColor(Scalar _plotAxisColor)=0
int hal_ni_cmp8s(const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height, int operation)
Definition: hal_replacement.hpp:210
@ ERFILTER_NM_RGBLGrad
Definition: erfilter.hpp:244
Ncv32u _width
Definition: NCV.hpp:833
GMat dilate3x3(const GMat &src, int iterations=1, int borderType=BORDER_CONSTANT, const Scalar &borderValue=morphologyDefaultBorderValue())
Dilates an image by using 3 by 3 rectangular structuring element.
GCompiledT()
Definition: gtyped.hpp:100
void sub16s(const short *src1, size_t step1, const short *src2, size_t step2, short *dst, size_t step, int width, int height, void *)
std::shared_ptr< IDescriptorDistance > Distance
Definition: tracking_by_matching.hpp:413
Matx< _Tp, m, n > * dst
Definition: matx.hpp:288
v_reg< _Tp, V_TypeTraits< _Tp >::nlanes128 > v_load_low(const _Tp *ptr)
Load 64-bits of data to lower part (high part is undefined).
Definition: intrin_cpp.hpp:1405
float scaleFactor
Definition: detection_based_tracker.hpp:118
virtual void matmul(const MatExpr &expr1, const MatExpr &expr2, MatExpr &res) const
@ index
Definition: gr_skig.hpp:77
void setMatGains(std::vector< Mat > &umv) CV_OVERRIDE
_Tp v_reduce_max(const v_reg< _Tp, n > &a)
Find one max value.
Definition: intrin_cpp.hpp:606
virtual void getSegmentationPicture(OutputArray transientAreas)=0
access function return the last segmentation result: a boolean picture which is resampled between 0 a...
static Ptr< cuda::SparsePyrLKOpticalFlow > create(Size winSize=Size(21, 21), int maxLevel=3, int iters=30, bool useInitialFlow=false)
void groupRectangles(std::vector< cv::Rect > &rectList, std::vector< double > &weights, int groupThreshold, double eps) const
Groups the object candidate rectangles.
static cv::Mat get(GCPUContext &ctx, int idx)
Definition: gcpukernel.hpp:134
static _InputArray rawIn(_Tp &v)
NcvTimer ncvStartTimer(void)
Base class for Corners Detector. :
Definition: cudaimgproc.hpp:563
Mat tcoords
CV_32FC2 or CV_64FC2 with only 1 row.
Definition: types.hpp:138
Mat statePost
corrected state (x(k)): x(k)=x'(k)+K(k)*(z(k)-H*x'(k))
Definition: tracking.hpp:394
virtual void detectImpl(const Mat &imageSrc, std::vector< KeyLine > &keylines, const Mat &mask=Mat()) const
virtual void getCameraPose(OutputArray R=noArray(), OutputArray tvec=noArray(), bool invert=false)=0
Definition: gcpukernel.hpp:234
void operator()(InputArray points, OutputArray normals) const
NCVMemoryType memType() const
Definition: NCV.hpp:615
void fastNlMeansDenoising(InputArray src, OutputArray dst, float h, int search_window=21, int block_size=7, Stream &stream=Stream::Null())
Perform image denoising using Non-local Means Denoising algorithm http://www.ipol....
Ncv32u alignUp(Ncv32u what, Ncv32u alignment)
@ P
Definition: ml.hpp:672
virtual int getOctaves() const
Definition: features2d.hpp:303
NCVStatus nppiStDecimate_64u_C1R_host(Ncv64u *h_src, Ncv32u srcStep, Ncv64u *h_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale)
virtual Mat getTestSampleWeights() const =0
Definition: gfluidbuffer.hpp:46
virtual void setFlowSmoothness(double alpha)=0
__host__ Ncv32f getLeafValueHost(void)
Definition: NCVHaarObjectDetection.hpp:194
bool operator<(const Candidate &rhs) const
Sort candidates with high score to the front.
Definition: linemod.hpp:90
const uchar * dataend
Definition: mat.hpp:2092
virtual void setSuperpixelSize(int spSize=15)=0
Get the internal cost, i.e. edge map, used for estimating the edge-aware term.
void final_probability_dist(std::vector< std::vector< double > > *final_probs)
Computes final probability values of each bounding box.
virtual double getThreshold() const =0
Context & initializeContextFromD3D10Device(ID3D10Device *pD3D10Device)
Creates OpenCL context from D3D10 device.
int getDepth() const
Definition: depth.hpp:148
__host__ __device__ static __forceinline__ char2 make(const schar *v)
Definition: vec_traits.hpp:164
WCameraPosition(const Matx33d &K, double scale=1.0, const Color &color=Color::white())
Display the viewing frustum.
std::pair< cv::Mat, TraitAs > ConstInput
Definition: ie.hpp:54
virtual void setMinAngle(double minAngle)=0
Minimal rotation angle to detect in degrees.
#define CV_BIG_UINT(n)
Definition: interface.h:64
@ CC_STAT_LEFT
Definition: imgproc.hpp:390
Definition: functional.hpp:78
virtual void setNumFrames(int nframes)=0
Sets the number of frames used to initialize background model.
Status stitch(InputArrayOfArrays images, InputArrayOfArrays masks, OutputArray pano)
These functions try to stitch the given images.
@ IMWRITE_PXM_BINARY
For PPM, PGM, or PBM, it can be a binary format flag, 0 or 1. Default value is 1.
Definition: imgcodecs.hpp:91
@ CASCADE_SCALE_IMAGE
Definition: objdetect.hpp:169
int rows_
Definition: depth.hpp:177
virtual void setVarThreshold(double varThreshold)=0
Sets the variance threshold for the pixel-model match.
static float overlap(const KeyPoint &kp1, const KeyPoint &kp2)
This struct stores the scalar value (or array) of one of the following type: double,...
Definition: dict.hpp:61
@ HOUGH_GRADIENT
basically 21HT, described in
Definition: imgproc.hpp:476
bool isRLMorphologyPossible(InputArray rlStructuringElement)
Check whether a custom made structuring element can be used with run length morphological operations....
Mat colRange(int startcol, int endcol) const
Creates a matrix header for the specified column span.
This 3D Widget defines a grid. :
Definition: widgets.hpp:526
bool empty() const CV_OVERRIDE
Implements Algorithm::empty()
Definition: qualityssim.hpp:30
int hal_ni_cmp8u(const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height, int operation)
Definition: hal_replacement.hpp:209
const std::vector< Mat > * motions2_
Definition: wobble_suppression.hpp:91
bool doCorrectionForInclusion_
Definition: stabilizer.hpp:122
std::vector< std::vector< Point > > textureIdx
index for warping of each delaunay triangle region constructed by 3 facemarks
Definition: facemarkAAM.hpp:128
v_reg< _Tp, n > operator^(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Bitwise XOR.
Definition: intrin_cpp.hpp:480
virtual int getP2() const =0
void createSameSize(const _InputArray &arr, int mtype) const
void setBufferPoolUsage(bool on)
BufferPool management (must be called before Stream creation)
void initialize_normals_impl(int rows, int cols, int depth, const Mat &K, int window_size, int method) const
Definition: garray.hpp:112
int dx
Definition: fr_adience.hpp:76
Definition: timelapsers.hpp:58
tuple< typename PtrTraits< Ptr0 >::value_type, typename PtrTraits< Ptr1 >::value_type > value_type
Definition: zip.hpp:63
bool getNonmaxSuppression() const
Definition: agast.txt:7527
v_reg< _Tp, n > v_invsqrt(const v_reg< _Tp, n > &a)
Inversed square root.
Definition: intrin_cpp.hpp:818
void blockMeanHash(cv::InputArray inputArr, cv::OutputArray outputArr, int mode=BLOCK_MEAN_HASH_MODE_0)
Computes block mean hash of the input image.
@ COLOR_YUV420sp2RGBA
Definition: imgproc.hpp:643
Ptr< FarnebackOpticalFlow > createOptFlow_Farneback_CUDA()
#define CV_32S
Definition: interface.h:77
virtual int getNumBands() const =0
This class is used to perform the non-linear non-constrained minimization of a function,...
Definition: optim.hpp:156
void filter(InputArray image, InputArray kernel, OutputArray output)
Image filtering.
n-dimensional dense array class
Definition: mat.hpp:792
virtual void warpBackward(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, Size dst_size, OutputArray dst)=0
Projects the image backward.
void Laplacian(InputArray src, OutputArray dst, int ddepth, int ksize=1, double scale=1, double delta=0, int borderType=BORDER_DEFAULT)
Calculates the Laplacian of an image.
Definition: warpers.hpp:450
virtual Mat nextFrame() CV_OVERRIDE
Definition: frame_source.hpp:69
virtual void setDescriptorFast(const Descriptor &val)=0
Fast descriptor setter.
int plusDelta
Definition: imgproc.hpp:4738
int hashtableWrite(const hashtable_int *hashtbl, const size_t dataSize, FILE *f)
int countNonZero(InputArray src)
Counts non-zero matrix elements.
Point_< double > Point2d
Definition: types.hpp:193
void _mm_interleave_epi8(__m128i &v_r0, __m128i &v_r1, __m128i &v_g0, __m128i &v_g1)
Definition: sse_utils.hpp:172
virtual int getkNNSamples() const =0
Returns the number of neighbours, the k in the kNN.
int hal_ni_cmp16u(const ushort *src1_data, size_t src1_step, const ushort *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height, int operation)
Definition: hal_replacement.hpp:211
__host__ Expr< DerivXPtrSz< typename PtrTraits< SrcPtr >::ptr_type > > derivX_(const SrcPtr &src)
Definition: deriv.hpp:63
virtual bool estimate(const std::vector< ImageFeatures > &features, const std::vector< MatchesInfo > &pairwise_matches, std::vector< CameraParams > &cameras)=0
This method must implement camera parameters estimation logic in order to make the wrapper detail::Es...
@ DIST_MASK_PRECISE
Definition: imgproc.hpp:311
int id
Definition: track_alov.hpp:63
Base class for Super Resolution algorithms.
Definition: superres.hpp:88
virtual void load(const std::string &path) CV_OVERRIDE=0
int getLayersCount(const String &layerType) const
Returns count of layers of specified type.
virtual ~QuasiDenseStereo()=0
destructor Method to free all the memory allocated by matrices and vectors in this class.
virtual void getEntityProperty(const String &name, int prop, OutputArray value)=0
virtual int getCVFolds() const =0
int gftMaxNumFeatures
Definition: quasi_dense_stereo.hpp:62
virtual void run(Mat &image, std::string &output_text, std::vector< Rect > *component_rects=NULL, std::vector< std::string > *component_texts=NULL, std::vector< float > *component_confidences=NULL, int component_level=0) CV_OVERRIDE
Recognize text using HMM.
Ptr< ERFilter > createERFilterNM1(const Ptr< ERFilter::Callback > &cb, int thresholdDelta=1, float minArea=(float) 0.00025, float maxArea=(float) 0.13, float minProbability=(float) 0.4, bool nonMaxSuppression=true, float minProbabilityDiff=(float) 0.1)
Create an Extremal Region Filter for the 1st stage classifier of N&M algorithm .
virtual void setAngleEpsilon(double angleEpsilon)=0
Maximal difference between angles that treated as equal.
#define CV_CUDEV_XYZ2RGB_INST(name, scn, dcn, bidx)
Definition: color_cvt.hpp:191
Types
Implementations of KNearest algorithm.
Definition: ml.hpp:498
@ MONOCHROME_TRANSFER
Definition: photo.hpp:721
void create(Size asize, int atype, Target target=ARRAY_BUFFER, bool autoRelease=false)
T work_type
Definition: reduce_to_vec.hpp:87
Ptr< Filter > createBoxFilter(int srcType, int dstType, Size ksize, Point anchor=Point(-1, -1), int borderMode=BORDER_DEFAULT, Scalar borderVal=Scalar::all(0))
Creates a normalized 2D box filter.
UMat(const Point_< _Tp > &pt, bool copyData=true)
builds matrix from a 2D point
WCloud(InputArray cloud, InputArray colors, InputArray normals)
Constructs a WCloud.
int trackMaxPosNum
Definition: tracker.hpp:790
void pyrUp(InputArray src, OutputArray dst, Stream &stream=Stream::Null())
Upsamples an image and then smoothes it.
void feed(const std::vector< Point > &corners, const std::vector< UMat > &images, const std::vector< std::pair< UMat, uchar > > &masks)
void textureFlattening(InputArray src, InputArray mask, OutputArray dst, float low_threshold=30, float high_threshold=45, int kernel_size=3)
By retaining only the gradients at edge locations, before integrating with the Poisson solver,...
virtual bool load(const String &filename, const String &objname=String())
loads HOGDescriptor parameters and coefficients for the linear SVM classifier from a file.
KinectFusion implementation.
Definition: kinfu.hpp:137
Ptr< WarperCreator > warper()
Definition: stitching.hpp:234
@ IMREAD_UNCHANGED
If set, return the loaded image as is (with alpha channel, otherwise it gets cropped).
Definition: imgcodecs.hpp:65
GMat mul(const GMat &src1, const GMat &src2, double scale=1.0, int ddepth=-1)
Calculates the per-element scaled product of two matrices.
Definition: motion_stabilizing.hpp:71
virtual double getMinEigThreshold() const =0
double computeECC(InputArray templateImage, InputArray inputImage, InputArray inputMask=noArray())
Computes the Enhanced Correlation Coefficient value between two images .
detail::VectorRef & outVecRef(int output)
PtrTraits< SrcPtr >::value_type value_type
Definition: remap.hpp:77
util::any value
Definition: garg.hpp:83
softfloat cbrt(const softfloat &a)
Cube root.
double ppy
Definition: camera.hpp:68
int hal_ni_exp64f(const double *src, double *dst, int len)
Definition: hal_replacement.hpp:474
struct returned by cv::moments
Definition: types.hpp:927
static Ptr< Layer > create(const LayerParams ¶ms)
static void read(const FileNode &node, Rect_< _Tp > &value, const Rect_< _Tp > &default_value)
Definition: persistence.hpp:748
float getConfidenceOfBestDetection()
Definition: onlineBoosting.hpp:213
@ NPPST_MEM_INTERNAL_ERROR
Internal memory management error.
Definition: NCV.hpp:370
DistanceTransformLabelTypes
distanceTransform algorithm flags
Definition: imgproc.hpp:364
static Ptr< DualTVL1OpticalFlow > create(double tau=0.25, double lambda=0.15, double theta=0.3, int nscales=5, int warps=5, double epsilon=0.01, int innnerIterations=30, int outerIterations=10, double scaleStep=0.8, double gamma=0.0, int medianFiltering=5, bool useInitialFlow=false)
Creates instance of cv::DualTVL1OpticalFlow.
Definition: goclkernel.hpp:55
Ptr< Filter > createGaussianFilter(int srcType, int dstType, Size ksize, double sigma1, double sigma2=0, int rowBorderMode=BORDER_DEFAULT, int columnBorderMode=-1)
Creates a Gaussian filter.
Definition: garray.hpp:66
size_t elemSize
Definition: mat.hpp:3066
__device__ static __forceinline__ ushort min()
Definition: limits.hpp:90
void getPatternPoints(std::vector< KeyPoint > &original_points)
Definition: warpers.hpp:379
virtual int getAnnealItePerStep() const =0
@ CAP_PROP_XI_TRG_SOURCE
Defines source of trigger.
Definition: videoio.hpp:338
_OutputArray(std::vector< Mat_< _Tp > > &vec)
__host__ int channels() const
@ HOG
Definition: feature.hpp:144
void write(FileStorage &fs, const String &name, const SparseMat &value)
MatxCommaInitializer< _Tp, m, n > & operator,(T2 val)
float response
Definition: interface.h:25
Accumulator< T >::Type ResultType
Definition: features2d.hpp:808
@ BadImageSize
image size is invalid
Definition: base.hpp:79
GArg(T &&t)
Definition: garg.hpp:54
bool imageFromBufferSupport() const
virtual double getError() const =0
@ SHARED_ATOMICS
Definition: cuda.hpp:781
@ CPU_SSSE3
Definition: cvdef.h:277
uint32x2_t cv_vrnd_u32_f32(float32x2_t v)
Definition: neon_utils.hpp:70
@ FHT_MAX
Definition: fast_hough_transform.hpp:92
void trainClassifier(const Mat &image, int target, float importance, std::vector< bool > &errorMask)
int N2cc
Used to allow the first N1cc vectors to adapt over time to changing background.
Definition: cudalegacy.hpp:163
_OutputArray(const Matx< _Tp, m, n > &matx)
virtual Mat correct(InputArray measurement)=0
virtual int getDescriptorSize() const =0
static _AccTp normL2Sqr(const _Tp *a, int n)
Definition: base.hpp:404
cv::Size maxObjSize
Definition: detection_based_tracker.hpp:116
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.
virtual void setNOctaves(int octaves)=0
WCloud(InputArray cloud, InputArray colors)
Constructs a WCloud.
@ CAP_PROP_XI_COUNTER_SELECTOR
Select counter.
Definition: videoio.hpp:445
int smallWinSize
Definition: rlofflow.hpp:104
Definition: NCVHaarObjectDetection.hpp:269
Mat getMotion(int from, int to, const std::vector< Mat > &motions)
Computes motion between two frames assuming that all the intermediate motions are known.
Ptr< AffineTransformer > createAffineTransformer(bool fullAffine)
const std::vector< T > & rref() const
Definition: garray.hpp:250
void marrHildrethHash(cv::InputArray inputArr, cv::OutputArray outputArr, float alpha=2.0f, float scale=1.0f)
Computes average hash value of the input image.
virtual void setNumLevels(int numLevels)=0
virtual int getMaxLineGap() const =0
void write(const String &name, const String &val)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: inpainting.hpp:109
WCylinder(const Point3d &axis_point1, const Point3d &axis_point2, double radius, int numsides=30, const Color &color=Color::white())
Constructs a WCylinder.
__device__ __forceinline__ D operator()(typename TypeTraits< T >::parameter_type v) const
Definition: functional.hpp:665
float getGlobalMotionRansacThreshold() const
Mat temp2
Definition: tracking.hpp:406
#define CV_CUDEV_UNARY_FUNCTION_INST(name, func)
Definition: functional.hpp:456
virtual double getAlpha() const =0
Flow smoothness.
bool detectInvertedMarker
Definition: aruco.hpp:190
static void write(FileStorage &fs, const String &name, const Complex< _Tp > &c)
Definition: persistence.hpp:1003
static Ptr< Modality > create(const String &modality_type)
Create modality by name.
@ COLORMAP_SUMMER
Definition: imgproc.hpp:4225
volatile uint64 m_ticksTotal
Definition: instrumentation.hpp:87
void max8s(const schar *src1, size_t step1, const schar *src2, size_t step2, schar *dst, size_t step, int width, int height, void *)
virtual void setMaxLines(int maxLines)=0
T value_type
Definition: gpumat.hpp:63
int num_hog_channels_used
Definition: tracker.hpp:1517
PtrTraits< Body >::ptr_type ptr_type
Definition: expr.hpp:73
static Ptr< BroxOpticalFlow > create(double alpha=0.197, double gamma=50.0, double scale_factor=0.8, int inner_iterations=5, int outer_iterations=150, int solver_iterations=10)
void setWaveCorrection(bool flag)
Definition: stitching.hpp:199
@ OpenCLApiCallError
OpenCL API call error.
Definition: base.hpp:120
virtual Mat stabilize(int idx, const std::vector< Mat > &motions, std::pair< int, int > range) CV_OVERRIDE
__device__ __forceinline__ void reduceWarp(result_type *smem, uint tid)
Definition: vec_distance.hpp:104
@ CMP_LE
src1 is less than or equal to src2.
Definition: base.hpp:215
Class containing the methods needed for Quasi Dense Stereo computation.
Definition: quasi_dense_stereo.hpp:94
__host__ Expr< UnaryTransformPtrSz< typename PtrTraits< SrcPtr >::ptr_type, ThreshTruncFunc< typename PtrTraits< SrcPtr >::value_type > > > threshTrunc_(const SrcPtr &src, typename PtrTraits< SrcPtr >::value_type thresh)
Definition: per_element_func.hpp:96
virtual float getEta() const =0
Returns adaptation rate for nms threshold.
Ptr< DisparityWLSFilter > createDisparityWLSFilterGeneric(bool use_confidence)
More generic factory method, create instance of DisparityWLSFilter and execute basic initialization r...
int getEdge(int edge, int nextEdgeType) const
Returns one of the edges related to the given edge.
int NaluFramingType
NVVE_CONFIGURE_NALU_FRAMING_TYPE.
Definition: cudacodec.hpp:104
Ptr< IVideoCapture > icap
Definition: videoio.hpp:822
virtual void setNeedPlotLine(bool _needPlotLine)=0
Switches data visualization mode.
@ CAP_OPENNI_QVGA_30HZ
Definition: videoio.hpp:272
v_reg< _Tp, n > v_extract(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Vector extract.
Definition: intrin_cpp.hpp:1780
virtual Ptr< Function > getFunction() const =0
Getter for the optimized function.
Vec mul(const Vec< _Tp, cn > &v) const
per-element multiplication
@ CAP_INTELPERC_UVDEPTH_MAP
Each pixel contains two 32-bit floating point values in the range of 0-1, representing the mapping of...
Definition: videoio.hpp:537
float V0CompressionParameter
Definition: retina.hpp:176
int valueOffset
Definition: mat.hpp:2680
virtual bool set(int propId, double value)
Sets a property in the VideoWriter.
static MatAllocator * getStdAllocator()
and the standard allocator
static Ptr< NvidiaOpticalFlow_1_0 > create(int width, int height, cv::cuda::NvidiaOpticalFlow_1_0::NVIDIA_OF_PERF_LEVEL perfPreset=cv::cuda::NvidiaOpticalFlow_1_0::NVIDIA_OF_PERF_LEVEL::NV_OF_PERF_LEVEL_SLOW, bool enableTemporalHints=false, bool enableExternalHints=false, bool enableCostBuffer=false, int gpuId=0)
Instantiate NVIDIA Optical Flow.
@ COLORMAP_SPRING
Definition: imgproc.hpp:4226
HOGDescriptor(const HOGDescriptor &d)
Definition: objdetect.hpp:427
int type() const
Returns the type of a matrix element.
ResizedImageDescriptor(const cv::Size &descr_size, const cv::InterpolationFlags interpolation)
Constructor.
Definition: tracking_by_matching.hpp:107
__host__ GpuMat_(Allocator *allocator=defaultAllocator())
default constructor
const MatAllocator * currAllocator
Definition: mat.hpp:555
static __host__ Ptr2DSz shrinkPtr(const Ptr2DSz &ptr)
Definition: traits.hpp:64
int hal_ni_recip16s(const short *src_data, size_t src_step, short *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:278
This is a base class for all more or less complex algorithms in OpenCV.
Definition: core.hpp:3077
Buffer(const cv::gapi::own::Mat &data, bool is_input)
Ptr< ContourFitting > createContourFitting(int ctr=1024, int fd=16)
create ContourFitting algorithm object
static Ptr< VariationalRefinement > create()
Creates an instance of VariationalRefinement.
ThresholdTypes
Definition: imgproc.hpp:316
_Tp & value() const
returns read-write reference to the current sparse matrix element
bool tempCopiedUMat() const
virtual void load(const std::string &path) CV_OVERRIDE=0
PtrTraits< SrcPtr >::value_type value_type
Definition: interpolation.hpp:296
Mat u
Definition: core.hpp:2753
void getByName(const String &name, bool space_delete, Param type, void *dst) const
FromFileMotionReader(const String &path)
unsigned left
Definition: sparse_matching_gpc.hpp:161
virtual void setTermCriteria(const TermCriteria &termcrit)=0
Set terminal criteria for solver.
virtual void setRpropDWPlus(double val)=0
SpecialFilter
Definition: imgproc.hpp:207
virtual bool getAdjustOutliers() const =0
static Vec all(double alpha)
Color-based strategy for the selective search segmentation algorithm The class is implemented from th...
Definition: segmentation.hpp:100
virtual void setPreFilterSize(int preFilterSize)=0
int QP_Level_InterP
NVVE_QP_LEVEL_INTER_P,.
Definition: cudacodec.hpp:94
Inner Plexiform Layer Magnocellular channel (IplMagno)
Definition: retina.hpp:165
@ CAP_PROP_XI_HDR_T2
Position of second kneepoint (in % of XI_PRM_EXPOSURE).
Definition: videoio.hpp:470
T * OutLine(int index=0)
Definition: gfluidbuffer.hpp:124
Voronoi diagram-based seam estimator.
Definition: seam_finders.hpp:109
__device__ __forceinline__ int idx_col(int x) const
Definition: extrapolation.hpp:107
void max32f(const float *src1, size_t step1, const float *src2, size_t step2, float *dst, size_t step, int width, int height, void *)
The class represents split in a decision tree.
Definition: ml.hpp:1176
NCVMemoryType _memtype
Definition: NCV.hpp:836
@ CAP_OPENNI_IR_GENERATOR
Definition: videoio.hpp:222
@ CALIB_FIX_TAUX_TAUY
Definition: calib3d.hpp:284
#define CV_16S
Definition: interface.h:76
@ NO
Definition: exposure_compensate.hpp:66
softfloat mulAdd(const softfloat &a, const softfloat &b, const softfloat &c)
Fused Multiplication and Addition.
virtual void augAssignOr(const MatExpr &expr, Mat &m) const
Ncv32u pitch() const
Definition: NCV.hpp:827
float alpha3
Alternate to alpha2, used (e.g.) for quicker initial convergence. Typical value 0....
Definition: cudalegacy.hpp:172
Ptr< DescriptorMatcher > getDescriptorMatcher()
@ IMPL_OPENCL
Definition: instrumentation.hpp:57
Matx< double, 1, 4 > Matx14d
Definition: matx.hpp:217
Mat w
Definition: core.hpp:2753
bool doDeblurring_
Definition: stabilizer.hpp:129
void bitwise_or(InputArray src1, InputArray src2, OutputArray dst, InputArray mask=noArray(), Stream &stream=Stream::Null())
Performs a per-element bitwise disjunction of two matrices (or of matrix and scalar).
TermCriteria term_criteria_
Definition: motion_estimators.hpp:209
unsigned long num_test_splits
num_test_splits stores number of random test splits generated.
Definition: face_alignment.hpp:35
void setNrFeeds(int nr_feeds)
Definition: exposure_compensate.hpp:126
double getMaxTranslation() const
Definition: depth.hpp:838
Size cellSize
Cell size. Default value is Size(8,8).
Definition: objdetect.hpp:596
int gftMinSeperationDist
Definition: quasi_dense_stereo.hpp:61
double getSensorErrorC() const
Definition: depth.hpp:436
void mapBackward(float u, float v, float &x, float &y)
cv::gapi::own::Scalar & outValR(int output)
Mat mask
Definition: depth.hpp:474
double minMarkerPerimeterRate
Definition: aruco.hpp:160
void v_pack_store(uchar *ptr, const v_uint16x8 &a)
Definition: intrin_cpp.hpp:2340
Affine3 concatenate(const Affine3 &affine) const
a.concatenate(affine) is equivalent to affine * a;
virtual bool training(std::vector< Mat > &images, std::vector< std::vector< Point2f > > &landmarks, std::string configfile, Size scale, std::string modelFilename="face_landmarks.dat")=0
This function is used to train the model using gradient boosting to get a cascade of regressors which...
virtual void setSmoothingRadius(int radius)=0
UMat rowRange(const Range &r) const
int y
y coordinate of the top-left corner
Definition: types.hpp:49
virtual void setFrameMask(InputArray mask)
Definition: global_motion.hpp:183
virtual void radiusMatch(InputArray queryDescriptors, InputArray trainDescriptors, std::vector< std::vector< DMatch > > &matches, float maxDistance, InputArray mask=noArray(), bool compactResult=false)=0
For each query descriptor, finds the training descriptors not farther than the specified distance (bl...
This structure represents a text string to draw.
Definition: render.hpp:99
static Queue & getDefault()
This 3D Widget represents a trajectory. :
Definition: widgets.hpp:628
Abstract base class for TrackerFeature that represents the feature.
Definition: tracker.hpp:72
static Ptr< MapProjec > toProjec(Ptr< Map > sourceMap)
Definition: mapperpyramid.hpp:94
Mat(int rows, int cols, int type)
virtual void setFrames(const std::vector< Mat > &val)
Definition: deblurring.hpp:74
__host__ __device__ HaarFeatureDescriptor32 getFeatureDesc(void)
Definition: NCVHaarObjectDetection.hpp:246
void mapForward(float x, float y, float &u, float &v)
__device__ __forceinline__ float1 exp(const uchar1 &a)
Definition: vec_math.hpp:231
virtual double getGamma() const =0
MatIterator_(Mat_< _Tp > *_m, Point _pt)
constructor that sets the iterator to the specified element of the matrix
WPaintedCloud(InputArray cloud, const Point3d &p1, const Point3d &p2)
Paint cloud with default gradient between given points.
Definition: extrapolation.hpp:146
static Ptr< SliceLayer > create(const LayerParams ¶ms)
struct CvHaarClassifierCascade CvHaarClassifierCascade
Definition: objdetect.hpp:109
void sub32s(const int *src1, size_t step1, const int *src2, size_t step2, int *dst, size_t step, int width, int height, void *)
virtual void setPlotGridColor(Scalar _plotGridColor)=0
__device__ __forceinline__ functional_detail::FloatType< T >::type operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:615
void flip(InputArray src, OutputArray dst, int flipCode)
Flips a 2D array around vertical, horizontal, or both axes.
The structure represents the logarithmic grid range of statmodel parameters.
Definition: ml.hpp:108
virtual bool getUseRNG() const =0
void drawKeypoints(InputArray image, const std::vector< KeyPoint > &keypoints, InputOutputArray outImage, const Scalar &color=Scalar::all(-1), DrawMatchesFlags flags=DrawMatchesFlags::DEFAULT)
Draws keypoints.
#define CV_MAT_CONT_FLAG
Definition: cvdef.h:439
cv::String getInferenceEngineBackendType()
Returns Inference Engine internal backend API.
virtual void setGamma(float value)=0
Sets the affinity sensitivity.
int numOfPixels
Definition: descriptor.hpp:141
bool m_referenceWeakClassifier
Definition: onlineBoosting.hpp:141
virtual void getObjects(std::vector< ExtObject > &result) const
@ CPU_AVX512_CNL
Cannon Lake with AVX-512F/CD/BW/DQ/VL/IFMA/VBMI.
Definition: cvdef.h:314
virtual void setThreshold(double threshold)=0
__device__ static __forceinline__ T result(T r, int)
Definition: reduce_to_vec.hpp:119
@ MATERIAL_EMISSIVE
Definition: ovis.hpp:38
size_t nodeNElems
Definition: persistence.hpp:678
float weight1() const
Definition: motion_stabilizing.hpp:132
static Ptr< cuda::DescriptorMatcher > createBFMatcher(int normType=cv::NORM_L2)
Brute-force descriptor matcher.
v_uint32x4 v_setall_u32(unsigned val)
Definition: intrin_cpp.hpp:2164
virtual void knnMatch(InputArray queryDescriptors, std::vector< std::vector< DMatch > > &matches, int k, const std::vector< GpuMat > &masks=std::vector< GpuMat >(), bool compactResult=false)=0
uchar * ptr(int row, int col=0)
Returns a pointer to the specified matrix row.
Definition: mat.hpp:321
virtual float getMarginRegularization() const =0
Parameter marginRegularization of a SVMSGD optimization problem.
Definition: features2d.hpp:791
void morph(int op, int src_type, int dst_type, uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int roi_width, int roi_height, int roi_x, int roi_y, int roi_width2, int roi_height2, int roi_x2, int roi_y2, int kernel_type, uchar *kernel_data, size_t kernel_step, int kernel_width, int kernel_height, int anchor_x, int anchor_y, int borderType, const double borderValue[4], int iterations, bool isSubmatrix)
bool findRtRANSAC(InputArray objectPoints, InputArray imagePoints, InputArray cameraMatrix, InputArray distCoeffs, InputOutputArray rvec, InputOutputArray tvec, bool useExtrinsicGuess=false, int iterationsCount=100, float reprojectionError=8.0, int minInliersCount=100, OutputArray inliers=noArray(), int flags=SOLVEPNP_ITERATIVE)
cv::String findFileOrKeep(const cv::String &relative_path, bool silentMode=false)
Definition: utility.hpp:1164
cv::Mat getCameraMatrix() const CV_OVERRIDE
Definition: depth.hpp:782
Features matcher which finds two best matches for each feature and leaves the best one only if the ra...
Definition: matchers.hpp:173
Size getBlockSize() const
Definition: exposure_compensate.hpp:170
WeakClassifierHaarFeature ** getReferenceWeakClassifier()
Definition: onlineBoosting.hpp:116
@ SF_YUY2
Definition: cudacodec.hpp:75
void absdiff8s(const schar *src1, size_t step1, const schar *src2, size_t step2, schar *dst, size_t step, int width, int height, void *)
std::string videoName
Definition: ar_hmdb.hpp:64
Abstract base class for CUDA asynchronous 2D image feature detectors and descriptor extractors.
Definition: cudafeatures2d.hpp:378
void alphaComp(InputArray img1, InputArray img2, OutputArray dst, int alpha_op, Stream &stream=Stream::Null())
Composites two images using alpha opacity values contained in each image.
Definition: functional.hpp:438
bool isIntegral
true if input images are integral, false otherwise
Definition: tracker.hpp:985
virtual int getNTestSamples() const =0
virtual void inpaint(int idx, Mat &frame, Mat &mask) CV_OVERRIDE
static Ptr< PD_inria > create()
@ wave
Definition: gr_skig.hpp:66
void init(int dynamParams, int measureParams, int controlParams=0, int type=CV_32F)
Re-initializes Kalman filter. The previous content is destroyed.
double minEnclosingTriangle(InputArray points, OutputArray triangle)
Finds a triangle of minimum area enclosing a 2D point set and returns its area.
const String & const_param_type
Definition: core.hpp:3208
int getCrossSegmentationThreshold() const
@ THRESH_MASK
Definition: imgproc.hpp:322
void setInput(InputArray blob, const String &name="", double scalefactor=1.0, const Scalar &mean=Scalar())
Sets the new input value for the network.
int resImWidth
Definition: saliencySpecializedClasses.hpp:111
const M outMeta
Definition: gkernel.hpp:40
virtual void computeBitmaps(InputArray img, OutputArray tb, OutputArray eb)=0
Computes median threshold and exclude bitmaps of given image.
std::array< std::string, std::tuple_size< typename Net::OutArgs >::value > Out
Definition: ie.hpp:72
#define CV_MAKE_TYPE
Definition: interface.h:86
cuda::GpuMat mapDevice(cuda::Stream &stream)
Maps OpenGL buffer to CUDA device memory.
void setOpticalFlowEstimator(Ptr< ISparseOptFlowEstimator > val)
Definition: global_motion.hpp:240
void preCornerDetect(InputArray src, OutputArray dst, int ksize, int borderType=BORDER_DEFAULT)
Calculates a feature map for corner detection.
__host__ void gridIntegral(const SrcPtr &src, GpuMat_< DstType > &dst, Stream &stream=Stream::Null())
Definition: integral.hpp:60
virtual void setRangeMaxVal(int val)=0
Maximum possible value of the input image (e.g. 255 for 8 bit images, 4095 for 12 bit images)
std::string imageName
Definition: msm_epfl.hpp:71
softdouble(const softdouble &c)
Copy constructor.
Definition: softfloat.hpp:232
Text and image widgets.
Definition: widgets.hpp:408
@ COLOR_BGR5652BGRA
Definition: imgproc.hpp:557
float getError(int curWeakClassifier)
std::vector< Ptr< Layer > > getLayerInputs(LayerId layerId)
Returns pointers to input layers of specific layer.
bool create(const char *kname, const Program &prog)
virtual double getError() const CV_OVERRIDE=0
Returns the computed reprojection error.
__host__ Expr< ReduceToColumnBody< Reductor, SrcPtr > > reduceToColumn_(const SrcPtr &src)
Definition: reduction.hpp:209
std::string image1
Definition: fr_lfw.hpp:62
static constexpr const bool value
Definition: gtype_traits.hpp:85
bool filterByArea
Definition: features2d.hpp:637
Class for finding features points and corresponding 3D in world coordinate of a "random" pattern,...
Definition: randpattern.hpp:66
String getHardwareFeatureName(int feature)
Returns feature name by ID.
static std::pair< cv::Scalar, mat_type > compute(const _mat_data &lhs, const _mat_data &rhs)
__host__ DerivXPtrSz< typename PtrTraits< SrcPtr >::ptr_type > derivXPtr(const SrcPtr &src)
Definition: deriv.hpp:86
int set_args_(int i, const _Tp0 &a0)
Definition: ocl.hpp:413
virtual void setWindowSize(int val)=0
void cvtBGRtoBGR5x5(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int greenBits)
virtual void setModelIter(int modelIter=4)=0
Parameter defining the number of iterations for piece-wise affine model estimation.
void find(const std::vector< UMat > &, const std::vector< Point > &, std::vector< UMat > &) CV_OVERRIDE
Estimates seams.
Definition: seam_finders.hpp:79
Matx(const _Tp *vals)
initialize from a plain array
__host__ void gridReduceToColumn_(const SrcPtr &src, GpuMat_< ResType > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: reduce_to_vec.hpp:178
Accumulator< T >::Type ResultType
Definition: features2d.hpp:824
GMat blur(const GMat &src, const Size &ksize, const Point &anchor=Point(-1,-1), int borderType=BORDER_DEFAULT, const Scalar &borderValue=Scalar(0))
Blurs an image using the normalized box filter.
Abstract base class for matching keypoint descriptors.
Definition: cudafeatures2d.hpp:76
Definition: utility.hpp:595
SrcPtr src
Definition: interpolation.hpp:160
int hal_ni_merge16u(const ushort **src_data, ushort *dst_data, int len, int cn)
Definition: hal_replacement.hpp:367
bool use_weighted_avg
Definition: ppf_match_3d.hpp:156
__device__ static __forceinline__ T result(T r, int)
Definition: reduce_to_vec.hpp:139
Mat blobFromImage(InputArray image, double scalefactor=1.0, const Size &size=Size(), const Scalar &mean=Scalar(), bool swapRB=false, bool crop=false, int ddepth=CV_32F)
Creates 4-dimensional blob from image. Optionally resizes and crops image from center,...
virtual int getPatchSize() const =0
Size of an image patch for matching (in pixels). Normally, default 8x8 patches work well enough in mo...
bool isOldFormatCascade() const
void setMinNeighbours(int value)
Definition: detection_based_tracker.hpp:108
bool isString() const
returns true if the node is a text string
Matx< float_type, 3, 3 > Mat3
Definition: affine.hpp:130
Queue(const Context &c, const Device &d=Device())
util::variant< GMat, GMatP, GScalar, detail::GArrayU > GProtoArg
Definition: gproto.hpp:40
static Ptr< SLAM_kitti > create()
v_reg< typename V_TypeTraits< _Tp >::abs_type, n > v_absdiff(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Absolute difference.
Definition: intrin_cpp.hpp:764
cuda::GpuMat mapDevice()
map to device memory (blocking)
int imageHeight
Definition: msm_epfl.hpp:66
int methodId
Definition: sinusoidalpattern.hpp:89
virtual bool getNextFrame(Mat &frame)=0
__device__ static __forceinline__ uint warpId()
Definition: warp.hpp:71
Definition: warping.hpp:153
DistanceTypes
Definition: imgproc.hpp:296
void setFeatures(const Mat &features)
Set the features extracted from TrackerFeatureSet.
NCVMatrix()
Definition: NCV.hpp:744
void rotation(const Mat &data)
_Tp val[m *n]
Definition: matx.hpp:209
virtual float getSegEgbThresholdI()=0
@ NCV_HAAR_TOO_MANY_FEATURES_IN_CASCADE
Definition: NCV.hpp:345
int DynamicGOP
NVVE_DYNAMIC_GOP,.
Definition: cudacodec.hpp:89
DeviceInfo(int device_id)
The constructors.
mat_type I
Definition: qualityssim.hpp:60
static std::tuple< R... > on(Args... args)
Definition: gkernel.hpp:199
float scale_step
Definition: tracker.hpp:1526
void FAST(InputArray image, std::vector< KeyPoint > &keypoints, int threshold, bool nonmaxSuppression=true)
int hal_ni_mul32f(const float *src1_data, size_t src1_step, const float *src2_data, size_t src2_step, float *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:243
v_reg< unsigned, 4 > v_uint32x4
Four 32-bit unsigned integer values.
Definition: intrin_cpp.hpp:393
static void scaleAdd(InputArray src1, double alpha, InputArray src2, OutputArray dst, Stream &stream=Stream::Null())
adds scaled array to another one (dst = alpha*src1 + src2)
Definition: cudaarithm.hpp:334
std::vector< QuadEdge > qedges
All of the edges.
Definition: imgproc.hpp:1236
SparseMatConstIterator_()
the default constructor
TrackerStateEstimatorMILBoosting(int nFeatures=250)
Constructor.
virtual bool getFastPyramids() const =0
GMat BGR2Gray(const GMat &src)
Converts an image from BGR color space to gray-scaled. The conventional ranges for B,...
@ MARKER_SQUARE
A square marker shape.
Definition: imgproc.hpp:834
int normHamming(const uchar *a, int n)
void depthTo3d(InputArray depth, InputArray K, OutputArray points3d, InputArray mask=noArray())
virtual KAZE::DiffusivityType getDiffusivity() const =0
virtual Point warp(InputArray src, InputArray K, InputArray R, InputArray T, int interp_mode, int border_mode, OutputArray dst)
void setWaveCorrectKind(detail::WaveCorrectKind kind)
Definition: stitching.hpp:205
@ COLOR_GRAY2BGR565
convert between grayscale to BGR565 (16-bit images)
Definition: imgproc.hpp:560
@ RO_STRICT
Validate each rule in a proper way.
Definition: fast_hough_transform.hpp:117
float _lRate
Definition: onlineMIL.hpp:67
Definition: onlineBoosting.hpp:264
__host__ __device__ __forceinline__ ZipPtr(const tuple< Ptr0, Ptr1, Ptr2, Ptr3 > &t)
Definition: zip.hpp:100
void drawPlanarBoard(const Ptr< Board > &board, Size outSize, OutputArray img, int marginSize=0, int borderBits=1)
Draw a planar board.
Definition: warpers.hpp:166
ResultType operator()(const T *a, const T *b, int size) const
Definition: features2d.hpp:842
bool solve(InputArray src1, InputArray src2, OutputArray dst, int flags=DECOMP_LU)
Solves one or more linear systems or least-squares problems.
Data structure describing the camera model and its parameters.
Definition: simple_pipeline.hpp:73
virtual ~VectorRefT()
Definition: garray.hpp:142
String driverVersion() const
__host__ __device__ Ncv32u getNumClassifierRootNodes(void)
Definition: NCVHaarObjectDetection.hpp:312
G_TYPED_KERNEL(GFilter2D,< GMat(GMat, int, Mat, Point, Scalar, int, Scalar)>,"org.opencv.imgproc.filters.filter2D")
Definition: imgproc.hpp:33
virtual void setBlurrinessRates(const std::vector< float > &val)
Definition: deblurring.hpp:80
void operator()(int rrWidth, int w2, int rWidth, int jj, int j, int c[num_images]) const
Definition: descriptor.hpp:155
double calibrateCameraCharuco(InputArrayOfArrays charucoCorners, InputArrayOfArrays charucoIds, const Ptr< CharucoBoard > &board, 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))
Calibrate a camera using Charuco corners.
MatExpr inv(int method=DECOMP_LU) const
Inverses a matrix.
virtual void getBoundingBoxes(InputArray edge_map, InputArray orientation_map, std::vector< Rect > &boxes, OutputArray scores=noArray())=0
Returns array containing proposal boxes.
Vec3i maxTexture2DLinear() const
maximum dimensions (width, height, pitch) for 2D textures bound to pitched memory
@ size
Definition: tuple.hpp:67
float getAngleThreshold() const
Definition: depth.hpp:1087
void setArgs(std::vector< GArg > &&args)
Modality that computes quantized surface normals from a dense depth map.
Definition: linemod.hpp:204
SrcPtr src
Definition: warping.hpp:110
#define CV_CUDEV_SAFE_CALL(expr)
Definition: common.hpp:76
Rect resultRoi(const std::vector< Point > &corners, const std::vector< UMat > &images)
@ COLORMAP_AUTUMN
Definition: imgproc.hpp:4219
static gapi::fluid::BorderOpt help(const GMetaArgs &metas, const cv::GArgs &in_args)
Definition: gfluidkernel.hpp:275
SparseMatConstIterator(const SparseMatConstIterator &it)
the copy constructor
double Wy
Definition: gr_chalearn.hpp:67
@ CAP_PVAPI_PIXELFORMAT_RGBA32
Rgba32.
Definition: videoio.hpp:323
virtual const std::vector< int > & getSubsets() const =0
Returns all the bitsets for categorical splits.
void addRNGBias64f(double *arr, const double *scaleBiasPairs, int len)
@ CAP_MSMF
Microsoft Media Foundation (via videoInput)
Definition: videoio.hpp:109
void setRansacParams(const RansacParams &val)
Definition: global_motion.hpp:136
void mapForward(float x, float y, float &u, float &v)
void detachData(std::vector< void * > &data)
get TLS data and detach all data from threads (similar to cleanup() call)
void create(Size size, int type)
virtual void setActivationFunction(int type, double param1=0, double param2=0)=0
Matx< double, 2, 2 > Matx22d
Definition: matx.hpp:231
std::vector< tag > tags
Definition: tr_svt.hpp:70
void and8u(const uchar *src1, size_t step1, const uchar *src2, size_t step2, uchar *dst, size_t step, int width, int height, void *)
void setWindowSize(const Size &window_size)
Sets the size of the window.
void bitwise_xor(InputArray src1, InputArray src2, OutputArray dst, InputArray mask=noArray(), Stream &stream=Stream::Null())
Performs a per-element bitwise exclusive or operation of two matrices (or of matrix and scalar).
int numStepsToWaitBeforeFirstShow
Definition: detection_based_tracker.hpp:168
void seekEnd()
moves iterator to the element after the last element
virtual void apply(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step)=0
SVD & operator()(InputArray src, int flags=0)
the operator that performs SVD. The previously allocated u, w and vt are released.
static bool hasBin(int major, int minor)
Matrix expression representation.
Definition: mat.hpp:3517
Model & setInputSwapRB(bool swapRB)
Set flag swapRB for frame.
virtual void setFGSLambda(float lambda=500.f)=0
Sets the respective fastGlobalSmootherFilter() parameter.
Definition: warping.hpp:109
void normalize(InputArray src, OutputArray dst, double alpha, double beta, int norm_type, int dtype, InputArray mask=noArray(), Stream &stream=Stream::Null())
Normalizes the norm or value range of an array.
Widget getWidget(const String &id) const
Retrieves a widget from the window.
int x
x coordinate of the top-left corner
Definition: types.hpp:48
virtual void setTextureThreshold(int textureThreshold)=0
__device__ __forceinline__ void reduceWarp(result_type *smem, uint tid)
Definition: vec_distance.hpp:137
double getMaxDepthDiff() const
Definition: depth.hpp:806
void setSolverType(SolverType val)
SVD(InputArray src, int flags=0)
BundleAdjusterRay()
Definition: motion_estimators.hpp:268
Avg< U > other
Definition: reduce_to_vec.hpp:91
virtual Mat getMeans() const =0
Returns the cluster centers (means of the Gaussian mixture)
const Priv & priv() const
@ CAP_XINE
XINE engine (Linux)
Definition: videoio.hpp:122
const Priv & priv() const
std::vector< String > getLayerNames() const
static _Tp * alignPtr(_Tp *ptr, int n=(int) sizeof(_Tp))
Aligns a pointer to the specified number of bytes.
Definition: utility.hpp:466
static Ptr< FacemarkAAM > create(const FacemarkAAM::Params ¶meters=FacemarkAAM::Params())
initializer
virtual void setkNNSamples(int _nkNN)=0
Sets the k in the kNN. How many nearest neighbours need to match.
virtual cv::Point2f getMatch(const int x, const int y)=0
Specify pixel coordinates in the left image and get its corresponding location in the right image.
uchar2 type
Definition: vec_traits.hpp:82
UnscentedKalmanFilterParams()
Definition: kalman_filters.hpp:148
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.
int getCtrSize()
Definition: fourier_descriptors.hpp:70
virtual ~IDescriptorDistance()
Definition: tracking_by_matching.hpp:173
virtual void detectMultiScale(InputArray img, std::vector< Rect > &found_locations, std::vector< double > *confidences=NULL)=0
Performs object detection with a multi-scale window.
uint64 m_ticksTotal
Definition: instrumentation.hpp:66
WLine(const Point3d &pt1, const Point3d &pt2, const Color &color=Color::white())
Constructs a WLine.
Ncv32u NumClassifierTotalNodes
Definition: NCVHaarObjectDetection.hpp:337
@ Uncompressed_YUV420
Y,U,V (4:2:0)
Definition: cudacodec.hpp:260
virtual uint64_t getPeakUsage() const =0
@ MARKER_TRIANGLE_DOWN
A downwards pointing triangle marker shape.
Definition: imgproc.hpp:836
float Type
Definition: features2d.hpp:797
Definition: qualitygmsd.hpp:55
static Net readFromModelOptimizer(const std::vector< uchar > &bufferModelConfig, const std::vector< uchar > &bufferWeights)
Create a network from Intel's Model Optimizer in-memory buffers with intermediate representation (IR)...
void createRLEImage(std::vector< cv::Point3i > &runs, OutputArray res, Size size=Size(0, 0))
Creates a run-length encoded image from a vector of runs (column begin, column end,...
virtual void getMagno(OutputArray retinaOutput_magno)=0
Accessor of the motion channel of the retina (models peripheral vision).
Definition: feature.hpp:217
ChromaFormat
Chroma formats supported by cudacodec::VideoReader .
Definition: cudacodec.hpp:270
type_traits_detail::ReferenceTraits< T >::type referred_type
Definition: type_traits.hpp:134
virtual int getLRCthresh()=0
LRCthresh is a threshold of disparity difference used in left-right-consistency check during confiden...
int id
Definition: pose_3d.hpp:179
Definition: pd_inria.hpp:67
NCVStatus ncvApplyHaarClassifierCascade_device(NCVMatrix< Ncv32u > &d_integralImage, NCVMatrix< Ncv32f > &d_weights, NCVMatrixAlloc< Ncv32u > &d_pixelMask, Ncv32u &numDetections, HaarClassifierCascadeDescriptor &haar, NCVVector< HaarStage64 > &h_HaarStages, NCVVector< HaarStage64 > &d_HaarStages, NCVVector< HaarClassifierNode128 > &d_HaarNodes, NCVVector< HaarFeature64 > &d_HaarFeatures, NcvBool bMaskElements, NcvSize32u anchorsRoi, Ncv32u pixelStep, Ncv32f scaleArea, INCVMemAllocator &gpuAllocator, INCVMemAllocator &cpuAllocator, cudaDeviceProp &devProp, cudaStream_t cuStream)
virtual void convolve(InputArray image, InputArray templ, OutputArray result, bool ccorr=false, Stream &stream=Stream::Null())=0
Computes a convolution (or cross-correlation) of two images.
void v_store_aligned(_Tp *ptr, const v_reg< _Tp, n > &a)
Store data to memory (aligned)
Definition: intrin_cpp.hpp:1660
float trimRatio() const
Definition: motion_stabilizing.hpp:129
@ ALPHA_XOR_PREMUL
Definition: cudaimgproc.hpp:160
Derivatives of this class encapsulates functions of certain backends.
Definition: dnn.hpp:121
_OutputArray(std::vector< _Tp > &vec)
Definition: gplaidmlkernel.hpp:78
void filter2D(int stype, int dtype, int kernel_type, uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int full_width, int full_height, int offset_x, int offset_y, uchar *kernel_data, size_t kernel_step, int kernel_width, int kernel_height, int anchor_x, int anchor_y, double delta, int borderType, bool isSubmatrix)
void mapForward(float x, float y, float &u, float &v)
virtual double getLambda()=0
Lambda is a parameter defining the amount of regularization during filtering. Larger values force fil...
void convertToD3D10Texture2D(InputArray src, ID3D10Texture2D *pD3D10Texture2D)
Converts InputArray to ID3D10Texture2D.
float icpDistThresh
distance theshold for ICP in meters
Definition: dynafu.hpp:97
Definition: face_alignment.hpp:12
void copyTo(OutputArray m) const
Copies the matrix to another one.
Definition: warping.hpp:62
Common interface for all CUDA filters :
Definition: cudafilters.hpp:76
static Ptr< TrackerFeature > create(const String &trackerFeatureType)
Create TrackerFeature by tracker feature type.
@ MATERIAL_TEXTURE3
Definition: ovis.hpp:44
#define CV_NODISCARD
Definition: cvdef.h:687
#define CV_16U
Definition: interface.h:75
__device__ __forceinline__ double4 exp2(const double4 &a)
Definition: vec_math.hpp:247
@ ROTATE_90_COUNTERCLOCKWISE
Rotate 270 degrees clockwise.
Definition: core.hpp:1063
Mat_()
default constructor
const TrackedObject & back() const
back returns const reference to last object in track.
Definition: tracking_by_matching.hpp:366
virtual bool getProjPixel(InputArrayOfArrays patternImages, int x, int y, Point &projPix) const =0
For a (x,y) pixel of a camera returns the corresponding projector pixel.
virtual void setIterations(int val)=0
StarKernelCensus(const cv::Mat *img, int k2, int **distance)
Definition: descriptor.hpp:280
void warpFrame(const Mat &image, const Mat &depth, const Mat &mask, const Mat &Rt, const Mat &cameraMatrix, const Mat &distCoeff, OutputArray warpedImage, OutputArray warpedDepth=noArray(), OutputArray warpedMask=noArray())
void writeRaw(const String &fmt, const void *vec, size_t len)
Writes multiple numbers.
void contourSampling(InputArray src, OutputArray out, int nbElt)
Contour sampling .
decoder_mode
Definition: ocr.hpp:173
String dumpInputOutputArray(InputOutputArray argument)
size_t step
Definition: cuda.hpp:588
void setCamera(const Camera &camera)
Sets the intrinsic parameters of the viewer using Camera.
bool createDirectories(const cv::String &path)
int depth
Definition: gmat.hpp:82
void matMulDeriv(InputArray A, InputArray B, OutputArray dABdA, OutputArray dABdB)
Computes partial derivatives of the matrix product for each multiplied matrix.
@ CALIB_FIX_ASPECT_RATIO
Definition: calib3d.hpp:270
static Ptr< IS_bsds > create()
Kernel(const char *kname, const ProgramSource &prog, const String &buildopts=String(), String *errmsg=0)
DIS optical flow algorithm.
Definition: tracking.hpp:585
@ IMREAD_REDUCED_COLOR_2
If set, always convert image to the 3 channel BGR color image and the image size reduced 1/2.
Definition: imgcodecs.hpp:72
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: reduction.hpp:69
static void setDebugFlag(bool active)
Enable or disable cvv for current translation unit and thread.
Definition: debug_mode.hpp:42
virtual int getMinLineLength() const =0
void jputStream(unsigned currval)
#define HaarFeatureDescriptor32_Interpret_MaskFlagTilted
Definition: NCVHaarObjectDetection.hpp:121
v_uint8x16 v_rshr_pack_u(const v_int16x8 &a, const v_int16x8 &b)
Definition: intrin_cpp.hpp:2316
std::vector< Ptr< Modality > > modalities
Definition: linemod.hpp:396
friend void * workcycleObjectDetectorFunction(void *p)
void pyrDown(InputArray src, OutputArray dst, const Size &dstsize=Size(), int borderType=BORDER_DEFAULT)
Blurs an image and downsamples it.
Ptr< SuperpixelSEEDS > createSuperpixelSEEDS(int image_width, int image_height, int image_channels, int num_superpixels, int num_levels, int prior=2, int histogram_bins=5, bool double_step=false)
Initializes a SuperpixelSEEDS object.
#define DUMP_CONFIG_PROPERTY(...)
Definition: opencl_info.hpp:11
int maxWriteImageArgs() const
virtual void setActiveVarCount(int val)=0
static Ptr< RNNLayer > create(const LayerParams ¶ms)
Definition: feature.hpp:138
Size poolKernel
Definition: all_layers.hpp:536
virtual Size prepareFrameCache(Ptr< OdometryFrame > &frame, int cacheType) const CV_OVERRIDE
virtual bool empty() const
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
Definition: core.hpp:3101
Definition: hpe_parse.hpp:61
void trainModel(const Mat &Model)
Trains a new model.
Matx13d ofs
Definition: hpe_humaneva.hpp:66
float getMarkerLength() const
Definition: aruco.hpp:345
int ff
The font type, see HersheyFonts.
Definition: render.hpp:128
Computes distance between images using MatchTemplate function from OpenCV library and its cross-corre...
Definition: tracking_by_matching.hpp:216
float bilateral_sigma_spatial
Spatial sigma in pixels for bilateral smooth.
Definition: kinfu.hpp:49
void create(Size _size)
equivalent to Mat::create(_size, DataType<_Tp>::type)
__host__ Expr< UnaryTransformPtrSz< typename PtrTraits< SrcPtr >::ptr_type, log_func< typename PtrTraits< SrcPtr >::value_type > > > log_(const SrcPtr &src)
Definition: unary_func.hpp:74
GridType
Definition: calib3d.hpp:1318
@ CAP_OPENNI_DEPTH_GENERATOR_PRESENT
Definition: videoio.hpp:247
virtual void setShadowThreshold(double threshold)=0
Sets the shadow threshold.
static RansacParams default2dMotion(MotionModel model)
Definition: motion_core.hpp:102
bool use_channel_weights
Definition: tracker.hpp:1503
@ COLOR_YUV2BGRA_YUYV
Definition: imgproc.hpp:706
__host__ GpuMat_(Size asize, T *adata, size_t astep=Mat::AUTO_STEP)
Represents function being optimized.
Definition: optim.hpp:64
MVKernel()
Definition: descriptor.hpp:70
virtual double getComplexityReductionThreshold() const =0
Returns the complexity reduction threshold.
Vec< ushort, 2 > Vec2w
Definition: matx.hpp:408
MatExpr operator^(const Mat &a, const Mat &b)
String cascade_face
filename of the face detector model
Definition: facemarkLBF.hpp:60
void set(const std::vector< Mat > &descriptors)
@ CPU_AVX_512VPOPCNTDQ
Definition: cvdef.h:299
Class used for calculating a dense optical flow.
Definition: cudaoptflow.hpp:229
float angle
returns the rotation angle. When the angle is 0, 90, 180, 270 etc., the rectangle becomes an up-right...
Definition: types.hpp:534
Mat_(const Mat_ &m)
copy constructor
uint16_t UINT16
Definition: descriptor.hpp:65
Comma-separated Matrix Initializer.
Definition: mat.hpp:511
double beta
Definition: mat.hpp:3549
void removeOutliers()
Remove outliers for all feature types (optional)
#define CV_CUDEV_RGB5x52GRAY_INST(name, green_bits)
Definition: color_cvt.hpp:467
void BrightEdges(Mat &_original, Mat &_edgeview, int contrast=1, int shortrange=3, int longrange=9)
@ CAP_PROP_XI_DOWNSAMPLING
Change image resolution by binning or skipping.
Definition: videoio.hpp:334
void release()
Decrements the reference counter and destroys the buffer object if needed.
static __host__ PerspectiveMapPtrSz perspectiveMap(Size dstSize, const GpuMat_< float > &warpMat)
Definition: warping.hpp:134
virtual Mat getRadiance() const =0
Definition: all_layers.hpp:478
Mat & operator=(Mat &&src)=default
int value_type
Definition: vec_distance.hpp:157
float histThresh
Definition: histogramphaseunwrapping.hpp:83
Scalar s
Definition: mat.hpp:3550
Base class for modelling an algorithm for calculating a map.
Definition: mapper.hpp:55
std::string weights_path
Definition: ie.hpp:47
virtual void setThreshold(float threshold)=0
static double norm(const Matx< _Tp, m, n > &M, int normType)
@ DECOMP_EIG
Definition: base.hpp:140
@ PROJ_SPHERICAL_EQRECT
Definition: calib3d.hpp:2841
void drawMarker(int id, int sidePixels, OutputArray _img, int borderBits=1) const
Draw a canonical marker image.
unsigned u
Definition: cvdef.h:350
void GradientPaillouY(InputArray op, OutputArray _dst, double alpha, double omega)
Applies Paillou filter to an image.
static Ptr< TrackerCSRT > create(const TrackerCSRT::Params ¶meters)
Constructor.
NCVStatus nppiStDecimate_32u_C1R_host(Ncv32u *h_src, Ncv32u srcStep, Ncv32u *h_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale)
Definition: tracking.hpp:437
Implementation of the camera parameters refinement algorithm which minimizes sum of the reprojection ...
Definition: motion_estimators.hpp:246
size_t localMemSize() const
size_t elemSize1() const
returns the size of element channel in bytes
@ comehere
Definition: gr_skig.hpp:69
const float occlusionsThreshold
Definition: pcaflow.hpp:101
cv::gapi::GBackend backend()
virtual void setEdgeThreshold(int edgeThreshold)=0
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.
int cols
Definition: remap.hpp:105
Node< NodeData > InstrNode
Definition: instrumentation.hpp:97
virtual void apply(InputArray disparity, InputArray image, OutputArray dst, Stream &stream=Stream::Null())=0
Refines a disparity map using joint bilateral filtering.
static MatExpr eye(int rows, int cols, int type)
Returns an identity matrix of the specified size and type.
int hal_ni_dctInit2D(cvhalDFT **context, int width, int height, int depth, int flags)
Definition: hal_replacement.hpp:561
virtual ~VideoCapture()
Default destructor.
__device__ static __forceinline__ short max()
Definition: limits.hpp:84
@ CAP_PVAPI_DECIMATION_OFF
Off.
Definition: videoio.hpp:310
UMat(int ndims, const int *sizes, int type, UMatUsageFlags usageFlags=USAGE_DEFAULT)
constructs n-dimensional matrix
Vec< int, 8 > Vec8i
Definition: matx.hpp:416
@ ALPHA_OVER
Definition: cudaimgproc.hpp:159
softdouble setExp(int e) const
Construct a copy with new 0-based exponent.
Definition: softfloat.hpp:318
const float sparseRate
Definition: pcaflow.hpp:99
util::variant< util::monostate, GMatDesc, GScalarDesc, GArrayDesc > GMetaArg
Definition: gmetaarg.hpp:39
Definition: feature.hpp:366
double compareHist(InputArray H1, InputArray H2, int method)
Compares two histograms.
OutArgs Result
Definition: infer.hpp:54
uchar member_type
Definition: core.hpp:3265
__host__ void gridPyrDown(const SrcPtr &src, GpuMat_< DstType > &dst, Stream &stream=Stream::Null())
Definition: pyramids.hpp:73
CompressedRectilinearPortraitWarper(float A=1, float B=1)
Definition: warpers.hpp:192
virtual ~MotionEstimatorBase()
Definition: global_motion.hpp:100
_Range(const Range &r)
Definition: shape_utils.hpp:59
const_iterator begin() const
int getPadding() const
Definition: pcaflow.hpp:85
virtual Ptr< DescriptorMatcher > clone(bool emptyTrainData=false) const =0
Clones the matcher.
__host__ LaplacianPtrSz< ksize, typename PtrTraits< SrcPtr >::ptr_type > laplacianPtr(const SrcPtr &src)
Definition: deriv.hpp:381
static Ptr< TrackerTLD > create()
virtual void setFgsLambda(float val)=0
see ximgproc::EdgeAwareInterpolator().
virtual bool getFastPyramids() const =0
Mat & getMatRef(int i=-1) const
@ CAP_PROP_XI_LUT_EN
Activates LUT.
Definition: videoio.hpp:450
Mat_(const std::vector< _Tp > &vec, bool copyData=false)
makes a matrix out of Vec, std::vector, Point_ or Point3_. The matrix will have a single column
int perspectiveRemovePixelPerCell
Definition: aruco.hpp:171
T * _ptr
Definition: NCV.hpp:832
std::function< Result(Args...)> API
Definition: infer.hpp:55
Definition: mappergradsimilar.hpp:53
~TrackerFeatureHOG() CV_OVERRIDE
@ LDR_SIZE
Definition: photo.hpp:332
@ CALIB_CB_SYMMETRIC_GRID
Definition: calib3d.hpp:263
NCVStatus memSegCopyHelper2D(void *dst, Ncv32u dstPitch, NCVMemoryType dstType, const void *src, Ncv32u srcPitch, NCVMemoryType srcType, Ncv32u widthbytes, Ncv32u height, cudaStream_t cuStream)
RotatedRect fitEllipse(InputArray points)
Fits an ellipse around a set of 2D points.
std::vector< Texture > textures
a container to holds the texture data for each scale of fitting
Definition: facemarkAAM.hpp:137
double registrationResol() const
Definition: stitching.hpp:186
void * handle
Definition: mat.hpp:563
std::vector< uchar > getInliers()
Definition: matchers.hpp:113
UMatData(const MatAllocator *allocator)
virtual void setPreFilterType(int preFilterType)=0
static Ptr< Layer > create(const LayerParams ¶ms)
#define CV_ELEM_SIZE(type)
Definition: cvdef.h:450
#define CV_CUDEV_HLS2RGB_INST(name, scn, dcn, bidx)
Definition: color_cvt.hpp:290
bool findRt(InputArray image, InputArray cameraMatrix, InputArray distCoeffs, InputOutputArray rvec, InputOutputArray tvec, bool useExtrinsicGuess=false, int flags=SOLVEPNP_ITERATIVE)
void bitwise_not(InputArray src, OutputArray dst, InputArray mask=noArray(), Stream &stream=Stream::Null())
Performs a per-element bitwise inversion.
static Ptr< DetectorParameters > create()
VideoWriter(const String &filename, int apiPreference, int fourcc, double fps, Size frameSize, bool isColor=true)
float intersectConvexConvex(InputArray _p1, InputArray _p2, OutputArray _p12, bool handleNested=true)
Finds intersection of two convex polygons.
virtual void clearStrategies()=0
Remove all sub-strategies.
std::vector< double > confidences
vector that will contain confidence values for each location
Definition: objdetect.hpp:352
@ TM_SQDIFF_NORMED
Definition: imgproc.hpp:3651
void setParam(LayerId layer, int numParam, const Mat &blob)
Sets the new value for the learned param of the layer.
void create(int dims, const int *size, int type, int i=-1, bool allowTransposed=false, _OutputArray::DepthMask fixedDepthMask=static_cast< _OutputArray::DepthMask >(0)) const
void initializeCalibration(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints, Size size, OutputArrayOfArrays omAll, OutputArrayOfArrays tAll, OutputArray K, double &xi, OutputArray idx=noArray())
@ IMWRITE_PNG_COMPRESSION
For PNG, it can be the compression level from 0 to 9. A higher value means a smaller size and longer ...
Definition: imgcodecs.hpp:88
Matx33d r
Definition: msm_middlebury.hpp:64
double getWinSigma() const
Returns winSigma value.
SrcPtr src
Definition: extrapolation.hpp:65
int hal_ni_sub16u(const ushort *src1_data, size_t src1_step, const ushort *src2_data, size_t src2_step, ushort *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:86
virtual void setSigmaColor(double _sigma_color)=0
MotionModel
Describes motion model between two point clouds.
Definition: motion_core.hpp:60
virtual Mat estimate(const Mat &frame0, const Mat &frame1, bool *ok=0) CV_OVERRIDE
virtual bool generate(OutputArrayOfArrays patternImages)=0
Generates the structured light pattern to project.
@ HISTCMP_INTERSECT
Definition: imgproc.hpp:504
bool deviceMemMapped() const
bool operator!=(const TrackedObject &first, const TrackedObject &second)
std::string text
The text string to be drawn.
Definition: render.hpp:126
void collectGarbage() CV_OVERRIDE
Frees unused memory allocated before if there is any.
Scalar_< _Tp > mul(const Scalar_< _Tp > &a, double scale=1) const
per-element product
@ YUV420
Definition: cudacodec.hpp:272
virtual void setAnnealFinalT(double val)=0
void read(const FileNode &fn)
load PCA objects
@ CAP_PROP_INTELPERC_DEPTH_FOCAL_LENGTH_HORZ
Definition: videoio.hpp:525
virtual ~StaticSaliencySpectralResidual()
std::string name
Definition: hpe_parse.hpp:62
Vec cross(const Vec &v) const
virtual ~UnscentedKalmanFilter()
Definition: kalman_filters.hpp:59
int maxThreadsPerBlock() const
maximum number of threads per block
softdouble setSign(bool sign) const
Construct a copy with new sign bit.
Definition: softfloat.hpp:314
@ CAP_PROP_GIGA_FRAME_HEIGH_MAX
Definition: videoio.hpp:510
void perspectiveTransform(InputArray src, OutputArray dst, InputArray m)
Performs the perspective matrix transformation of vectors.
void reprojectImageTo3D(InputArray disp, OutputArray xyzw, InputArray Q, int dst_cn=4, Stream &stream=Stream::Null())
Reprojects a disparity image to 3D space.
Ptr< QuantizedPyramid > process(const Mat &src, const Mat &mask=Mat()) const
Form a quantized image pyramid from a source image.
Definition: linemod.hpp:132
void setFeaturesFinder(Ptr< Feature2D > features_finder)
Definition: stitching.hpp:209
__device__ __forceinline__ uint vadd4(uint a, uint b)
Definition: simd_functions.hpp:526
@ BORDER_ISOLATED
do not look outside of ROI
Definition: base.hpp:278
void about(const String &message)
Set the about message.
int maxCorrectionBits
Definition: dictionary.hpp:66
virtual double getVarInit() const =0
Returns the initial variance of each gaussian component.
virtual void augAssignAnd(const MatExpr &expr, Mat &m) const
virtual void setRadius(int val) CV_OVERRIDE
@ MATERIAL_LINE_WIDTH
Definition: ovis.hpp:36
int ResultType
Definition: base.hpp:386
float _mu1
Definition: onlineMIL.hpp:93
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.
int32x4_t cv_vrndq_s32_f32(float32x4_t v)
Definition: neon_utils.hpp:61
int writePoseCluster(FILE *f)
std::vector< cv::Rect > PositionsVector
Definition: detection_based_tracker.hpp:183
Image(const cv::Point &org_, const cv::Mat &img_, const cv::Mat &alpha_)
Mosaic constructor.
Definition: render.hpp:320
Ptr< DualTVL1OpticalFlow > createOptFlow_DualTVL1()
double getMaxDepth() const
Definition: depth.hpp:798
Definition: garray.hpp:40
Point warp(const cuda::GpuMat &src, InputArray K, InputArray R, int interp_mode, int border_mode, cuda::GpuMat &dst)
virtual void setBackgroundPrior(double bgprior)=0
Sets the prior probability that each individual pixel is a background pixel.
@ COLOR_YUV2GRAY_Y422
Definition: imgproc.hpp:713
MarginType
Definition: ml.hpp:1801
@ DNN_TARGET_FPGA
FPGA device with CPU fallbacks using Inference Engine's Heterogeneous plugin.
Definition: dnn.hpp:94
@ TYPE_MASK
Definition: mat.hpp:2074
__device__ __forceinline__ float1 sinh(const uchar1 &a)
Definition: vec_math.hpp:339
@ CHAIN_APPROX_TC89_L1
Definition: imgproc.hpp:436
Class implementing the KAZE keypoint detector and descriptor extractor, described in .
Definition: features2d.hpp:670
virtual void setVotesThreshold(int votesThreshold)=0
Affine3f volumePose
initial volume pose in meters
Definition: kinfu.hpp:71
String kernelToStr(InputArray _kernel, int ddepth=-1, const char *name=NULL)
virtual bool tryFuse(Ptr< Layer > &top)
Try to fuse current layer with a next one.
virtual float getDelta() const =0
Weight of the color constancy term.
bool getUseFeatureExchange() const
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: reduction.hpp:245
std::tuple< Args... > InArgs
Definition: infer.hpp:51
void convertFp16(InputArray _src, OutputArray _dst, Stream &stream=Stream::Null())
Converts an array to half precision floating number.
@ UPDATE_IMAGE_ELEMENT
Definition: cap_winrt.hpp:42
virtual void obtainRefinedCameraParams(std::vector< CameraParams > &cameras) const =0
Gets the refined camera parameters.
Matx(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6, _Tp v7, _Tp v8)
1x9, 3x3 or 9x1 matrix
@ COLOR_YUV2GRAY_YV12
Definition: imgproc.hpp:667
RulesOption
Specifies the degree of rules validation.
Definition: fast_hough_transform.hpp:116
Mat loadPLYSimple(const char *fileName, int withNormals=0)
Load a PLY file.
void addEdge(int from, int to, float weight)
Mat normals
point normals of type CV_32FC3, CV_32FC4, CV_64FC3 or CV_64FC4 with only 1 row
Definition: types.hpp:131
Definition: functional.hpp:133
NCVMemSegment getSegment() const
Definition: NCV.hpp:674
@ CAP_OPENNI_DISPARITY_MAP_32F
Disparity in pixels (CV_32FC1)
Definition: videoio.hpp:259
int getMethod() const
Definition: depth.hpp:247
~_LayerStaticRegisterer()
Definition: layer.details.hpp:68
float getCls(int si) const
Definition: feature.hpp:185
float globalMotionRansacThreshold
Definition: rlofflow.hpp:147
bool local_maxima
whenever the regions is a local maxima of the probability
Definition: erfilter.hpp:109
@ CAP_INTELPERC_IMAGE
Definition: videoio.hpp:539
Net::ResultL infer(cv::GArray< cv::Rect > roi, Args &&... args)
Calculates responses for the specified network (template parameter) for every region in the source im...
Definition: infer.hpp:155
void pyrUp(InputArray src, OutputArray dst, const Size &dstsize=Size(), int borderType=BORDER_DEFAULT)
Upsamples an image and then blurs it.
virtual Mat getTestNormCatResponses() const =0
const_iterator end() const
Designed for command line parsing.
Definition: utility.hpp:797
virtual int getTransformType() const =0
virtual float getVariationalRefinementGamma() const =0
Weight of the gradient constancy term.
UMat(const UMat &m, const Range &rowRange, const Range &colRange=Range::all())
creates a matrix header for a part of the bigger matrix
Definition: depth.hpp:329
virtual void getSample(InputArray varIdx, int sidx, float *buf) const =0
std::tuple< GMat, GMat > SobelXY(const GMat &src, int ddepth, int order, int ksize=3, double scale=1, double delta=0, int borderType=BORDER_DEFAULT, const Scalar &borderValue=Scalar(0))
Calculates the first, second, third, or mixed image derivatives using an extended Sobel operator.
virtual int getNumScales() const =0
@ HISTCMP_CHISQR
Definition: imgproc.hpp:501
virtual void matchAsync(InputArray queryDescriptors, OutputArray matches, const std::vector< GpuMat > &masks=std::vector< GpuMat >(), Stream &stream=Stream::Null())=0
const Ptr< detail::Estimator > estimator() const
Definition: stitching.hpp:230
Net readNetFromONNX(const String &onnxFile)
Reads a network model ONNX.
int hal_ni_magnitude64f(const double *x, const double *y, double *dst, int len)
Definition: hal_replacement.hpp:406
virtual double getTau() const =0
int width
Definition: graycodepattern.hpp:79
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: deriv.hpp:259
Backend
Enum of computation backends supported by layers.
Definition: dnn.hpp:66
virtual int getSpeckleRange() const =0
static Scalar morphologyDefaultBorderValue()
returns "magic" border value for erosion and dilation. It is automatically transformed to Scalar::all...
Definition: imgproc.hpp:1394
Definition: all_layers.hpp:432
Describes the Fast Marching Method implementation.
Definition: fast_marching.hpp:64
@ H264
Definition: cudacodec.hpp:251
void nextFrame(OutputArray frame) CV_OVERRIDE
Process next frame from input and return output result.
__device__ PtrTraits< SrcPtr >::value_type operator()(int y, int x) const
Definition: deriv.hpp:241
Border(int _type, cv::gapi::own::Scalar _val)
Definition: gfluidbuffer.hpp:34
void setTrimRatio(float val)
Definition: motion_stabilizing.hpp:128
virtual int getNumSlicIter()=0
void convertFromDirect3DSurface9(IDirect3DSurface9 *pDirect3DSurface9, OutputArray dst, void *surfaceSharedHandle=NULL)
Converts IDirect3DSurface9 to OutputArray.
void FT02D_FL_process(InputArray matrix, const int radius, OutputArray output)
Sligtly less accurate version of -transfrom computation optimized for higher speed....
int solvePnPGeneric(InputArray objectPoints, InputArray imagePoints, InputArray cameraMatrix, InputArray distCoeffs, OutputArrayOfArrays rvecs, OutputArrayOfArrays tvecs, bool useExtrinsicGuess=false, SolvePnPMethod flags=SOLVEPNP_ITERATIVE, InputArray rvec=noArray(), InputArray tvec=noArray(), OutputArray reprojectionError=noArray())
Finds an object pose from 3D-2D point correspondences. This function returns a list of all the possib...
static softfloat one()
One constant.
Definition: softfloat.hpp:210
virtual bool computeSaliencyImpl(InputArray image, OutputArray saliencyMap) CV_OVERRIDE=0
void read(const String &fileName)
Resize input 4-dimensional blob by nearest neighbor or bilinear strategy.
Definition: all_layers.hpp:622
bool v_check_all(const v_reg< _Tp, n > &a)
Check if all packed values are less than zero.
Definition: intrin_cpp.hpp:1223
int cvCeil(double value)
Rounds floating-point number to the nearest integer not smaller than the original.
Definition: fast_math.hpp:251
void operator()(const cv::Range &r) const CV_OVERRIDE
Definition: descriptor.hpp:293
bool getUpdateGain()
Definition: exposure_compensate.hpp:91
Ptr< detail::RotationWarper > create(float scale) const CV_OVERRIDE
Definition: warpers.hpp:224
Complex(_Tp _re, _Tp _im=0)
Affine3 translate(const Vec3 &t) const
a.translate(t) is equivalent to Affine(E, t) * a, where E is an identity matrix
virtual bool computeSaliencyImpl(InputArray image, OutputArray saliencyMap)=0
int cols
Definition: lut.hpp:77
int num_errs_per_measurement_
Definition: motion_estimators.hpp:200
void setMaskCallback(std::function< void(Mat &)> MaskCallback)
Definition: frame_source.hpp:101
void getDirections(bool &refdir, bool &posdir, bool &negdir, const Vec< double, GPCPatchDescriptor::nFeatures > &coef, double rhs) const
@ CALIB_USE_GUESS
Definition: omnidir.hpp:56
double getBase() const
Definition: saliencySpecializedClasses.hpp:337
PtrTraits< SrcPtr >::value_type value_type
Definition: interpolation.hpp:99
Mat temp4
Definition: tracking.hpp:408
virtual const std::vector< int > & getRoots() const =0
Returns indices of root nodes.
virtual bool getUpright() const =0
virtual void edgesNms(cv::InputArray edge_image, cv::InputArray orientation_image, cv::OutputArray _dst, int r=2, int s=0, float m=1, bool isParallel=true) const =0
The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction.
GCompiledT compile(detail::ProtoToMetaT< Args >... inDescs)
Definition: gtyped.hpp:139
::int16_t int16_t
Definition: cvdef.h:768
void sortIdx(InputArray src, OutputArray dst, int flags)
Sorts each row or each column of a matrix.
Ptr< detail::Estimator > estimator()
Definition: stitching.hpp:229
#define CV_8UC1
Definition: interface.h:88
void postprocess_ocl(Outputs &... outs)
Definition: goclkernel.hpp:152
CvResult
Definition: llapi.h:31
cv::Scalar compute(InputArray cmp) CV_OVERRIDE
Compute the PSNR.
Definition: qualitypsnr.hpp:48
virtual void read(const FileNode &fn) CV_OVERRIDE=0
Definition: msm_middlebury.hpp:69
virtual Mat getDefaultSubstValues() const =0
virtual void getRidgeFilteredImage(InputArray _img, OutputArray out)=0
Apply Ridge detection filter on input image.
@ Uncompressed_UYVY
UYVY (4:2:2)
Definition: cudacodec.hpp:264
@ CAP_PROP_XI_CHIP_TEMP
Camera sensor temperature.
Definition: videoio.hpp:394
@ CHAIN_APPROX_NONE
Definition: imgproc.hpp:431
@ FEATURE_SET_COMPUTE_11
Definition: cuda.hpp:770
void compare(InputArray src1, InputArray src2, OutputArray dst, int cmpop)
Performs the per-element comparison of two arrays or an array and scalar value.
@ DTF_NC
Definition: edge_filter.hpp:53
KeyboardEvent(Action action, const String &symbol, unsigned char code, int modifiers)
Constructs a KeyboardEvent.
Simple widgets.
Definition: widgets.hpp:236
v_reg< typename V_TypeTraits< _Tp >::w_type, n/2 > v_expand_low(const v_reg< _Tp, n > &a)
Expand lower values to the wider pack type.
Definition: intrin_cpp.hpp:1298
@ CAP_OPENCV_MJPEG
Built-in OpenCV MotionJPEG codec.
Definition: videoio.hpp:120
@ DTF_IC
Definition: edge_filter.hpp:54
virtual bool retrieve(OutputArray image, int flag=0)
Decodes and returns the grabbed video frame.
virtual void setLayerSizes(InputArray _layer_sizes)=0
Definition: interpolation.hpp:64
virtual void setMinSampleCount(int val)=0
BackendWrapper(int backendId, int targetId)
virtual bool getRefineModels() const =0
Parameter to choose wether additional refinement of the piece-wise affine models is employed.
virtual void setAdjustOutliers(bool val)=0
double sampsonDistance(InputArray pt1, InputArray pt2, InputArray F)
Calculates the Sampson Distance between two points.
void removeChilds()
Definition: utility.hpp:1103
WCameraPosition(const Matx33d &K, InputArray image, double scale=1.0, const Color &color=Color::white())
Display image on the far plane of the viewing frustum.
cv::gapi::GBackend backend()
Get a reference to OCL backend.
UMatData * originalUMatData
Definition: mat.hpp:567
GMatP NV12toRGBp(const GMat &src_y, const GMat &src_uv)
Converts an image from NV12 (YUV420p) color space to RGB. The function converts an input image from N...
virtual ~PoseCluster3D()
Definition: pose_3d.hpp:162
#define HaarStage64_Interpret_MaskRootNodes
Definition: NCVHaarObjectDetection.hpp:270
ColorGradient()
Default constructor. Uses reasonable default parameter values.
AutoBuffer< _Tp, fixed_size > & operator=(const AutoBuffer< _Tp, fixed_size > &buf)
the assignment operator
virtual int getNumDisparities() const =0
std::vector< float > svmDetector
coefficients for the linear SVM classifier.
Definition: objdetect.hpp:617
SvmsgdType
Definition: ml.hpp:1794
_OutputArray(cuda::GpuMat &d_mat)
TLSData()
Definition: tls.hpp:64
__device__ static __forceinline__ uint min()
Definition: limits.hpp:104
__device__ __forceinline__ T blockScanExclusive(T data, volatile T *smem, uint tid)
Definition: scan.hpp:246
WCube(const Point3d &min_point=Vec3d::all(-0.5), const Point3d &max_point=Vec3d::all(0.5), bool wire_frame=true, const Color &color=Color::white())
Constructs a WCube.
all_satisfy< is_meta_descr, typename all_but_last< Ts... >::type > are_meta_descrs_but_last
Definition: gmetaarg.hpp:60
void mapForward(float x, float y, float &u, float &v)
bool operator==(const TrackedObject &first, const TrackedObject &second)
int hal_ni_max64f(const double *src1_data, size_t src1_step, const double *src2_data, size_t src2_step, double *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:109
NCVStatus nppiStDecimate_64f_C1R_host(Ncv64f *h_src, Ncv32u srcStep, Ncv64f *h_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale)
Base class for 1st and 2nd stages of Neumann and Matas scene text detection algorithm ....
Definition: erfilter.hpp:119
int hal_ni_canny(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int cn, double lowThreshold, double highThreshold, int ksize, bool L2gradient)
Canny edge detector.
Definition: hal_replacement.hpp:769
Mat sum
Definition: feature.hpp:394
__host__ GpuMat_ & adjustROI(int dtop, int dbottom, int dleft, int dright)
SrcPtr src
Definition: deriv.hpp:239
virtual double getDp() const =0
Ptr< ILog > log() const
Definition: stabilizer.hpp:72
virtual Ptr< MaskGenerator > getMaskGenerator()=0
GMat NV12toBGR(const GMat &src_y, const GMat &src_uv)
Converts an image from NV12 (YUV420p) color space to BGR. The function converts an input image from N...
void segment(InputArray frame, OutputArray mask)
Given the input frame, create input blob, run net.
static __host__ int getCols(const Ptr2DSz &ptr)
Definition: traits.hpp:74
virtual int getSmoothingRadius() const =0
Returns the kernel radius used for morphological operations.
Definition: gkernel.hpp:207
@ WND_PROP_OPENGL
opengl support.
Definition: highgui.hpp:199
@ CAP_PROP_OPENNI_BASELINE
In mm.
Definition: videoio.hpp:229
void v_store_high(_Tp *ptr, const v_reg< _Tp, n > &a)
Store data to memory (higher half)
Definition: intrin_cpp.hpp:1645
virtual void reset() CV_OVERRIDE
Definition: frame_source.hpp:94
float lkTermParam2
Definition: quasi_dense_stereo.hpp:57
GMatDesc m_desc
Definition: gfluidbuffer.hpp:101
int hal_ni_cvtBGRtoThreePlaneYUV(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int uIdx)
hal_cvtBGRtoThreePlaneYUV
Definition: hal_replacement.hpp:525
virtual ~Tracker() CV_OVERRIDE
virtual void printAttrs() const CV_OVERRIDE
@ CAP_PROP_XI_WB_KB
White balance blue coefficient.
Definition: videoio.hpp:380
v_float32x4 v_reduce_sum4(const v_float32x4 &a, const v_float32x4 &b, const v_float32x4 &c, const v_float32x4 &d)
Sums all elements of each input vector, returns the vector of sums.
Definition: intrin_cpp.hpp:1158
TrackerSamplerCSC(const TrackerSamplerCSC::Params ¶meters=TrackerSamplerCSC::Params())
Constructor.
virtual void setPreFilterCap(int preFilterCap)=0
cv::Point org
The bottom-left corner of the text string in the image.
Definition: render.hpp:164
virtual float predict(InputArray samples, OutputArray results=noArray(), int flags=0) const CV_OVERRIDE=0
Predicts responses for input samples and returns a float type.
Mat & operator=(const Mat &m)
assignment operators
virtual void setPosThresh(int posThresh)=0
Position votes threshold.
@ SEQ
sequence
Definition: persistence.hpp:484
Mat(const Point3_< _Tp > &pt, bool copyData=true)
static void read(const FileNode &node, schar &value, schar default_value)
Definition: persistence.hpp:1130
cv::Mat descriptor_fast
Fast descriptor.
Definition: tracking_by_matching.hpp:384
@ OCL_VECTOR_MAX
Definition: ocl.hpp:614
#define CV_HAL_ERROR_NOT_IMPLEMENTED
Definition: interface.h:10
static Ptr< FisherFaceRecognizer > create(int num_components=0, double threshold=DBL_MAX)
MotionModel motionModel_
Definition: inpainting.hpp:95
virtual void setNumWarps(int warps)=0
double threshold
Definition: predict_collector.hpp:92
::int8_t int8_t
Definition: cvdef.h:766
@ CALIB_FIX_INTRINSIC
Definition: calib3d.hpp:288
Ptr< HDF5 > open(const String &HDF5Filename)
Open or create hdf5 file.
std::string model_filename
filename where the trained model will be saved
Definition: facemarkLBF.hpp:79
virtual void generateFeatures() CV_OVERRIDE
virtual void fixCameraYawAxis(bool useFixed, InputArray up=noArray())=0
virtual void clearImages()=0
Clear the list of images to process.
Trajectory trajectory
Definition: tracker.hpp:512
virtual void setEdgeThreshold(double edge_threshold)=0
cv::Mat getCameraMatrix() const CV_OVERRIDE
Definition: depth.hpp:1071
Definition: slam_tumindoor.hpp:68
int rows
Definition: deriv.hpp:302
int locate(Point2f pt, int &edge, int &vertex)
Returns the location of a point within a Delaunay triangulation.
v_reg< _Tp, n > v_max(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Choose max values for each pair.
Definition: intrin_cpp.hpp:588
Definition: frame_source.hpp:66
virtual void setRho(float rho)=0
GMat phase(const GMat &x, const GMat &y, bool angleInDegrees=false)
Calculates the rotation angle of 2D vectors.
const cv::Vec< double, 2 > & getShift() const
Definition: mapaffine.hpp:96
int FT02D_iteration(InputArray matrix, InputArray kernel, OutputArray output, InputArray mask, OutputArray maskOutput, bool firstStop)
Computes -transfrom and inverse -transfrom at once and return state.
virtual void write(FileStorage &fs) const =0
Write detector to FileStorage.
@ CAP_GIGANETIX
Smartek Giganetix GigEVisionSDK.
Definition: videoio.hpp:108
void repeat(InputArray src, int ny, int nx, OutputArray dst)
Fills the output array with repeated copies of the input array.
SrcPtr src
Definition: reduction.hpp:66
int getImageWidth() const
Definition: saliencySpecializedClasses.hpp:199
virtual void setDelta(float val)=0
Weight of the color constancy term.
bool computeSaliency(InputArray image, OutputArray saliencyMap)
Definition: saliencySpecializedClasses.hpp:81
void createQuaternionImage(InputArray img, OutputArray qimg)
creates a quaternion image.
@ STORE_UNALIGNED
Definition: intrin.hpp:95
TrackerStateEstimatorSVM()
the Fast Self-tuning Background Subtraction Algorithm from
Definition: saliencySpecializedClasses.hpp:170
bool haveImageWriter(const String &filename)
Returns true if an image with the specified filename can be encoded by OpenCV.
WImageOverlay(InputArray image, const Rect &rect)
Constructs an WImageOverlay.
Ptr< GeneralizedHoughBallard > createGeneralizedHoughBallard()
Creates a smart pointer to a cv::GeneralizedHoughBallard class and initializes it.
cv::Scalar compute(InputArrayOfArrays cmpImgs) CV_OVERRIDE
Computes MSE for reference images supplied in class constructor and provided comparison images.
@ YUV444
Definition: cudacodec.hpp:274
const Ptr< detail::FeaturesMatcher > featuresMatcher() const
Definition: stitching.hpp:213
The base class algorithms that can merge exposure sequence to a single image.
Definition: photo.hpp:599
void deletePoint(int vtx)
static Ptr< Layer > create(const LayerParams ¶ms)
@ COLOR_BayerBG2BGR_EA
Edge-Aware Demosaicing.
Definition: imgproc.hpp:766
void init(const Mat **arrays, Mat *planes, uchar **ptrs, int narrays=-1)
the separate iterator initialization method
static void write(FileStorage &fs, const Point3_< _Tp > &pt)
Definition: persistence.hpp:915
Mat samplePCByQuantization(Mat pc, Vec2f &xrange, Vec2f &yrange, Vec2f &zrange, float sample_step_relative, int weightByCenter=0)
Ptr< CvVideoWriter > writer
Definition: videoio.hpp:973
Matx< double, 4, 1 > Matx41d
Definition: matx.hpp:226
@ DICT_5X5_250
Definition: dictionary.hpp:148
cv::gapi::GBackend backend()
Get a reference to Fluid backend.
GpuMat & setTo(Scalar s, InputArray mask)
sets some of the GpuMat elements to s, according to the mask (Blocking call)
int rows
Definition: interpolation.hpp:78
SrcPtr src
Definition: warping.hpp:154
int estimatePoseBoard(InputArrayOfArrays corners, InputArray ids, const Ptr< Board > &board, InputArray cameraMatrix, InputArray distCoeffs, InputOutputArray rvec, InputOutputArray tvec, bool useExtrinsicGuess=false)
Pose estimation for a board of markers.
char Yes
Definition: functional.hpp:889
@ SF_UYVY
Definition: cudacodec.hpp:74
__host__ ZipPtrSz< tuple< typename PtrTraits< Ptr0 >::ptr_type, typename PtrTraits< Ptr1 >::ptr_type > > zipPtr(const Ptr0 &ptr0, const Ptr1 &ptr1)
Definition: zip.hpp:118
virtual int getResponseType() const =0
Action
Definition: types.hpp:286
@ POS
Definition: pd_inria.hpp:62
@ z
Definition: gr_skig.hpp:67
static void AGAST_7_12d(InputArray _img, std::vector< KeyPoint > &keypoints, int threshold)
Definition: agast.txt:818
v_uint8x16 v_pack(const v_uint16x8 &a, const v_uint16x8 &b)
Definition: intrin_cpp.hpp:2275
virtual void printDefaults() const
bool operator!=(const Rect &lhs, const Rect &rhs)
Definition: types.hpp:59
float prob
probability of success
Definition: motion_core.hpp:78
void findCorrespondences(InputArray imgFrom, InputArray imgTo, std::vector< std::pair< Point2i, Point2i > > &corr, const GPCMatchingParams params=GPCMatchingParams()) const
Find correspondences between two images.
Definition: sparse_matching_gpc.hpp:313
double getMaxRotation() const
Definition: depth.hpp:723
any(any const &src)
Definition: any.hpp:78
Scalar_< _Tp > conj() const
returns (v0, -v1, -v2, -v3)
Size(int _width, int _height)
Definition: types.hpp:92
Ptr< ThinPlateSplineShapeTransformer > createThinPlateSplineShapeTransformer(double regularizationParameter=0)
Represents a compiled computation (graph). Can only be used with image / data formats & resolutions i...
Definition: gcompiled.hpp:67
static void help_reset(gapi::fluid::Buffer &b)
Definition: gfluidkernel.hpp:235
static Ptr< ConcatLayer > create(const LayerParams ¶ms)
void operator()(int rrWidth, int w2, int rWidth, int jj, int j, int c[num_images]) const
Definition: descriptor.hpp:115
G_TYPED_KERNEL_M(GSobelXY,< GMat2(GMat, int, int, int, double, double, int, Scalar)>, "org.opencv.imgproc.filters.sobelxy")
Definition: imgproc.hpp:87
Class with reference counting wrapping special memory type allocation functions from CUDA.
Definition: cuda.hpp:525
Rect warpRoi(Size src_size, InputArray K, InputArray H) CV_OVERRIDE
bool has(const String &key) const
Checks a presence of the key in the dictionary.
int radius() const
Definition: stabilizer.hpp:75
int getTypeFromD3DFORMAT(const int iD3DFORMAT)
Get OpenCV type from DirectX type.
virtual double getDefaultLearningRate() const =0
const cv::gapi::own::Mat & inMat(int input)
void project(InputArray vec, OutputArray result) const
@ COLOR_BayerGR2GRAY_MHT
Definition: cudaimgproc.hpp:108
void resetVertexArray()
Resets vertex coordinates.
size_t image3DMaxHeight() const
float _e1
Definition: onlineMIL.hpp:97
Ncv32s height
Rectangle height.
Definition: NCV.hpp:175
Full reference peak signal to noise ratio (PSNR) algorithm https://en.wikipedia.org/wiki/Peak_signal-...
Definition: qualitypsnr.hpp:21
@ WINDOW_FREERATIO
the image expends as much as it can (no ratio constraint).
Definition: highgui.hpp:188
RotatedRect(const Point2f &point1, const Point2f &point2, const Point2f &point3)
virtual ~TrackerSamplerAlgorithm()
Destructor.
int DeblockMode
NVVE_DEBLOCK_MODE,.
Definition: cudacodec.hpp:96
v_uint8x16 v_pack_u(const v_int16x8 &a, const v_int16x8 &b)
Definition: intrin_cpp.hpp:2281
void replaceWeakClassifier(int idx)
__host__ __device__ bool operator==(const NcvSize32u &another) const
Definition: NCV.hpp:187
void createLaplacePyr(InputArray img, int num_levels, std::vector< UMat > &pyr)
v_int16x8 v_reinterpret_as_s16(const v_reg< _Tp0, n0 > &a)
Definition: intrin_cpp.hpp:2185
@ CAP_INTELPERC_IR_GENERATOR
Definition: videoio.hpp:532
RgbdICPOdometry(const Mat &cameraMatrix, float minDepth=Odometry::DEFAULT_MIN_DEPTH(), float maxDepth=Odometry::DEFAULT_MAX_DEPTH(), float maxDepthDiff=Odometry::DEFAULT_MAX_DEPTH_DIFF(), float maxPointsPart=Odometry::DEFAULT_MAX_POINTS_PART(), const std::vector< int > &iterCounts=std::vector< int >(), const std::vector< float > &minGradientMagnitudes=std::vector< float >(), int transformType=Odometry::RIGID_BODY_MOTION)
softdouble(const int64_t)
virtual const Distance & distanceFast() const =0
Fast distance getter.
_Tp height
the height
Definition: types.hpp:340
void fillFixed(Mat &G, int flags, int n)
virtual void getLayer(OutputArray outImg, Size outRoi, Stream &stream=Stream::Null()) const =0
virtual void setNumScales(int nscales)=0
int wscale
Definition: ocl.hpp:383
static U wrap_in(const U &u)
Definition: gtype_traits.hpp:146
virtual void renderSurface(OutputArray depthImage, OutputArray vertImage, OutputArray normImage, bool warp=true)=0
cv::Size getMaxObjectSize() const
Definition: detection_based_tracker.hpp:92
__device__ __forceinline__ void warpReduce(volatile T *smem, T &val, uint tid, const Op &op)
Definition: reduce.hpp:62
const std::vector< int > & getIdxDetections() const
Definition: onlineBoosting.hpp:225
virtual const String printSetup()=0
parameters setup display method
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())
PtrTraits< SrcPtr >::value_type val
Definition: extrapolation.hpp:67
bool checkDetectorSize() const
Checks if detector size equal to descriptor size.
Matx(const Matx< _Tp, m, n > &a, const Matx< _Tp, m, n > &b, Matx_SubOp)
void forEach(const Functor &operation)
template methods for for operation over all matrix elements.
bool useGlobalMotionPrior
Definition: rlofflow.hpp:134
@ CAP_PROP_XI_BPC
Correction of bad pixels.
Definition: videoio.hpp:377
virtual Mat cluster(const Mat &descriptors) const =0
Clusters train descriptors.
__device__ static __forceinline__ short min()
Definition: limits.hpp:83
virtual ~TrackerBoosting() CV_OVERRIDE
Definition: tracker.hpp:1129
virtual int outputNameToIndex(const String &outputName)
Returns index of output blob in output array.
virtual bool getDoSort() const =0
@ COLOR_BGRA2BGR
remove alpha channel from RGB or BGR image
Definition: imgproc.hpp:527
void apply(GRunArgs &&ins, GRunArgsP &&outs, GCompileArgs &&args={})
Compile graph on-the-fly and immediately execute it on the inputs data vectors.
v_reg< typename V_TypeTraits< _Tp >::abs_type, n > v_popcount(const v_reg< _Tp, n > &a)
Count the 1 bits in the vector lanes and return result as corresponding unsigned type.
Definition: intrin_cpp.hpp:635
virtual void clear()
Clears the algorithm state.
Definition: core.hpp:3084
std::unordered_map< std::string, ConstInput > const_inputs
Definition: ie.hpp:55
double floord(double x)
Definition: saturate.hpp:83
size_t stepT(int i=0) const
returns step()/sizeof(_Tp)
virtual int getMedianFiltering() const =0
Median filter kernel size (1 = no filter) (3 or 5)
virtual bool computeImpl(const std::vector< Mat > &images, Mat &response)=0
@ COLOR_BGR2GRAY
convert between RGB/BGR and grayscale, color conversions
Definition: imgproc.hpp:542
@ HDO_RAW
Definition: fast_hough_transform.hpp:107
@ EVENT_FLAG_SHIFTKEY
indicates that SHIFT Key is pressed.
Definition: highgui.hpp:226
void drawLineMatches(const Mat &img1, const std::vector< KeyLine > &keylines1, const Mat &img2, const std::vector< KeyLine > &keylines2, const std::vector< DMatch > &matches1to2, Mat &outImg, const Scalar &matchColor=Scalar::all(-1), const Scalar &singleLineColor=Scalar::all(-1), const std::vector< char > &matchesMask=std::vector< char >(), int flags=DrawLinesMatchesFlags::DEFAULT)
Draws the found matches of keylines from two images.
#define CV_CUDEV_HSV2RGB_INST(name, scn, dcn, bidx)
Definition: color_cvt.hpp:236
PtrTraits< SrcPtr >::value_type value_type
Definition: deriv.hpp:143
GMat subRC(const GScalar &c, const GMat &src, int ddepth=-1)
Calculates the per-element difference between given scalar and the matrix.
String dumpInputOutputArrayOfArrays(InputOutputArrayOfArrays argument)
int ymax
Definition: or_pascal.hpp:65
virtual void setDist2Threshold(double _dist2Threshold)=0
Sets the threshold on the squared distance.
@ DEFAULT_NLEVELS
Default nlevels value.
Definition: objdetect.hpp:377
ConsistentMosaicInpainter()
virtual void putText(InputOutputArray img, const String &text, Point org, int fontHeight, Scalar color, int thickness, int line_type, bool bottomLeftOrigin)=0
Draws a text string.
virtual void setMarginType(int marginType)=0
Margin type, one of SVMSGD::MarginType.
DeviceInfo::ComputeMode computeMode() const
compute mode
@ MM_RIGID
Definition: motion_core.hpp:64
NcvSize32u size() const
Definition: NCV.hpp:826
int width
Definition: pd_inria.hpp:75
static void write(FileStorage &fs, const String &name, const _Tp &val)
Definition: persistence.hpp:1067
__host__ __device__ HaarClassifierNodeDescriptor32 getLeftNodeDesc(void)
Definition: NCVHaarObjectDetection.hpp:256
void record(Stream &stream=Stream::Null())
records an event
Vec< int, 6 > Vec6i
Definition: matx.hpp:415
_Tp value_type
Definition: utility.hpp:104
float score
Definition: dpm.hpp:113
void setOptFlowEstimator(Ptr< IDenseOptFlowEstimator > val)
Definition: inpainting.hpp:146
void jflushStream(unsigned currval, int bitIdx)
@ COLOR_RGBA2YUV_YV12
Definition: imgproc.hpp:735
void setBase(double val)
Definition: saliencySpecializedClasses.hpp:341
void allocate(size_t _size)
allocates the new buffer of size _size. if the _size is small enough, stack-allocated buffer is used
Definition: all_layers.hpp:559
int minusStep
Definition: imgproc.hpp:4739
T value
Definition: constant.hpp:62
@ CAP_PROP_IOS_DEVICE_EXPOSURE
Definition: videoio.hpp:495
Size getGridSize() const
Definition: aruco.hpp:340
__device__ __forceinline__ uint vsetgt2(uint a, uint b)
Definition: simd_functions.hpp:322
bool loadFacePoints(String filename, OutputArray points, float offset=0.0f)
A utility to load facial landmark information from a given file.
std::vector< std::string > paths
Definition: or_sun.hpp:73
MultiBandBlender(int try_gpu=false, int num_bands=5, int weight_type=CV_32F)
static Ptr< RidgeDetectionFilter > create(int ddepth=CV_32FC1, int dx=1, int dy=1, int ksize=3, int out_dtype=CV_8UC1, double scale=1, double delta=0, int borderType=BORDER_DEFAULT)
Create pointer to the Ridge detection filter.
Definition: type_traits.hpp:97
virtual bool setActivation(const Ptr< ActivationLayer > &layer)
Tries to attach to the layer the subsequent activation layer, i.e. do the layer fusion in a partial c...
bool imwrite(const String &filename, InputArray img, const std::vector< int > ¶ms=std::vector< int >())
Saves an image to a specified file.
Definition: freetype.hpp:75
uint imagePitchAlignment() const
This class is used to track multiple objects using the specified tracker algorithm.
Definition: tracker.hpp:1331
int hal_ni_fastAtan32f(const float *y, const float *x, float *dst, int len, bool angleInDegrees)
Definition: hal_replacement.hpp:388
Ptr< Impl > impl
Definition: dnn.hpp:1145
Definition: functional.hpp:448
float hcellsTemporalConstant
Definition: retina.hpp:162
virtual Ptr< BackendNode > initNgraph(const std::vector< Ptr< BackendWrapper > > &inputs, const std::vector< Ptr< BackendNode > > &nodes)
This 3D Widget defines a cube.
Definition: widgets.hpp:373
@ HAAR
Definition: feature.hpp:142
MatExpr operator&(const Mat &a, const Mat &b)
#define ncvAssertPrintCheck(pred, msg)
Definition: NCV.hpp:256
ptrdiff_t difference_type
Definition: mat.hpp:3083
virtual void setMotions2(const std::vector< Mat > &val)
Definition: wobble_suppression.hpp:81
@ IMREAD_ANYDEPTH
If set, return 16-bit/32-bit image when the input has the corresponding depth, otherwise convert it t...
Definition: imgcodecs.hpp:68
Base class for background/foreground segmentation. :
Definition: background_segm.hpp:61
void weightedMedianFilter(InputArray joint, InputArray src, OutputArray dst, int r, double sigma=25.5, int weightType=WMF_EXP, InputArray mask=noArray())
Applies weighted median filter to an image.
__device__ __forceinline__ double4 log2(const double4 &a)
Definition: vec_math.hpp:274
virtual void addGraphSegmentation(Ptr< GraphSegmentation > g)=0
Add a new graph segmentation in the list of graph segementations to process.
int cameraVertex
Definition: multicalib.hpp:84
virtual double getDefaultLearningRate() const =0
Returns the learning rate of the algorithm.
int getDistanceToId(InputArray bits, int id, bool allRotations=true) const
Returns the distance of the input bits to the specific id. If allRotations is true,...
virtual TermCriteria getTermCriteria() const =0
virtual Point2f warpPoint(const Point2f &pt, InputArray K, InputArray R)=0
Projects the image point.
virtual void setImage(InputArray img, InputArray regions, InputArray sizes, int image_id=-1)=0
Set a initial image, with a segmentation.
GProtoInputArgs GIn(Ts &&... ts)
Definition: gproto.hpp:70
virtual void subtract(const Scalar &s, const MatExpr &expr, MatExpr &res) const
size_t freeMemory() const
@ DNN_BACKEND_DEFAULT
Definition: dnn.hpp:70
void minMax(InputArray src, double *minVal, double *maxVal, InputArray mask=noArray())
Finds global minimum and maximum matrix elements and returns their values.
virtual void feed(InputArray img, InputArray mask, Point tl)
Processes the image.
Mat_(int _ndims, const int *_sizes, const _Tp &value)
n-dim array constructor that sets each matrix element to specified value
Definition: functional.hpp:215
virtual void setMsgType(int msg_type)=0
unsigned int VASurfaceID
Definition: va_intel.hpp:23
T float_type
Definition: affine.hpp:129
@ pat
Definition: gr_skig.hpp:71
virtual MotionModel motionModel() const
Definition: global_motion.hpp:111
float eval(const Mat &response)
virtual void setMaxAngle(double maxAngle)=0
Maximal rotation angle to detect in degrees.
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.
Definition: deblurring.hpp:60
int m_threads
Definition: instrumentation.hpp:89
Definition: bufferpool.hpp:22
@ DIST_HUBER
distance = |x|<c ? x^2/2 : c(|x|-c/2), c=1.345
Definition: imgproc.hpp:304
void setMaxTranslation(double val)
Definition: depth.hpp:719
void train(GPCTrainingSamples &samples, const GPCTrainingParams params=GPCTrainingParams())
Train the forest using one sample set for every tree. Please, consider using the next method instead ...
Definition: sparse_matching_gpc.hpp:237
void setInputParams(double scale=1.0, const Size &size=Size(), const Scalar &mean=Scalar(), bool swapRB=false, bool crop=false)
Set preprocessing parameters for frame.
Definition: reduction.hpp:65
virtual Size getClassifierSize() const =0
softdouble setFrac(const softdouble &s) const
Construct a copy with provided significand.
Definition: softfloat.hpp:338
@ DTF_RF
Definition: edge_filter.hpp:55
@ COLOR_RGB2YCrCb
Definition: imgproc.hpp:581
cv::gapi::GBackend backend()
Get a reference to CPU (OpenCV) backend.
virtual bool getUsePrefilter() const =0
#define CV_CUDEV_EXPR_BINARY_FUNC(name)
Definition: binary_func.hpp:61
@ GC_EVAL
Definition: imgproc.hpp:358
__device__ __forceinline__ PtrTraits< SrcPtr >::value_type operator()(typename PtrTraits< SrcPtr >::index_type y, typename PtrTraits< SrcPtr >::index_type x) const
Definition: resize.hpp:68
Definition: constant.hpp:68
@ TYPE_WRAPPER
Definition: instrumentation.hpp:49
float stdev() const
Definition: motion_stabilizing.hpp:104
int hal_ni_add64f(const double *src1_data, size_t src1_step, const double *src2_data, size_t src2_step, double *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:82
Vec< float, 3 > Vec3f
Definition: matx.hpp:419
BRISQUE (Blind/Referenceless Image Spatial Quality Evaluator) is a No Reference Image Quality Assessm...
Definition: qualitybrisque.hpp:26
virtual void setCallback(const Ptr< ERFilter::Callback > &cb)=0
set/get methods to set the algorithm properties,
static Ptr< RLOFOpticalFlowParameter > create()
Creates instance of optflow::RLOFOpticalFlowParameter.
static double determinant(const Matx< _Tp, m, m > &a)
std::vector< uint8_t * > m_linePtrs
Definition: gfluidbuffer.hpp:100
AverageHash()
Definition: average_hash.hpp:26
float index_type
Definition: interpolation.hpp:237
virtual void apply(InputArray src, OutputArray dst)=0
Equalizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization.
int createTrackbar(const String &trackbarname, const String &winname, int *value, int count, TrackbarCallback onChange=0, void *userdata=0)
Creates a trackbar and attaches it to the specified window.
Definition: functional.hpp:695
double polygonalApproxAccuracyRate
Definition: aruco.hpp:162
@ INTERSECT_PARTIAL
There is a partial intersection.
Definition: imgproc.hpp:796
void * userdata
Definition: mat.hpp:564
int corrWinSizeY
Definition: quasi_dense_stereo.hpp:41
virtual void setFastThreshold(int fastThreshold)=0
static Ptr< MishLayer > create(const LayerParams ¶ms)
#define _v512_set_epu32(a15, a14, a13, a12, a11, a10, a9, a8, a7, a6, a5, a4, a3, a2, a1, a0)
Definition: intrin_avx512.hpp:21
InpaintTypes
Various inpainting algorithms.
Definition: inpainting.hpp:70
"black box" representation of the file storage associated with a file on disk.
Definition: affine.hpp:52
void createPointCloudMesh(const String &name, InputArray vertices, InputArray colors=noArray())
Ptr< FreeType2 > createFreeType2()
Create FreeType2 Instance.
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...
Point2f pt
Definition: descriptor.hpp:115
float photoreceptorsSpatialConstant
Definition: retina.hpp:162
const _InputOutputArray & InputOutputArray
Definition: mat.hpp:441
__host__ Expr< UnaryTransformPtrSz< typename PtrTraits< SrcPtr >::ptr_type, abs_func< typename PtrTraits< SrcPtr >::value_type > > > abs_(const SrcPtr &src)
Definition: unary_func.hpp:68
virtual void setDecisionThreshold(double thresh)=0
SparseMatIterator iterator
Definition: mat.hpp:2668
static MatAllocator * getDefaultAllocator()
virtual int getP1() const =0
@ CAP_PROP_APERTURE
Aperture. Can be readonly, depends on camera program.
Definition: videoio.hpp:561
void getMatGains(std::vector< Mat > &umv) CV_OVERRIDE
Definition: exposure_compensate.hpp:208
@ RETINA_COLOR_BAYER
standard bayer sampling
Definition: retina.hpp:86
virtual Mat getVarType() const =0
double getTimeMilli() const
Definition: utility.hpp:359
NCVStatus nppiStDecimate_32f_C1R(Ncv32f *d_src, Ncv32u srcStep, Ncv32f *d_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale, NcvBool readThruTexture)
FlannBasedMatcher(const Ptr< flann::IndexParams > &indexParams=makePtr< flann::KDTreeIndexParams >(), const Ptr< flann::SearchParams > &searchParams=makePtr< flann::SearchParams >())
void updateImpl(std::vector< ConfidenceMap > &confidenceMaps) CV_OVERRIDE
FastICPOdometry(const Mat &cameraMatrix, float maxDistDiff=Odometry::DEFAULT_MAX_DEPTH_DIFF(), float angleThreshold=(float)(30. *CV_PI/180.), float sigmaDepth=0.04f, float sigmaSpatial=4.5f, int kernelSize=7, const std::vector< int > &iterCounts=std::vector< int >())
void match(const ImageFeatures &features1, const ImageFeatures &features2, MatchesInfo &matches_info) CV_OVERRIDE
This method must implement matching logic in order to make the wrappers detail::FeaturesMatcher::oper...
static bool convert(const String &oldcascade, const String &newcascade)
void decodeParameters(InputArray paramsters, OutputArray K, OutputArrayOfArrays omAll, OutputArrayOfArrays tAll, OutputArray distoration, double &xi)
virtual void setMaxCategories(int val)=0
virtual int getDefaultK() const =0
@ IMREAD_REDUCED_COLOR_4
If set, always convert image to the 3 channel BGR color image and the image size reduced 1/4.
Definition: imgcodecs.hpp:74
Class computing a dense optical flow using the Gunnar Farneback's algorithm.
Definition: tracking.hpp:476
Ptr< BackgroundSubtractorLSBP > createBackgroundSubtractorLSBP(int mc=LSBP_CAMERA_MOTION_COMPENSATION_NONE, int nSamples=20, int LSBPRadius=16, float Tlower=2.0f, float Tupper=32.0f, float Tinc=1.0f, float Tdec=0.05f, float Rscale=10.0f, float Rincdec=0.005f, float noiseRemovalThresholdFacBG=0.0004f, float noiseRemovalThresholdFacFG=0.0008f, int LSBPthreshold=8, int minCount=2)
Creates an instance of BackgroundSubtractorLSBP algorithm.
virtual int getNOctaves() const =0
virtual void warp(InputArray img1, OutputArray img2) const
DictValue(unsigned p)
Constructs integer scalar.
Definition: dict.hpp:66
__device__ __forceinline__ float1 sin(const uchar1 &a)
Definition: vec_math.hpp:285
virtual void setScale(float)
Definition: warpers.hpp:119
The class SparseMat represents multi-dimensional sparse numerical arrays.
Definition: mat.hpp:2666
WText(const String &text, const Point &pos, int font_size=20, const Color &color=Color::white())
Constructs a WText.
@ DICT_4X4_50
Definition: dictionary.hpp:142
static Ptr< TanHLayer > create(const LayerParams ¶ms)
@ CAP_PROP_XI_CC_MATRIX_10
Color Correction Matrix element [1][0].
Definition: videoio.hpp:409
_OutputArray(const std::vector< _Tp > &vec)
int hal_ni_cvtBGRtoBGR5x5(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int greenBits)
hal_cvtBGRtoBGR5x5
Definition: hal_replacement.hpp:322
Simple blender which mixes images at its borders.
Definition: blenders.hpp:101
virtual void getForegroundRegions(OutputArrayOfArrays foreground_regions)=0
Returns the output foreground regions calculated by findContours.
Icosohedron based camera view data generator. The class create some sphere views of camera towards a ...
Definition: cnn_3dobj.hpp:125
std::function< void(GPlaidMLContext &)> F
Definition: gplaidmlkernel.hpp:59
@ COLOR_HLS2BGR_FULL
Definition: imgproc.hpp:613
int veclen() const
Definition: flann.hpp:290
Mat getStructuringElement(int shape, Size ksize, Point anchor=Point(-1,-1))
Returns a structuring element of the specified size and shape for morphological operations.
@ COLOR_YUV420p2BGRA
Definition: imgproc.hpp:662
virtual void getNormCatValues(int vi, InputArray sidx, int *values) const =0
@ StsAutoTrace
tracing
Definition: base.hpp:77
Ptr< SuperResolution > createSuperResolution_BTVL1()
Create Bilateral TV-L1 Super Resolution.
CvFeatureParams * featureParams
Definition: feature.hpp:195
@ cross
Definition: gr_skig.hpp:68
MatConstIterator(const Mat *_m, const int *_idx)
constructor that sets the iterator to the specified element of the matrix
static Ptr< BlockMeanHash > create(int mode=BLOCK_MEAN_HASH_MODE_0)
void sqrt32f(const float *src, float *dst, int len)
bool empty() const CV_OVERRIDE
Implements Algorithm::empty()
Definition: qualitypsnr.hpp:59
bool loadDatasetList(String imageList, String annotationList, std::vector< String > &images, std::vector< String > &annotations)
A utility to load list of paths to training image and annotation file.
std::function< void(const cv::GArgs &, const std::vector< gapi::fluid::Buffer * > &)> F
Definition: gfluidkernel.hpp:57
void saveScreenshot(const String &file)
Saves screenshot of the current scene.
void setMaxDepth(double val)
Definition: depth.hpp:671
void meanShiftProc(InputArray src, OutputArray dstr, OutputArray dstsp, int sp, int sr, TermCriteria criteria=TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 5, 1), Stream &stream=Stream::Null())
Performs a mean-shift procedure and stores information about processed points (their colors and posit...
~TLSDataAccumulator()
Definition: tls.hpp:94
Rect_< float > boundingRect2f() const
returns the minimal (exact) floating point rectangle containing the rotated rectangle,...
@ CAP_PROP_XI_DECIMATION_SELECTOR
Decimation engine selector.
Definition: videoio.hpp:364
virtual int getUniquenessRatio() const =0
BinaryDescriptor(const BinaryDescriptor::Params ¶meters=BinaryDescriptor::Params())
Constructor.
Mat(const std::vector< int > &sizes, int type, void *data, const size_t *steps=0)
@ CALIB_CB_FAST_CHECK
Definition: calib3d.hpp:258
virtual void filter(InputArray src, InputArray confidence, OutputArray dst)=0
Apply smoothing operation to the source image.
int radius_
Definition: inpainting.hpp:94
@ ALPHA_OUT_PREMUL
Definition: cudaimgproc.hpp:159
void createOCRHMMTransitionsTable(std::string &vocabulary, std::vector< std::string > &lexicon, OutputArray transition_probabilities_table)
Utility function to create a tailored language model transitions table from a given list of words (le...
void setMaxPointsPart(double val)
Definition: depth.hpp:826
int * refcount
Definition: cuda.hpp:330
void initDelaunay(Rect rect)
Creates a new empty Delaunay subdivision.
virtual void * createDataInstance() const CV_OVERRIDE
Wrapper to allocate data by template.
Definition: tls.hpp:78
const float * warpMat
Definition: warping.hpp:66
@ THRESH_TOZERO_INV
Definition: imgproc.hpp:321
std::function< void(GCPUContext &)> F
Definition: gcpukernel.hpp:116
void setType(int type_)
Definition: agast.txt:7529
GKernelPackage combine(const GKernelPackage &lhs, const GKernelPackage &rhs)
void recip64f(const double *, size_t, const double *src2, size_t step2, double *dst, size_t step, int width, int height, void *scale)
Ncv32f * pBV
backward vertical displacement
Definition: NPP_staging.hpp:124
virtual int getPatchSize() const =0
_OutputArray(const cuda::HostMem &cuda_mem)
Definition: gscalar.hpp:31
virtual cv::Ptr< Map > calculate(InputArray img1, InputArray img2, cv::Ptr< Map > init=cv::Ptr< Map >()) const CV_OVERRIDE
@ COLOR_BGR5652BGR
Definition: imgproc.hpp:553
void findNonZero(InputArray src, OutputArray idx)
Returns the list of locations of non-zero pixels.
virtual void setScalesNumber(int val)=0
virtual void shuffleTrainTest()=0
void recip8s(const schar *, size_t, const schar *src2, size_t step2, schar *dst, size_t step, int width, int height, void *scale)
void histRange(InputArray src, OutputArray hist, InputArray levels, Stream &stream=Stream::Null())
Calculates a histogram with bins determined by the levels array.
void setSource(GRunArgs &&ins)
Specify the input data to GStreamingCompiled for processing, a generic version.
This class represents high-level API for keypoints models.
Definition: dnn.hpp:1188
Ptr< FrameSource > createFrameSource_Camera(int deviceId=0)
const char * name() const
ASCII string identifying device.
Base interface for sparse optical flow algorithms.
Definition: tracking.hpp:454
virtual void setScalesNumber(int val)=0
Number of scales used to create the pyramid of images.
const Mat & getCls() const
Definition: feature.hpp:181
virtual const std::vector< GpuMat > & getTrainDescriptors() const =0
Returns a constant link to the train descriptor collection.
virtual void detectResultRoi(Size src_size, Point &dst_tl, Point &dst_br)
Mat4 matrix
Definition: affine.hpp:273
void phase(InputArray x, InputArray y, OutputArray angle, bool angleInDegrees=false)
Calculates the rotation angle of 2D vectors.
virtual void setDefaultLearningRate(double lr)=0
Sets the learning rate of the algorithm.
@ CAP_PROP_XI_ACQ_BUFFER_SIZE
Acquisition buffer size in buffer_size_unit. Default bytes.
Definition: videoio.hpp:457
K API
Definition: gfluidkernel.hpp:421
virtual int getDescriptorChannels() const =0
void getMatGains(std::vector< Mat > &umv) CV_OVERRIDE
Definition: exposure_compensate.hpp:104
GArgs m_args
Definition: gcompoundkernel.hpp:36
static Ptr< LRNLayer > create(const LayerParams ¶ms)
void bilateralFilter(InputArray src, OutputArray dst, int d, double sigmaColor, double sigmaSpace, int borderType=BORDER_DEFAULT)
Applies the bilateral filter to an image.
@ CAP_PROP_XI_DECIMATION_VERTICAL
Vertical Decimation - vertical sub-sampling of the image - reduces the vertical resolution of the ima...
Definition: videoio.hpp:365
void computeBboxStd(Mat pc, Vec2f &xRange, Vec2f &yRange, Vec2f &zRange)
int cols
Definition: deriv.hpp:256
Base class for Cornerness Criteria computation. :
Definition: cudaimgproc.hpp:520
int axis
Definition: all_layers.hpp:314
@ CAP_PROP_XI_IMAGE_DATA_FORMAT_RGB32_ALPHA
The alpha channel of RGB32 output image format.
Definition: videoio.hpp:438
void detectResultRoi(Size src_size, Point &dst_tl, Point &dst_br) CV_OVERRIDE
void filterHomographyDecompByVisibleRefpoints(InputArrayOfArrays rotations, InputArrayOfArrays normals, InputArray beforePoints, InputArray afterPoints, OutputArray possibleSolutions, InputArray pointsMask=noArray())
Filters homography decompositions based on additional information.
Rect buildMaps(Size src_size, InputArray K, InputArray R, cuda::GpuMat &xmap, cuda::GpuMat &ymap)
virtual void setSpekleRemovalTechnique(int factor)=0
virtual Mat nextFrame() CV_OVERRIDE
Definition: frame_source.hpp:95
virtual ~Modality()
Definition: linemod.hpp:123
@ CAP_PROP_XI_SHUTTER_TYPE
Change sensor shutter type(CMOS sensor).
Definition: videoio.hpp:371
illuminationType
Definition: gr_skig.hpp:82
GStreamingCompiled compileStreaming(GCompileArgs &&args={})
Compile the computation for streaming mode.
@ PSM_SINGLE_LINE
Definition: ocr.hpp:76
virtual void setMiniBatchSize(int val)=0
#define HaarStage64_Interpret_ShiftRootNodeOffset
Definition: NCVHaarObjectDetection.hpp:272
__device__ __forceinline__ PtrTraits< SrcPtr >::value_type operator()(typename PtrTraits< MapXPtr >::index_type y, typename PtrTraits< MapXPtr >::index_type x) const
Definition: remap.hpp:84
virtual size_t getMaxReservedSize() const =0
UMatUsageFlags usageFlags
Definition: mat.hpp:2564
void clearTrainingModels()
Mat temp1
Definition: tracking.hpp:405
~NCVVectorAlloc()
Definition: NCV.hpp:654
@ IMWRITE_JPEG_LUMA_QUALITY
Separate luma quality level, 0 - 100, default is 0 - don't use.
Definition: imgcodecs.hpp:86
void FT02D_inverseFT(InputArray components, InputArray kernel, OutputArray output, int width, int height)
Computes inverse -transfrom.
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:236
Ncv8u width
Definition: NCV.hpp:141
void getVoronoiFacetList(const std::vector< int > &idx, std::vector< std::vector< Point2f > > &facetList, std::vector< Point2f > &facetCenters)
Returns a list of all Voronoi facets.
const value_type & const_reference
Definition: cvstd.hpp:117
ushort u
Definition: cvdef.h:340
virtual const std::vector< Node > & getNodes() const =0
Returns all the nodes.
@ CORNER_REFINE_NONE
Tag and corners detection based on the ArUco approach.
Definition: aruco.hpp:82
float fastAtan2(float y, float x)
Calculates the angle of a 2D vector in degrees.
ArgKind
Definition: gtype_traits.hpp:29
static Ptr< GR_skig > create()
std::vector< Point3f > chessboardCorners
Definition: charuco.hpp:66
Point2f getTargetPosition() const
Get the position.
@ CAP_PROP_PVAPI_FRAMESTARTTRIGGERMODE
FrameStartTriggerMode: Determines how a frame is initiated.
Definition: videoio.hpp:293
virtual void setTermCriteria(TermCriteria &crit)=0
int hal_ni_div8u(const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:257
void printErrors() const
Print list of errors occurred.
@ ALPHA_IN
Definition: cudaimgproc.hpp:159
Ptr< OCRHMMDecoder::ClassifierCallback > loadOCRHMMClassifierNM(const String &filename)
Allow to implicitly load the default character classifier when creating an OCRHMMDecoder object.
bool(* FN_FaceDetector)(InputArray, OutputArray, void *userData)
Definition: facemark_train.hpp:33
virtual void * createDataInstance() const =0
static Ptr< PoolingLayer > create(const LayerParams ¶ms)
int hal_ni_cmp32s(const int *src1_data, size_t src1_step, const int *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height, int operation)
Definition: hal_replacement.hpp:213
int descriptorType() const
Return data type.
@ FONT_HERSHEY_DUPLEX
normal size sans-serif font (more complex than FONT_HERSHEY_SIMPLEX)
Definition: imgproc.hpp:816
bool acrossSpatial
Definition: all_layers.hpp:611
int keyframe2
Definition: simple_pipeline.hpp:152
virtual void setRadius(int radius)=0
virtual int getMaxFeatures() const =0
Returns total number of distinct colors to maintain in histogram.
Data & operator=(const T &t)
Definition: garg.hpp:116
static const std::vector< U > & get(GCPUContext &ctx, int idx)
Definition: gcpukernel.hpp:146
static __host__ AffineMapPtrSz affineMap(Size dstSize, const GpuMat_< float > &warpMat)
Definition: warping.hpp:86
virtual int getPreFilterSize() const =0
static cv::GOCLKernel kernel()
Definition: goclkernel.hpp:239
int getIntValue(int idx=-1) const
int hal_ni_exp32f(const float *src, float *dst, int len)
Definition: hal_replacement.hpp:473
static Ptr< LMSolver > create(const Ptr< LMSolver::Callback > &cb, int maxIters, double eps)
static constexpr const char * tag()
Definition: gkernel.hpp:173
ConnectedComponentsTypes
connected components algorithm output formats
Definition: imgproc.hpp:389
__host__ void gridTransformBinary(const SrcPtr1 &src1, const SrcPtr2 &src2, GpuMat_< DstType > &dst, const Op &op, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: transform.hpp:447
float shape_affinity_w
Shape affinity weight.
Definition: tracking_by_matching.hpp:275
Ptr< TrackerTargetState > estimateImpl(const std::vector< ConfidenceMap > &confidenceMaps) CV_OVERRIDE
int frameCounter
Definition: track_vot.hpp:88
void detectResultRoi(Size src_size, Point &dst_tl, Point &dst_br) CV_OVERRIDE
virtual void setRpropDWMax(double val)=0
int hal_ni_add32s(const int *src1_data, size_t src1_step, const int *src2_data, size_t src2_step, int *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:80
const Ptr< const PCAPrior > prior
Definition: pcaflow.hpp:97
@ CPU_VSX3
Definition: cvdef.h:308
void writeLogMessageEx(LogLevel logLevel, const char *tag, const char *file, int line, const char *func, const char *message)
@ CAP_PVAPI_DECIMATION_2OUTOF8
2 out of 8 decimation
Definition: videoio.hpp:312
void GradientDericheY(InputArray op, OutputArray dst, double alpha, double omega)
Applies Y Deriche filter to an image.
DisjointSets(int elem_count=0)
Definition: util.hpp:58
virtual void setInputMin(float val)=0
Input image range minimum value.
PtrTraits< Ptr0 >::index_type index_type
Definition: zip.hpp:64
float f
Definition: cvdef.h:351
void printMessage() const
Print help message.
StaticSaliencySpectralResidual()
std::vector< int > leaveBiggestComponent(std::vector< ImageFeatures > &features, std::vector< MatchesInfo > &pairwise_matches, float conf_threshold)
BlocksGainCompensator(int bl_width, int bl_height, int nr_feeds)
Definition: exposure_compensate.hpp:198
Point3_(Point3_ &&pt) CV_NOEXCEPT
String getBackendName() const
Returns used backend API name.
KeyPoint()
the default constructor
Ptr< SelectiveSearchSegmentationStrategySize > createSelectiveSearchSegmentationStrategySize()
Create a new size-based strategy.
static CV_CONSTEXPR const int EXPANDED_MAT_DEFAULT_TYPE
Definition: quality_utils.hpp:18
virtual void setMinScale(double minScale)=0
Minimal scale to detect.
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 setScallingFactor(int val)
a number by which the disparity will be multiplied for better display
Definition: matching.hpp:387
@ CALIB_RECOMPUTE_EXTRINSIC
Definition: calib3d.hpp:3051
@ NCV_ALLOCATOR_BAD_DEALLOC
Definition: NCV.hpp:334
softfloat pow(const softfloat &a, const softfloat &b)
Raising to the power.
@ block_dim_y
Definition: transpose.hpp:88
Size winSize
Definition: feature.hpp:194
MatExpr operator>=(const Mat &a, const Mat &b)
void applyTransformationToPoints(InputArray points, InputArray T, OutputArray transformed_points)
Apply Transformation to points.
Matx33d mat
Definition: ir_affine.hpp:64
__device__ __forceinline__ const T * row(int y) const
Definition: glob.hpp:73
static void write(FileStorage &fs, const Vec< _Tp, cn > &v)
Definition: persistence.hpp:946
CreateFlags
Definition: cuda.hpp:699
virtual int radius() const
Definition: deblurring.hpp:67
Definition: sr_general100.hpp:24
@ DICT_APRILTAG_36h10
6x6 bits, minimum hamming distance between any two codes = 10, 2320 codes
Definition: dictionary.hpp:161
void setMatGains(std::vector< Mat > &umv) CV_OVERRIDE
int cellSz
Cell size (same for X, Y). Note: mosaic size must be a multiple of cell size.
Definition: render.hpp:301
@ COLOR_YUV2BGR_IYUV
Definition: imgproc.hpp:649
An abstract class providing interface for text detection algorithms.
Definition: textDetector.hpp:21
void mapForward(float x, float y, float &u, float &v)
static Ptr< StereoSGBM > create(int minDisparity=0, int numDisparities=16, int blockSize=3, int P1=0, int P2=0, int disp12MaxDiff=0, int preFilterCap=0, int uniquenessRatio=0, int speckleWindowSize=0, int speckleRange=0, int mode=StereoSGBM::MODE_SGBM)
Creates StereoSGBM object.
void setGlobalWarnings(bool enabled=false)
void setWidgetPose(const String &id, const Affine3d &pose)
Sets pose of a widget in the window.
Definition: onlineMIL.hpp:60
int width
Definition: histogramphaseunwrapping.hpp:81
void amFilter(InputArray joint, InputArray src, OutputArray dst, double sigma_s, double sigma_r, bool adjust_outliers=false)
Simple one-line Adaptive Manifold Filter call.
void write(FileStorage &fs) const
int xmin
Definition: or_pascal.hpp:62
Rect buildMaps(Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap) CV_OVERRIDE
Builds the projection maps according to the given camera data.
Definition: warpers.hpp:529
Definition: all_layers.hpp:525
TrackerStateEstimatorAdaBoosting based on ADA-Boosting.
Definition: tracker.hpp:647
ParamGrid(double _minVal, double _maxVal, double _logStep)
Constructor with parameters.
#define HaarFeatureDescriptor32_Interpret_MaskFlagRightNodeLeaf
Definition: NCVHaarObjectDetection.hpp:123
void sqrBoxFilter(InputArray src, OutputArray dst, int ddepth, Size ksize, Point anchor=Point(-1, -1), bool normalize=true, int borderType=BORDER_DEFAULT)
Calculates the normalized sum of squares of the pixel values overlapping the filter.
GStreamingCompiled compileStreaming(GMetaArgs &&in_metas, GCompileArgs &&args={})
Compile the computation for streaming mode.
Vec3i maxGridSize() const
maximum size of each dimension of a grid
std::vector< std::vector< LinearMemories > > LinearMemoryPyramid
Definition: linemod.hpp:406
v_reg< double, n > v_cvt_f64(const v_reg< int, n *2 > &a)
Convert to double.
Definition: intrin_cpp.hpp:1957
@ COLOR_BayerGR2BGRA
Definition: imgproc.hpp:780
__device__ __forceinline__ uint vavrg2(uint a, uint b)
Definition: simd_functions.hpp:220
virtual void setTau(double val)=0
Definition: hpe_parse.hpp:66
@ COLOR_YUV2RGBA_NV12
Definition: imgproc.hpp:639
Class providing functionality for querying the specified GPU properties.
Definition: cuda.hpp:824
virtual void setCoef0(double val)=0
Line segment detector class.
Definition: imgproc.hpp:1261
std::vector< std::vector< Point3f > > objPoints
Definition: aruco.hpp:286
@ IMWRITE_PNG_STRATEGY_FIXED
Using this value prevents the use of dynamic Huffman codes, allowing for a simpler decoder for specia...
Definition: imgcodecs.hpp:121
static void selectScatteredFeatures(const std::vector< Candidate > &candidates, std::vector< Feature > &features, size_t num_features, float distance)
Choose candidate features so that they are not bunched together.
double minCornerDistanceRate
Definition: aruco.hpp:163
float compute(const cv::Mat &descr1, const cv::Mat &descr2) override
Computes distance between two descriptors.
virtual ~FacemarkLBF()
Definition: facemarkLBF.hpp:112
virtual void setFinestScale(int val)=0
Finest level of the Gaussian pyramid on which the flow is computed (zero level corresponds to the ori...
__host__ ConstantPtr< T > constantPtr(T value)
Definition: constant.hpp:73
virtual void detectAsync(InputArray image, OutputArray keypoints, InputArray mask=noArray(), Stream &stream=Stream::Null())
Detects keypoints in an image.
int getNumBaseClassifier()
virtual int getWeakCount() const =0
virtual const std::vector< Mat > & motions() const
Definition: wobble_suppression.hpp:79
static Ptr< cv::stereo::StereoBinaryBM > create(int numDisparities=0, int blockSize=9)
Creates StereoBM object.
virtual void load(const std::string &path) CV_OVERRIDE=0
@ CAP_PROP_XI_SENSOR_FEATURE_VALUE
Allows access to sensor feature value currently selected by XI_PRM_SENSOR_FEATURE_SELECTOR.
Definition: videoio.hpp:483
__host__ __device__ static __forceinline__ schar make(const schar *x)
Definition: vec_traits.hpp:148
static Ptr< DensePyrLKOpticalFlow > create(Size winSize=Size(13, 13), int maxLevel=3, int iters=30, bool useInitialFlow=false)
void destroyAllWindows()
Destroys all of the HighGUI windows.
ErrorCallback redirectError(ErrorCallback errCallback, void *userdata=0, void **prevUserdata=0)
Sets the new error handler and the optional user data.
float cheb_attenuation
Definition: tracker.hpp:1508
GMatDesc asPlanar(int planes) const
Definition: gmat.hpp:194
String className
Definition: saliencyBaseClasses.hpp:81
Ptr< BaseCascadeClassifier > cc
Definition: objdetect.hpp:337
void cvtRGBAtoMultipliedRGBA(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height)
TrackerSamplerPF(const Mat &chosenRect, const TrackerSamplerPF::Params ¶meters=TrackerSamplerPF::Params())
Constructor.
int depth_
Definition: depth.hpp:260
ushort saturate_cast< ushort >(schar v)
Definition: saturate.hpp:120
double aspectRatio() const
aspect ratio (width/height)
float angle
Definition: interface.h:24
virtual Ptr< BackendNode > tryAttach(const Ptr< BackendNode > &node)
Implement layers fusing.
double sampling_step_relative
Definition: ppf_match_3d.hpp:149
double getMinDepth() const
Definition: depth.hpp:659
virtual int getTreeHeight() const =0
std::vector< DMatch > getMatches()
Definition: matchers.hpp:112
virtual void detectMultiScale(InputArray img, std::vector< Rect > &foundLocations, double hitThreshold=0, Size winStride=Size(), Size padding=Size(), double scale=1.05, double finalThreshold=2.0, bool useMeanshiftGrouping=false) const
Detects objects of different sizes in the input image. The detected objects are returned as a list of...
int next
Index of the next split in the list of splits for the node.
Definition: ml.hpp:1183
@ COLOR_BGR5552BGR
Definition: imgproc.hpp:565
@ PREFILTER_XSOBEL
Definition: stereo.hpp:132
@ GPC_DESCRIPTOR_WHT
Worse quality but much faster.
Definition: sparse_matching_gpc.hpp:93
Codec
Video codecs supported by cudacodec::VideoReader .
Definition: cudacodec.hpp:246
Definition: garray.hpp:122
virtual void modelUpdateImpl()=0
@ CAP_PROP_XI_SENSOR_CLOCK_FREQ_INDEX
Sensor clock frequency index. Sensor with selected frequencies have possibility to set the frequency ...
Definition: videoio.hpp:442
@ CPU_AVX_512CD
Definition: cvdef.h:288
const Ncv32u K_LOG2_WARP_SIZE
Definition: NCV.hpp:237
virtual NCVMemoryType memType() const
@ CALIB_FIX_CENTER
Definition: omnidir.hpp:64
virtual void clear() CV_OVERRIDE
Clears the train descriptor collections.
virtual void run(const std::vector< String > &images)=0
#define CV_FORMAT_PRINTF(A, B)
Definition: operations.hpp:61
void _drawPlanarBoardImpl(Board *board, Size outSize, OutputArray img, int marginSize=0, int borderBits=1)
Implementation of drawPlanarBoard that accepts a raw Board pointer.
Definition: all_layers.hpp:466
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.
__host__ NCVStatus setRightNodeDesc(HaarClassifierNodeDescriptor32 nr)
Definition: NCVHaarObjectDetection.hpp:240
Ptr< DeblurerBase > deblurrer() const
Definition: stabilizer.hpp:87
SparseMatConstIterator_< _Tp > const_iterator
Definition: mat.hpp:2947
void erGrouping(InputArray img, InputArrayOfArrays channels, std::vector< std::vector< ERStat > > ®ions, std::vector< std::vector< Vec2i > > &groups, std::vector< Rect > &groups_rects, int method=ERGROUPING_ORIENTATION_HORIZ, const std::string &filename=std::string(), float minProbablity=0.5)
Find groups of Extremal Regions that are organized as text blocks.
std::tuple< cv::GMat, cv::GMat > GMat2
Definition: render.hpp:380
_LayerStaticRegisterer(const String &layerType, LayerFactory::Constructor layerConstructor)
Definition: layer.details.hpp:62
uint result_type
Definition: vec_distance.hpp:64
void dct(InputArray src, OutputArray dst, int flags=0)
Performs a forward or inverse discrete Cosine transform of 1D or 2D array.
void resetMyriadDevice()
Release a Myriad device (binded by OpenCV).
Definition: all_layers.hpp:271
virtual ~ISparseOptFlowEstimator()
Definition: optical_flow.hpp:64
int hal_ni_min8u(const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:111
Mat reproject(const Mat &shape) const
Definition: NCVHaarObjectDetection.hpp:179
bool isNamed() const
returns true if the node has a name
cv::Rect mos
Coordinates of the mosaic.
Definition: render.hpp:300
virtual void setUp(const Mat &firstFrame) CV_OVERRIDE
int preferredVectorWidthChar() const
#define CV_CUDEV_DATA_TYPE_INST(_depth_type, _channel_num)
Definition: vec_traits.hpp:206
std::random_access_iterator_tag iterator_category
Definition: mat.hpp:3022
virtual void detect(InputArray image, OutputArray positions, OutputArray votes=noArray())=0
find template on image
static T get(GCompoundContext &ctx, int idx)
Definition: gcompoundkernel.hpp:55
int featureSetNumFeatures
Definition: tracker.hpp:1078
#define CV_PI
Definition: cvdef.h:326
void addWeighted16u(const ushort *src1, size_t step1, const ushort *src2, size_t step2, ushort *dst, size_t step, int width, int height, void *scalars)
void suppress_unused_warning(const T &)
Utility template function to prevent "unused" warnings by various compilers.
Definition: compiler_hints.hpp:15
KeyPoint(Point2f _pt, float _size, float _angle=-1, float _response=0, int _octave=0, int _class_id=-1)
virtual Mat getTestSampleIdx() const =0
int hal_ni_integral(int depth, int sdepth, int sqdepth, const uchar *src_data, size_t src_step, uchar *sum_data, size_t sum_step, uchar *sqsum_data, size_t sqsum_step, uchar *tilted_data, size_t tilted_step, int width, int height, int cn)
Calculate integral image.
Definition: hal_replacement.hpp:612
_Tp value_type
Definition: cvstd.hpp:113
static void read(const FileNode &node, Point_< _Tp > &value, const Point_< _Tp > &default_value)
Definition: persistence.hpp:723
v_reg< int, 4 > v_int32x4
Four 32-bit signed integer values.
Definition: intrin_cpp.hpp:395
Ptr< Facemark > createFacemarkKazemi()
construct a Kazemi facemark detector
virtual bool getCut() const =0
@ StsVecLengthErr
incorrect vector length
Definition: base.hpp:97
void blendLinear(InputArray src1, InputArray src2, InputArray weights1, InputArray weights2, OutputArray dst)
int getIdxOfNewWeakClassifier()
Definition: onlineBoosting.hpp:125
TransverseMercatorWarper(float scale)
Definition: warpers.hpp:466
Ptr< RFFeatureGetter > createRFFeatureGetter()
void winrt_startMessageLoop(std::function< void(Args...)> &&callback, Args... args)
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 pyra...
int pyramid_level
Definition: linemod.hpp:45
Scalar mean(InputArray src, InputArray mask=noArray())
Calculates an average (mean) of array elements.
std::vector< int > icpIterations
Definition: dynafu.hpp:101
virtual Mat estimate(const Mat &frame0, const Mat &frame1, bool *ok=0) CV_OVERRIDE
@ CAP_PVAPI_PIXELFORMAT_BAYER16
Bayer16.
Definition: videoio.hpp:320
UMat(const UMat &m, const Range *ranges)
Discriminant feature described by its location and label.
Definition: linemod.hpp:27
@ WINDOW_AUTOSIZE
the user cannot resize the window, the size is constrainted by the image displayed.
Definition: highgui.hpp:184
void shrinkCaffeModel(const String &src, const String &dst, const std::vector< String > &layersTypes=std::vector< String >())
Convert all weights of Caffe network to half precision floating point.
Point3_()
default constructor
virtual ~Timelapser()
Definition: timelapsers.hpp:63
const std::vector< Ptr< Modality > > & getModalities() const
Get the modalities used by this detector.
Definition: linemod.hpp:359
virtual int getSuperpixelMode() const =0
Parameter to choose superpixel algorithm variant to use:
virtual float getEdgeMergeThr() const =0
Returns the edge merge threshold.
virtual void setDepthDiscontinuityRadius(int _disc_radius)=0
@ CAP_PROP_PVAPI_DECIMATIONHORIZONTAL
Horizontal sub-sampling of the image.
Definition: videoio.hpp:294
virtual ~TrackerKCF() CV_OVERRIDE
Definition: tracker.hpp:1269
void rescaleDepth(InputArray in, int depth, OutputArray out)
static MatExpr ones(int rows, int cols, int type)
Returns an array of all 1's of the specified size and type.
__device__ static __forceinline__ float epsilon()
Definition: limits.hpp:113
static _AccTp normInf(const _Tp *a, int n)
Definition: base.hpp:441
void create(int rows, int cols, int type)
Allocates new array data if needed.
virtual Size getWinSize() const =0
@ NCV_NPP_ERROR
Definition: NCV.hpp:320
virtual bool empty() const CV_OVERRIDE
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read.
@ ROW_SAMPLE
each training sample is a row of samples
Definition: ml.hpp:98
@ LINE_8
8-connected line
Definition: imgproc.hpp:806
schar type
Definition: vec_traits.hpp:76
const uint8_t * InLineB(int index) const
Definition: gfluidbuffer.hpp:66
int QR32f(float *A, size_t astep, int m, int n, int k, float *b, size_t bstep, float *hFactors)
Ptr< cuda::BackgroundSubtractorFGD > createBackgroundSubtractorFGD(const FGDParams ¶ms=FGDParams())
Creates FGD Background Subtractor.
@ EVENT_LBUTTONUP
indicates that left mouse button is released.
Definition: highgui.hpp:210
std::is_same< GArg, typename std::decay< T >::type > is_garg
Definition: garg.hpp:34
double quant
Definition: descriptor.hpp:703
void insertChannel(InputArray src, InputOutputArray dst, int coi)
Inserts a single channel to dst (coi is 0-based index)
Ptr< ImageMotionEstimatorBase > motionEstimator_
Definition: wobble_suppression.hpp:88
void fill(InputOutputArray mat, int distType, InputArray a, InputArray b, bool saturateRange=false)
Fills arrays with random numbers.
virtual void setMinNeighbors(int minNeighbors)=0
@ CAP_PROP_AUTOFOCUS
Definition: videoio.hpp:171
String matchesGraphAsString(std::vector< String > &pathes, std::vector< MatchesInfo > &pairwise_matches, float conf_threshold)
#define OPENCV_HAL_IMPL_C_RSHIFTR(_Tpvec, _Tp)
Helper macro.
Definition: intrin_cpp.hpp:2230
The CosDistance class allows computing cosine distance between two reidentification descriptors.
Definition: tracking_by_matching.hpp:180
const uint8_t * linePtr(int index) const
Definition: gfluidbuffer.hpp:54
float size
diameter of the meaningful keypoint neighborhood
Definition: types.hpp:772
static Ptr< OR_sun > create()
void reconstruct(InputArrayOfArrays points2d, OutputArray Ps, OutputArray points3d, InputOutputArray K, bool is_projective=false)
Reconstruct 3d points from 2d correspondences while performing autocalibration.
Definition: functional.hpp:672
Definition: dynamic_smem.hpp:57
cv::Size2f densityNeighborhoodSize
Definition: calib3d.hpp:1303
virtual InterpolationType getInterpolation() const =0
Interpolation used to compute the dense optical flow.
void winrt_onVisibilityChanged(bool visible)
@ COLOR_XYZ2BGR
Definition: imgproc.hpp:577
MatExpr operator()(const Rect &roi) const
virtual void setMinProbability(float minProbability)=0
@ THRESH_TRUNC
Definition: imgproc.hpp:319
int rows
Definition: cuda.hpp:587
float sPointInOctaveY
Definition: descriptor.hpp:133
Definition: garray.hpp:72
Model of dynamical system for Unscented Kalman filter. The interface for dynamical system model....
Definition: kalman_filters.hpp:99
ColorGradient(float weak_threshold, size_t num_features, float strong_threshold)
Constructor.
virtual bool read(const FileNode &node) CV_OVERRIDE
virtual const Mat getParvoRAW() const =0
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.
int ksize_
Definition: descriptor.hpp:202
virtual void load(const std::string &path)=0
static void computeFromLocalSVDValues(OutputArray desc, const Mat &localSVDValues, const Point2i *LSBPSamplePoints)
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 .
char Yes
Definition: functional.hpp:876
int getVersionMinor()
Returns minor library version.
int length() const
Definition: gfluidbuffer.hpp:79
void reshape(const GMetaArgs &inMetas, const GCompileArgs &args)
Reshape a compiled graph to support new image resolutions.
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:262
virtual AKAZE::DescriptorType getDescriptorType() const =0
int hal_ni_SVD64f(double *src, size_t src_step, double *w, double *u, size_t u_step, double *vt, size_t vt_step, int m, int n, int flags)
Definition: hal_replacement.hpp:634
static ProgramSource fromBinary(const String &module, const String &name, const unsigned char *binary, const size_t size, const cv::String &buildOptions=cv::String())
Describe OpenCL program binary. Do not call clCreateProgramWithBinary() and/or clBuildProgram().
ERStat * parent
pointers preserving the tree structure of the component tree
Definition: erfilter.hpp:103
Definition: split_merge.hpp:494
@ COLOR_BGRA2RGB
Definition: imgproc.hpp:534
std::vector< Target > getAvailableTargets(Backend be)
Mat(const MatCommaInitializer_< _Tp > &commaInitializer)
Definition: optical_flow.hpp:71
_Arg argument_type
Definition: functional.hpp:64
std::vector< int > ids
Definition: aruco.hpp:293
@ ALPHA_IN_PREMUL
Definition: cudaimgproc.hpp:159
void prepare(Rect dst_roi) CV_OVERRIDE
Ncv32f * pBU
backward horizontal displacement
Definition: NPP_staging.hpp:123
Affine3(const Mat4 &affine)
Augmented affine matrix.
virtual int getMode() const =0
double y_center
Definition: facemarkLBF.hpp:106
void registerLogTag(cv::utils::logging::LogTag *plogtag)
@ channels
Definition: matx.hpp:337
virtual void deallocate(UMatData *data) const =0
#define CV_DECL_ALIGNED(x)
Definition: cvdef.h:216
virtual double getEdgeThreshold() const =0
truncation of data continuity
virtual double getPolySigma() const =0
int motionFromEssentialChooseSolution(InputArrayOfArrays Rs, InputArrayOfArrays ts, InputArray K1, InputArray x1, InputArray K2, InputArray x2)
int hal_ni_absdiff32f(const float *src1_data, size_t src1_step, const float *src2_data, size_t src2_step, float *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:135
@ OpenCLInitError
OpenCL initialization error.
Definition: base.hpp:122
v_reg< _Tp, n > operator&(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Bitwise AND.
Definition: intrin_cpp.hpp:470
@ CAP_PROP_XI_CC_MATRIX_30
Color Correction Matrix element [3][0].
Definition: videoio.hpp:417
void segmentMotion(InputArray mhi, OutputArray segmask, std::vector< Rect > &boundingRects, double timestamp, double segThresh)
Splits a motion history image into a few parts corresponding to separate independent motions (for exa...
bool eigen(InputArray src, OutputArray eigenvalues, OutputArray eigenvectors=noArray())
Calculates eigenvalues and eigenvectors of a symmetric matrix.
short Ncv16s
Definition: NCV.hpp:129
void setUseIlluminationModel(bool val)
Model & setInputCrop(bool crop)
Set flag crop for frame.
float spatialScale
Definition: all_layers.hpp:263
@ CAP_OPENNI_GENERATORS_MASK
Definition: videoio.hpp:223
int range_width_
Definition: matchers.hpp:210
#define TABLE_ENTRY(type)
static void call_impl(GOCLContext &ctx, detail::Seq< IIs... >, detail::Seq< OIs... >)
Definition: goclkernel.hpp:210
Definition: imgproc.hpp:1224
bool haveImageReader(const String &filename)
Returns true if the specified image can be decoded by OpenCV.
@ TEST_ERROR
Definition: ml.hpp:91
void setMinGradientMagnitudes(const cv::Mat &val)
Definition: depth.hpp:695
void undistortImage(InputArray distorted, OutputArray undistorted, InputArray K, InputArray D, InputArray xi, int flags, InputArray Knew=cv::noArray(), const Size &new_size=Size(), InputArray R=Mat::eye(3, 3, CV_64F))
Undistort omnidirectional images to perspective images.
void writeScalar(FileStorage &fs, float value)
Comma-separated Matrix Initializer.
Definition: matx.hpp:282
virtual void setMaxReservedSize(size_t size)=0
Vec2i maxSurfaceCubemapLayered() const
maximum Cubemap layered surface dimensions
virtual void process(Size frameSize, InputArray points0, InputArray points1, OutputArray mask)=0
cv::Mat alpha
Alpha channel for image to draw (same size and number of channels)
Definition: render.hpp:330
bool intelSubgroupsSupport() const
deprecated, use isExtensionSupported() method (probably with "cl_khr_subgroups" value)
__device__ __forceinline__ T * row(int y)
Definition: glob.hpp:72
Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst) CV_OVERRIDE
Projects the image.
void replaceClassifierStatistic(int sourceIndex, int targetIndex)
void spatialGradient(InputArray src, OutputArray dx, OutputArray dy, int ksize=3, int borderType=BORDER_DEFAULT)
Calculates the first order image derivative in both x and y using a Sobel operator.
void release()
Definition: lock.private.hpp:24
void create(Size _size, int _type)
Definition: mat.hpp:231
void v_store_interleave(_Tp *ptr, const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b, hal::StoreMode=hal::STORE_UNALIGNED)
Interleave and store (2 channels)
Definition: intrin_cpp.hpp:1551
__host__ __device__ ThreshToZeroInvFunc< T > thresh_to_zero_inv_func(T thresh)
Definition: functional.hpp:782
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.
const IS m_is
Definition: gfluidkernel.hpp:91
#define CV_CUDEV_IMPLEMENT_SCALAR_BINARY_FUNC(func_name, func, input_type, scalar_type, output_type)
Definition: vec_math.hpp:825
Describes camera parameters.
Definition: camera.hpp:59
void resize(int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, double inv_scale_x, double inv_scale_y, int interpolation)
@ NCV_HAAR_XML_LOADING_EXCEPTION
Definition: NCV.hpp:347
size_t offset
Definition: mat.hpp:2575
T * ptr() const
Definition: NCV.hpp:613
Point_(const Vec< _Tp, 2 > &v)
int majorVersion() const
major compute capability
F m_f
Definition: gplaidmlkernel.hpp:71
TLS data accumulator with gathering methods.
Definition: tls.hpp:87
Class for individual tree.
Definition: sparse_matching_gpc.hpp:155
void swap(HostMem &b)
swaps with other smart pointer
virtual Mat getVarIdx() const =0
virtual void checkParams() const CV_OVERRIDE
@ WMF_EXP
Definition: weighted_median_filter.hpp:66
Ptr< FeatureDetector > getFeatureDetector()
@ H264_MVC
Definition: cudacodec.hpp:254
double ppx
Definition: camera.hpp:67
@ OEM_DEFAULT
Definition: ocr.hpp:88
virtual float getLightAdaptation() const =0
static Ptr< TrainData > create(InputArray samples, int layout, InputArray responses, InputArray varIdx=noArray(), InputArray sampleIdx=noArray(), InputArray sampleWeights=noArray(), InputArray varType=noArray())
Creates training data from in-memory arrays.
float shift
Definition: all_layers.hpp:498
void minMaxIdx(InputArray src, double *minVal, double *maxVal=0, int *minIdx=0, int *maxIdx=0, InputArray mask=noArray())
Finds the global minimum and maximum in an array.
float scale
Definition: warpers.hpp:130
typename last_type< Ts... >::type last_type_t
Definition: gcomputation.hpp:36
std::string name
Definition: gr_chalearn.hpp:77
static Ptr< DISOpticalFlow > create(int preset=DISOpticalFlow::PRESET_FAST)
Creates an instance of DISOpticalFlow.
void getDirList(const std::string &dirName, std::vector< std::string > &fileNames)
bool holds() const
Definition: garray.hpp:96
@ NORM_INF
Definition: base.hpp:168
static void OAST_9_16(InputArray _img, std::vector< KeyPoint > &keypoints, int threshold)
Definition: agast.txt:5347
int result_type
Definition: vec_distance.hpp:158
float eps
Definition: all_layers.hpp:288
virtual int getNLevels() const =0
v_int8x16 v_reinterpret_as_s8(const v_reg< _Tp0, n0 > &a)
Definition: intrin_cpp.hpp:2183
_mat_data(const mat_type &)
double getMinDepth() const
Definition: depth.hpp:790
double optimizeExtrinsics()
@ CAP_UNICAP
Unicap drivers (obsolete, removed)
Definition: videoio.hpp:100
FisheyeWarper(float scale)
Definition: warpers.hpp:339
Class that enables getting cudaStream_t from cuda::Stream.
Definition: cuda_stream_accessor.hpp:68
@ DICT_7X7_250
Definition: dictionary.hpp:156
int getChannels() const
Definition: container_avi.private.hpp:167
@ NCV_INVALID_ROI
Definition: NCV.hpp:328
static Ptr< Dictionary > get(int dict)
void(* TrackbarCallback)(int pos, void *userdata)
Callback function for Trackbar see cv::createTrackbar.
Definition: highgui.hpp:267
bool canReshape() const
Check if the underlying backends support reshape or not.
AdaptiveThresholdTypes
Definition: imgproc.hpp:329
float sigmoid(float x)
Definition: onlineMIL.hpp:76
F m_f
Definition: gcompoundkernel.hpp:50
void write(const String &name, double val)
This is an overloaded member function, provided for convenience. It differs from the above function o...
SrcPtr src
Definition: reduction.hpp:132
virtual int getFlags() const =0
PCA & operator()(InputArray data, InputArray mean, int flags, double retainedVariance)
static Affine3< T > operator*(const Affine3< T > &affine1, const Affine3< T > &affine2)
static void call_impl(GPlaidMLContext &ctx, detail::Seq< IIs... >, detail::Seq< OIs... >)
Definition: gplaidmlkernel.hpp:108
@ COLOR_BayerGR2BGR_MHT
Definition: cudaimgproc.hpp:98
void setSensorErrorB(double val)
Definition: depth.hpp:432
Matx(_Tp v0, _Tp v1)
1x2 or 2x1 matrix
virtual bool extractTemplate(Template &templ) const =0
Extract most discriminant features at current pyramid level to form a new template.
int x
Definition: fr_adience.hpp:74
~TrackerStateEstimatorSVM()
base class BaseSFM declares a common API that would be used in a typical scene reconstruction scenari...
Definition: simple_pipeline.hpp:162
std::string image
Definition: or_imagenet.hpp:63
virtual void detect(InputArray image, std::vector< KeyPoint > &keypoints, InputArray mask=noArray())
Detects keypoints in an image (first variant) or image set (second variant).
void NCVDebugOutputHandler(const cv::String &msg)
Definition: NCV.hpp:250
static Ptr< FastICPOdometry > create(const Mat &cameraMatrix, float maxDistDiff=Odometry::DEFAULT_MAX_DEPTH_DIFF(), float angleThreshold=(float)(30. *CV_PI/180.), float sigmaDepth=0.04f, float sigmaSpatial=4.5f, int kernelSize=7, const std::vector< int > &iterCounts=std::vector< int >())
bool imencode(const String &ext, InputArray img, std::vector< uchar > &buf, const std::vector< int > ¶ms=std::vector< int >())
Encodes an image into a memory buffer.
int octave
Definition: descriptor.hpp:112
unsigned short Ncv16u
Definition: NCV.hpp:130
Definition: gtyped.hpp:25
Mat diag(int d=0) const
Extracts a diagonal from a matrix.
Definition: pd_inria.hpp:84
float _e0
Definition: onlineMIL.hpp:97
int markerBorderBits
Definition: aruco.hpp:170
void unmapHost()
Unmaps OpenGL buffer.
virtual void setDescriptorSize(int dsize)=0
static void write(FileStorage &fs, const String &name, const Range &r)
Definition: persistence.hpp:1037
static void writeBinaryfile(String filenameImg, const char *binaryPath, const char *headerPath, int num_item, int label_class, int x, int y, int z, int isrgb)
Write binary files used for training in other open source project including Caffe.
@ COLOR_LBGR2Lab
Definition: imgproc.hpp:616
Rect_< int > Rect2i
Definition: types.hpp:459
virtual const Affine3f getPose() const =0
Get current pose in voxel space.
int y
Definition: tr_svt.hpp:63
#define CV_EXPORTS_W_SIMPLE
Definition: cvdef.h:417
@ CAP_PROP_MONOCHROME
Definition: videoio.hpp:152
int set(int i, const void *value, size_t sz)
Ptr< detail::RotationWarper > create(float scale) const CV_OVERRIDE
Definition: warpers.hpp:230
void add(const Mat &descriptors)
Adds descriptors to a training set.
@ DIST_MASK_5
mask=5
Definition: imgproc.hpp:310
bool Cholesky64f(double *A, size_t astep, int m, double *b, size_t bstep, int n)
__host__ GpuMat_(Size asize, Scalar val, Allocator *allocator=defaultAllocator())
#define CV_WRAP_AS(synonym)
Definition: cvdef.h:425
Matx< _Tp, n, l > solve(const Matx< _Tp, m, l > &rhs, int flags=DECOMP_LU) const
solve linear system
virtual void computeOrientation(cv::InputArray _src, cv::OutputArray _dst) const =0
The function computes orientation from edge image.
Class computing the optical flow for two images using Brox et al Optical Flow algorithm ().
Definition: cudaoptflow.hpp:154
@ BM3D_STEPALL
Definition: bm3d_image_denoising.hpp:71
void estimateFocal(const std::vector< ImageFeatures > &features, const std::vector< MatchesInfo > &pairwise_matches, std::vector< double > &focals)
Estimates focal lengths for each given camera.
void bitwise_not(InputArray src, OutputArray dst, InputArray mask=noArray())
Inverts every bit of an array.
Callbacks for CUDA video encoder.
Definition: cudacodec.hpp:131
@ COLOR_YUV2RGBA_Y422
Definition: imgproc.hpp:687
@ ACCESS_WRITE
Definition: mat.hpp:64
Op::result_type result_type
Definition: tuple_adapter.hpp:59
double epsilon
the desired accuracy
Definition: types.hpp:883
VideoCaptureProperties
VideoCapture generic properties identifier.
Definition: videoio.hpp:131
virtual void init(size_t size)
Interface method called by face recognizer before results processing.
Definition: predict_collector.hpp:69
int rotatedRectangleIntersection(const RotatedRect &rect1, const RotatedRect &rect2, OutputArray intersectingRegion)
Finds out if there is any intersection between two rotated rectangles.
__device__ __forceinline__ uint vsetge4(uint a, uint b)
Definition: simd_functions.hpp:728
__device__ __forceinline__ tuple< volatile T0 *, volatile T1 *, volatile T2 *, volatile T3 *, volatile T4 *, volatile T5 *, volatile T6 *, volatile T7 *, volatile T8 *, volatile T9 * > smem_tuple(T0 *t0, T1 *t1, T2 *t2, T3 *t3, T4 *t4, T5 *t5, T6 *t6, T7 *t7, T8 *t8, T9 *t9)
Definition: reduce.hpp:202
@ StsNullPtr
null pointer
Definition: base.hpp:96
void writePose(const String &file, const Affine3d &pose, const String &tag="pose")
The class represents a single decision tree or a collection of decision trees.
Definition: ml.hpp:1054
AutoBuffer< String, 1 > * ps
Definition: dict.hpp:105
int numBands() const
Definition: blenders.hpp:132
@ CAP_IEEE1394
Same value as CAP_FIREWIRE.
Definition: videoio.hpp:96
__host__ NearestInterPtrSz< typename PtrTraits< SrcPtr >::ptr_type > interNearest(const SrcPtr &src)
Definition: interpolation.hpp:82
bool hasBias
Definition: all_layers.hpp:546
std::vector< std::string > imageNames
Definition: pd_caltech.hpp:65
Ncv32u x
x-coordinate of upper left corner.
Definition: NCV.hpp:162
@ ALPHA_XOR
Definition: cudaimgproc.hpp:159
Definition: fr_lfw.hpp:67
virtual void setDescriptorStrong(const Descriptor &val)=0
Strong descriptor setter.
virtual void setAgregationWindowSize(int value)=0
_mat_data _refImgData
Reference image data.
Definition: qualityssim.hpp:84
int hal_ni_sub8u(const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:84
virtual void update(InputArrayOfArrays src, InputArray labels)
Updates a FaceRecognizer with given data and associated labels.
std::vector< GProtoArg > GProtoArgs
Definition: gproto.hpp:42
void setMaskSource(const Ptr< IFrameSource > &val)
Definition: stabilizer.hpp:80
Point2f getEndPoint() const
Definition: descriptor.hpp:150
virtual void compute(InputArray img, std::vector< float > &descriptors, Size winStride=Size(), Size padding=Size(), const std::vector< Point > &locations=std::vector< Point >()) const
Computes HOG descriptors of given image.
std::vector< T > & outVecR(int output)
Definition: gcpukernel.hpp:93
__device__ __forceinline__ double4 sinh(const double4 &a)
Definition: vec_math.hpp:346
static constexpr const std::size_t value
Definition: variant.hpp:28
Base class for transform using lookup table.
Definition: cudaarithm.hpp:485
void upload(InputArray arr, Stream &stream)
Performs data upload to GpuMat (Non-Blocking call)
Vec2i maxTexture2DMipmap() const
maximum 2D mipmapped texture dimensions
Ncv32f alpha
flow smoothness
Definition: NCVBroxOpticalFlow.hpp:72
virtual void setOmega(float val)=0
Relaxation factor in SOR.
void operator()(detail::ProtoToParamT< Args >... inArgs, detail::ProtoToParamT< R > &... outArgs)
Definition: gtyped.hpp:169
virtual cv::Ptr< Map > calculate(InputArray img1, InputArray img2, cv::Ptr< Map > init=cv::Ptr< Map >()) const CV_OVERRIDE
virtual void setForwardBackward(float val)=0
Threshold for the forward backward confidence check.
bool isValid() const
Definition: types.hpp:874
int photoVertex
Definition: multicalib.hpp:85
void mapBackward(float u, float v, float &x, float &y)
#define CV_DbgAssert(expr)
Definition: base.hpp:375
__host__ void gridTransformUnary(const SrcPtr &src, GpuMat_< DstType > &dst, const Op &op, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: transform.hpp:423
@ CALIB_CB_EXHAUSTIVE
Definition: calib3d.hpp:259
_OutputArray(std::vector< cuda::GpuMat > &d_mat)
virtual void filter(InputArray src, OutputArray dst, int dDepth=-1)=0
Produce domain transform filtering operation on source image.
@ COLOR_RGB2YUV_YV12
Definition: imgproc.hpp:733
virtual void radiusMatchImpl(InputArray queryDescriptors, std::vector< std::vector< DMatch > > &matches, float maxDistance, InputArrayOfArrays masks=noArray(), bool compactResult=false)=0
void adaptiveThreshold(InputArray src, OutputArray dst, double maxValue, int adaptiveMethod, int thresholdType, int blockSize, double C)
Applies an adaptive threshold to an array.
std::underlying_type< _Tp >::type member_type
Definition: core.hpp:3282
Definition: warping.hpp:126
libmv_CameraIntrinsicsOptions(const int _distortion_model=0, const double _focal_length_x=0, const double _focal_length_y=0, const double _principal_point_x=0, const double _principal_point_y=0, const double _polynomial_k1=0, const double _polynomial_k2=0, const double _polynomial_k3=0, const double _polynomial_p1=0, const double _polynomial_p2=0)
Definition: simple_pipeline.hpp:76
int aprilTagMinWhiteBlackDiff
Definition: aruco.hpp:186
static cv::Mat get(GCPUContext &ctx, int idx)
Definition: gcpukernel.hpp:138
int rows
Definition: interpolation.hpp:136
@ CAP_OPENNI_POINT_CLOUD_MAP
XYZ in meters (CV_32FC3)
Definition: videoio.hpp:257
void v_zip(const v_reg< _Tp, n > &a0, const v_reg< _Tp, n > &a1, v_reg< _Tp, n > &b0, v_reg< _Tp, n > &b1)
Interleave two vectors.
Definition: intrin_cpp.hpp:1356
@ QT_FONT_BOLD
Weight of 75.
Definition: highgui.hpp:235
Class implementing the ORB (oriented BRIEF) keypoint detector and descriptor extractor.
Definition: features2d.hpp:314
std::vector< double > radius_m
Definition: facemarkLBF.hpp:85
int model_scale_idx
Definition: facemarkAAM.hpp:91
Definition: functional.hpp:235
virtual void setUseLocalInitDataCost(bool use_local_init_data_cost)=0
WindowFlags
Flags for cv::namedWindow.
Definition: highgui.hpp:182
virtual void augAssignXor(const MatExpr &expr, Mat &m) const
void motionFromEssential(InputArray E, OutputArrayOfArrays Rs, OutputArrayOfArrays ts)
Texture2D()
The constructors.
Mat(const std::vector< int > &sizes, int type, const Scalar &s)
void absdiff32f(const float *src1, size_t step1, const float *src2, size_t step2, float *dst, size_t step, int width, int height, void *)
const std::vector< Mat > * stabilizationMotions_
Definition: inpainting.hpp:99
Mat operator()(const Rect &roi) const
Definition: mat.hpp:308
const int * cyrillic
Definition: highgui.hpp:695
This class provides all data needed to initialize layer.
Definition: dnn.hpp:108
virtual float getSaturationWeight() const =0
v_reg< _Tp, n > & operator-=(v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Definition: intrin_cpp.hpp:432
@ WND_PROP_FULLSCREEN
fullscreen property (can be WINDOW_NORMAL or WINDOW_FULLSCREEN).
Definition: highgui.hpp:196
virtual void setThresholdDelta(int thresholdDelta)=0
virtual void setOuterIterations(int val)=0
Outer iterations (number of inner loops) used in the numerical scheme.
MatExpr operator|(const Mat &a, const Mat &b)
@ FHT_AVE
Definition: fast_hough_transform.hpp:96
@ BINARIZATION_NIBLACK
Classic Niblack binarization. See .
Definition: ximgproc.hpp:119
size_t numVotes
Definition: pose_3d.hpp:126
Memory memory
Definition: variant.hpp:152
void hashtablePrint(hashtable_int *hashtbl)
@ EVENT_FLAG_MBUTTON
indicates that the middle mouse button is down.
Definition: highgui.hpp:224
Access
Definition: opengl.hpp:93
Definition: depth.hpp:624
@ BORDER_TRANSPARENT
uvwxyz|abcdefgh|ijklmno
Definition: base.hpp:274
@ CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION
Definition: videoio.hpp:250
@ COLOR_RGB2BGR
Definition: imgproc.hpp:537
int thick
The thickness of the lines used to draw a text.
Definition: render.hpp:131
static Ptr< MSM_middlebury > create()
virtual void detectRegions(InputArray image, std::vector< std::vector< Point > > &msers, std::vector< Rect > &bboxes)=0
Detect MSER regions.
void seek(ptrdiff_t ofs, bool relative=false)
@ ADAPTIVE_THRESH_GAUSSIAN_C
Definition: imgproc.hpp:337
int maxTrackLifetime
Definition: detection_based_tracker.hpp:62
#define _v512_set_epu16(a31, a30, a29, a28, a27, a26, a25, a24, a23, a22, a21, a20, a19, a18, a17, a16, a15, a14, a13, a12, a11, a10, a9, a8, a7, a6, a5, a4, a3, a2, a1, a0)
Definition: intrin_avx512.hpp:24
virtual void setBinaryKernelType(int value)=0
@ ARO_45_90
Definition: fast_hough_transform.hpp:67
@ COLOR_YUV2BGRA_YV12
Definition: imgproc.hpp:656
v_reg< _Tp, n > operator>>(const v_reg< _Tp, n > &a, int imm)
Bitwise shift right.
Definition: intrin_cpp.hpp:1084
Definition: functional.hpp:772
bool errorCorrectionSupport() const
virtual void setRLOFOpticalFlowParameter(Ptr< RLOFOpticalFlowParameter > val)=0
Configuration of the RLOF alogrithm.
@ DNN_TARGET_MYRIAD
Definition: dnn.hpp:92
Base class for Template Matching. :
Definition: cudaimgproc.hpp:658
int channels() const
Returns the number of matrix channels.
@ CV_MEAN_VARIATION
Definition: descriptor.hpp:60
Ptr< HoughLinesDetector > createHoughLinesDetector(float rho, float theta, int threshold, bool doSort=false, int maxLines=4096)
Creates implementation for cuda::HoughLinesDetector .
std::vector< Mat > motions_
Definition: stabilizer.hpp:135
__device__ __forceinline__ double4 exp10(const double4 &a)
Definition: vec_math.hpp:256
float c
Definition: ml.hpp:1184
int n_landmarks
number of landmark points
Definition: facemarkLBF.hpp:65
@ FEATURE_SET_COMPUTE_30
Definition: cuda.hpp:775
Scalar(double v0, double v1, double v2=0, double v3=0)
Definition: scalar.hpp:25
~optional_lock_guard()
Definition: lock.private.hpp:82
void collectGarbage() CV_OVERRIDE
Releases all inner buffers.
Mat imdecode(InputArray buf, int flags)
Reads an image from a buffer in memory.
bool isND() const
Definition: gmat.hpp:113
Ptr< GuidedFilter > createGuidedFilter(InputArray guide, int radius, double eps)
Factory method, create instance of GuidedFilter and produce initialization routines.
RgbdPlane(int method=RgbdPlane::RGBD_PLANE_METHOD_DEFAULT)
Definition: depth.hpp:336
virtual void setClipLimit(double clipLimit)=0
Sets threshold for contrast limiting.
edge(int cv, int pv, int pi, Mat trans)
Definition: multicalib.hpp:89
const T & get() const
Definition: gcommon.hpp:111
void calcOpticalFlowSF(InputArray from, InputArray to, OutputArray flow, int layers, int averaging_block_size, int max_flow)
void split(InputArray src, GpuMat *dst, Stream &stream=Stream::Null())
Copies each plane of a multi-channel matrix into an array.
virtual float getLambda() const =0
decltype(test< T >(nullptr)) type
Definition: gtype_traits.hpp:84
OdometryFrame(const Mat &image, const Mat &depth, const Mat &mask=Mat(), const Mat &normals=Mat(), int ID=-1)
virtual const String printSetup()=0
Outputs a string showing the used parameters setup.
virtual void setMaxLines(int maxLines)=0
virtual void setFGSSigma(float _sigma)=0
virtual void stateConversionFunction(const Mat &x_k, const Mat &u_k, const Mat &v_k, Mat &x_kplus1)=0
void read(const FileNode &fn)
NCVStatus nppiStIntegral_8u32u_C1R(Ncv8u *d_src, Ncv32u srcStep, Ncv32u *d_dst, Ncv32u dstStep, NcvSize32u roiSize, Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp)
virtual float getSaturationThreshold() const =0
Maximum saturation for a pixel to be included in the gray-world assumption.
void sampling(const Mat &image, Rect boundingBox)
Computes the regions starting from a position in an image.
int getImageHeight() const
Definition: saliencySpecializedClasses.hpp:100
static void unregisterLayer(const String &type)
Unregisters registered layer with specified type name. Thread-safe.
Definition: quasi_dense_stereo.hpp:28
std::string imagePath
Definition: track_alov.hpp:64
Moments moments(InputArray array, bool binaryImage=false)
Calculates all of the moments up to the third order of a polygon or rasterized shape.
int hal_ni_cvtOnePlaneYUVtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int dcn, bool swapBlue, int uIdx, int ycn)
hal_cvtOnePlaneYUVtoBGR
Definition: hal_replacement.hpp:539
vertex()
Definition: multicalib.hpp:111
const GShapes outShapes
Definition: gkernel.hpp:41
GCompiledT()
Definition: gtyped.hpp:167
bool use_rgb
Definition: tracker.hpp:1502
Size maxSize
Maximum possible object size.
Definition: facemark_train.hpp:40
virtual double getNoiseSigma() const =0
Class for computing stereo correspondence using the block matching algorithm, introduced and contribu...
Definition: stereo.hpp:129
Definition: tr_svt.hpp:61
virtual void setMaxArea(int maxArea)=0
virtual void setDistanceStrong(const Distance &val)=0
Strong distance setter.
void reset()
Definition: garray.hpp:154
GMat addWeighted(const GMat &src1, double alpha, const GMat &src2, double beta, double gamma, int ddepth=-1)
Calculates the weighted sum of two matrices.
__host__ UnaryTransformPtrSz< typename PtrTraits< SrcPtr >::ptr_type, Op > transformPtr(const SrcPtr &src, const Op &op)
Definition: transform.hpp:88
virtual void setMaxCircles(int maxCircles)=0
void lshift(InputArray src, Scalar_< int > val, OutputArray dst, Stream &stream=Stream::Null())
Performs pixel by pixel right left of an image by a constant value.
Matx< double, 6, 6 > Matx66d
Definition: matx.hpp:248
virtual void getNames(std::vector< String > &names) const =0
Returns vector of symbolic names captured in loadFromCSV()
DrawMatchesFlags
Definition: features2d.hpp:1206
GComputation(const std::vector< GMat > &ins, const std::vector< GMat > &outs)
Defines a computation with arbitrary input/output number.
int height
Definition: histogramphaseunwrapping.hpp:82
char person
Definition: hpe_humaneva.hpp:62
GMat filter2D(const GMat &src, int ddepth, const Mat &kernel, const Point &anchor=Point(-1,-1), const Scalar &delta=Scalar(0), int borderType=BORDER_DEFAULT, const Scalar &borderValue=Scalar(0))
Convolves an image with the kernel.
virtual void detect(InputArray edges, InputArray dx, InputArray dy, OutputArray positions, OutputArray votes=noArray())=0
void remove()
Remove all kernels implementing the given API from the package.
Definition: gkernel.hpp:452
float rectify3Collinear(InputArray cameraMatrix1, InputArray distCoeffs1, InputArray cameraMatrix2, InputArray distCoeffs2, InputArray cameraMatrix3, InputArray distCoeffs3, InputArrayOfArrays imgpt1, InputArrayOfArrays imgpt3, Size imageSize, InputArray R12, InputArray T12, InputArray R13, InputArray T13, OutputArray R1, OutputArray R2, OutputArray R3, OutputArray P1, OutputArray P2, OutputArray P3, OutputArray Q, double alpha, Size newImgSize, Rect *roi1, Rect *roi2, int flags)
computes the rectification transformations for 3-head camera, where all the heads are on the same lin...
void forEach_impl(const Functor &operation)
Definition: utility.hpp:616
virtual float getTheta() const =0
virtual void radiusMatch(InputArray queryDescriptors, std::vector< std::vector< DMatch > > &matches, float maxDistance, const std::vector< GpuMat > &masks=std::vector< GpuMat >(), bool compactResult=false)=0
static tracked_cv_umat get(GOCLContext &ctx, int idx)
Definition: goclkernel.hpp:169
Definition: all_layers.hpp:645
bool mustEstimateTrimaRatio() const
Definition: stabilizer.hpp:175
void filter(double thresh=0.8)
Filters the bounding boxes.
virtual ~MotionFilterBase()
Definition: motion_stabilizing.hpp:87
__host__ Expr< UnaryTransformPtrSz< typename PtrTraits< SrcPtr >::ptr_type, ThreshBinaryInvFunc< typename PtrTraits< SrcPtr >::value_type > > > threshBinaryInv_(const SrcPtr &src, typename PtrTraits< SrcPtr >::value_type thresh, typename PtrTraits< SrcPtr >::value_type maxVal)
Definition: per_element_func.hpp:89
int64 getFLOPS(const MatShape &netInputShape) const
schar elem_type
Definition: vec_traits.hpp:168
__device__ __forceinline__ uint saturate_cast< uint >(double v)
Definition: saturate_cast.hpp:267
Compound widgets.
Definition: widgets.hpp:514
#define CV_CUDEV_RGB5x52RGB_INST(name, dcn, bidx, green_bits)
Definition: color_cvt.hpp:441
@ CAP_PROP_XI_LENS_FOCAL_LENGTH
Lens focal distance in mm.
Definition: videoio.hpp:433
Definition: interpolation.hpp:156
Definition: or_sun.hpp:61
Definition: timelapsers.hpp:81
DMatch(int _queryIdx, int _trainIdx, float _distance)
LineTypes
Definition: imgproc.hpp:803
__host__ Expr< LutPtrSz< typename PtrTraits< SrcPtr >::ptr_type, typename PtrTraits< TablePtr >::ptr_type > > lut_(const SrcPtr &src, const TablePtr &tbl)
Definition: per_element_func.hpp:128
float amacrinCellsTemporalCutFrequency
Definition: retina.hpp:176
void putStreamBytes(const uchar *buf, int count)
FloodFillFlags
floodfill algorithm flags
Definition: imgproc.hpp:373
virtual void setSpatialWeight(float w)=0
: set and get the parameter spatialWeight. This parameter is used in the first stage mentioned above(...
__device__ __forceinline__ uint vmax2(uint a, uint b)
Definition: simd_functions.hpp:478
int hal_ni_split8u(const uchar *src_data, uchar **dst_data, int len, int cn)
Definition: hal_replacement.hpp:345
Ptr< StrongClassifierDirectSelection > boostClassifier
Definition: tracker.hpp:738
__host__ RemapPtr1Sz< typename PtrTraits< SrcPtr >::ptr_type, typename PtrTraits< MapPtr >::ptr_type > remapPtr(const SrcPtr &src, const MapPtr &map)
Definition: remap.hpp:116
std::vector< FeatureHaar > features
Definition: feature.hpp:289
int borderMode() const
Definition: stabilizer.hpp:96
void findMinMaxLoc(InputArray src, OutputArray minMaxVals, OutputArray loc, InputArray mask=noArray(), Stream &stream=Stream::Null())
const Ptr< Algorithm > & const_param_type
Definition: core.hpp:3232
virtual void setInterpolation(InterpolationType val)=0
Interpolation used to compute the dense optical flow.
int hal_ni_minMaxIdx(const uchar *src_data, size_t src_step, int width, int height, int depth, double *minVal, double *maxVal, int *minIdx, int *maxIdx, uchar *mask)
Finds the global minimum and maximum in an array.
Definition: hal_replacement.hpp:724
int activeDatasetID
Definition: track_vot.hpp:87
@ NumFormats
Definition: cudacodec.hpp:275
Definition: gfluidbuffer.hpp:49
bool supports(FeatureSet feature_set) const
Provides information on CUDA feature support.
void erode(InputArray rlSrc, OutputArray rlDest, InputArray rlKernel, bool bBoundaryOn=true, Point anchor=Point(0, 0))
Erodes an run-length encoded binary image by using a specific structuring element.
@ BINARIZATION_NICK
NICK technique. See .
Definition: ximgproc.hpp:122
virtual void setImage(const Mat &img, uchar clsLabel, int idx) CV_OVERRIDE
int id
Definition: detection_based_tracker.hpp:147
@ L2Hys
Default histogramNormType.
Definition: objdetect.hpp:375
const char * getOpenCLErrorString(int errorCode)
std::underlying_type< _Tp >::type const_param_type
Definition: core.hpp:3281
__device__ __forceinline__ void reduceThread(value_type val1, value_type val2)
Definition: vec_distance.hpp:99
__device__ __forceinline__ MakeVec< uchar, VecTraits< T >::cn >::type operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:175
Dummy structure storing DFT/DCT context.
Definition: hal_replacement.hpp:500
int v_scan_forward(const v_reg< _Tp, n > &a)
Get first negative lane index.
Definition: intrin_cpp.hpp:1211
Ptr< IVideoWriter > iwriter
Definition: videoio.hpp:974
static int type()
Definition: flann.hpp:77
@ CV_SPECKLE_REMOVAL_ALGORITHM
Definition: stereo.hpp:119
@ flat
Definition: gr_skig.hpp:78
T & getRef() const
Get data associated with key.
Definition: tls.hpp:68
__device__ __forceinline__ OutIt warpTransform(InIt beg, InIt end, OutIt out, const UnOp &op)
Definition: warp.hpp:94
Ncv32u height
Rectangle height.
Definition: NCV.hpp:165
@ CAP_PROP_XI_TS_RST_SOURCE
Defines which source will be used for timestamp reset. Writing this parameter will trigger settings o...
Definition: videoio.hpp:455
@ COLOR_BayerBG2BGRA
Demosaicing with alpha channel.
Definition: imgproc.hpp:777
GCompoundContext(const GArgs &in_args)
@ DNN_BACKEND_VKCOM
Definition: dnn.hpp:75
static void write(FileStorage &fs, const String &name, const Vec< _Tp, cn > &v)
Definition: persistence.hpp:1017
virtual void render(OutputArray image, const Matx44f &cameraPose=Matx44f::eye()) const =0
Renders a volume into an image.
@ IMWRITE_WEBP_QUALITY
override EXR storage type (FLOAT (FP32) is default)
Definition: imgcodecs.hpp:93
virtual void setSuperpixelRuler(float ruler=15.f)=0
Parameter to tune enforcement of superpixel smoothness factor used for oversegmentation.
String getWindowName() const
Returns the name of the window which has been set in the constructor. Viz - is prepended to the name ...
cv::viz::Color Color
Definition: viz3d.hpp:70
__host__ GpuMat_(Size asize, Allocator *allocator=defaultAllocator())
float size
Definition: interface.h:23
std::unordered_map< std::size_t, GArg > m_results
Definition: gplaidmlkernel.hpp:53
virtual int getExcludeRange() const =0
int lt
The Type of the line. See LineTypes.
Definition: render.hpp:361
Definition: deriv.hpp:370
int rows
Definition: remap.hpp:105
virtual int getMaxFeatures() const =0
ComputeMode
Definition: cuda.hpp:900
LSDDetector(LSDParam _params)
Definition: descriptor.hpp:730
WCameraPosition(const Vec2d &fov, InputArray image, double scale=1.0, const Color &color=Color::white())
Display image on the far plane of the viewing frustum.
virtual void setCameraPose(InputArray tvec=noArray(), InputArray rot=noArray(), bool invert=false)=0
Definition: gplaidmlkernel.hpp:126
void operator()(detail::ProtoToParamT< Args >... inArgs, detail::ProtoToParamT< R > &outArg)
Definition: gtyped.hpp:102
FileNodeIterator end() const
returns iterator pointing to the element following the last node element
Matx< double, 1, 6 > Matx16d
Definition: matx.hpp:219
__device__ __forceinline__ uchar1 min(const uchar1 &a, const uchar1 &b)
Definition: vec_math.hpp:794
GPCPatchDescriptor neg
Definition: sparse_matching_gpc.hpp:81
@ COLOR_YUV2BGRA_YVYU
Definition: imgproc.hpp:704
void recip16s(const short *, size_t, const short *src2, size_t step2, short *dst, size_t step, int width, int height, void *scale)
__host__ Expr< FindMinMaxValExprBody< SrcPtr > > minMaxVal_(const SrcPtr &src)
Definition: reduction.hpp:143
static Ptr< BFMatcher > create(int normType=NORM_L2, bool crossCheck=false)
Brute-force matcher create method.
__device__ __forceinline__ Op::result_type operator()(typename TypeTraits< typename Op::first_argument_type >::parameter_type a) const
Definition: functional.hpp:856
void multiply(InputArray src1, InputArray src2, OutputArray dst, double scale=1, int dtype=-1)
Calculates the per-element scaled product of two arrays.
friend void initializeContextFromHandle(Context &ctx, void *platform, void *context, void *device)
void backProject(InputArray vec, OutputArray result) const
UMat(const Vec< _Tp, n > &vec, bool copyData=true)
builds matrix from cv::Vec; the data is copied by default
__device__ __forceinline__ uint vsetne4(uint a, uint b)
Definition: simd_functions.hpp:802
Definition: sr_bsds.hpp:29
int dst_img_idx
Images indices (optional)
Definition: matchers.hpp:106
void write(FileStorage &fs) const
write PCA objects
void upsample(InputArray img, OutputArray result)
Upsample via neural network.
const uchar * datastart
helper fields used in locateROI and adjustROI
Definition: mat.hpp:2091
int hal_ni_cvtRGBAtoMultipliedRGBA(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height)
hal_cvtRGBAtoMultipliedRGBA
Definition: hal_replacement.hpp:550
@ NPPST_TEXTURE_BIND_ERROR
CUDA texture binding error or non-zero offset returned.
Definition: NCV.hpp:359
virtual Mat getUncompressedSupportVectors() const =0
Retrieves all the uncompressed support vectors of a linear SVM.
softfloat log(const softfloat &a)
Natural logarithm.
@ SGD
Stochastic Gradient Descent.
Definition: ml.hpp:1795
Definition: gplaidmlkernel.hpp:92
double minMarkerDistanceRate
Definition: aruco.hpp:165
@ COLOR_RGB2BGR565
Definition: imgproc.hpp:552
float _q
Definition: onlineMIL.hpp:94
virtual void setMinRadius(int minRadius)=0
void create(Size asize, Format aformat, bool autoRelease=false)
cv::gapi::own::Scalar value
Definition: gfluidbuffer.hpp:36
void release()
Releases all inner buffers.
Definition: matching.hpp:58
StandardCollector(double threshold_=DBL_MAX)
Constructor.
Features matcher similar to cv::detail::BestOf2NearestMatcher which finds two best matches for each f...
Definition: matchers.hpp:223
float thresholdON
Definition: transientareassegmentationmodule.hpp:92
GCall & pass(Ts &&... args)
Definition: gcall.hpp:33
@ CAP_PROP_XI_OFFSET_Y
Vertical offset from the origin to the area of interest (in pixels).
Definition: videoio.hpp:337
void winrt_setFrameContainer(::Windows::UI::Xaml::Controls::Image^ image)
std::vector< float > m_wCorrect
Definition: onlineBoosting.hpp:145
std::vector< double > gains() const
virtual void inpaint(int idx, Mat &frame, Mat &mask) CV_OVERRIDE
@ FLAGS_NONE
Definition: instrumentation.hpp:110
v_reg< double, 2 > v_float64x2
Two 64-bit floating point values (double precision)
Definition: intrin_cpp.hpp:399
int hal_ni_sepFilterFree(cvhalFilter2D *context)
hal_sepFilterFree
Definition: hal_replacement.hpp:174
bool resize
activate the resize feature to improve the processing speed
Definition: tracker.hpp:1250
__host__ IntegerAreaInterPtrSz< typename PtrTraits< SrcPtr >::ptr_type > interArea(const SrcPtr &src, Size areaSize)
Definition: interpolation.hpp:277
@ CHAIN_APPROX_SIMPLE
Definition: imgproc.hpp:434
@ BadTileSize
Definition: base.hpp:92
void meanAndVarianceAlongRows(InputArray A, OutputArray mean, OutputArray variance)
Computes the mean and variance of a given matrix along its rows.
MatExpr abs(const MatExpr &e)
std::vector< std::string > velodyne
Definition: slam_kitti.hpp:69
@ ARO_CTR_VER
Definition: fast_hough_transform.hpp:75
Vec< ushort, 4 > Vec4w
Definition: matx.hpp:410
Describes a robust RANSAC-based global 2D motion estimation method which minimizes L2 error.
Definition: global_motion.hpp:132
GMat erode3x3(const GMat &src, int iterations=1, int borderType=BORDER_CONSTANT, const Scalar &borderValue=morphologyDefaultBorderValue())
Erodes an image by using 3 by 3 rectangular structuring element.
std::tuple< R > OutArgs
Definition: gkernel.hpp:216
Computes average hash value of the input image.
Definition: average_hash.hpp:22
static __device__ double atomicMin(double *address, double val)
Definition: atomic.hpp:132
void init(const ClfMilBoost::Params ¶meters=ClfMilBoost::Params())
virtual Rect warpRoi(Size src_size, InputArray K, InputArray R)=0
Scalar member_type
Definition: core.hpp:3273
Ptr< DisparityWLSFilter > createDisparityWLSFilter(Ptr< StereoMatcher > matcher_left)
Convenience factory method that creates an instance of DisparityWLSFilter and sets up all the relevan...
void draw(Size outSize, OutputArray img, int marginSize=0, int borderBits=1)
Draw a ChArUco board.
double pointPolygonTest(InputArray contour, Point2f pt, bool measureDist)
Performs a point-in-contour test.
virtual void getLabels(OutputArray labels_out)=0
Returns the segmentation labeling of the image.
void ncvSetDebugOutputHandler(NCVDebugOutputHandler *func)
void graphcut(GpuMat &terminals, GpuMat &leftTransp, GpuMat &rightTransp, GpuMat &top, GpuMat &bottom, GpuMat &labels, GpuMat &buf, Stream &stream=Stream::Null())
performs labeling via graph cuts of a 2D regular 4-connected graph.
Ptr< SyntheticSequenceGenerator > createSyntheticSequenceGenerator(InputArray background, InputArray object, double amplitude=2.0, double wavelength=20.0, double wavespeed=0.2, double objspeed=6.0)
Creates an instance of SyntheticSequenceGenerator.
DescriptorCollection(const DescriptorCollection &collection)
The Viz3d class represents a 3D visualizer window. This class is implicitly shared.
Definition: viz3d.hpp:68
__host__ Expr< IntegralBody< SrcPtr > > integral_(const SrcPtr &src)
Definition: reduction.hpp:253
v_reg< _Tp, n > v_fma(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b, const v_reg< _Tp, n > &c)
Multiply and add.
Definition: intrin_cpp.hpp:857
virtual ~DeblurerBase()
Definition: deblurring.hpp:64
Ncv32s width
Rectangle width.
Definition: NCV.hpp:174
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.
virtual void setMotionModel(MotionModel val)
Definition: inpainting.hpp:73
void setImage(InputArray image)
Sets the image content of the widget.
bool save_model
Definition: facemarkAAM.hpp:72
virtual void multiply(const MatExpr &expr1, double s, MatExpr &res) const
#define _mm512_cvtpd_pslo(a)
Definition: intrin_avx512.hpp:60
PaniniWarper(float scale, float A=1, float B=1)
Definition: warpers.hpp:411
Ptr< PyrLKOpticalFlow > createOptFlow_PyrLK_CUDA()
virtual void process(InputArrayOfArrays src, OutputArray dst)=0
Short version of process, that doesn't take extra arguments.
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.
RgbdOdometry(const Mat &cameraMatrix, float minDepth=Odometry::DEFAULT_MIN_DEPTH(), float maxDepth=Odometry::DEFAULT_MAX_DEPTH(), float maxDepthDiff=Odometry::DEFAULT_MAX_DEPTH_DIFF(), const std::vector< int > &iterCounts=std::vector< int >(), const std::vector< float > &minGradientMagnitudes=std::vector< float >(), float maxPointsPart=Odometry::DEFAULT_MAX_POINTS_PART(), int transformType=Odometry::RIGID_BODY_MOTION)
@ COLOR_BayerGB2RGBA
Definition: imgproc.hpp:783
ModifiedCsCensus()
Definition: descriptor.hpp:147
Params(const std::string &model, const std::string &weights, const std::string &device)
Definition: ie.hpp:77
void setIdentity(InputOutputArray mtx, const Scalar &s=Scalar(1))
Initializes a scaled identity matrix.
SrcPtr src
Definition: interpolation.hpp:102
ImwriteFlags
Imwrite flags.
Definition: imgcodecs.hpp:81
virtual void knnMatchAsync(InputArray queryDescriptors, InputArray trainDescriptors, OutputArray matches, int k, InputArray mask=noArray(), Stream &stream=Stream::Null())=0
Finds the k best matches for each descriptor from a query set (asynchronous version).
int hal_ni_recip16u(const ushort *src_data, size_t src_step, ushort *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:277
virtual Mat getSampleWeights() const =0
float corr
Definition: quasi_dense_stereo.hpp:31
static float DEFAULT_MAX_ROTATION()
Definition: depth.hpp:559
@ CAP_PROP_XI_ROW_FPN_CORRECTION
Correction of row FPN.
Definition: videoio.hpp:465
void colorMomentHash(cv::InputArray inputArr, cv::OutputArray outputArr)
Computes color moment hash of the input, the algorithm is come from the paper "Perceptual Hashing f...
void reduce(InputArray src, OutputArray dst, int dim, int rtype, int dtype=-1)
Reduces a matrix to a vector.
void split(const std::string &s, std::vector< std::string > &elems, char delim)
BundleAdjusterAffine()
Definition: motion_estimators.hpp:292
RandomPatternCornerFinder(float patternWidth, float patternHeight, int nminiMatch=20, int depth=CV_32F, int verbose=0, int showExtraction=0, Ptr< FeatureDetector > detector=AKAZE::create(AKAZE::DESCRIPTOR_MLDB, 0, 3, 0.005f), Ptr< DescriptorExtractor > descriptor=AKAZE::create(AKAZE::DESCRIPTOR_MLDB, 0, 3, 0.005f), Ptr< DescriptorMatcher > matcher=DescriptorMatcher::create("BruteForce-L1"))
Definition: transpose.hpp:85
float getScaleFactor()
Definition: detection_based_tracker.hpp:96
T * get() const
Get data associated with key.
Definition: tls.hpp:67
virtual void * createDataInstance() const CV_OVERRIDE
Wrapper to allocate data by template.
Definition: tls.hpp:209
int area_height
Definition: interpolation.hpp:240
void convertTo(OutputArray m, int rtype, double alpha=1, double beta=0) const
converts matrix to another datatype with optional scaling. See cvConvertScale.
SrcPtr src
Definition: reduction.hpp:242
hashtable_int * hashtable_int_clone(hashtable_int *hashtbl)
GArrayU(const GNode &n, std::size_t out)
static float DEFAULT_MAX_TRANSLATION()
Definition: depth.hpp:554
NCVStatus nppiStFilterColumnBorder_32f_C1R(const Ncv32f *pSrc, NcvSize32u srcSize, Ncv32u nSrcStep, Ncv32f *pDst, NcvSize32u dstSize, Ncv32u nDstStep, NcvRect32u oROI, NppStBorderType borderType, const Ncv32f *pKernel, Ncv32s nKernelSize, Ncv32s nAnchor, Ncv32f multiplier)
static void read(const FileNode &node, Scalar_< _Tp > &value, const Scalar_< _Tp > &default_value)
Definition: persistence.hpp:772
__host__ GpuMat_< typename MakeVec< typename VecTraits< T >::elem_type, cn >::type > reshape_(const GpuMat_< T > &mat, int rows=0)
Definition: gpumat.hpp:150
@ CAP_PROP_XI_CC_MATRIX_00
Color Correction Matrix element [0][0].
Definition: videoio.hpp:405
@ CAP_INTEL_MFX
Intel MediaSDK.
Definition: videoio.hpp:121
static cv::GCPUKernel kernel()
Definition: gcpukernel.hpp:285
WaldBoost detector.
Definition: xobjdetect.hpp:61
Ptr< OCRBeamSearchDecoder::ClassifierCallback > loadOCRBeamSearchClassifierCNN(const String &filename)
Allow to implicitly load the default character classifier when creating an OCRBeamSearchDecoder objec...
virtual void checkParams() const =0
bool save_model
flag to save the trained model or not
Definition: facemarkLBF.hpp:81
void * rgbd_normals_impl_
Definition: depth.hpp:181
Ptr< TonemapReinhard > createTonemapReinhard(float gamma=1.0f, float intensity=0.0f, float light_adapt=1.0f, float color_adapt=0.0f)
Creates TonemapReinhard object.
@ COLOR_BayerGB2BGR_EA
Definition: imgproc.hpp:767
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:271
@ CAP_PROP_IOS_DEVICE_WHITEBALANCE
Definition: videoio.hpp:497
int hal_ni_mul8u(const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:238
virtual void findProCamMatches(InputArray projUnwrappedPhaseMap, InputArray camUnwrappedPhaseMap, OutputArrayOfArrays matches)=0
Find correspondences between the two devices thanks to unwrapped phase maps.
@ FEATURE_SET_COMPUTE_13
Definition: cuda.hpp:772
Node< OBJECT > * m_pParent
Definition: utility.hpp:1123
String getPathToApplication() const
Returns application path.
bool isEmptyFrameSize() const
Definition: container_avi.private.hpp:173
@ COLOR_BayerBG2RGB_EA
Definition: imgproc.hpp:771
void inverseWarp(InputArray img1, OutputArray img2) const CV_OVERRIDE
__device__ PtrTraits< SrcPtr >::value_type operator()(float y, float x) const
Definition: interpolation.hpp:104
@ LSBP_CAMERA_MOTION_COMPENSATION_LK
Definition: bgsegm.hpp:247
Scalar sum(InputArray src, InputArray mask=noArray())
Returns the sum of matrix elements.
__device__ __forceinline__ uint vsetgt4(uint a, uint b)
Definition: simd_functions.hpp:765
virtual void setFlags(int val)=0
std::vector< DMatch > matches
Definition: matchers.hpp:107
float scale_model_max_area
Definition: tracker.hpp:1524
DictValue(const char *s)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: dict.hpp:69
virtual void forward(InputArrayOfArrays inputs, OutputArrayOfArrays outputs, OutputArrayOfArrays internals)
Given the input blobs, computes the output blobs.
@ MOTION_EUCLIDEAN
Definition: tracking.hpp:263
GMat NV12toRGB(const GMat &src_y, const GMat &src_uv)
Converts an image from NV12 (YUV420p) color space to RGB. The function converts an input image from N...
virtual int getLevels() const =0
static DictValue arrayInt(TypeIter begin, int size)
Constructs integer array.
void setText(const String &text)
Sets the text content of the widget.
static Ptr< TR_svt > create()
@ DESCRIPTOR_MLDB
Definition: features2d.hpp:740
static Ptr< BNLLLayer > create(const LayerParams ¶ms)
int hal_ni_dftFree2D(cvhalDFT *context)
Definition: hal_replacement.hpp:547
GMat render3ch(const GMat &src, const GArray< Prim > &prims)
Renders on 3 channels input.
int LU32f(float *A, size_t astep, int m, float *b, size_t bstep, int n)
Describes a global 2D motion estimation method which uses keypoints detection and optical flow for ma...
Definition: global_motion.hpp:230
static Ptr< FacemarkKazemi > create(const FacemarkKazemi::Params ¶meters=FacemarkKazemi::Params())
virtual double getMaxDataTerm() const =0
truncation of data cost
GMat sepFilter(const GMat &src, int ddepth, const Mat &kernelX, const Mat &kernelY, const Point &anchor, const Scalar &delta, int borderType=BORDER_DEFAULT, const Scalar &borderValue=Scalar(0))
Applies a separable linear filter to a matrix(image).
__host__ __device__ __forceinline__ ZipPtrSz()
Definition: zip.hpp:112
void apply(GCompoundContext &ctx)
std::vector< float > scales
Definition: facemarkAAM.hpp:74
The base class for camera response calibration algorithms.
Definition: photo.hpp:532
GMat mask(const GMat &src, const GMat &mask)
Applies a mask to a matrix.
void setSmallWinSize(int val)
DetectionModel(const String &model, const String &config="")
Create detection model from network represented in one of the supported formats. An order of model an...
int y
Definition: types.hpp:28
@ USAGE_ALLOCATE_HOST_MEMORY
Definition: mat.hpp:454
virtual void addImage(InputArray img)=0
Add a new image in the list of images to process.
virtual void setSpeckleRange(int speckleRange)=0
void censusTransform(const cv::Mat &image1, const cv::Mat &image2, int kernelSize, cv::Mat &dist1, cv::Mat &dist2, const int type)
@ CAP_PROP_XI_REGION_MODE
Activates/deactivates Region selected by Region Selector.
Definition: videoio.hpp:384
@ CAP_INTELPERC_DEPTH_GENERATOR
Definition: videoio.hpp:530
virtual void setIsClassifier(bool val)=0
__device__ __forceinline__ double4 log10(const double4 &a)
Definition: vec_math.hpp:283
@ CAP_PROP_XI_AVAILABLE_BANDWIDTH
Calculate and returns available interface bandwidth(int Megabits).
Definition: videoio.hpp:448
virtual String getDefaultName() const
int _numFeat
Definition: onlineMIL.hpp:66
static Ptr< HPE_humaneva > create(int num=humaneva_1)
void divide(InputArray src1, InputArray src2, OutputArray dst, double scale=1, int dtype=-1)
Performs per-element division of two arrays or a scalar by an array.
HoughModes
Variants of a Hough transform.
Definition: imgproc.hpp:461
bool operator==(const Scalar &lhs, const Scalar &rhs)
Definition: scalar.hpp:38
virtual void setGamma(double gamma)=0
float member_type
Definition: core.hpp:3241
FText(const std::wstring &text_, const cv::Point &org_, int fh_, const cv::Scalar &color_)
FText constructor.
Definition: render.hpp:154
Matx< double, 3, 1 > Matx31d
Definition: matx.hpp:224
void exp32f(const float *src, float *dst, int n)
std::vector< int > computeSelectedWeakClassifier()
Get the list of the selected weak classifiers for the classification step.
int N1c
Number of color vectors used to model normal background color variation at a given pixel.
Definition: cudalegacy.hpp:157
SupportRegionType supportRegionType
Definition: rlofflow.hpp:88
softdouble(const int32_t)
@ OCR_LEVEL_TEXTLINE
Definition: ocr.hpp:63
@ NCV_MEM_RESIDENCE_ERROR
Definition: NCV.hpp:340
int computeReplaceWeakestClassifier(const std::vector< float > &errors)
virtual void setL2HysThreshold(double threshold_L2hys)=0
L2-Hys normalization method shrinkage.
A shared scoped lock (RAII-style locking for shared/reader access).
Definition: lock.private.hpp:45
Ptr< IFrameSource > maskSource_
Definition: stabilizer.hpp:116
@ paperWithCharacters
Definition: gr_skig.hpp:91
Detector()
Empty constructor, initialize with read().
Ptr< DenseOpticalFlow > createOptFlow_SparseToDense()
Additional interface to the SparseToDenseFlow algorithm - calcOpticalFlowSparseToDense()
Definition: NPP_staging.hpp:115
the MOSSE (Minimum Output Sum of Squared Error) tracker
Definition: tracker.hpp:1314
PtrTraits< SrcPtr >::value_type value_type
Definition: deriv.hpp:236
finds arbitrary template in the grayscale image using Generalized Hough Transform
Definition: imgproc.hpp:842
virtual void setMaxLevel(int val)
Definition: optical_flow.hpp:87
NppStBorderType
Definition: NPP_staging.hpp:89
@ INSIDE_MAP
Definition: persistence.hpp:328
float depthFactor
pre-scale per 1 meter for input values
Definition: dynafu.hpp:42
virtual void load(const std::string &path) CV_OVERRIDE=0
double getWindowProperty(const String &winname, int prop_id)
Provides parameters of a window.
int globalMemCacheLineSize() const
CirclesGridFinderParameters CirclesGridFinderParameters2
Definition: calib3d.hpp:1328
WrapValue< typename std::decay< T >::type > wrap_gapi_helper
Definition: gtype_traits.hpp:165
int method_
Definition: depth.hpp:262
__device__ __forceinline__ float1 acosh(const uchar1 &a)
Definition: vec_math.hpp:375
virtual void match(InputArray queryDescriptors, InputArray trainDescriptors, std::vector< DMatch > &matches, InputArray mask=noArray())=0
Finds the best match for each descriptor from a query set (blocking version).
Inverse camera response function is extracted for each brightness value by minimizing an objective fu...
Definition: photo.hpp:550
const char * name
Definition: logtag.hpp:17
void gemm32fc(const float *src1, size_t src1_step, const float *src2, size_t src2_step, float alpha, const float *src3, size_t src3_step, float beta, float *dst, size_t dst_step, int m_a, int n_a, int n_d, int flags)
@ BORDER_REFLECT101
same as BORDER_REFLECT_101
Definition: base.hpp:276
any(value_t &&arg)
Definition: any.hpp:76
@ PSM_SINGLE_BLOCK
Definition: ocr.hpp:75
Rect rect
Definition: erfilter.hpp:82
virtual ~TrackerMIL() CV_OVERRIDE
Definition: tracker.hpp:1091
This class wraps intrinsic parameters of a camera.
Definition: types.hpp:159
Definition: mappergradshift.hpp:53
@ CAP_PROP_XI_TRG_SELECTOR
Selects the type of trigger.
Definition: videoio.hpp:422
virtual void run(Mat &image, Mat &mask, std::string &output_text, std::vector< Rect > *component_rects=NULL, std::vector< std::string > *component_texts=NULL, std::vector< float > *component_confidences=NULL, int component_level=OCR_LEVEL_WORD) CV_OVERRIDE=0
Recognize text using a segmentation based word-spotting/classifier cnn.
void undistortPoints(InputArray src, OutputArray dst, InputArray cameraMatrix, InputArray distCoeffs, InputArray R=noArray(), InputArray P=noArray())
Computes the ideal point coordinates from the observed point coordinates.
virtual float getFGSLambda()=0
@ CAP_PROP_XI_TRG_SOFTWARE
Generates an internal trigger. PRM_TRG_SOURCE must be set to TRG_SOFTWARE.
Definition: videoio.hpp:339
Ptr< MergeDebevec > createMergeDebevec()
Creates MergeDebevec object.
@ block_size_x
Definition: histogram.hpp:103
virtual void process(InputArrayOfArrays src, OutputArray dst, InputArray times, InputArray response) CV_OVERRIDE=0
Merges images.
Point resultTl(const std::vector< Point > &corners)
virtual bool getUseInitialFlow() const =0
void setMatGains(std::vector< Mat > &umv) CV_OVERRIDE
Definition: exposure_compensate.hpp:105
NAryMatIterator(const Mat **arrays, uchar **ptrs, int narrays=-1)
the full constructor taking arbitrary number of n-dim matrices
GRunArg value_of(const GOrigin &origin)
void getLeadingEdgeList(std::vector< int > &leadingEdgeList) const
Returns a list of the leading edge ID connected to each triangle.
Matx< double, 3, 4 > Matx34d
Definition: matx.hpp:241
void apply(GPlaidMLContext &ctx) const
Definition: gplaidmlkernel.hpp:64
void setMode(int samplingMode)
Set the sampling mode of TrackerSamplerCSC.
virtual void print(const char *format,...) CV_OVERRIDE
virtual size_t maxSize() const
void validateDisparity(InputOutputArray disparity, InputArray cost, int minDisparity, int numberOfDisparities, int disp12MaxDisp=1)
validates disparity using the left-right check. The matrix "cost" should be computed by the stereo co...
static const double ORIG_RESOL
Definition: stitching.hpp:149
SortFlags
Definition: core.hpp:154
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:88
Ptr< CalibrateRobertson > createCalibrateRobertson(int max_iter=30, float threshold=0.01f)
Creates CalibrateRobertson object.
virtual void compute(InputArrayOfArrays images, std::vector< std::vector< KeyPoint > > &keypoints, OutputArrayOfArrays descriptors)
Object detector using the LINE template matching algorithm with any set of modalities.
Definition: linemod.hpp:299
GRunArgsP gout(Ts &... args)
Definition: garg.hpp:140
Selective search segmentation algorithm The class implements the algorithm described in .
Definition: segmentation.hpp:181
~UMat()
destructor - calls release()
virtual void setScaleFactor(double scaleFactor)=0
MorphTypes
type of morphological operation
Definition: imgproc.hpp:212
@ MODE_HH
Definition: stereo.hpp:207
@ COLOR_RGB2Lab
Definition: imgproc.hpp:589
Basic interface for all solvers.
Definition: optim.hpp:59
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type x) const
Definition: functional.hpp:282
virtual void inpaint(int idx, Mat &frame, Mat &mask) CV_OVERRIDE
Definition: mapshift.hpp:54
__device__ __forceinline__ void warpReduceKeyVal(volatile K *skeys, K &key, volatile V *svals, V &val, uint tid, const Cmp &cmp)
Definition: reduce.hpp:84
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type src) const
Definition: functional.hpp:757
virtual Size getMaxObjectSize() const =0
void meanShiftFiltering(InputArray src, OutputArray dst, int sp, int sr, TermCriteria criteria=TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 5, 1), Stream &stream=Stream::Null())
Performs mean-shift filtering for each point of the source image.
Status estimateTransform(InputArrayOfArrays images, InputArrayOfArrays masks=noArray())
These functions try to match the given images and to estimate rotations of each camera.
Gray-world white balance algorithm.
Definition: white_balance.hpp:140
Definition: optical_flow.hpp:80
double member_type
Definition: core.hpp:3201
void warpPerspective(int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, const double M[9], int interpolation, int borderType, const double borderValue[4])
@ DETECTED
Definition: detection_based_tracker.hpp:141
void v_rshr_pack_u_store(uchar *ptr, const v_int16x8 &a)
Definition: intrin_cpp.hpp:2376
virtual ~InpainterBase()
Definition: inpainting.hpp:68
Definition: saliencyBaseClasses.hpp:121
Ncv32u height() const
Definition: NCV.hpp:825
Rect boundingRect() const
returns the minimal up-right integer rectangle containing the rotated rectangle
@ RETR_TREE
Definition: imgproc.hpp:422
void save(FileStorage &fs) const
void min32f(const float *src1, size_t step1, const float *src2, size_t step2, float *dst, size_t step, int width, int height, void *)
Stub exposure compensator which does nothing.
Definition: exposure_compensate.hpp:99
static softdouble nan()
Default NaN constant.
Definition: softfloat.hpp:350
virtual Size getWinStride() const =0
int hal_ni_dftFree1D(cvhalDFT *context)
Definition: hal_replacement.hpp:520
Abstract base class for all facemark models.
Definition: facemark.hpp:48
static void write(FileStorage &fs, const Rect_< _Tp > &r)
Definition: persistence.hpp:937
void match(const Mat &queryDescriptors, std::vector< DMatch > &matches, const std::vector< Mat > &masks=std::vector< Mat >())
QtFontWeights
Qt font weight.
Definition: highgui.hpp:231
SrcPtr src
Definition: reduction.hpp:176
Definition: feature.hpp:221
TrackedObject()
Default constructor.
Definition: tracking_by_matching.hpp:37
void lda(InputArrayOfArrays src, InputArray labels)
virtual double getMinVal() const =0
void save(const String &configFile) const
Saves parameters to config file.
String cascade
the face detector
Definition: facemark_train.hpp:36
static const char * tag()
Definition: gkernel.hpp:604
virtual float getRegressionAccuracy() const =0
Ncv32u _pitch
Definition: NCV.hpp:835
virtual bool getIsClassifier() const =0
const T & set(const String &key, const T &value)
Sets new value for the key, or adds new key-value pair into the dictionary.
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.
virtual int getGridSize() const =0
Returns grid size of output buffer as per the hardware's capability.
unsigned char Ncv8u
Definition: NCV.hpp:132
void registerDepth(InputArray unregisteredCameraMatrix, InputArray registeredCameraMatrix, InputArray registeredDistCoeffs, InputArray Rt, InputArray unregisteredDepth, const Size &outputImagePlaneSize, OutputArray registeredDepth, bool depthDilation=false)
DictValue(int i)
Constructs integer scalar.
Definition: dict.hpp:65
Matx(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6)
1x7 or 7x1 matrix
__device__ static __forceinline__ uchar min()
Definition: limits.hpp:76
double get(int prop) const
Definition: agast.txt:7513
static Vec< _Tp, cn > normalize(const Vec< _Tp, cn > &v)
bool empty() const
true if empty
Definition: feature.hpp:382
@ COLORMAP_JET
Definition: imgproc.hpp:4221
std::tuple< R > OutArgs
Definition: infer.hpp:67
cv::Mat getIterationCounts() const
Definition: depth.hpp:1119
__device__ __forceinline__ T operator()(float y, float x) const
Definition: texture.hpp:192
Color(double blue, double green, double red)
virtual int getHistBinNum() const =0
Defines the size of one dimension of a three-dimensional RGB histogram that is used internally by the...
virtual void setFlags(int flags)=0
int num_split
Definition: all_layers.hpp:369
std::vector< char > readFrame(frame_iterator it)
any & operator=(any &&)=default
@ DICT_6X6_100
Definition: dictionary.hpp:151
void resetColorArray()
Resets vertex colors.
@ NPPST_SUCCESS
Successful operation (same as NPP_NO_ERROR)
Definition: NCV.hpp:355
GMat RGB2YUV422(const GMat &src)
Converts an image from RGB color space to YUV422. The function converts an input image from RGB color...
Ptr< Facemark > createFacemarkAAM()
construct an AAM facemark detector
__host__ void gridTranspose_(const SrcPtr &src, GpuMat_< DstType > &dst, Stream &stream=Stream::Null())
Definition: transpose.hpp:61
float y
Definition: interface.h:22
BundleAdjusterAffinePartial()
Definition: motion_estimators.hpp:316
__host__ NCVStatus create(Ncv32f leafValue)
Definition: NCVHaarObjectDetection.hpp:182
Minimum Average Correlation Energy Filter useful for authentication with (cancellable) biometrical fe...
Definition: mace.hpp:72
virtual void setVariationalRefinementDelta(float val)=0
Weight of the color constancy term.
v_reg< typename V_TypeTraits< _Tp >::abs_type, n > v_abs(const v_reg< _Tp, n > &a)
Absolute value of elements.
Definition: intrin_cpp.hpp:522
@ CORNER_REFINE_CONTOUR
ArUco approach and refine the corners locations using the contour-points line fitting.
Definition: aruco.hpp:84
@ CAP_PROP_OPENNI2_SYNC
Definition: videoio.hpp:240
virtual int getScalesNumber() const =0
Number of scales used to create the pyramid of images.
void seamlessClone(InputArray src, InputArray dst, InputArray mask, Point p, OutputArray blend, int flags)
Image editing tasks concern either global changes (color/intensity corrections, filters,...
virtual const UMat & getDst()
Definition: timelapsers.hpp:69
double uniform(double a, double b)
Size stride
Definition: all_layers.hpp:251
int64 runProfiling(int dims, size_t globalsize[], size_t localsize[], const Queue &q=Queue())
Similar to synchronized run() call with returning of kernel execution time Separate OpenCL command qu...
void addChild(Node< OBJECT > *pNode)
Definition: utility.hpp:1093
void removeAllLights()
Remove all lights from the current scene.
static Ptr< GrayCodePattern > create(int width, int height)
SrcPtr src
Definition: resize.hpp:65
void sepFilter2D(int stype, int dtype, int ktype, uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int full_width, int full_height, int offset_x, int offset_y, uchar *kernelx_data, int kernelx_len, uchar *kernely_data, int kernely_len, int anchor_x, int anchor_y, double delta, int borderType)
void load(const String &configFile)
Reads parameters from config file.
@ LSD_REFINE_STD
Standard refinement is applied. E.g. breaking arches into smaller straighter line approximations.
Definition: imgproc.hpp:482
static constexpr const ArgKind kind
Definition: gtype_traits.hpp:49
int depth() const
Returns the depth of a matrix element.
v_reg< _Tp, n > operator-(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Subtract values.
Definition: intrin_cpp.hpp:432
#define N_BINS
Definition: feature.hpp:79
virtual void setInitStep(InputArray step)=0
Sets the initial step that will be used in downhill simplex algorithm.
SrcPtr src
Definition: deriv.hpp:334
std::string imageName
Definition: ir_affine.hpp:63
std::vector< Point2f > estimate(InputArray frame, float thresh=0.5)
Given the input frame, create input blob, run net.
v_uint64x2 v_setzero_u64()
Definition: intrin_cpp.hpp:2148
@ StsBadMemBlock
an allocated block has been corrupted
Definition: base.hpp:114
virtual int getPolyN() const =0
Base class for rotation-based warper using a detail::ProjectorBase_ derived class.
Definition: warpers.hpp:142
WSphere(const cv::Point3d ¢er, double radius, int sphere_resolution=10, const Color &color=Color::white())
Constructs a WSphere.
__host__ Expr< ResizePtrSz< typename PtrTraits< SrcPtr >::ptr_type > > resize_(const SrcPtr &src, float fx, float fy)
Definition: warping.hpp:67
const Ptr< detail::BundleAdjusterBase > bundleAdjuster() const
Definition: stitching.hpp:225
float edgePenalty
Definition: calib3d.hpp:1313
Definition: depth.hpp:187
void detailEnhance(InputArray src, OutputArray dst, float sigma_s=10, float sigma_r=0.15f)
This filter enhances the details of a particular image.
__host__ __device__ NcvSize32u()
Definition: NCV.hpp:185
void mapBackward(float u, float v, float &x, float &y)
virtual void setEmax(int val)=0
SrcPtr src
Definition: remap.hpp:65
void writeIndex(int stream_number, StreamType strm_type)
virtual void setExcludeRange(int exclude_range)=0
int hal_ni_max32f(const float *src1_data, size_t src1_step, const float *src2_data, size_t src2_step, float *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:108
std::string pose
Definition: or_pascal.hpp:70
Definition: deriv.hpp:208
virtual AgastFeatureDetector::DetectorType getType() const =0
Definition: sr_bsds.hpp:24
virtual void setXi(double xi)=0
Angle difference in degrees between two points in feature.
MatExpr inv(int method=DECOMP_LU) const
void encodeParameters(InputArray K, InputArrayOfArrays omAll, InputArrayOfArrays tAll, InputArray distoaration, double xi, OutputArray parameters)
float weight4() const
Definition: motion_stabilizing.hpp:141
Implementation of the PCAFlow algorithm from the following paper: http://files.is....
double L2HysThreshold
L2-Hys normalization method shrinkage.
Definition: objdetect.hpp:611
static T get(GCPUContext &ctx, int idx)
Definition: gcpukernel.hpp:156
#define CV_CUDEV_MINMAX_INST(type, maxop, minop)
Definition: functional.hpp:328
ushort bits() const
Definition: cvdef.h:880
virtual void blend(InputOutputArray dst, InputOutputArray dst_mask)
Blends and returns the final pano.
cv::Ptr< IDetector > cascadeForTracking
Definition: detection_based_tracker.hpp:210
@ IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY
Use this value to force Huffman encoding only (no string match).
Definition: imgcodecs.hpp:119
static GComputation get_pattern()
Definition: gtransform.hpp:55
std::is_same< GCompileArg, typename std::decay< T >::type > is_compile_arg
Definition: gcommon.hpp:53
void create(int _rows, int _cols)
equivalent to Mat::create(_rows, _cols, DataType<_Tp>::type)
virtual void setMinRegionSizeII(int n)=0
: set and get the parameter minRegionSizeII. This parameter is used in the third stage mentioned abov...
@ ARO_315_135
Definition: fast_hough_transform.hpp:72
@ NCV_MEM_INSUFFICIENT_CAPACITY
Definition: NCV.hpp:341
static KernelArg ReadWriteNoSize(const UMat &m, int wscale=1, int iwscale=1)
Definition: ocl.hpp:365
double getMaxPointsPart() const
Definition: depth.hpp:822
const std::vector< std::pair< String, Ptr< TrackerFeature > > > & getTrackerFeature() const
Get the TrackerFeature collection (TrackerFeature name, TrackerFeature pointer)
cv::UMat & outMatR(int output)
@ CONTINUOUS_FLAG
Definition: mat.hpp:2073
static Ptr< DepthCleaner > create(int depth, int window_size=5, int method=DepthCleaner::DEPTH_CLEANER_NIL)
@ NORMAL_CLONE
Definition: photo.hpp:716
float value_type
Definition: vec_distance.hpp:92
__host__ __device__ NcvRect32s()
Definition: NCV.hpp:154
Ptr< Dictionary > dictionary
the dictionary of markers employed for this board
Definition: aruco.hpp:289
@ IMREAD_LOAD_GDAL
If set, use the gdal driver for loading the image.
Definition: imgcodecs.hpp:70
cv::Scalar compute(InputArray cmp) CV_OVERRIDE
Compute GMSD.
float bilateral_sigma_depth
Depth sigma in meters for bilateral smooth.
Definition: kinfu.hpp:47
Net()
Default constructor.
int hal_ni_addWeighted32f(const float *src1_data, size_t src1_step, const float *src2_data, size_t src2_step, float *dst_data, size_t dst_step, int width, int height, const double scalars[3])
Definition: hal_replacement.hpp:323
frame_list::iterator frame_iterator
Definition: container_avi.private.hpp:69
gapi::GNetParam strip(T &&t)
Definition: infer.hpp:215
Point_< int64 > Point2l
Definition: types.hpp:191
InputArray InputArrayOfArrays
Definition: mat.hpp:438
static void expand(GCompoundContext &ctx)
Definition: gcompoundkernel.hpp:82
This interface class allows to build new Layers - are building blocks of networks.
Definition: dnn.hpp:183
SolveLPResult
return codes for cv::solveLP() function
Definition: optim.hpp:258
@ CAP_PROP_XI_WB_KR
White balance red coefficient.
Definition: videoio.hpp:378
std::vector< KeyPoint > keypoints
Definition: matchers.hpp:62
Definition: depth.hpp:759
void drawDetectedDiamonds(InputOutputArray image, InputArrayOfArrays diamondCorners, InputArray diamondIds=noArray(), Scalar borderColor=Scalar(0, 0, 255))
Draw a set of detected ChArUco Diamond markers.
ptr_type::value_type value_type
Definition: expr.hpp:75
Ptr< cuda::StereoConstantSpaceBP > createStereoConstantSpaceBP(int ndisp=128, int iters=8, int levels=4, int nr_plane=4, int msg_type=CV_32F)
Creates StereoConstantSpaceBP object.
virtual void clearAllBuffers()=0
cleans all the buffers of the instance
void restoreImageFromLaplacePyr(std::vector< UMat > &pyr)
cv::gapi::own::Size size
Definition: gmat.hpp:84
virtual void setMaxLevel(int maxLevel)=0
void setImageWidth(int val)
Definition: saliencySpecializedClasses.hpp:203
@ MORPH_DILATE
see dilate
Definition: imgproc.hpp:214
virtual ~TrackerStateEstimator()
virtual Size prepareFrameCache(Ptr< OdometryFrame > &frame, int cacheType) const CV_OVERRIDE
static Ptr< ConjGradSolver > create(const Ptr< MinProblemSolver::Function > &f=Ptr< ConjGradSolver::Function >(), TermCriteria termcrit=TermCriteria(TermCriteria::MAX_ITER+TermCriteria::EPS, 5000, 0.000001))
This function returns the reference to the ready-to-use ConjGradSolver object.
Definition: optical_flow.hpp:98
std::string elname
Definition: persistence.hpp:454
std::vector< GCompileArg > GCompileArgs
Definition: gcommon.hpp:120
int interpolateCornersCharuco(InputArrayOfArrays markerCorners, InputArray markerIds, InputArray image, const Ptr< CharucoBoard > &board, OutputArray charucoCorners, OutputArray charucoIds, InputArray cameraMatrix=noArray(), InputArray distCoeffs=noArray(), int minMarkers=2)
Interpolate position of ChArUco board corners.
virtual int getMaxDepth() const =0
size_t min_track_duration
Min track duration in milliseconds.
Definition: tracking_by_matching.hpp:261
void sqr(InputArray src, OutputArray dst, Stream &stream=Stream::Null())
Computes a square value of each matrix element.
Rect buildMaps(Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap) CV_OVERRIDE
Builds the projection maps according to the given camera data.
Ptr< Impl > p
Definition: objdetect.hpp:711
Ptr< BaseCascadeClassifier::MaskGenerator > createFaceDetectionMaskGenerator()
#define HaarFeatureDescriptor32_CreateCheck_MaxFeatureOffset
Definition: NCVHaarObjectDetection.hpp:126
void gemm64f(const double *src1, size_t src1_step, const double *src2, size_t src2_step, double alpha, const double *src3, size_t src3_step, double beta, double *dst, size_t dst_step, int m_a, int n_a, int n_d, int flags)
int CP
Dimensionality of the control vector.
Definition: kalman_filters.hpp:129
void fastBilateralSolverFilter(InputArray guide, InputArray src, InputArray confidence, OutputArray dst, double sigma_spatial=8, double sigma_luma=8, double sigma_chroma=8, double lambda=128.0, int num_iter=25, double max_tol=1e-5)
Simple one-line Fast Bilateral Solver filter call. If you have multiple images to filter with the sam...
virtual Size getOutputSize()=0
Retreive retina output buffer size that can be different from the input if a spatial log transformati...
Definition: all_layers.hpp:490
bool pull(cv::GRunArgsP &&outs)
Get the next processed frame from the pipeline.
GMatDesc withSizeDelta(int dx, int dy) const
Definition: gmat.hpp:147
int height
height of the rectangle
Definition: types.hpp:51
Definition: features2d.hpp:821
NCVVectorReuse(const NCVMemSegment &memSegment, Ncv32u length_)
Definition: NCV.hpp:708
v_reg< _Tp, n > operator<<(const v_reg< _Tp, n > &a, int imm)
Bitwise shift left.
Definition: intrin_cpp.hpp:1079
double compositingResol() const
Definition: stitching.hpp:192
virtual Ptr< TrackerTargetState > estimateImpl(const std::vector< ConfidenceMap > &confidenceMaps)=0
__device__ __forceinline__ float1 cosh(const uchar1 &a)
Definition: vec_math.hpp:348
@ Uncompressed_YUYV
YUYV/YUY2 (4:2:2)
Definition: cudacodec.hpp:263
v_reg(const _Tp *ptr)
Constructor.
Definition: intrin_cpp.hpp:276
Vec< float, 2 > Vec2f
Definition: matx.hpp:418
int x
Definition: types.hpp:27
@ TRIANGLE_FAN
Definition: opengl.hpp:485
float getSigmaDepth() const
Definition: depth.hpp:1095
virtual void setMaxScale(double maxScale)=0
Maximal scale to detect.
Definition: type_traits.hpp:112
cv::Mat sqr(const cv::Mat &mat1) const
Definition: mapper.hpp:99
Definition: tracker.hpp:784
static Ptr< ELULayer > create(const LayerParams ¶ms)
RansacParams ransacParams() const
Definition: global_motion.hpp:137
int type1
Definition: hpe_humaneva.hpp:64
Ptr< SuperpixelSLIC > createSuperpixelSLIC(InputArray image, int algorithm=SLICO, int region_size=10, float ruler=10.0f)
Initialize a SuperpixelSLIC object.
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.
erGrouping_Modes
text::erGrouping operation modes
Definition: erfilter.hpp:267
Matx< _Tp, m, n > operator*() const
bool parseInfo()
Definition: container_avi.private.hpp:114
@ WND_PROP_VISIBLE
checks whether the window exists and is visible
Definition: highgui.hpp:200
static softfloat min()
Smallest normalized value.
Definition: softfloat.hpp:212
void detectResultRoiByBorder(Size src_size, Point &dst_tl, Point &dst_br)
static Stream wrapStream(cudaStream_t stream)
virtual int getPolyN() const =0
@ value
Definition: type_traits.hpp:66
diag_type diag() const
extract the matrix diagonal
Mat(int ndims, const int *sizes, int type, const Scalar &s)
float pnorm
Definition: all_layers.hpp:610
void add16s(const short *src1, size_t step1, const short *src2, size_t step2, short *dst, size_t step, int width, int height, void *)
ERStat * max_probability_ancestor
Definition: erfilter.hpp:110
int derivAperture
not documented
Definition: objdetect.hpp:602
Matx< _Tp, m1, n1 > reshape() const
change the matrix shape
std::string user_id
Definition: fr_adience.hpp:69
@ CAP_PROP_RECTIFICATION
Rectification flag for stereo cameras (note: only supported by DC1394 v 2.x backend currently).
Definition: videoio.hpp:151
void setMotionModel(MotionModel val)
Definition: motion_stabilizing.hpp:122
@ COLOR_YUV2BGR_YV12
Definition: imgproc.hpp:647
__host__ void gridSplit_(const SrcPtr &src, const tuple< GpuMat_< DstType > &, GpuMat_< DstType > & > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: split_merge.hpp:135
virtual ~IStreamSource()=default
The Track class describes tracks.
Definition: tracking_by_matching.hpp:312
scalar_wrapper_ocl(cv::gapi::own::Scalar &s)
Definition: goclkernel.hpp:143
@ DISP_SHIFT
Definition: stereo.hpp:83
void setColorArray(InputArray color)
Sets an array of vertex colors.
static Ptr< TR_chars > create()
#define OPENCV_HAL_IMPL_BIN_OP(bin_op)
Helper macro.
Definition: intrin_cpp.hpp:407
const Ptr< Feature2D > featuresFinder() const
Definition: stitching.hpp:208
High level image stitcher.
Definition: stitching.hpp:139
int hal_ni_fastAtan64f(const double *y, const double *x, double *dst, int len, bool angleInDegrees)
Definition: hal_replacement.hpp:389
_OutputArray(const Mat_< _Tp > &m)
NCVMemSegment getSegment() const
Definition: NCV.hpp:903
static Ptr< DescriptorMatcher > create(const String &descriptorMatcherType)
Creates a descriptor matcher of a given type with the default parameters (using default constructor).
virtual void setVariationalRefinementGamma(float val)=0
Weight of the gradient constancy term.
Affine3< float > Affine3f
Definition: affine.hpp:290
std::vector< cv::Point > points
Points to connect.
Definition: render.hpp:358
int rows
Definition: deriv.hpp:76
int getWidth() const
Definition: container_avi.private.hpp:165
Matx23d PeiLinNormalization(InputArray I)
Calculates an affine transformation that normalize given image using Pei&Lin Normalization.
static Ptr< ReshapeLayer > create(const LayerParams ¶ms)
@ COLOR_BGR2BGR555
convert between RGB/BGR and BGR555 (16-bit images)
Definition: imgproc.hpp:563
AugmentedUnscentedKalmanFilterParams(int dp, int mp, int cp, double processNoiseCovDiag, double measurementNoiseCovDiag, Ptr< UkfSystemModel > dynamicalSystem, int type=CV_64F)
Base abstract class for the long-term Multi Object Trackers:
Definition: tracker.hpp:1400
T value_type
Definition: constant.hpp:59
Point2f warpPoint(const Point2f &pt, InputArray K, InputArray H) CV_OVERRIDE
Projects the image point.
Definition: outlier_rejection.hpp:59
Definition: ccalib.hpp:61
__device__ __forceinline__ void reduceThread(value_type val1, value_type val2)
Definition: vec_distance.hpp:70
float _lRate
Definition: onlineMIL.hpp:98
Point_(Point_ &&pt) CV_NOEXCEPT
Definition: qualitybase.hpp:25
void estimatePoseSingleMarkers(InputArrayOfArrays corners, float markerLength, InputArray cameraMatrix, InputArray distCoeffs, OutputArray rvecs, OutputArray tvecs, OutputArray _objPoints=noArray())
Pose estimation for single markers.
Scalar_ & operator=(const Scalar_ &s)
TraitAs
Definition: ie.hpp:39
@ CPU_AVX
Definition: cvdef.h:282
virtual double getC() const =0
@ IMWRITE_PNG_STRATEGY_DEFAULT
Use this value for normal data.
Definition: imgcodecs.hpp:117
Definition: optical_flow.hpp:144
virtual void setCostMap(const Mat &costMap)=0
Interface to provide a more elaborated cost map, i.e. edge map, for the edge-aware term....
PtrTraits< Ptr0 >::index_type index_type
Definition: zip.hpp:97
static void read(const FileNode &node, bool &value, bool default_value)
Definition: persistence.hpp:1114
class which provides a transient/moving areas segmentation module
Definition: transientareassegmentationmodule.hpp:123
const Priv & priv() const
bool is_thread_safe_
Definition: matchers.hpp:164
Size poolStride
Definition: all_layers.hpp:538
const std::vector< Mat > * motions_
Definition: wobble_suppression.hpp:90
float weight
Definition: util.hpp:79
@ COLOR_YUV2RGB_NV12
YUV 4:2:0 family to RGB.
Definition: imgproc.hpp:632
The ERStat structure represents a class-specific Extremal Region (ER).
Definition: erfilter.hpp:67
Ncv32s x
Point X.
Definition: NCV.hpp:193
virtual void setup(RetinaParameters newParameters)=0
cv::gapi::own::Mat & outMatR(int output)
@ ACCESS_READ
Definition: mat.hpp:64
When multiple poses (see Pose3D) are grouped together (contribute to the same transformation) pose cl...
Definition: pose_3d.hpp:139
The class represents a decision tree node.
Definition: ml.hpp:1158
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.
NCVStatus nppiStDecimate_64f_C1R(Ncv64f *d_src, Ncv32u srcStep, Ncv64f *d_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale, NcvBool readThruTexture)
virtual int getGridY() const =0
@ _dummy_enum_finalizer
Definition: matx.hpp:342
virtual const Mat getMagnoRAW() const =0
bool useOptimized()
Returns the status of optimized code usage.
float weights_lr
Definition: tracker.hpp:1516
Definition: quasi_dense_stereo.hpp:39
Ptr< detail::FeaturesMatcher > featuresMatcher()
Definition: stitching.hpp:212
virtual void setFrameCount(int val)
Definition: wobble_suppression.hpp:75
virtual ~BaseClassifier()
__host__ __device__ NcvRect32s(Ncv32s x_, Ncv32s y_, Ncv32s width_, Ncv32s height_)
Definition: NCV.hpp:155
__device__ __forceinline__ uint vabsdiff2(uint a, uint b)
Definition: simd_functions.hpp:178
PtrTraits< SrcPtr >::value_type value_type
Definition: extrapolation.hpp:62
@ DICT_4X4_250
Definition: dictionary.hpp:144
Vec< short, 3 > Vec3s
Definition: matx.hpp:405
std::vector< std::string > input_names
Definition: ie.hpp:51
Vec(_Tp v0, _Tp v1)
2-element vector constructor
int getSelectedClassifier() const
Ptr< Tonemap > createTonemap(float gamma=1.0f)
Creates simple linear mapper with gamma correction.
void read(const FileNode &)
Read parameters from file, currently unused.
virtual int getPreFilterCap() const =0
float filter_lr
Definition: tracker.hpp:1515
Body body
Definition: expr.hpp:59
@ WAVE_CORRECT_VERT
Definition: motion_estimators.hpp:331
Definition: objdetect.hpp:671
static void AGAST_7_12s(InputArray _img, std::vector< KeyPoint > &keypoints, int threshold)
Definition: agast.txt:3264
static ProgramSource fromSPIR(const String &module, const String &name, const unsigned char *binary, const size_t size, const cv::String &buildOptions=cv::String())
Describe OpenCL program in SPIR format. Do not call clCreateProgramWithBinary() and/or clBuildProgram...
int index_type
Definition: deriv.hpp:191
virtual ~SeamFinder()
Definition: seam_finders.hpp:61
void setUseOpenCL(bool flag)
virtual Mat getMissing() const =0
HostMem clone() const
returns deep copy of the matrix, i.e. the data is copied
@ COLOR_RGB2YUV_I420
RGB to YUV 4:2:0 family.
Definition: imgproc.hpp:724
@ COLOR_BayerGB2GRAY_MHT
Definition: cudaimgproc.hpp:106
Mat_(const Point3_< typename DataType< _Tp >::channel_type > &pt, bool copyData=true)
@ CAP_VFW
Video For Windows (obsolete, removed)
Definition: videoio.hpp:91
int nlevels
Maximum number of detection window increases. Default value is 64.
Definition: objdetect.hpp:626
TrackerFeature based on HOG.
Definition: tracker.hpp:959
Mat_(int _ndims, const int *_sizes, _Tp *_data, const size_t *_steps=0)
constructs n-dim matrix on top of user-allocated data. steps are in bytes(!!!), regardless of the typ...
BlocksGainCompensator(int bl_width=32, int bl_height=32)
Definition: exposure_compensate.hpp:196
@ MULTI_STEP
processing in multiple step
Definition: types.hpp:62
void copyTo(OutputArray dst, InputArray mask) const
copies those GpuMat elements to "m" that are marked with non-zero mask elements (Blocking call)
std::vector< T > & wref()
Definition: garray.hpp:244
float gsl_sigma
Definition: tracker.hpp:1511
__host__ T * operator[](int y)
more convenient forms of row and element access operators
int numOutput
Definition: all_layers.hpp:218
n-ary multi-dimensional array iterator.
Definition: mat.hpp:3392
UMat(const UMat &m, const Rect &roi)
void min8u(const uchar *src1, size_t step1, const uchar *src2, size_t step2, uchar *dst, size_t step, int width, int height, void *)
@ block_size_x
Definition: reduce.hpp:296
UMat colRange(const Range &r) const
virtual void unwrapPhaseMap(InputArray wrappedPhaseMap, OutputArray unwrappedPhaseMap, InputArray shadowMask=noArray())=0
Unwraps a 2D phase map.
Background Subtraction using Local SVD Binary Pattern. More details about the algorithm can be found ...
Definition: bgsegm.hpp:266
@ CAP_PROP_CONTRAST
Contrast of the image (only for cameras).
Definition: videoio.hpp:144
__host__ void gridHistogram_(const SrcPtr &src, GpuMat_< ResType > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: histogram.hpp:61
bool filterByConvexity
Definition: features2d.hpp:646
void write(const String &fileName) const
double getFps()
Definition: container_avi.private.hpp:95
void cmp8s(const schar *src1, size_t step1, const schar *src2, size_t step2, uchar *dst, size_t step, int width, int height, void *_cmpop)
@ circle
Definition: gr_skig.hpp:62
Matx(_Tp v0, _Tp v1, _Tp v2)
1x3 or 3x1 matrix
__device__ __forceinline__ uint vcmple2(uint a, uint b)
Definition: simd_functions.hpp:376
static Ptr< DetectionOutputLayer > create(const LayerParams ¶ms)
void read(const FileNode &fn, optflow::GPCTree::Node &node, optflow::GPCTree::Node)
int index_type
Definition: deriv.hpp:144
virtual double getPolySigma() const =0
@ StsInplaceNotSupported
in-place operation is not supported
Definition: base.hpp:103
int outputsCount
Number of copies that will be produced (is ignored when negative).
Definition: all_layers.hpp:329
int getFDSize()
Definition: fourier_descriptors.hpp:74
virtual ~PyrLkOptFlowEstimatorBase()
Definition: optical_flow.hpp:89
virtual int getMaxLevel() const =0
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:79
GMat add(const GMat &src1, const GMat &src2, int ddepth=-1)
Calculates the per-element sum of two matrices.
void updatePose(Matx44d &NewPose)
Updates the pose with the new one.
bool operator==(const GArrayDesc &) const
Definition: garray.hpp:43
std::vector< cuda::GpuMat > & getGpuMatVecRef() const
virtual Mat getTrainSamples(int layout=ROW_SAMPLE, bool compressSamples=true, bool compressVars=true) const =0
Returns matrix of train samples.
static cv::detail::VectorRef wrap_out(std::vector< T > &t)
Definition: gtype_traits.hpp:74
virtual void setSigmaS(double val)=0
bool wrap_kernel
wrap around the kernel values
Definition: tracker.hpp:1252
static Ptr< Odometry > create(const String &odometryType)
int getNumComponents() const
virtual bool pull(cv::gapi::wip::Data &data) override
Definition: cap.hpp:76
virtual double getScaleFactor() const =0
Pyramid scale factor.
DMatch(int _queryIdx, int _trainIdx, int _imgIdx, float _distance)
virtual float getSaturationThreshold() const =0
Threshold that is used to determine saturated pixels, i.e. pixels where at least one of the channels ...
TrackerFeatureFeature2d(String detectorType, String descriptorType)
Constructor.
_Tp y
y coordinate of the 3D point
Definition: types.hpp:266
Main interface for all disparity map filters.
Definition: disparity_filter.hpp:53
virtual void setBackgroundPrior(double bgprior)=0
_OutputArray(std::vector< std::vector< bool > > &)=delete
static void read(const FileNode &node, Complex< _Tp > &value, const Complex< _Tp > &default_value)
Definition: persistence.hpp:742
int period_
Definition: wobble_suppression.hpp:110
GKernelPackage kernels()
Create a kernel package object containing kernels and transformations specified in variadic template ...
Definition: gkernel.hpp:538
bool empty() const
Returns true if the array has no elements.
Definition: mat.hpp:287
int numTemplates(const String &class_id) const
float index_type
Definition: warping.hpp:110
virtual void filter(InputArray src, OutputArray dst)=0
Apply smoothing operation to the source image.
virtual double getBackpropMomentumScale() const =0
Interface for implementations of Fast Global Smoother filter.
Definition: edge_filter.hpp:458
std::string imgName
Definition: tr_chars.hpp:62
static Ptr< SVMSGD > create()
Creates empty model. Use StatModel::train to train the model. Since SVMSGD has several parameters,...
void _mm_deinterleave_ps(__m128 &v_r0, __m128 &v_r1, __m128 &v_g0, __m128 &v_g1)
Definition: sse_utils.hpp:494
double t[3]
Definition: msm_middlebury.hpp:65
std::recursive_mutex Mutex
Definition: utility.hpp:714
static const char * tag()
Definition: gfluidkernel.hpp:163
Mat inpaintingMask_
Definition: stabilizer.hpp:132
Definition: interpolation.hpp:235
virtual void add(InputArrayOfArrays descriptors)
Adds descriptors to train a CPU(trainDescCollectionis) or GPU(utrainDescCollectionis) descriptor coll...
Definition: cvstd.hpp:111
std::vector< Mat > blobs
List of learned parameters must be stored here to allow read them by using Net::getParam().
Definition: dnn.hpp:187
Vec(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6, _Tp v7, _Tp v8)
9-element vector constructor
Mat(const Mat &m, const Rect &roi)
virtual void getMatGains(std::vector< Mat > &)
Definition: exposure_compensate.hpp:88
virtual void setEPICLambda(float val)=0
see ximgproc::EdgeAwareInterpolator() lambda value.
bool useOpenCL
Definition: pcaflow.hpp:104
Definition: facerec.hpp:127
void _cleanupTerminatedData()
Definition: tls.hpp:199
float compute(const cv::Mat &descr1, const cv::Mat &descr2) override
Computes distance between image descriptors.
int clamp(int ax, int dims)
Definition: shape_utils.hpp:198
virtual void init(const CvFeatureParams *_featureParams, int _maxSampleCount, Size _winSize) CV_OVERRIDE
int cvIsInf(double value)
Determines if the argument is Infinity.
Definition: fast_math.hpp:288
_OutputArray(Mat_< _Tp > &m)
@ is_float
Definition: type_traits.hpp:145
virtual int getDelta() const =0
virtual ~SuperpixelSEEDS()
Definition: seeds.hpp:141
void linear(const Mat3 &L)
void locateROI(Size &wholeSize, Point &ofs) const
Locates the matrix header within a parent matrix.
Point warp(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, OutputArray dst) CV_OVERRIDE
Projects the image.
Definition: warpers.hpp:537
int preferredVectorWidthInt() const
Affine3(const float_type *vals)
From 16-element array.
Matx(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6, _Tp v7, _Tp v8, _Tp v9, _Tp v10, _Tp v11)
1x12, 2x6, 3x4, 4x3, 6x2 or 12x1 matrix
InterpolationType
Definition: rlofflow.hpp:31
Op op
Definition: tuple_adapter.hpp:61
int hal_ni_mul64f(const double *src1_data, size_t src1_step, const double *src2_data, size_t src2_step, double *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:244
float getScale() const
self explain
Definition: reduction.hpp:241
cv::Rect predicted_rect
Definition: tracking_by_matching.hpp:381
#define CV_API_CALL
calling convention (including callbacks)
Definition: llapi.h:27
void read(const FileNode &)
Read parameters from a file.
@ CAP_XIAPI
XIMEA Camera API.
Definition: videoio.hpp:106
virtual const char * what() const noexcept CV_OVERRIDE
void sepFilter2D(InputArray src, OutputArray dst, int ddepth, InputArray kernelX, InputArray kernelY, Point anchor=Point(-1,-1), double delta=0, int borderType=BORDER_DEFAULT)
Applies a separable linear filter to an image.
@ DICT_APRILTAG_16h5
4x4 bits, minimum hamming distance between any two codes = 5, 30 codes
Definition: dictionary.hpp:159
@ COLORMAP_RAINBOW
Definition: imgproc.hpp:4223
bool verbose
Definition: facemarkAAM.hpp:71
double ncvEndQueryTimerUs(NcvTimer t)
struct _NcvTimer * NcvTimer
Definition: NCV.hpp:402
int particlesNum
number of "perturbed" boxes on each round
Definition: tracker.hpp:907
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.
GNetPackage(std::initializer_list< GNetParam > &&ii)
void addRNGBias32f(float *arr, const float *scaleBiasPairs, int len)
Represents a successful template match.
Definition: linemod.hpp:260
int P_Interval
NVVE_P_INTERVAL,.
Definition: cudacodec.hpp:87
virtual void run(const std::vector< String > &images, InputOutputArray K, OutputArray Rs, OutputArray Ts, OutputArray points3d) CV_OVERRIDE=0
Calls the pipeline in order to perform Eclidean reconstruction.
Definition: warpers.hpp:430
void modelUpdate()
Update the model.
static __device__ float bicubicCoeff(float x_)
Definition: interpolation.hpp:162
void sqrIntegral(InputArray src, OutputArray sqsum, Stream &stream=Stream::Null())
Computes a squared integral image.
const uchar * ptr() const
virtual void setMaxX(double _plotMaxX)=0
Mat_(const Mat &m)
copy/conversion constructor. If m is of different type, it's converted
static bool hasEqualOrGreaterBin(int major, int minor)
Ptr< ERFilter::Callback > loadClassifierNM1(const String &filename)
Allow to implicitly load the default classifier when creating an ERFilter object.
static Ptr< BIF > create(int num_bands=8, int num_rotations=12)
virtual void operator()(const cv::Range &range) const CV_OVERRIDE
Definition: utility.hpp:603
detail::ParamDesc desc
Definition: ie.hpp:116
virtual int getMaxFeatures() const =0
PyRotationWarper(String type, float scale)
void add64f(const double *src1, size_t step1, const double *src2, size_t step2, double *dst, size_t step, int width, int height, void *)
v_reg< _Tp, n > operator==(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Equal comparison.
Definition: intrin_cpp.hpp:693
Definition: pd_caltech.hpp:61
Size(const cv::Size &other)
Definition: types.hpp:94
static size_t getElemSize(int type)
Definition: utility.hpp:577
#define OPENCV_HAL_IMPL_C_SHIFTR(_Tpvec, _Tp)
Helper macro.
Definition: intrin_cpp.hpp:2213
void jointBilateralFilter(InputArray joint, InputArray src, OutputArray dst, int d, double sigmaColor, double sigmaSpace, int borderType=BORDER_DEFAULT)
Applies the joint bilateral filter to an image.
NCVStatus nppiStDecimate_32f_C1R_host(Ncv32f *h_src, Ncv32u srcStep, Ncv32f *h_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale)
@ HISTCMP_CORREL
Definition: imgproc.hpp:498
@ CAP_PVAPI_FSTRIGMODE_SYNCIN1
SyncIn1.
Definition: videoio.hpp:303
static Ptr< PowerLayer > create(const LayerParams ¶ms)
@ OCR_KNN_CLASSIFIER
Definition: ocr.hpp:180
double norm(InputArray src1, int normType, InputArray mask=noArray())
Returns the norm of a matrix (or difference of two matrices).
virtual void setDegree(double val)=0
virtual Ptr< BackendNode > initInfEngine(const std::vector< Ptr< BackendWrapper > > &inputs)
virtual ~MatAllocator()
Definition: mat.hpp:469
int hal_ni_xor8u(const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:153
unsigned long long int m_movi_end
Definition: container_avi.private.hpp:127
__device__ __forceinline__ T operator()(typename TypeTraits< T >::parameter_type a, typename TypeTraits< T >::parameter_type b) const
Definition: functional.hpp:115
std::vector< float > weightsPositionsSmoothing
Definition: detection_based_tracker.hpp:207
static Ptr< MotionSaliencyBinWangApr2014 > create()
Definition: saliencySpecializedClasses.hpp:175
std::shared_ptr< GOrigin > m_priv
Definition: garray.hpp:91
PoseCluster3D()
Definition: pose_3d.hpp:141
@ NORMCONV_FILTER
Normalized Convolution Filtering.
Definition: photo.hpp:800
@ COLOR_RGBA2RGB
Definition: imgproc.hpp:528
@ IMWRITE_TIFF_YDPI
For TIFF, use to specify the Y direction DPI.
Definition: imgcodecs.hpp:97
Mat * planes
the current planes
Definition: mat.hpp:3411
void clear() CV_OVERRIDE
Implements Algorithm::clear()
Definition: qualitypsnr.hpp:62
int hal_ni_min8s(const schar *src1_data, size_t src1_step, const schar *src2_data, size_t src2_step, schar *dst_data, size_t dst_step, int width, int height)
Definition: hal_replacement.hpp:112
friend std::ostream & operator<<(std::ostream &stream, const DictValue &dictv)
_OutputArray(const UMat &m)
int getNSS() const
Definition: saliencySpecializedClasses.hpp:345
Definition: all_layers.hpp:506
@ COLOR_GRAY2BGR
Definition: imgproc.hpp:544
size_t getStreamPos() const
size_t getMoviPointer() const
Definition: container_avi.private.hpp:168
Size winSize_
Definition: optical_flow.hpp:92
int hal_ni_mul32s(const int *src1_data, size_t src1_step, const int *src2_data, size_t src2_step, int *dst_data, size_t dst_step, int width, int height, double scale)
Definition: hal_replacement.hpp:242
@ GpuNotSupported
no CUDA support
Definition: base.hpp:116
__host__ GpuMat_ rowRange(Range r) const
@ CAP_OPENNI_VALID_DEPTH_MASK
CV_8UC1.
Definition: videoio.hpp:260
@ HDO_DESKEW
Definition: fast_hough_transform.hpp:108
double ceild(double x)
Definition: saturate.hpp:82
NCVMemNativeAllocator(NCVMemoryType memT, Ncv32u alignment)
#define OPENCV_HAL_IMPL_CMP_OP(cmp_op)
Helper macro.
Definition: intrin_cpp.hpp:659
std::vector< int > T_at_level
Definition: linemod.hpp:398
void operator()(const cv::Range &r) const CV_OVERRIDE
Definition: descriptor.hpp:218
__device__ __forceinline__ void reduceWarp(result_type *smem, uint tid)
Definition: vec_distance.hpp:75
Ptr< detail::BundleAdjusterBase > bundleAdjuster()
Definition: stitching.hpp:224
void readRaw(const String &fmt, void *vec, size_t len) const
Reads node elements to the buffer with the specified format.
virtual void switchToSingleStrategy(int k=200, float sigma=0.8f)=0
Initialize the class with the 'Single stragegy' parameters describled in .
virtual void setGamma(float gamma)=0
GScalar sum(const GMat &src)
Calculates sum of all matrix elements.
std::string srcBw
Definition: is_weizmann.hpp:63
Matx< float, 2, 1 > Matx21f
Definition: matx.hpp:221
virtual void setType(FastFeatureDetector::DetectorType type)=0
virtual const Descriptor & descriptorFast() const =0
Fast descriptor getter.
virtual void setNMixtures(int nmixtures)=0
Sets the number of gaussian components in the background model.
result_type mySum
Definition: vec_distance.hpp:95
cv::String tld_getNextDatasetFrame()
uint8_t UINT8
Definition: descriptor.hpp:66
@ CAP_PVAPI
PvAPI, Prosilica GigE SDK.
Definition: videoio.hpp:102
virtual int getFlags() const =0
virtual Mat getNormCatResponses() const =0
static Ptr< OpticalFlowDual_TVL1 > create(double tau=0.25, double lambda=0.15, double theta=0.3, int nscales=5, int warps=5, double epsilon=0.01, int iterations=300, double scaleStep=0.8, double gamma=0.0, bool useInitialFlow=false)
virtual int getNumIters() const =0
void createOneElemSets(int elem_count)
Callback with the classifier is made a class.
Definition: erfilter.hpp:128
hashnode_i * hashtableGetBucketHashed(hashtable_int *hashtbl, KeyType key)
Rect buildMaps(Size src_size, InputArray K, InputArray R, OutputArray xmap, OutputArray ymap) CV_OVERRIDE
Builds the projection maps according to the given camera data.
UMat(Size size, int type, UMatUsageFlags usageFlags=USAGE_DEFAULT)
bool setMarkers
Definition: sinusoidalpattern.hpp:92
__device__ __forceinline__ float2 operator()(float y, float x) const
Definition: warping.hpp:68
String getVersionString()
Returns library version string.
@ WRITE
value, open the file for writing
Definition: persistence.hpp:310
float minRNGEdgeSwitchDist
Definition: calib3d.hpp:1315
uint8_t * image[num_images]
Definition: descriptor.hpp:173
void flags2idx(int flags, std::vector< int > &idx, int n)
__device__ __forceinline__ uint vcmplt4(uint a, uint b)
Definition: simd_functions.hpp:708
void writeTrajectory(InputArray traj, const String &files_format="pose%05d.xml", int start=0, const String &tag="pose")
Mat ensureInclusionConstraint(const Mat &M, Size size, float trimRatio)
void fundamentalFromEssential(InputArray E, InputArray K1, InputArray K2, OutputArray F)
Get Essential matrix from Fundamental and Camera matrices.
Line(const cv::Point &pt1_, const cv::Point &pt2_, const cv::Scalar &color_, int thick_=1, int lt_=cv::LINE_8, int shift_=0)
Line constructor.
Definition: render.hpp:258
#define OPENCV_HAL_IMPL_REDUCE_MINMAX_FUNC(func, cfunc)
Helper macro.
Definition: intrin_cpp.hpp:557
virtual bool empty() const CV_OVERRIDE
Return true if detector object is empty.
virtual void setSigmaSpace(float sigma_space)=0
Definition: gfluidbuffer.hpp:29
NcvBool isMemReused() const
Definition: NCV.hpp:979
virtual void setCalculateVarImportance(bool val)=0
virtual void process(InputArrayOfArrays src, OutputArray dst, InputArray times)=0
@ WMF_COS
Definition: weighted_median_filter.hpp:69
virtual float getEPICSigma() const =0
see ximgproc::EdgeAwareInterpolator() sigma value.
const GMetaArgs & metas() const
Vector of metadata this graph was compiled for.
static void call(Inputs &&... ins, Outputs &&... outs)
Definition: gcpukernel.hpp:244
void unregisterAllWindows()
Unregisters all Viz windows from internal database. After it 'getWindowByName()' will create new wind...
virtual int loadParameters(cv::String filepath)=0
Load a file containing the configuration parameters of the class.
float contextEnergy_spatialConstant
Definition: transientareassegmentationmodule.hpp:105
String member_type
Definition: core.hpp:3209
virtual float getOmega() const =0
Relaxation factor in SOR.
Ptr< CalibrateDebevec > createCalibrateDebevec(int samples=70, float lambda=10.0f, bool random=false)
Creates CalibrateDebevec object.
std::vector< Mat > blobs
List of learned parameters stored as blobs.
Definition: dnn.hpp:111
Matx(_Tp v0, _Tp v1, _Tp v2, _Tp v3, _Tp v4, _Tp v5, _Tp v6, _Tp v7, _Tp v8, _Tp v9)
1x10, 2x5 or 5x2 or 10x1 matrix
@ FEATURE_SET_COMPUTE_21
Definition: cuda.hpp:774
virtual void setImage(const Mat &img, uchar clsLabel, int idx)
@ StsNoMem
insufficient memory
Definition: base.hpp:73
void rollingGuidanceFilter(InputArray src, OutputArray dst, int d=-1, double sigmaColor=25, double sigmaSpace=3, int numOfIter=4, int borderType=BORDER_DEFAULT)
Applies the rolling guidance filter to an image.
PtrTraits< SrcPtr >::value_type value_type
Definition: interpolation.hpp:157
void warpBackward(InputArray src, InputArray K, InputArray R, int interp_mode, int border_mode, Size dst_size, OutputArray dst) CV_OVERRIDE
Projects the image backward.
const std::vector< GTransform > & get_transformations() const
Returns vector of transformations included in the package.
_OutputArray(std::array< Mat, _Nm > &arr)
IplMagnoParameters()
Definition: retina.hpp:166
int maxTexture1D() const
maximum 1D texture size
static void help_init(const cv::GMetaArgs &metas, const cv::GArgs &in_args, gapi::fluid::Buffer &b)
Definition: gfluidkernel.hpp:227
@ is_scalar
Definition: type_traits.hpp:146
virtual void setK(int k=32)=0
K is a number of nearest-neighbor matches considered, when fitting a locally affine model for a super...
virtual double getTheta() const =0
Weight parameter for (u - v)^2, tightness parameter.
- normalization layer.
Definition: all_layers.hpp:608
static void read(const FileNode &node, uchar &value, uchar default_value)
Definition: persistence.hpp:1122
@ DECOMP_QR
Definition: base.hpp:145
std::vector< std::string > lex
Definition: tr_svt.hpp:69
GArray()
Definition: garray.hpp:293
Viz3d imshow(const String &window_name, InputArray image, const Size &window_size=Size(-1, -1))
Displays image in specified window.
@ Uncompressed_NV12
Y,UV (4:2:0)
Definition: cudacodec.hpp:262
__host__ void gridCalcSum_(const SrcPtr &src, GpuMat_< ResType > &dst, const MaskPtr &mask, Stream &stream=Stream::Null())
Definition: reduce.hpp:64
int ymin
Definition: core_detect.hpp:29
__host__ void gridPyrDown_(const SrcPtr &src, GpuMat_< DstType > &dst, Stream &stream=Stream::Null())
Definition: pyramids.hpp:62
SymetricCensus(const cv::Mat *img, int k2, int **distance)
Definition: descriptor.hpp:372
static KernelArg PtrReadWrite(const UMat &m)
Definition: ocl.hpp:361
Ptr< BackgroundSubtractorGMG > createBackgroundSubtractorGMG(int initializationFrames=120, double decisionThreshold=0.8)
Creates a GMG Background Subtractor.
v_reg< _Tp, n > v_interleave_quads(const v_reg< _Tp, n > &vec)
Definition: intrin_cpp.hpp:2076
static void write(FileStorage &fs, const String &name, const std::vector< std::vector< _Tp > > &vec)
Definition: persistence.hpp:1080
virtual uint64_t getTotalUsage() const =0
static Ptr< SR_bsds > create()
Net readNetFromDarknet(const String &cfgFile, const String &darknetModel=String())
Reads a network model stored in Darknet model files.
static Ptr< TrackerStateEstimator > create(const String &trackeStateEstimatorType)
Create TrackerStateEstimator by tracker state estimator type.
virtual void setup(cv::FileStorage &fs, const bool applyDefaultSetupOnFailure=true)=0
@ GC_FGD
an obvious foreground (object) pixel
Definition: imgproc.hpp:343
String className
Definition: tracker.hpp:240
Definition: optical_flow.hpp:65
Implementation of the Zach, Pock and Bischof Dual TV-L1 Optical Flow method.
Definition: cudaoptflow.hpp:304
Definition: cap_ios.h:141
IMPL
Definition: instrumentation.hpp:54
size_t image3DMaxWidth() const
QualitySSIM(_mat_data refImgData)
Constructor.
Definition: qualityssim.hpp:90
FGDParams()
default Params
Definition: reduce_to_vec.hpp:126
void absdiff16u(const ushort *src1, size_t step1, const ushort *src2, size_t step2, ushort *dst, size_t step, int width, int height, void *)
unsigned const_param_type
Definition: core.hpp:3248
virtual int getMaxBits() const =0
type_traits_detail::UnVolatile< typename type_traits_detail::UnConst< T >::type >::type unqualified_type
Definition: type_traits.hpp:132
@ StsBadPoint
bad CvPoint
Definition: base.hpp:107
virtual void setSaturationThreshold(float val)=0
Maximum saturation for a pixel to be included in the gray-world assumption.
virtual void setSigmaRange(double sigma_range)=0
static GpuMat::Allocator * defaultAllocator()
default allocator
@ CAP_PROP_GAMMA
Definition: videoio.hpp:155
NCVStatus nppiStDecimate_32s_C1R_host(Ncv32s *h_src, Ncv32u srcStep, Ncv32s *h_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale)
NCVStatus nppiStIntegralGetSize_8u32u(NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp)
@ CCL_GRANA
BBDT algorithm for 8-way connectivity, SAUF algorithm for 4-way connectivity.
Definition: imgproc.hpp:406
float hog_clip
Definition: tracker.hpp:1513
Mat controlMatrix
control matrix (B) (not used if there is no control)
Definition: tracking.hpp:396
Cylindrical warper factory class.
Definition: warpers.hpp:153
int modifiers
Definition: types.hpp:325
int QP_Level_InterB
NVVE_QP_LEVEL_INTER_B,.
Definition: cudacodec.hpp:95
int getMaxCatCount() const
Definition: feature.hpp:173
This class allows to create and manipulate comprehensive artificial neural networks.
Definition: dnn.hpp:391
virtual cv::Mat getLayerSizes() const =0
Complex< double > Complexd
Definition: types.hpp:91
cudaStream_t nppStGetActiveCUDAstream()
void * fastMalloc(size_t bufSize)
Allocates an aligned memory buffer.
int globalMemCacheType() const
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 setConstructFcn(ConstructVec &&cv)
void calcOpticalFlowSparseRLOF(InputArray prevImg, InputArray nextImg, InputArray prevPts, InputOutputArray nextPts, OutputArray status, OutputArray err, Ptr< RLOFOpticalFlowParameter > rlofParam=Ptr< RLOFOpticalFlowParameter >(), float forwardBackwardThreshold=0)
Calculates fast optical flow for a sparse feature set using the robust local optical flow (RLOF) simi...
virtual int getNumDisparities() const =0
int cols
Definition: zip.hpp:110
virtual void read(const FileNode &fn)=0
@ RECTIFY_CYLINDRICAL
Definition: omnidir.hpp:69
void setWeight1(float val)
Definition: motion_stabilizing.hpp:131
GProtoArgs m_args
Definition: gproto.hpp:60
bool equalTo(const FileNodeIterator &it) const
void write(FileStorage &fs) const CV_OVERRIDE
Stores algorithm parameters in a file storage.
MatConstIterator_< _Tp > const_iterator
Definition: mat.hpp:2183
Size cellSize() const
Definition: outlier_rejection.hpp:80
@ MIXED_CLONE
Definition: photo.hpp:719
static const char * tag()
Definition: render.hpp:464
::int64_t int64_t
Definition: cvdef.h:772
@ EVENT_MOUSEWHEEL
positive and negative values mean forward and backward scrolling, respectively.
Definition: highgui.hpp:216
float getAlpha() const
self explain
virtual Mat cluster() const CV_OVERRIDE
Ncv32u NumFeatures
Definition: NCVHaarObjectDetection.hpp:338
v_reg< _Tp, n > v_combine_high(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Combine vector from last elements of two vectors.
Definition: intrin_cpp.hpp:1713
@ SCENE_AA
Apply anti-aliasing. The first window determines the setting for all windows.
Definition: ovis.hpp:28
GCompiledT compile(detail::ProtoToMetaT< Args >... inDescs)
Definition: gtyped.hpp:212
int right
Index of right child node.
Definition: ml.hpp:1167
void rectStdDev(InputArray src, InputArray sqr, OutputArray dst, Rect rect, Stream &stream=Stream::Null())
Computes a standard deviation of integral images.
void warpAffine(InputArray src, OutputArray dst, InputArray M, Size dsize, int flags=INTER_LINEAR, int borderMode=BORDER_CONSTANT, Scalar borderValue=Scalar(), Stream &stream=Stream::Null())
Applies an affine transformation to an image.
#define CV_32FC1
Definition: interface.h:118
virtual bool getDetectShadows() const =0
Returns the shadow detection flag.
@ ASGD
Average Stochastic Gradient Descent.
Definition: ml.hpp:1796
@ NORM_L2SQR
Definition: base.hpp:194
void getBinary(std::vector< char > &binary) const
Query device-specific program binary.
MatchesInfo(const MatchesInfo &other)
__device__ __host__ NcvBool isLeftNodeLeaf(void)
Definition: NCVHaarObjectDetection.hpp:157
int getDevice()
Returns the current device index set by cuda::setDevice or initialized by default.
__host__ GpuMat_(const GpuMat_ &m)
copy constructor
void max(InputArray src1, InputArray src2, OutputArray dst, Stream &stream=Stream::Null())
Computes the per-element maximum of two matrices (or a matrix and a scalar).
FileNode operator[](const char *nodename) const
void deallocate(pointer p, size_type)
Definition: cvstd.hpp:133
Rect buildMaps(Size src_size, InputArray K, InputArray R, cuda::GpuMat &xmap, cuda::GpuMat &ymap)
Rect createWeightMaps(const std::vector< UMat > &masks, const std::vector< Point > &corners, std::vector< UMat > &weight_maps)
static Ptr< InnerProductLayer > create(const LayerParams ¶ms)
int numStepsToTrackWithoutDetectingIfObjectHasNotBeenShown
Definition: detection_based_tracker.hpp:169
virtual void setSVMDetector(InputArray svmdetector)
Sets coefficients for the linear SVM classifier.
_Tp x
x coordinate of the top-left corner
Definition: types.hpp:453
virtual float getMaxFlow() const =0
MaxFlow is a threshold to validate the predictions using a certain piece-wise affine model....
virtual void write(String fs) const =0
write xml/yml formated parameters information
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: reduction.hpp:135
Mat(std::vector< int > &&_dims, int _type, void *_data)
Definition: mat.hpp:114
void _mm_interleave_ps(__m128 &v_r0, __m128 &v_r1, __m128 &v_g0, __m128 &v_g1)
Definition: sse_utils.hpp:568
static void read(const FileNode &node, Size_< _Tp > &value, const Size_< _Tp > &default_value)
Definition: persistence.hpp:736
Point warp(const cuda::GpuMat &src, InputArray K, InputArray R, int interp_mode, int border_mode, cuda::GpuMat &dst)
@ FTP
Definition: sinusoidalpattern.hpp:58
void cornerHarris(InputArray src, OutputArray dst, int blockSize, int ksize, double k, int borderType=BORDER_DEFAULT)
Harris corner detector.
virtual bool getGammaCorrection() const =0
void cartToPolar(InputArray x, InputArray y, OutputArray magnitude, OutputArray angle, bool angleInDegrees=false)
Calculates the magnitude and angle of 2D vectors.
int cols
Definition: mask.hpp:85
int predictOptimalVectorWidthMax(InputArray src1, InputArray src2=noArray(), InputArray src3=noArray(), InputArray src4=noArray(), InputArray src5=noArray(), InputArray src6=noArray(), InputArray src7=noArray(), InputArray src8=noArray(), InputArray src9=noArray())
@ StsAssert
assertion failed
Definition: base.hpp:115
static Ptr< ProposalLayer > create(const LayerParams ¶ms)
virtual int getBoostType() const =0
virtual double getClipLimit() const =0
Returns threshold value for contrast limiting.
Ptr< detail::RotationWarper > create(float scale) const CV_OVERRIDE
Definition: warpers.hpp:146
Definition: gplaidmlkernel.hpp:57
flann_distance_t flann_distance_type()
int cols
Definition: resize.hpp:79
Point warp(const cuda::GpuMat &src, InputArray K, InputArray R, InputArray T, int interp_mode, int border_mode, cuda::GpuMat &dst)
void(* OpenGlDrawCallback)(void *userdata)
Callback function defined to be called every frame. See cv::setOpenGlDrawCallback.
Definition: highgui.hpp:272
void setWinSize(Size patchSize)
GMat(const GNode &n, std::size_t out)
WPaintedCloud(InputArray cloud)
Paint cloud with default gradient between cloud bounds points.
virtual int getFlags() const =0
Definition: motion_stabilizing.hpp:85
cv::String getBackendName(VideoCaptureAPIs api)
Returns backend API name or "UnknownVideoAPI(xxx)".
static Ptr< BaseConvolutionLayer > create(const LayerParams ¶ms)
Smart pointer for OpenGL 2D texture memory with reference counting.
Definition: opengl.hpp:284
CostType
Definition: seam_finders.hpp:235
virtual void setDiffusivity(KAZE::DiffusivityType diff)=0
double alpha
Definition: tracker.hpp:908
std::vector< Mat > hist
Definition: feature.hpp:330
NCV_CT_ASSERT(sizeof(HaarFeature64)==8)
uchar * data
pointer to the data
Definition: mat.hpp:2088
GMatDesc asPlanar() const
Definition: gmat.hpp:183
int state
Definition: persistence.hpp:453
v_reg< _Tp, n > v_muladd(const v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b, const v_reg< _Tp, n > &c)
A synonym for v_fma.
Definition: intrin_cpp.hpp:868
__device__ T operator()(T x, T y) const
Definition: functional.hpp:632
Definition: warpers.hpp:228
virtual void divide(double s, const MatExpr &expr, MatExpr &res) const
void winrt_initContainer(::Windows::UI::Xaml::Controls::Panel^ container)
Initializes container component that will be used to hold generated window content.
@ CAP_OPENNI_QVGA_60HZ
Definition: videoio.hpp:273
virtual void setFirstLevel(int firstLevel)=0
Definition: interface.h:20
@ CV_MODIFIED_CENSUS_TRANSFORM
Definition: descriptor.hpp:59
Ptr< HoughCirclesDetector > createHoughCirclesDetector(float dp, float minDist, int cannyThreshold, int votesThreshold, int minRadius, int maxRadius, int maxCircles=4096)
Creates implementation for cuda::HoughCirclesDetector .
GMat cmpGE(const GMat &src1, const GMat &src2)
Performs the per-element comparison of two matrices checking if elements from first matrix are greate...
virtual void setRICSPSize(int val)=0
Parameter to tune the approximate size of the superpixel used for oversegmentation.
static Ptr< Timelapser > createDefault(int type)
void detectMultiScale(InputArray image, std::vector< Rect > &objects, double scaleFactor=1.1, int minNeighbors=3, int flags=0, Size minSize=Size(), Size maxSize=Size())
Detects objects of different sizes in the input image. The detected objects are returned as a list of...
int area
incrementally computable features
Definition: erfilter.hpp:79
OclVectorStrategy
Definition: ocl.hpp:609
virtual void load(const std::string &path) CV_OVERRIDE=0
Context & initializeContextFromDirect3DDevice9Ex(IDirect3DDevice9Ex *pDirect3DDevice9Ex)
Creates OpenCL context from Direct3DDevice9Ex device.
#define CV_CUDEV_GRAY2RGB5x5_INST(name, green_bits)
Definition: color_cvt.hpp:457
T maxVal
Definition: functional.hpp:697
void drawColorDisp(InputArray src_disp, OutputArray dst_disp, int ndisp, Stream &stream=Stream::Null())
Colors a disparity image.
void * ptr
Definition: NCV.hpp:441
Hdr(int _dims, const int *_sizes, int _type)
virtual void run(InputArray frame0, InputArray frame1, InputArray points0, InputOutputArray points1, OutputArray status, OutputArray errors) CV_OVERRIDE
Ptr< Pose3D > Pose3DPtr
Definition: pose_3d.hpp:58
VideoCapture(const String &filename, int apiPreference=CAP_ANY)
Opens a video file or a capturing device or an IP video stream for video capturing with API Preferenc...
@ CAP_PROP_WHITE_BALANCE_RED_V
Definition: videoio.hpp:159
Definition: warpers.hpp:367
virtual void setPreFilterCap(int preFilterCap)=0
void convertFromD3D10Texture2D(ID3D10Texture2D *pD3D10Texture2D, OutputArray dst)
Converts ID3D10Texture2D to OutputArray.
Definition: facerec.hpp:55
SrcPtr src
Definition: deriv.hpp:286
Point pointer
Definition: types.hpp:324
Mat eigenvalues() const
Definition: core.hpp:2603
RgbdNormals()
Definition: depth.hpp:83
virtual void setEPICK(int val)=0
see ximgproc::EdgeAwareInterpolator() K value.
Pixels are weighted using contrast, saturation and well-exposedness measures, than images are combine...
Definition: photo.hpp:642
__device__ __forceinline__ int idx_row(int y) const
Definition: extrapolation.hpp:102
TrackedObject(const cv::Rect &rect, float confidence, int frame_idx, int object_id)
Constructor with parameters.
Definition: tracking_by_matching.hpp:50
std::string value
Definition: tr_svt.hpp:62
@ MM_TRANSLATION
Definition: motion_core.hpp:61
GraphCutSeamFinder(String cost_type, float terminal_cost=10000.f, float bad_region_penalty=1000.f)
void checkMasks(InputArrayOfArrays masks, int queryDescriptorsCount) const
void mapForward(float x, float y, float &u, float &v)
void qconj(InputArray qimg, OutputArray qcimg)
calculates conjugate of a quaternion image.
static Ptr< KinFu > create(const Ptr< Params > &_params)
virtual void getDenseMatches(std::vector< stereo::Match > &denseMatches)=0
Get The dense corresponding points.
__host__ SobelYPtrSz< typename PtrTraits< SrcPtr >::ptr_type > sobelYPtr(const SrcPtr &src)
Definition: deriv.hpp:219
SupportRegionType getSupportRegionType() const
GMat cmpNE(const GMat &src1, const GMat &src2)
Performs the per-element comparison of two matrices checking if elements from first matrix are not eq...
virtual bool getFaces(InputArray image, OutputArray faces)=0
Detect faces from a given image using default or user defined face detector. Some Algorithm might not...
@ SCENE_INTERACTIVE
allow the user to control the camera.
Definition: ovis.hpp:24
@ COLOR_YCrCb2BGR
Definition: imgproc.hpp:582
float minInlierRatio() const
Definition: global_motion.hpp:140
virtual void setEpsilon(double epsilon)=0
double matchShapes(InputArray contour1, InputArray contour2, int method, double parameter)
Compares two shapes.
unsigned char ValueType
Definition: base.hpp:385
::uint64_t uint64_t
Definition: cvdef.h:773
int hal_ni_addWeighted8u(const uchar *src1_data, size_t src1_step, const uchar *src2_data, size_t src2_step, uchar *dst_data, size_t dst_step, int width, int height, const double scalars[3])
Definition: hal_replacement.hpp:318
_Mutex Mutex
Definition: lock.private.hpp:78
void cvt16f32f(const float16_t *src, float *dst, int len)
void setRadius(int val)
Definition: stabilizer.hpp:74
Layer(const LayerParams ¶ms)
Initializes only name, type and blobs fields.
virtual float getVariationalRefinementAlpha() const =0
Weight of the smoothness term.
void getRTfromHomogeneous(InputArray H, Mat &R, Mat &T)
Extracts rotation and translation matrices from matrix H representing affine transformation in homoge...
virtual void forward(std::vector< Mat * > &input, std::vector< Mat > &output, std::vector< Mat > &internals)
Given the input blobs, computes the output blobs.
float raycast_step_factor
A length of one raycast step.
Definition: kinfu.hpp:89
T ValueType
Definition: features2d.hpp:823
void cvtBGRtoTwoPlaneYUV(const uchar *src_data, size_t src_step, uchar *y_data, uchar *uv_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int uIdx)
Separate Y and UV planes.
static Ptr< RgbdNormals > create(int rows, int cols, int depth, InputArray K, int window_size=5, int method=RgbdNormals::RGBD_NORMALS_METHOD_FALS)
LSDDetector()
Definition: descriptor.hpp:725
ScoreType
Definition: features2d.hpp:316
void knnMatch(const Mat &queryDescriptors, std::vector< std::vector< DMatch > > &matches, int k, const std::vector< Mat > &masks=std::vector< Mat >(), bool compactResult=false)
VectorRefT(std::vector< T > &vec)
Definition: garray.hpp:145
virtual void reset()=0
Resets the algorithm.
virtual void radiusMatchAsync(InputArray queryDescriptors, OutputArray matches, float maxDistance, const std::vector< GpuMat > &masks=std::vector< GpuMat >(), Stream &stream=Stream::Null())=0
float a
Definition: warpers.hpp:422
Definition: reduce_to_vec.hpp:90
@ CAP_PROP_OPENNI_APPROX_FRAME_SYNC
Definition: videoio.hpp:235
void fastGlobalSmootherFilter(InputArray guide, InputArray src, OutputArray dst, double lambda, double sigma_color, double lambda_attenuation=0.25, int num_iter=3)
Simple one-line Fast Global Smoother filter call. If you have multiple images to filter with the same...
void validate() const
Definition: goclkernel.hpp:128
int hal_ni_split64s(const int64 *src_data, int64 **dst_data, int len, int cn)
Definition: hal_replacement.hpp:348
struct hashnode_i * next
Definition: t_hash_int.hpp:64
MatAllocator()
Definition: mat.hpp:468
GArray< T > yieldArray(int output=0)
Definition: gcall.hpp:44
@ LINE_AA
antialiased line
Definition: imgproc.hpp:807
int end
Definition: types.hpp:598
void assignTo(Mat &m, int type=-1) const
Provides a functional form of convertTo.
static Ptr< LSDDetector > createLSDDetector()
Creates ad LSDDetector object, using smart pointers.
virtual double getLowThreshold() const =0
v_reg< _Tp, V_TypeTraits< _Tp >::nlanes128 > v_lut_quads(const _Tp *tab, const int *idx)
Definition: intrin_cpp.hpp:2001
void mul32s(const int *src1, size_t step1, const int *src2, size_t step2, int *dst, size_t step, int width, int height, void *scale)
virtual void setMinVal(double val)=0
Sets the minimum value taken on by pixels in image sequence.
int octave
Definition: interface.h:26
int maxCMLength
Definition: tracker.hpp:513
@ CPU_AVX_512BW
Definition: cvdef.h:287
bool has(const String &name) const
Check if field was provided in the command line.
__device__ static __forceinline__ uint threadLineId()
Definition: block.hpp:68
int getKernelSize() const
Definition: depth.hpp:1111
::uint32_t uint32_t
Definition: cvdef.h:771
SurfaceFormat
Definition: cudacodec.hpp:73
void render(cv::Mat &y_plane, cv::Mat &uv_plane, const Prims &prims, cv::GCompileArgs &&args={})
The function renders on two NV12 planes passed drawing primitivies.
virtual void write(FileStorage &fs) const =0
@ CAP_PROP_TRIGGER_DELAY
Definition: videoio.hpp:158
SrcPtr src
Definition: deriv.hpp:66
Definition: hpe_humaneva.hpp:78
double Ry
Definition: gr_chalearn.hpp:67
std::vector< Ptr< Object > > & getTrain(int splitNum=0)
std::vector< int > size
Definition: util.hpp:65
Mat_(const MatExpr &e)
from a matrix expression
@ CAP_PROP_WHITE_BALANCE_BLUE_U
Currently unsupported.
Definition: videoio.hpp:150
static constexpr const char * id()
Definition: infer.hpp:96
MakeVec< typename LargerType< float, typename VecTraits< T >::elem_type >::type, VecTraits< T >::cn >::type type
Definition: functional.hpp:452
util::optional< Border > BorderOpt
Definition: gfluidbuffer.hpp:39
double stereoCalibrate(InputArrayOfArrays objectPoints, InputArrayOfArrays imagePoints1, InputArrayOfArrays imagePoints2, InputOutputArray cameraMatrix1, InputOutputArray distCoeffs1, InputOutputArray cameraMatrix2, InputOutputArray distCoeffs2, Size imageSize, InputOutputArray R, InputOutputArray T, OutputArray E, OutputArray F, OutputArray perViewErrors, int flags=CALIB_FIX_INTRINSIC, TermCriteria criteria=TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, 30, 1e-6))
Calibrates the stereo camera.
double ncvEndQueryTimerMs(NcvTimer t)
virtual void setUniquenessRatio(int uniquenessRatio)=0
virtual std::vector< Point3f > getNodesPos() const =0
int targetId
Target identifier.
Definition: dnn.hpp:172
virtual double getGradientConstancyImportance() const =0
@ CAP_OPENNI_SXGA_30HZ
Definition: videoio.hpp:271
static void removeDuplicated(std::vector< KeyPoint > &keypoints)
cv::Mat img
Image to draw.
Definition: render.hpp:329
virtual int getMinSize()=0
int descriptorType
Type of descriptors to use.
Definition: sparse_matching_gpc.hpp:127
Abstract streaming pipeline source.
Definition: source.hpp:40
static const softfloat fromRaw(const uint32_t a)
Construct from raw.
Definition: softfloat.hpp:106
size_t getDescriptorSize() const
Returns the number of coefficients required for the classification.
This structure represents a circle to draw.
Definition: render.hpp:210
virtual void setOctaves(int octaves)
Set detection octaves.
Definition: features2d.hpp:302
Ptr< StereoMatcher > createRightMatcher(Ptr< StereoMatcher > matcher_left)
Convenience method to set up the matcher for computing the right-view disparity map that is required ...
void debugDMatch(cv::InputArray img1, std::vector< cv::KeyPoint > keypoints1, cv::InputArray img2, std::vector< cv::KeyPoint > keypoints2, std::vector< cv::DMatch > matches, const CallMetaData &data, const char *description, const char *view, bool useTrainDescriptor)
const std::vector< T > & rref() const
Definition: garray.hpp:184
CMTime lastSampleTime
Definition: cap_ios.h:107
const int & operator[](int i) const
virtual void setScaleFactor(double val)=0
Pyramid scale factor.
void sub32f(const float *src1, size_t step1, const float *src2, size_t step2, float *dst, size_t step, int width, int height, void *)
Describes RANSAC method parameters.
Definition: motion_core.hpp:74
float time_affinity_w
Time affinity weight.
Definition: tracking_by_matching.hpp:279
void compute(const std::vector< Mat > &images, std::vector< std::vector< KeyLine > > &keylines, std::vector< Mat > &descriptors, bool returnFloatDescr=false) const
void mapBackward(float u, float v, float &x, float &y)
std::size_t size() const
Returns total number of kernels in the package (across all backends included)
void find(const std::vector< UMat > &src, const std::vector< Point > &corners, std::vector< UMat > &masks) CV_OVERRIDE
Estimates seams.
virtual void setSaturationThreshold(float val)=0
Threshold that is used to determine saturated pixels, i.e. pixels where at least one of the channels ...
@ NCV_INCONSISTENT_INPUT
Definition: NCV.hpp:324
static Color orange_red()
__device__ PtrTraits< SrcPtr >::value_type operator()(int y, int x) const
Definition: deriv.hpp:195
Definition: warpers.hpp:614
int preferableTarget
prefer target for layer forwarding
Definition: dnn.hpp:372
virtual bool grab()
Grabs the next frame from video file or capturing device.
Op op
Definition: functional.hpp:832
tracked_cv_mat(cv::gapi::own::Mat &m)
Definition: gcpukernel.hpp:160
Definition: utility.hpp:1052
KernelTypes
SVM kernel type
Definition: ml.hpp:647
virtual NcvBool isCounting(void) const =0
virtual void setTheta(float theta)=0
float distance
Definition: types.hpp:819
Definition: facemarkAAM.hpp:48
Ptr< Layer > getLayer(LayerId layerId)
Returns pointer to layer with specified id or name which the network use.
static Vec< _Tp, cn > & operator/=(Vec< _Tp, cn > &a, int alpha)
Definition: matx.hpp:1365
int index_type
Definition: constant.hpp:60
__host__ void assignTo(GpuMat_< T > &dst, Stream &stream=Stream::Null()) const
Definition: deriv.hpp:212
static softdouble inf()
Positive infinity constant.
Definition: softfloat.hpp:348
Ptr< GpuMat::Allocator > getAllocator() const
Returns the allocator associated with the stream.
Definition: cuda.hpp:495
@ CAP_PVAPI_FSTRIGMODE_FIXEDRATE
FixedRate.
Definition: videoio.hpp:305
virtual int getNSamples() const =0
~BufferPoolController()
Definition: bufferpool.hpp:24
@ updown
Definition: gr_skig.hpp:64
__device__ static __forceinline__ bool min()
Definition: limits.hpp:62
void transform_bboxes_inv(std::vector< std::vector< double > > *pre, std::vector< std::vector< double > > *post)
Transform bounding boxes from [x, y, h, w] to [xmin, ymin, xmax, ymax].
Mat transitionMatrix
state transition matrix (A)
Definition: tracking.hpp:395
Ptr< IFrameSource > frameSource_
Definition: stabilizer.hpp:115
virtual void detect(InputArray src, OutputArray lines, Stream &stream=Stream::Null())=0
Finds line segments in a binary image using the probabilistic Hough transform.
Vec2i maxSurface2D() const
maximum 2D surface dimensions
float icpAngleThresh
Definition: dynafu.hpp:99
void circle(InputOutputArray img, Point center, int radius, const Scalar &color, int thickness=1, int lineType=LINE_8, int shift=0)
Draws a circle.
UMat oclSvmDetector
coefficients for the linear SVM classifier used when OpenCL is enabled
Definition: objdetect.hpp:620
Custom array allocator.
Definition: mat.hpp:466
int cols
Definition: deriv.hpp:371
virtual void setDp(float dp)=0
virtual void setUseSurrogates(bool val)=0
virtual void load(const std::string &path) CV_OVERRIDE=0
int samplerInitMaxNegNum
Definition: tracker.hpp:1073
float bias
Definition: all_layers.hpp:239
virtual ~MatchTemplateDistance()
Definition: tracking_by_matching.hpp:247
Implementation of ICP (Iterative Closest Point) Algorithm.
Read-Only Sparse Matrix Iterator.
Definition: mat.hpp:3191
@ KMEANS_USE_INITIAL_LABELS
Definition: core.hpp:216
void depthTo3dSparse(InputArray depth, InputArray in_K, InputArray in_points, OutputArray points3d)
int y
y offset
Definition: linemod.hpp:29
@ DICT_APRILTAG_36h11
6x6 bits, minimum hamming distance between any two codes = 11, 587 codes
Definition: dictionary.hpp:162
Minimum graph cut-based seam estimator. See details in .
Definition: seam_finders.hpp:241
DpSeamFinder(CostFunction costFunc=COLOR)
Implementation of the camera parameters refinement algorithm which minimizes sum of the distances bet...
Definition: motion_estimators.hpp:266
Mat_(const Vec< typename DataType< _Tp >::channel_type, n > &vec, bool copyData=true)
@ CPU_AVX_512ER
Definition: cvdef.h:290
unsigned long num_test_coordinates
num_test_coordinates stores number of test coordinates.
Definition: face_alignment.hpp:31
int hal_ni_dftInit1D(cvhalDFT **context, int len, int count, int depth, int flags, bool *needBuffer)
Definition: hal_replacement.hpp:510
__device__ static __forceinline__ float max()
Definition: limits.hpp:112
virtual float getSegEgbThresholdII()=0
uchar * original_data
Definition: gcpukernel.hpp:162
__host__ __device__ static __forceinline__ char4 make(schar x, schar y, schar z, schar w)
Definition: vec_traits.hpp:179
__device__ __forceinline__ float2 operator()(float y, float x) const
Definition: warping.hpp:114
@ SFM_DISTORTION_MODEL_DIVISION
Definition: simple_pipeline.hpp:53
unsigned int bufId() const
get OpenGL opject id
virtual bool open(const String &filename, int apiPreference=CAP_ANY)
Opens a video file or a capturing device or an IP video stream for video capturing.
v_reg< _Tp, n > & operator&=(v_reg< _Tp, n > &a, const v_reg< _Tp, n > &b)
Definition: intrin_cpp.hpp:470
int thickness
See cv::QtFontWeights.
Definition: highgui.hpp:698
uint64 member_type
Definition: core.hpp:3257
size_t size() const
size returns number of detected objects in a track.
Definition: tracking_by_matching.hpp:344
virtual void run(InputArray frame0, InputArray frame1, InputArray points0, InputOutputArray points1, OutputArray status, OutputArray errors)=0
NCVStatus nppiStDecimate_32s_C1R(Ncv32s *d_src, Ncv32u srcStep, Ncv32s *d_dst, Ncv32u dstStep, NcvSize32u srcRoi, Ncv32u scale, NcvBool readThruTexture)
Camera(const Vec2d &fov, const Size &window_size)
void clear() CV_OVERRIDE
Implements Algorithm::clear()
Definition: qualitybase.hpp:46
const std::vector< cv::Mat > & getObjectPoints()
virtual Mat getSupportVectors() const =0
Retrieves all the support vectors.
__device__ __forceinline__ float1 log2(const uchar1 &a)
Definition: vec_math.hpp:267
virtual void deleteDataInstance(void *pData) const CV_OVERRIDE
Wrapper to release data by template.
Definition: tls.hpp:214
std::vector< std::vector< int > > nearestMarkerIdx
Definition: charuco.hpp:69
static void eigen2cv(const Eigen::Matrix< _Tp, _rows, _cols, _options, _maxRows, _maxCols > &src, OutputArray dst)
Definition: eigen.hpp:63
void setMinGradientMagnitudes(const cv::Mat &val)
Definition: depth.hpp:968
ushort w
Definition: cvdef.h:882
@ OPTFLOW_FARNEBACK_GAUSSIAN
Definition: tracking.hpp:58
friend const T & get(const variant< Us... > &v)
__host__ __device__ NcvRect32u()
Definition: NCV.hpp:166
@ CAP_PVAPI_PIXELFORMAT_MONO8
Mono8.
Definition: videoio.hpp:317
bool isContourConvex(InputArray contour)
Tests a contour convexity.
std::enable_if<!is_nongapi_type< T >::value, typename MetaType< T >::type >::type get_in_meta(const GMetaArgs &in_meta, const GArgs &, int idx)
Definition: gkernel.hpp:99
GpuMat getBuffer(int rows, int cols, int type)
Allocates a new GpuMat of given size and type.
std::vector< float > weightsSizesSmoothing
Definition: detection_based_tracker.hpp:208