[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 |
| URL | https://hsp.moe/ |
| 備考 | #include "OpenCvSharpExtern32.as"
#include "OpenCvSharpExtern64.as" 使用するHSPランタイムのビット数に合わせたインクルードファイルを使用すること |
| タイプ | OpenCVSharpラッパーDLL |
| グループ | NativeMethods_xphoto |
| 対応環境 |
|
| hs ファイル | hsphelp\OpenCvSharpExtern.hs |