[32/64bit][関数名変更] グラディエントマグニチュードの最大値の閾値を指定します。
imgproc_seg_ISMB_setGradientMagnitudeMaxLimit p1,p2
p1 = sptr : IntPtr obj p2 = float : float gradient_magnitude_threshold_max
(プラグイン / モジュール : OpenCvSharpExtern.dll)
0の制限値は、グラデーションの大きさのしきい値を無効にするために使用されます(元の記事に記載されているように、デフォルトの動作)。NoteThresholdingは、不規則な領域を持つ画像に使用する必要があります(埋め込まれたロゴのような、高契約領域からのパラメータに固執するのを避けるため)。 元関数名(C#): imgproc_segmentation_IntelligentScissorsMB_setGradientMagnitudeMaxLimit 元DLLエクスポート名: imgproc_segmentation_IntelligentScissorsMB_setGradientMagnitudeMaxLimit 参照元CSファイル: Internal\PInvoke\NativeMethods\imgproc\NativeMethods_imgproc_Segmentation.cs ▼ C言語側関数定義
CVAPI(ExceptionStatus) imgproc_segmentation_IntelligentScissorsMB_setGradientMagnitudeMaxLimit(
cv::segmentation::IntelligentScissorsMB *obj,
float gradient_magnitude_threshold_max)
{
BEGIN_WRAP
obj->setGradientMagnitudeMaxLimit(gradient_magnitude_threshold_max);
END_WRAP
}
| プラグイン / モジュール | OpenCvSharpExtern.dll |
| バージョン | 1.00 |
| 作成日 | 2021/11/30 |
| 著作者 | inovia |
| URL | https://hsp.moe/ |
| 備考 | #include "OpenCvSharpExtern32.as"
#include "OpenCvSharpExtern64.as" 使用するHSPランタイムのビット数に合わせたインクルードファイルを使用すること |
| タイプ | OpenCVSharpラッパーDLL |
| グループ | NativeMethods_imgproc_Segmentation |
| 対応環境 |
|
| hs ファイル | hsphelp\OpenCvSharpExtern.hs |