|
| void | aclrtFreeWarpper (void *data) |
| |
| void | aclrtMallocWarpper (void **data, size_t size) |
| |
| void | aclrtMemcpy2dWarpper (std::shared_ptr< uchar > &dst, size_t offset, size_t dpitch, const void *src, size_t spitch, size_t width, size_t length, AscendStream &stream) |
| |
| void | aclrtMemcpy2dWarpper (void *dst, size_t dpitch, const std::shared_ptr< uchar > &src, size_t offset, size_t spitch, size_t width, size_t length, AscendStream &stream) |
| |
| void | aclrtMemcpyWarpper (std::shared_ptr< uchar > &dst, size_t dstOffset, const std::shared_ptr< uchar > &src, size_t srcOffset, size_t size, AscendStream &stream) |
| |
| void | aclrtMemcpyWarpper (std::shared_ptr< uchar > &dst, size_t offset, const void *src, size_t size, AscendStream &stream) |
| |
| void | aclrtMemcpyWarpper (void *dst, const std::shared_ptr< uchar > &src, size_t offset, size_t size, AscendStream &stream) |
| |
| void | aclrtMemsetWarpper (std::shared_ptr< uchar > &ptr, int32_t value, size_t count, AscendStream &stream) |
| |
| void | add (const AscendMat &src1, const AscendMat &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), int dtype=-1, AscendStream &stream=AscendStream::Null()) |
| |
| void | add (const AscendMat &src1, const Scalar &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), int dtype=-1, AscendStream &stream=AscendStream::Null()) |
| |
| void | add (const InputArray src1, const InputArray src2, OutputArray dst, const InputArray mask=noArray(), int dtype=-1, AscendStream &stream=AscendStream::Null()) |
| | 行列同士または行列とスカラーの和を計算する。
|
| |
| void | add (const Scalar &src1, const AscendMat &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), int dtype=-1, AscendStream &stream=AscendStream::Null()) |
| |
| void | addWeighted (const AscendMat &src1, double alpha, const AscendMat &src2, double beta, double gamma, AscendMat &dst, int dtype=-1, AscendStream &stream=AscendStream::Null()) |
| |
| void | addWeighted (const InputArray src1, double alpha, const InputArray src2, double beta, double gamma, OutputArray dst, int dtype=-1, AscendStream &stream=AscendStream::Null()) |
| | 2つの配列の加重和を計算する。
|
| |
| void | arithm_op (const AscendMat &src, AscendMat &dst, const char *op, AscendStream &stream) |
| |
| void | arithm_op (const AscendMat &src, const Scalar &sc, AscendMat &dst, const char *op, AscendStream &stream) |
| |
| void | arithm_op (const AscendMat &src, float scalar, AscendMat &dst, const char *op, AscendStream &stream) |
| |
| void | arithm_op (const AscendMat &src1, const AscendMat &src2, AscendMat &dst, const char *op, AscendStream &stream) |
| |
| void | arithm_op (const Scalar &sc, const AscendMat &src, AscendMat &dst, const char *op, AscendStream &stream) |
| |
| void | bitwise_and (const AscendMat &src1, const AscendMat &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), AscendStream &stream=AscendStream::Null()) |
| |
| void | bitwise_and (const AscendMat &src1, const Scalar &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), AscendStream &stream=AscendStream::Null()) |
| |
| void | bitwise_and (const InputArray src1, const InputArray src2, OutputArray dst, const InputArray mask=noArray(), AscendStream &stream=AscendStream::Null()) |
| | 2つの行列(または行列とスカラー)の要素ごとのビット単位論理積を実行する。
|
| |
| void | bitwise_and (const Scalar &src1, const AscendMat &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), AscendStream &stream=AscendStream::Null()) |
| |
| void | bitwise_not (const AscendMat &src, AscendMat &dst, const AscendMat &mask=AscendMat(), AscendStream &stream=AscendStream::Null()) |
| |
| void | bitwise_not (const InputArray src, OutputArray dst, const InputArray mask=noArray(), AscendStream &stream=AscendStream::Null()) |
| | 要素ごとのビット単位の反転を実行する。
|
| |
| void | bitwise_or (const AscendMat &src1, const AscendMat &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), AscendStream &stream=AscendStream::Null()) |
| |
| void | bitwise_or (const AscendMat &src1, const Scalar &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), AscendStream &stream=AscendStream::Null()) |
| |
| void | bitwise_or (const InputArray src1, const InputArray src2, OutputArray dst, const InputArray mask=noArray(), AscendStream &stream=AscendStream::Null()) |
| | 2つの行列(または行列とスカラー)の要素ごとのビット単位論理和を実行する。
|
| |
| void | bitwise_or (const Scalar &src1, const AscendMat &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), AscendStream &stream=AscendStream::Null()) |
| |
| void | bitwise_xor (const AscendMat &src1, const AscendMat &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), AscendStream &stream=AscendStream::Null()) |
| |
| void | bitwise_xor (const AscendMat &src1, const Scalar &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), AscendStream &stream=AscendStream::Null()) |
| |
| void | bitwise_xor (const InputArray src1, const InputArray src2, OutputArray dst, const InputArray mask=noArray(), AscendStream &stream=AscendStream::Null()) |
| | 2つの行列(または行列とスカラー)の要素ごとのビット単位排他的論理和を実行する。
|
| |
| void | bitwise_xor (const Scalar &src1, const AscendMat &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), AscendStream &stream=AscendStream::Null()) |
| |
| void | checkAclError (aclError err, const char *file, const int line, const char *func) |
| |
| void | checkAclPtr (void *ptr, const char *file, const int line, const char *func) |
| |
| void | copyMakeBorder (const AscendMat &src, AscendMat &dst, int top, int bottom, int left, int right, int borderType, const Scalar &value=Scalar()) |
| |
| void | copyMakeBorder (const InputArray src, OutputArray dst, int top, int bottom, int left, int right, int borderType, const Scalar &value=Scalar()) |
| | 入力画像のコピーの周囲に境界を形成し、指定された境界タイプで埋める。
|
| |
| void | crop (const AscendMat &src, AscendMat &dst, const AscendMat &sizeSrcNpu, int64_t *offset, AscendStream &stream) |
| |
| AscendMat | crop (const AscendMat &src, const Rect &rect, AscendStream &stream=AscendStream::Null()) |
| |
| AscendMat | crop (InputArray src, const Rect &rect, AscendStream &stream=AscendStream::Null()) |
| | 2D配列を切り出す。この関数は与えられた cv::Rect によって行列を切り出す。出力行列は入力行列と同じビット深度でなければならず、サイズは与えられたrectのサイズで指定される。
|
| |
| void | cropResize (const AscendMat &src, AscendMat &dst, const Rect &rect, Size dsize, double fx, double fy, int interpolation) |
| |
| void | cropResize (const InputArray src, OutputArray dst, const Rect &rect, Size dsize, double fx, double fy, int interpolation) |
| | 大きな画像からサブ画像を切り出し、特定のサイズにリサイズする。
|
| |
| void | 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 | 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()) |
| | 大きな画像からサブ画像を切り出し、特定のサイズにリサイズして、上/左の境界を形成し、指定された境界タイプで埋める。
|
| |
| void | cvtColor (const AscendMat &src, AscendMat &dst, int code, int dstCn=0, AscendStream &stream=AscendStream::Null()) |
| |
| void | cvtColor (const InputArray src, OutputArray dst, int code, int dstCn=0, AscendStream &stream=AscendStream::Null()) |
| | 画像をある色空間から別の色空間へ変換する。
|
| |
| void | divide (const AscendMat &src1, const AscendMat &src2, AscendMat &dst, float scale=1, int dtype=-1, AscendStream &stream=AscendStream::Null()) |
| |
| void | divide (const AscendMat &src1, const Scalar &src2, AscendMat &dst, float scale=1, int dtype=-1, AscendStream &stream=AscendStream::Null()) |
| |
| void | divide (const InputArray src1, const InputArray src2, OutputArray dst, float scale=1, int dtype=-1, AscendStream &stream=AscendStream::Null()) |
| | 行列同士または行列とスカラの除算を計算する。
|
| |
| void | divide (const Scalar &src1, const AscendMat &src2, AscendMat &dst, float scale=1, int dtype=-1, AscendStream &stream=AscendStream::Null()) |
| |
| void | finalizeAcl () |
| | AscendCL を終了処理する。
|
| |
| void | finalizeDvpp () |
| | DVPP システムを終了処理する。
|
| |
| void | flip (const AscendMat &src, AscendMat &dst, int flipCode, AscendStream &stream=AscendStream::Null()) |
| |
| void | flip (const AscendMat &src, std::vector< int32_t > &asixs, AscendMat &dst, AscendStream &stream) |
| |
| void | flip (InputArray src, OutputArray dst, int flipCode, AscendStream &stream=AscendStream::Null()) |
| | 2D行列を垂直軸、水平軸、またはその両方を中心に反転する。
|
| |
| aclDataType | getACLType (int opencvdepth) |
| | opencv と cann の間の型マッピング。
|
| |
| int32_t | getDevice () |
| | 現在の Ascend デバイスを取得する。
|
| |
| AscendMat | getInputMat (InputArray src, AscendStream &stream) |
| | 入力配列から Ascend 行列オブジェクトを取得し、必要に応じて行列メモリをアップロードする。(非ブロッキング呼び出し)
|
| |
| AscendMat | getOutputMat (OutputArray dst, int rows, int cols, int type, AscendStream &stream) |
| | Output array から Ascend 行列オブジェクトを取得し、必要に応じて行列メモリをアップロードする。
|
| |
| void | initAcl () |
| | AscendCL を初期化する。
|
| |
| void | initDvpp () |
| | DVPP システムを初期化する。
|
| |
| template<typename KERNEL_TYPE , typename TILING_TYPE , typename... ARGS> |
| void | kernel_launch (KERNEL_TYPE kernel, AscendStream &stream, TILING_TYPE &tiling, ARGS... args) |
| |
| std::shared_ptr< uchar > | mallocAndUpload (const void *data, size_t size, AscendStream &stream, AscendMat::Allocator *allocator) |
| | 生データを確保し、デバイスにアップロードする。
|
| |
| void | merge (const AscendMat *src, size_t n, AscendMat &dst, AscendStream &stream=AscendStream::Null()) |
| | 複数のシングルチャンネル行列から多チャンネル行列を構成する。
|
| |
| void | merge (const AscendMat *src, size_t n, OutputArray &dst, AscendStream &stream=AscendStream::Null()) |
| |
| void | merge (const std::vector< AscendMat > &src, AscendMat &dst, AscendStream &stream=AscendStream::Null()) |
| |
| void | merge (const std::vector< AscendMat > &src, OutputArray &dst, AscendStream &stream=AscendStream::Null()) |
| |
| void | multiply (const AscendMat &src1, const AscendMat &src2, AscendMat &dst, float scale=1, int dtype=-1, AscendStream &stream=AscendStream::Null()) |
| |
| void | multiply (const AscendMat &src1, const Scalar &src2, AscendMat &dst, float scale=1, int dtype=-1, AscendStream &stream=AscendStream::Null()) |
| |
| void | multiply (const InputArray src1, const InputArray src2, OutputArray dst, float scale=1, int dtype=-1, AscendStream &stream=AscendStream::Null()) |
| | 行列同士または行列とスカラの要素ごとの積を計算する。
|
| |
| void | multiply (const Scalar &src1, const AscendMat &src2, AscendMat &dst, float scale=1, int dtype=-1, AscendStream &stream=AscendStream::Null()) |
| |
| void | resetDevice () |
| | 現在の Ascend デバイスで作成された全コンテキストをクリアする。
|
| |
| void | resize (const AscendMat &src, AscendMat &dst, int32_t *dstSize, int interpolation, AscendStream &stream) |
| |
| void | resize (const AscendMat &src, AscendMat &dst, Size dsize, double fx, double fy, int interpolation, AscendStream &stream=AscendStream::Null()) |
| |
| void | resize (InputArray src, OutputArray dst, Size dsize, double fx, double fy, int interpolation, AscendStream &stream=AscendStream::Null()) |
| | 画像srcを指定されたサイズに縮小または拡大する。
|
| |
| void | rotate (const AscendMat &src, AscendMat &dst, int rotateMode, AscendStream &stream=AscendStream::Null()) |
| |
| void | rotate (InputArray src, OutputArray dst, int rotateCode, AscendStream &stream=AscendStream::Null()) |
| | 2次元配列を90度単位で回転する。関数 cv::rotate は、次の3つの方法のいずれかで配列を回転する。時計回りに90度回転(rotateCode = ROTATE_90_CLOCKWISE)。時計回りに180度回転(rotateCode = ROTATE_180)。時計回りに270度回転(rotateCode = ROTATE_90_COUNTERCLOCKWISE)。
|
| |
| void | setDevice (int device) |
| | Ascend npu デバイスを選択する。
|
| |
| void | split (const AscendMat &src, AscendMat *dst, AscendStream &stream=AscendStream::Null()) |
| | マルチチャンネル行列の各プレーンを配列にコピーする。
|
| |
| void | split (const AscendMat &src, std::vector< AscendMat > &dst, AscendStream &stream=AscendStream::Null()) |
| |
| void | split (const InputArray src, AscendMat *dst, AscendStream &stream=AscendStream::Null()) |
| |
| void | split (const InputArray src, std::vector< AscendMat > &dst, AscendStream &stream=AscendStream::Null()) |
| |
| void | subtract (const AscendMat &src1, const AscendMat &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), int dtype=-1, AscendStream &stream=AscendStream::Null()) |
| |
| void | subtract (const AscendMat &src1, const Scalar &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), int dtype=-1, AscendStream &stream=AscendStream::Null()) |
| |
| void | subtract (const InputArray src1, const InputArray src2, OutputArray dst, const InputArray mask=noArray(), int dtype=-1, AscendStream &stream=AscendStream::Null()) |
| | 行列同士または行列とスカラーの差を計算する。
|
| |
| void | subtract (const Scalar &src1, const AscendMat &src2, AscendMat &dst, const AscendMat &mask=AscendMat(), int dtype=-1, AscendStream &stream=AscendStream::Null()) |
| |
| void | syncOutput (const AscendMat &dst, OutputArray _dst, AscendStream &stream) |
| | 出力行列を Output array に同期し、必要に応じて行列メモリをダウンロードする。
|
| |
| double | threshold (const AscendMat &src, AscendMat &dst, double thresh, double maxval, int type, AscendStream &stream=AscendStream::Null()) |
| |
| double | threshold (const InputArray src, OutputArray dst, double thresh, double maxval, int type, AscendStream &stream=AscendStream::Null()) |
| | 各配列要素に固定しきい値処理を適用する。
|
| |
| void | transData (const AscendMat &src, AscendMat &dst, const char *from, const char *to, AscendStream &stream) |
| |
| void | transpose (const AscendMat &src, AscendMat &dst, AscendStream &stream=AscendStream::Null()) |
| |
| void | transpose (const AscendMat &src, int64_t *perm, AscendMat &dst, AscendStream &stream) |
| |
| void | transpose (InputArray src, OutputArray dst, AscendStream &stream=AscendStream::Null()) |
| | 行列を転置する。
|
| |
| void | vpcCopyMakeBorderWarpper (hi_vpc_chn chnId, hi_vpc_pic_info &inPic, hi_vpc_pic_info &outPic, uint32_t *taskID, int *offsets, int bordertype, Scalar value) |
| |
| void | vpcCropResizeMakeBorderWarpper (hi_vpc_chn chnId, std::vector< AscendPicDesc > &inPicDesc, std::vector< AscendPicDesc > &outPicDesc, int cnt, uint32_t *taskID, const Rect &rect, Size dsize, int interpolation, const int borderType, Scalar scalarV, int top, int left) |
| |
| void | vpcCropResizeWarpper (hi_vpc_chn chnId, hi_vpc_pic_info &inPic, hi_vpc_pic_info &outPic, int cnt, uint32_t *taskID, const Rect &rect, Size dsize, int interpolation) |
| |
| void | vpcResizeWarpper (hi_vpc_chn chnId, hi_vpc_pic_info &inPic, hi_vpc_pic_info &outPic, int interpolation, uint32_t *taskID) |
| |
| AscendStream | wrapStream (size_t AscendStreamAddress) |
| | 既存の CANN Runtime API ストリームポインタ (aclrtStream) に格納されたアドレスから Stream オブジェクトを作成するためのバインディング向けオーバーロード。
|
| |