opencv2/cann_interface.hpp#

#include <opencv2/cann.hpp>

Include dependency graph for cann_interface.hpp:

opencv2/cann_interface.hpp Node1 opencv2/cann_interface.hpp Node2 opencv2/cann.hpp Node1->Node2 Node3 opencv2/core.hpp Node2->Node3 Node53 opencv2/cann.inl.hpp Node2->Node53 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/cann_interface.hpp Node1 opencv2/cann_interface.hpp Node2 opencv2/cann.hpp Node1->Node2 Node3 opencv2/core.hpp Node2->Node3 Node53 opencv2/cann.inl.hpp Node2->Node53 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

Namespaces#

namespace cv
namespace cv::cann

Enumerations#

enum cv::cann::InterpolationFlags {
INTER_NEAREST = 0,
INTER_LINEAR = 1,
INTER_CUBIC = 2,
INTER_AREA = 3,
INTER_MAX = 7
}

interpolation algorithm More…

Functions#

void cv::cann::add (const AscendMat &src1, const AscendMat &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), int dtype=-1, AscendStream &stream=AscendStream::Null())
void cv::cann::add (const AscendMat &src1, const Scalar &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), int dtype=-1, AscendStream &stream=AscendStream::Null())
void cv::cann::add (const InputArray src1, const InputArray src2, OutputArray dst, const InputArray mask=noArray(), int dtype=-1, AscendStream &stream=AscendStream::Null())

Computes a matrix-matrix or matrix-scalar sum.

void cv::cann::add (const Scalar &src1, const AscendMat &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), int dtype=-1, AscendStream &stream=AscendStream::Null())
void cv::cann::addWeighted (const AscendMat &src1, double alpha, const AscendMat &src2, double beta, double gamma, AscendMat &dst, int dtype=-1, AscendStream &stream=AscendStream::Null())
void cv::cann::addWeighted (const InputArray src1, double alpha, const InputArray src2, double beta, double gamma, OutputArray dst, int dtype=-1, AscendStream &stream=AscendStream::Null())

Computes the weighted sum of two arrays.

void cv::cann::bitwise_and (const AscendMat &src1, const AscendMat &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), AscendStream &stream=AscendStream::Null())
void cv::cann::bitwise_and (const AscendMat &src1, const Scalar &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), AscendStream &stream=AscendStream::Null())
void cv::cann::bitwise_and (const InputArray src1, const InputArray src2, OutputArray dst, const InputArray mask=noArray(), AscendStream &stream=AscendStream::Null())

Performs a per-element bitwise conjunction of two matrices (or of matrix and scalar).

void cv::cann::bitwise_and (const Scalar &src1, const AscendMat &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), AscendStream &stream=AscendStream::Null())
void cv::cann::bitwise_not (const AscendMat &src, AscendMat &dst, const AscendMat &mask=AscendMat(), AscendStream &stream=AscendStream::Null())
void cv::cann::bitwise_not (const InputArray src, OutputArray dst, const InputArray mask=noArray(), AscendStream &stream=AscendStream::Null())

Performs a per-element bitwise inversion.

void cv::cann::bitwise_or (const AscendMat &src1, const AscendMat &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), AscendStream &stream=AscendStream::Null())
void cv::cann::bitwise_or (const AscendMat &src1, const Scalar &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), AscendStream &stream=AscendStream::Null())
void cv::cann::bitwise_or (const InputArray src1, const InputArray src2, OutputArray dst, const InputArray mask=noArray(), AscendStream &stream=AscendStream::Null())

Performs a per-element bitwise disjunction of two matrices (or of matrix and scalar).

void cv::cann::bitwise_or (const Scalar &src1, const AscendMat &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), AscendStream &stream=AscendStream::Null())
void cv::cann::bitwise_xor (const AscendMat &src1, const AscendMat &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), AscendStream &stream=AscendStream::Null())
void cv::cann::bitwise_xor (const AscendMat &src1, const Scalar &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), AscendStream &stream=AscendStream::Null())
void cv::cann::bitwise_xor (const InputArray src1, const InputArray src2, OutputArray dst, const InputArray mask=noArray(), AscendStream &stream=AscendStream::Null())

Performs a per-element bitwise exclusive or operation of two matrices (or of matrix and scalar).

void cv::cann::bitwise_xor (const Scalar &src1, const AscendMat &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), AscendStream &stream=AscendStream::Null())
void cv::cann::divide (const AscendMat &src1, const AscendMat &src2, AscendMat &dst, float scale=1, int dtype=-1, AscendStream &stream=AscendStream::Null())
void cv::cann::divide (const AscendMat &src1, const Scalar &src2, AscendMat &dst, float scale=1, int dtype=-1, AscendStream &stream=AscendStream::Null())
void cv::cann::divide (const InputArray src1, const InputArray src2, OutputArray dst, float scale=1, int dtype=-1, AscendStream &stream=AscendStream::Null())

Computes a matrix-matrix or matrix-scalar division.

void cv::cann::divide (const Scalar &src1, const AscendMat &src2, AscendMat &dst, float scale=1, int dtype=-1, AscendStream &stream=AscendStream::Null())
void cv::cann::multiply (const AscendMat &src1, const AscendMat &src2, AscendMat &dst, float scale=1, int dtype=-1, AscendStream &stream=AscendStream::Null())
void cv::cann::multiply (const AscendMat &src1, const Scalar &src2, AscendMat &dst, float scale=1, int dtype=-1, AscendStream &stream=AscendStream::Null())
void cv::cann::multiply (const InputArray src1, const InputArray src2, OutputArray dst, float scale=1, int dtype=-1, AscendStream &stream=AscendStream::Null())

Computes a matrix-matrix or matrix-scalar per-element product.

