imgproc_arcLength_Point

[32/64bit] 輪郭の外周や曲線の長さを計算します。

imgproc_arcLength_Point p1,p2,p3,p4

p1 = var : Point[] curve
p2 = int : int curveLength
p3 = int : int closed
p4 = var : out double returnValue

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

解説

例: samples/cpp/squares.cpp, samples/tapi/squares.cpp.

元関数名(C#): imgproc_arcLength_Point
元DLLエクスポート名: imgproc_arcLength_Point
参照元CSファイル: Internal\PInvoke\NativeMethods\imgproc\NativeMethods_imgproc.cs
▼ C言語側関数定義
CVAPI(ExceptionStatus) imgproc_arcLength_Point(cv::Point *curve, int curveLength, int closed, double* returnValue)
{
    BEGIN_WRAP
    const cv::Mat_<cv::Point> curveMat(curveLength, 1, curve);
    *returnValue = cv::arcLength(curveMat, closed != 0);
    END_WRAP
}

情報

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