core_SparseMat_create

[32/64bit] 疎な行列を再割り当てします.

core_SparseMat_create p1,p2,p3,p4

p1 = sptr : IntPtr obj
p2 = int : int dims
p3 = var : int[] sizes
p4 = int : int type

(プラグイン / モジュール : OpenCvSharpExtern.dll)

解説

行列が既に適切なサイズと型を持っている場合は,単に clear() でクリアされます.そうでない場合は,(release() を用いて)古い行列が解放され,新しい行列が割り当てられます.

元関数名(C#): core_SparseMat_create
元DLLエクスポート名: core_SparseMat_create
参照元CSファイル: Internal\PInvoke\NativeMethods\core\NativeMethods_core_SparseMat.cs
▼ C言語側関数定義
CVAPI(ExceptionStatus) core_SparseMat_create(cv::SparseMat *obj, int dims, const int* sizes, int type)
{
    BEGIN_WRAP
    obj->create(dims, sizes, type);
    END_WRAP
}

情報

プラグイン / モジュールOpenCvSharpExtern.dll
バージョン1.00
作成日2021/11/30
著作者inovia
URLhttps://hsp.moe/
備考#include "OpenCvSharpExtern32.as"
#include "OpenCvSharpExtern64.as"
使用するHSPランタイムのビット数に合わせたインクルードファイルを使用すること
タイプOpenCVSharpラッパーDLL
グループNativeMethods_core_SparseMat
対応環境
  • Windows 版 HSP
hs ファイルhsphelp\OpenCvSharpExtern.hs