opencv2/cudaarithm.hpp#

Include dependency graph for cudaarithm.hpp:

opencv2/cudaarithm.hpp Node1 opencv2/cudaarithm.hpp Node2 opencv2/core/cuda.hpp Node1->Node2 Node3 opencv2/core.hpp Node2->Node3 Node53 opencv2/core/cuda_types.hpp Node2->Node53 Node54 opencv2/core/cuda.inl.hpp Node2->Node54 Node4 opencv2/core/cvdef.h Node3->Node4 Node11 opencv2/core/base.hpp Node3->Node11 Node15 opencv2/core/cvstd.hpp Node3->Node15 Node31 opencv2/core/traits.hpp Node3->Node31 Node32 opencv2/core/matx.hpp Node3->Node32 Node37 opencv2/core/types.hpp Node3->Node37 Node40 opencv2/core/mat.hpp Node3->Node40 Node44 opencv2/core/persistence.hpp Node3->Node44 Node45 opencv2/core/operations.hpp Node3->Node45 Node48 opencv2/core/cvstd.inl.hpp Node3->Node48 Node49 opencv2/core/utility.hpp Node3->Node49 Node52 opencv2/core/optim.hpp Node3->Node52 Node5 opencv2/core/version.hpp Node4->Node5 Node6 limits Node4->Node6 Node7 opencv2/core/hal/interface.h Node4->Node7 Node9 cstdint Node4->Node9 Node10 cv_cpu_dispatch.h Node4->Node10 Node8 cstddef Node7->Node8 Node7->Node9 Node11->Node4 Node12 opencv2/opencv_modules.hpp Node11->Node12 Node13 climits Node11->Node13 Node14 algorithm Node11->Node14 Node11->Node15 Node25 opencv2/core/fwddecl.hpp Node11->Node25 Node26 opencv2/core/neon_utils.hpp Node11->Node26 Node27 opencv2/core/vsx_utils.hpp Node11->Node27 Node29 opencv2/core/exception.hpp Node11->Node29 Node30 opencv2/core/check.hpp Node11->Node30 Node15->Node4 Node15->Node8 Node15->Node14 Node16 cstring Node15->Node16 Node17 cctype Node15->Node17 Node18 string Node15->Node18 Node19 utility Node15->Node19 Node20 cstdlib Node15->Node20 Node21 cmath Node15->Node21 Node22 cvstd_wrapper.hpp Node15->Node22 Node22->Node4 Node22->Node18 Node23 memory Node22->Node23 Node24 type_traits Node22->Node24 Node25->Node4 Node26->Node4 Node27->Node4 Node28 assert.h Node27->Node28 Node29->Node4 Node29->Node15 Node30->Node4 Node30->Node15 Node30->Node25 Node31->Node4 Node32->Node4 Node32->Node11 Node32->Node31 Node33 opencv2/core/saturate.hpp Node32->Node33 Node35 initializer_list Node32->Node35 Node36 opencv2/core/matx.inl.hpp Node32->Node36 Node33->Node4 Node33->Node13 Node34 opencv2/core/fast_math.hpp Node33->Node34 Node34->Node4 Node34->Node21 Node37->Node4 Node37->Node6 Node37->Node13 Node37->Node15 Node37->Node32 Node38 cfloat Node37->Node38 Node39 vector Node37->Node39 Node40->Node24 Node40->Node32 Node40->Node37 Node41 opencv2/core/bufferpool.hpp Node40->Node41 Node42 array Node40->Node42 Node43 opencv2/core/mat.inl.hpp Node40->Node43 Node44->Node37 Node44->Node40 Node46 cstdio Node45->Node46 Node47 ostream Node45->Node47 Node49->Node3 Node49->Node47 Node50 functional Node49->Node50 Node51 mutex Node49->Node51 Node52->Node3

