[32/64bit] features2d_computeRecallPrecisionCurve
features2d_computeRecallPrecisionCurve p1,p2,p3,p4,p5,p6,p7
p1 = sptr : IntPtr[] matches1to2 p2 = int : int matches1to2Size1 p3 = var : int[] matches1to2Size2 p4 = sptr : IntPtr[] correctMatches1to2Mask p5 = int : int correctMatches1to2MaskSize1 p6 = var : int[] correctMatches1to2MaskSize2 p7 = sptr : IntPtr recallPrecisionCurve
(プラグイン / モジュール : OpenCvSharpExtern.dll)
元関数名(C#): features2d_computeRecallPrecisionCurve 元DLLエクスポート名: features2d_computeRecallPrecisionCurve 参照元CSファイル: Internal\PInvoke\NativeMethods\features2d\NativeMethods_features2d.cs ▼ C言語側関数定義
CVAPI(ExceptionStatus) features2d_computeRecallPrecisionCurve(
cv::DMatch **matches1to2, int matches1to2Size1, int *matches1to2Size2,
uchar **correctMatches1to2Mask, int correctMatches1to2MaskSize1, int *correctMatches1to2MaskSize2,
std::vector<cv::Point2f> *recallPrecisionCurve)
{
BEGIN_WRAP
std::vector<std::vector<cv::DMatch> > matches1to2Vec;
std::vector<std::vector<uchar> > correctMatches1to2MaskVec;
matches1to2Vec.reserve(matches1to2Size1);
for (int i = 0; i < matches1to2Size1; i++)
{
matches1to2Vec.emplace_back(matches1to2[i], matches1to2[i] + matches1to2Size2[i]);
}
correctMatches1to2MaskVec.reserve(correctMatches1to2MaskSize1);
for (int i = 0; i < correctMatches1to2MaskSize1; i++)
{
correctMatches1to2MaskVec.emplace_back(correctMatches1to2Mask[i], correctMatches1to2Mask[i] + correctMatches1to2MaskSize2[i]);
}
cv::computeRecallPrecisionCurve(
matches1to2Vec, correctMatches1to2MaskVec, *recallPrecisionCurve);
END_WRAP
}
| プラグイン / モジュール | OpenCvSharpExtern.dll |
| バージョン | 1.00 |
| 作成日 | 2021/11/30 |
| 著作者 | inovia |
| URL | https://hsp.moe/ |
| 備考 | #include "OpenCvSharpExtern32.as"
#include "OpenCvSharpExtern64.as" 使用するHSPランタイムのビット数に合わせたインクルードファイルを使用すること |
| タイプ | OpenCVSharpラッパーDLL |
| グループ | NativeMethods_features2d |
| 対応環境 |
|
| hs ファイル | hsphelp\OpenCvSharpExtern.hs |