imgproc_findContours2_OutputArray

[32/64bit] 2値画像の輪郭を検出します.

imgproc_findContours2_OutputArray p1,p2,p3,p4,p5

p1 = sptr : IntPtr image
p2 = sptr : IntPtr contours
p3 = int : int mode
p4 = int : int method
p5 = ARGS_POINT : Point offset

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

解説

この関数は,アルゴリズム [233]を用いて,2値画像から輪郭を抽出します.輪郭は,形状分析や物体の検出・認識に役立つツールです.OpenCVのサンプルディレクトリにあるsquares.cppを参照してください.注意 opencv 3.2以降では,この関数によってソース画像が変更されることはありません.例: modules/shape/samples/shape_example.cpp, samples/cpp/contours2.cpp, samples/cpp/fitellipse.cpp、samples/cpp/segment_objects.cpp、samples/cpp/squares.cpp、samples/cpp/tutorial_code/ml/introduction_to_pca/introduction_to_pca.cpp、samples/cpp/watershed.cpp、samples/tapi/squares.cppがあります。

元関数名(C#): imgproc_findContours2_OutputArray
元DLLエクスポート名: imgproc_findContours2_OutputArray
参照元CSファイル: Internal\PInvoke\NativeMethods\imgproc\NativeMethods_imgproc.cs
▼ C言語側関数定義
CVAPI(ExceptionStatus) imgproc_findContours2_OutputArray(cv::_InputArray *image, std::vector<cv::Mat> *contours,
                                              int mode, int method, MyCvPoint offset)
{
    BEGIN_WRAP
    cv::findContours(*image, *contours, mode, method, cpp(offset));
    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