opencv2/cudaarithm.hpp Node1 opencv2/cudaarithm.hpp Node2 opencv2/core/cuda.hpp Node1->Node2 Node3 opencv2/core.hpp Node2->Node3 Node53 opencv2/core/cuda_types.hpp Node2->Node53 Node54 opencv2/core/cuda.inl.hpp Node2->Node54 Node4 opencv2/core/cvdef.h Node3->Node4 Node11 opencv2/core/base.hpp Node3->Node11 Node15 opencv2/core/cvstd.hpp Node3->Node15 Node31 opencv2/core/traits.hpp Node3->Node31 Node32 opencv2/core/matx.hpp Node3->Node32 Node37 opencv2/core/types.hpp Node3->Node37 Node40 opencv2/core/mat.hpp Node3->Node40 Node44 opencv2/core/persistence.hpp Node3->Node44 Node45 opencv2/core/operations.hpp Node3->Node45 Node48 opencv2/core/cvstd.inl.hpp Node3->Node48 Node49 opencv2/core/utility.hpp Node3->Node49 Node52 opencv2/core/optim.hpp Node3->Node52 Node5 opencv2/core/version.hpp Node4->Node5 Node6 limits Node4->Node6 Node7 opencv2/core/hal/interface.h Node4->Node7 Node9 cstdint Node4->Node9 Node10 cv_cpu_dispatch.h Node4->Node10 Node8 cstddef Node7->Node8 Node7->Node9 Node11->Node4 Node12 opencv2/opencv_modules.hpp Node11->Node12 Node13 climits Node11->Node13 Node14 algorithm Node11->Node14 Node11->Node15 Node25 opencv2/core/fwddecl.hpp Node11->Node25 Node26 opencv2/core/neon_utils.hpp Node11->Node26 Node27 opencv2/core/vsx_utils.hpp Node11->Node27 Node29 opencv2/core/exception.hpp Node11->Node29 Node30 opencv2/core/check.hpp Node11->Node30 Node15->Node4 Node15->Node8 Node15->Node14 Node16 cstring Node15->Node16 Node17 cctype Node15->Node17 Node18 string Node15->Node18 Node19 utility Node15->Node19 Node20 cstdlib Node15->Node20 Node21 cmath Node15->Node21 Node22 cvstd_wrapper.hpp Node15->Node22 Node22->Node4 Node22->Node18 Node23 memory Node22->Node23 Node24 type_traits Node22->Node24 Node25->Node4 Node26->Node4 Node27->Node4 Node28 assert.h Node27->Node28 Node29->Node4 Node29->Node15 Node30->Node4 Node30->Node15 Node30->Node25 Node31->Node4 Node32->Node4 Node32->Node11 Node32->Node31 Node33 opencv2/core/saturate.hpp Node32->Node33 Node35 initializer_list Node32->Node35 Node36 opencv2/core/matx.inl.hpp Node32->Node36 Node33->Node4 Node33->Node13 Node34 opencv2/core/fast_math.hpp Node33->Node34 Node34->Node4 Node34->Node21 Node37->Node4 Node37->Node6 Node37->Node13 Node37->Node15 Node37->Node32 Node38 cfloat Node37->Node38 Node39 vector Node37->Node39 Node40->Node24 Node40->Node32 Node40->Node37 Node41 opencv2/core/bufferpool.hpp Node40->Node41 Node42 array Node40->Node42 Node43 opencv2/core/mat.inl.hpp Node40->Node43 Node44->Node37 Node44->Node40 Node46 cstdio Node45->Node46 Node47 ostream Node45->Node47 Node49->Node3 Node49->Node47 Node50 functional Node49->Node50 Node51 mutex Node49->Node51 Node52->Node3

Classes#

class cv::cuda::Convolution

Base class for convolution (or cross-correlation) operator. : More…

class cv::cuda::DFT

Base class for DFT operator as a cv::Algorithm. : More…

class cv::cuda::LookUpTable

Base class for transform using lookup table. More…

Namespaces#

namespace cv
namespace cv::cuda

