xphoto_createLearningBasedWB

[32/64bit] LearningBasedWBのインスタンスを作成します.

xphoto_createLearningBasedWB p1,p2

p1 = str : string trackerType
p2 = var : out IntPtr returnValue

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

解説

元関数名(C#): xphoto_createLearningBasedWB
元DLLエクスポート名: xphoto_createLearningBasedWB
参照元CSファイル: Internal\PInvoke\NativeMethods\NativeMethods_xphoto.cs
▼ C言語側関数定義
CVAPI(ExceptionStatus) xphoto_createLearningBasedWB(const char* path_to_model, cv::Ptr<cv::xphoto::LearningBasedWB> **returnValue)
{
    BEGIN_WRAP
    const std::string str_path_to_model(path_to_model);
    const auto ptr = cv::xphoto::createLearningBasedWB(str_path_to_model);
    *returnValue = new cv::Ptr<cv::xphoto::LearningBasedWB>(ptr);
    END_WRAP
}

情報

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