void cv::cann::multiply (const Scalar &src1, const AscendMat &src2, AscendMat &dst, float scale=1, int dtype=-1, AscendStream &stream=AscendStream::Null())
void cv::cann::subtract (const AscendMat &src1, const AscendMat &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), int dtype=-1, AscendStream &stream=AscendStream::Null())
void cv::cann::subtract (const AscendMat &src1, const Scalar &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), int dtype=-1, AscendStream &stream=AscendStream::Null())
void cv::cann::subtract (const InputArray src1, const InputArray src2, OutputArray dst, const InputArray mask=noArray(), int dtype=-1, AscendStream &stream=AscendStream::Null())

Computes a matrix-matrix or matrix-scalar difference.

void cv::cann::subtract (const Scalar &src1, const AscendMat &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), int dtype=-1, AscendStream &stream=AscendStream::Null())
double cv::cann::threshold (const AscendMat &src, AscendMat &dst, double thresh, double maxval, int type, AscendStream &stream=AscendStream::Null())
double cv::cann::threshold (const InputArray src, OutputArray dst, double thresh, double maxval, int type, AscendStream &stream=AscendStream::Null())

Applies a fixed-level threshold to each array element.

void cv::cann::copyMakeBorder (const AscendMat &src, AscendMat &dst, int top, int bottom, int left, int right, int borderType, const Scalar &value=Scalar())
void cv::cann::copyMakeBorder (const InputArray src, OutputArray dst, int top, int bottom, int left, int right, int borderType, const Scalar &value=Scalar())

Forms a border and fills it with specified bordertype around the copy of input image.

AscendMat cv::cann::crop (const AscendMat &src, const Rect &rect, AscendStream &stream=AscendStream::Null())
AscendMat cv::cann::crop (InputArray src, const Rect &rect, AscendStream &stream=AscendStream::Null())

crop a 2D array. The function crops the matrix by given cv::Rect. Output matrix must be of the same depth as input one, size is specified by given rect size.

void cv::cann::cropResize (const AscendMat &src, AscendMat &dst, const Rect &rect, Size dsize, double fx, double fy, int interpolation)
void cv::cann::cropResize (const InputArray src, OutputArray dst, const Rect &rect, Size dsize, double fx, double fy, int interpolation)

crop a sub image from a big one, and resize it to certain size.

void cv::cann::cropResizeMakeBorder (const AscendMat &src, AscendMat &dst, const Rect &rect, Size dsize, double fx, double fy, int interpolation, int top, int left, const int borderType, Scalar value=Scalar())
void cv::cann::cropResizeMakeBorder (const InputArray src, OutputArray dst, const Rect &rect, Size dsize, double fx, double fy, int interpolation, int top, int left, const int borderType, Scalar value=Scalar())

crop a sub image from a big one, resize it to certain size, and form the top/left border and fills it with specified bordertype.

void cv::cann::flip (const AscendMat &src, AscendMat &dst, int flipCode, AscendStream &stream=AscendStream::Null())
void cv::cann::flip (InputArray src, OutputArray dst, int flipCode, AscendStream &stream=AscendStream::Null())

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

void cv::cann::merge (const AscendMat *src, size_t n, AscendMat &dst, AscendStream &stream=AscendStream::Null())

Makes a multi-channel matrix out of several single-channel matrices.

void cv::cann::merge (const AscendMat *src, size_t n, OutputArray &dst, AscendStream &stream=AscendStream::Null())
void cv::cann::merge (const std::vector< AscendMat > &src, AscendMat &dst, AscendStream &stream=AscendStream::Null())
void cv::cann::merge (const std::vector< AscendMat > &src, OutputArray &dst, AscendStream &stream=AscendStream::Null())
void cv::cann::resize (const AscendMat &src, AscendMat &dst, Size dsize, double fx, double fy, int interpolation, AscendStream &stream=AscendStream::Null())
void cv::cann::resize (InputArray src, OutputArray dst, Size dsize, double fx, double fy, int interpolation, AscendStream &stream=AscendStream::Null())

Resizes an image src down to or up to the specified size.

void cv::cann::rotate (const AscendMat &src, AscendMat &dst, int rotateMode, AscendStream &stream=AscendStream::Null())
void cv::cann::rotate (InputArray src, OutputArray dst, int rotateCode, AscendStream &stream=AscendStream::Null())

Rotates a 2D array in multiples of 90 degrees. The function cv::rotate rotates the array in one of three different ways: Rotate by 90 degrees clockwise (rotateCode = ROTATE_90_CLOCKWISE). Rotate by 180 degrees clockwise (rotateCode = ROTATE_180). Rotate by 270 degrees clockwise (rotateCode = ROTATE_90_COUNTERCLOCKWISE).

void cv::cann::split (const AscendMat &src, AscendMat *dst, AscendStream &stream=AscendStream::Null())

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

void cv::cann::split (const AscendMat &src, std::vector< AscendMat > &dst, AscendStream &stream=AscendStream::Null())
void cv::cann::split (const InputArray src, AscendMat *dst, AscendStream &stream=AscendStream::Null())
void cv::cann::split (const InputArray src, std::vector< AscendMat > &dst, AscendStream &stream=AscendStream::Null())
void cv::cann::transpose (const AscendMat &src, AscendMat &dst, AscendStream &stream=AscendStream::Null())
void cv::cann::transpose (InputArray src, OutputArray dst, AscendStream &stream=AscendStream::Null())

Transposes a matrix.

void cv::cann::cvtColor (const AscendMat &src, AscendMat &dst, int code, int dstCn=0, AscendStream &stream=AscendStream::Null())
void cv::cann::cvtColor (const InputArray src, OutputArray dst, int code, int dstCn=0, AscendStream &stream=AscendStream::Null())

Converts an image from one color space to another.