Functions#

Ptr< Convolution > cv::cuda::createConvolution (Size user_block_size=Size())

Creates implementation for cuda::Convolution .

Ptr< DFT > cv::cuda::createDFT (Size dft_size, int flags)

Creates implementation for cuda::DFT.

void cv::cuda::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.

void cv::cuda::gemm (InputArray src1, InputArray src2, double alpha, InputArray src3, double beta, OutputArray dst, int flags=0, Stream &stream=Stream::Null())

Performs generalized matrix multiplication.

void cv::cuda::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 cv::cuda::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.

void cv::cuda::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.

Ptr< LookUpTable > cv::cuda::createLookUpTable (InputArray lut)

Creates implementation for cuda::LookUpTable .

void cv::cuda::flip (InputArray src, OutputArray dst, int flipCode, Stream &stream=Stream::Null())

Flips a 2D matrix around vertical, horizontal, or both axes.

void cv::cuda::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 cv::cuda::merge (const std::vector< GpuMat > &src, OutputArray dst, Stream &stream=Stream::Null())
void cv::cuda::split (InputArray src, GpuMat *dst, Stream &stream=Stream::Null())

Copies each plane of a multi-channel matrix into an array.

void cv::cuda::split (InputArray src, std::vector< GpuMat > &dst, Stream &stream=Stream::Null())
void cv::cuda::transpose (InputArray src1, OutputArray dst, Stream &stream=Stream::Null())

Transposes a matrix.

Scalar cv::cuda::absSum (InputArray src, InputArray mask=noArray())

Returns the sum of absolute values for matrix elements.

void cv::cuda::calcAbsSum (InputArray src, OutputArray dst, InputArray mask=noArray(), Stream &stream=Stream::Null())
void cv::cuda::calcNorm (InputArray src, OutputArray dst, int normType, InputArray mask=noArray(), Stream &stream=Stream::Null())
void cv::cuda::calcNormDiff (InputArray src1, InputArray src2, OutputArray dst, int normType=NORM_L2, Stream &stream=Stream::Null())
void cv::cuda::calcSqrSum (InputArray src, OutputArray dst, InputArray mask=noArray(), Stream &stream=Stream::Null())
void cv::cuda::calcSum (InputArray src, OutputArray dst, InputArray mask=noArray(), Stream &stream=Stream::Null())
int cv::cuda::countNonZero (InputArray src)

Counts non-zero matrix elements.

void cv::cuda::countNonZero (InputArray src, OutputArray dst, Stream &stream=Stream::Null())
void cv::cuda::findMinMax (InputArray src, OutputArray dst, InputArray mask=noArray(), Stream &stream=Stream::Null())
void cv::cuda::findMinMaxLoc (InputArray src, OutputArray minMaxVals, OutputArray loc, InputArray mask=noArray(), Stream &stream=Stream::Null())
void cv::cuda::integral (InputArray src, OutputArray sum, Stream &stream=Stream::Null())

Computes an integral image.

void cv::cuda::meanStdDev (InputArray mtx, OutputArray dst, Stream &stream=Stream::Null())
void cv::cuda::meanStdDev (InputArray mtx, Scalar &mean, Scalar &stddev)
void cv::cuda::meanStdDev (InputArray src, OutputArray dst, InputArray mask, Stream &stream=Stream::Null())

Computes a mean value and a standard deviation of matrix elements.

void cv::cuda::meanStdDev (InputArray src, Scalar &mean, Scalar &stddev, InputArray mask)
void cv::cuda::minMax (InputArray src, double *minVal, double *maxVal, InputArray mask=noArray())

Finds global minimum and maximum matrix elements and returns their values.

void cv::cuda::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.

double cv::cuda::norm (InputArray src1, InputArray src2, int normType=NORM_L2)

Returns the difference of two matrices.

double cv::cuda::norm (InputArray src1, int normType, InputArray mask=noArray())

Returns the norm of a matrix (or difference of two matrices).

void cv::cuda::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.

void cv::cuda::rectStdDev (InputArray src, InputArray sqr, OutputArray dst, Rect rect, Stream &stream=Stream::Null())

Computes a standard deviation of integral images.

void cv::cuda::reduce (InputArray mtx, OutputArray vec, int dim, int reduceOp, int dtype=-1, Stream &stream=Stream::Null())

Reduces a matrix to a vector.

void cv::cuda::sqrIntegral (InputArray src, OutputArray sqsum, Stream &stream=Stream::Null())

Computes a squared integral image.

Scalar cv::cuda::sqrSum (InputArray src, InputArray mask=noArray())

Returns the squared sum of matrix elements.

Scalar cv::cuda::sum (InputArray src, InputArray mask=noArray())

Returns the sum of matrix elements.

void cv::cuda::abs (InputArray src, OutputArray dst, Stream &stream=Stream::Null())

Computes an absolute value of each matrix element.

void cv::cuda::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).

void cv::cuda::absdiffWithScalar (InputArray src1, Scalar src2, OutputArray dst, Stream &stream=Stream::Null())

Computes per-element absolute difference of a matrix and scalar.

void cv::cuda::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.

void cv::cuda::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 cv::cuda::addWithScalar (InputArray src1, Scalar src2, OutputArray dst, InputArray mask=noArray(), int dtype=-1, Stream &stream=Stream::Null())

Computes a matrix-scalar sum.

void cv::cuda::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).

void cv::cuda::bitwise_and_with_scalar (InputArray src1, Scalar src2, OutputArray dst, InputArray mask=noArray(), Stream &stream=Stream::Null())

Performs a per-element bitwise conjunction of a matrix and a scalar.

void cv::cuda::bitwise_not (InputArray src, OutputArray dst, InputArray mask=noArray(), Stream &stream=Stream::Null())

Performs a per-element bitwise inversion.

void cv::cuda::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).

void cv::cuda::bitwise_or_with_scalar (InputArray src1, Scalar src2, OutputArray dst, InputArray mask=noArray(), Stream &stream=Stream::Null())

Performs a per-element bitwise disjunction of a matrix and scalar.

void cv::cuda::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).

void cv::cuda::bitwise_xor_with_scalar (InputArray src1, Scalar src2, OutputArray dst, InputArray mask=noArray(), Stream &stream=Stream::Null())

Performs a per-element bitwise exclusive or operation of a matrix and a scalar.

void cv::cuda::cartToPolar (InputArray x, InputArray y, OutputArray magnitude, OutputArray angle, bool angleInDegrees=false, Stream &stream=Stream::Null())

Converts Cartesian coordinates into polar.

void cv::cuda::cartToPolar (InputArray xy, OutputArray magnitude, OutputArray angle, bool angleInDegrees=false, Stream &stream=Stream::Null())

Converts Cartesian coordinates into polar.

void cv::cuda::cartToPolar (InputArray xy, OutputArray magnitudeAngle, bool angleInDegrees=false, Stream &stream=Stream::Null())

Converts Cartesian coordinates into polar.

void cv::cuda::compare (InputArray src1, InputArray src2, OutputArray dst, int cmpop, Stream &stream=Stream::Null())

Compares elements of two matrices (or of a matrix and scalar).

void cv::cuda::compareWithScalar (InputArray src1, Scalar src2, OutputArray dst, int cmpop, Stream &stream=Stream::Null())

Compares elements of a matrix and scalar.

void cv::cuda::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.

void cv::cuda::divideWithScalar (InputArray src1, Scalar src2, OutputArray dst, double scale=1, int dtype=-1, Stream &stream=Stream::Null())

Computes a matrix-scalar division.

void cv::cuda::exp (InputArray src, OutputArray dst, Stream &stream=Stream::Null())

Computes an exponent of each matrix element.

void cv::cuda::inRange (InputArray src, const Scalar &lowerb, const Scalar &upperb, OutputArray dst, Stream &stream=Stream::Null())

Checks if array elements lie between two scalars.

void cv::cuda::log (InputArray src, OutputArray dst, Stream &stream=Stream::Null())

Computes a natural logarithm of absolute value of each matrix element.

void cv::cuda::lshift (InputArray src, Scalar val, OutputArray dst, Stream &stream=Stream::Null())
void cv::cuda::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.

void cv::cuda::magnitude (InputArray x, InputArray y, OutputArray magnitude, Stream &stream=Stream::Null())
void cv::cuda::magnitude (InputArray xy, OutputArray magnitude, Stream &stream=Stream::Null())

Computes magnitudes of complex matrix elements.

void cv::cuda::magnitudeSqr (InputArray x, InputArray y, OutputArray magnitude, Stream &stream=Stream::Null())
void cv::cuda::magnitudeSqr (InputArray xy, OutputArray magnitude, Stream &stream=Stream::Null())

Computes squared magnitudes of complex matrix elements.

void cv::cuda::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).

void cv::cuda::maxWithScalar (InputArray src1, Scalar src2, OutputArray dst, Stream &stream=Stream::Null())

Computes the per-element maximum of a matrix and a scalar.

void cv::cuda::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).

void cv::cuda::minWithScalar (InputArray src1, Scalar src2, OutputArray dst, Stream &stream=Stream::Null())

Computes the per-element minimum or a matrix and a scalar.

void cv::cuda::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.

void cv::cuda::multiplyWithScalar (InputArray src1, Scalar src2, OutputArray dst, double scale=1, int dtype=-1, Stream &stream=Stream::Null())

Computes a matrix-scalar per-element product.

void cv::cuda::phase (InputArray x, InputArray y, OutputArray angle, bool angleInDegrees=false, Stream &stream=Stream::Null())

Computes polar angles of complex matrix elements.

void cv::cuda::phase (InputArray xy, OutputArray angle, bool angleInDegrees=false, Stream &stream=Stream::Null())

Computes polar angles of complex matrix elements.

void cv::cuda::polarToCart (InputArray magnitude, InputArray angle, OutputArray x, OutputArray y, bool angleInDegrees=false, Stream &stream=Stream::Null())

Converts polar coordinates into Cartesian.

void cv::cuda::polarToCart (InputArray magnitude, InputArray angle, OutputArray xy, bool angleInDegrees=false, Stream &stream=Stream::Null())

Converts polar coordinates into Cartesian.

void cv::cuda::polarToCart (InputArray magnitudeAngle, OutputArray xy, bool angleInDegrees=false, Stream &stream=Stream::Null())

Converts polar coordinates into Cartesian.

void cv::cuda::pow (InputArray src, double power, OutputArray dst, Stream &stream=Stream::Null())

Raises every matrix element to a power.

void cv::cuda::rshift (InputArray src, Scalar val, OutputArray dst, Stream &stream=Stream::Null())
void cv::cuda::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.

static void cv::cuda::scaleAdd (InputArray src1, double alpha, InputArray src2, OutputArray dst, Stream &stream=Stream::Null())

adds scaled array to another one (dst = alpha*src1 + src2)

void cv::cuda::sqr (InputArray src, OutputArray dst, Stream &stream=Stream::Null())

Computes a square value of each matrix element.

void cv::cuda::sqrt (InputArray src, OutputArray dst, Stream &stream=Stream::Null())

Computes a square root of each matrix element.

void cv::cuda::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.

void cv::cuda::subtractWithScalar (InputArray src1, Scalar src2, OutputArray dst, InputArray mask=noArray(), int dtype=-1, Stream &stream=Stream::Null())

Computes matrix-scalar difference.

double cv::cuda::threshold (InputArray src, OutputArray dst, double thresh, double maxval, int type, Stream &stream=Stream::Null())

Applies a fixed-level threshold to each array element.