Skip to content

create_dl_transform_blurCreateDlTransformBlurCreateDlTransformBlurcreate_dl_transform_blurT_create_dl_transform_blur🔗

説明🔗

create_dl_transform_blurCreateDlTransformBlurCreateDlTransformBlurcreate_dl_transform_blurT_create_dl_transform_blur — ブラー変換を作成する。

書式🔗

create_dl_transform_blur( string TransformName, real Probability, string Method, real RangeStrength, attribute.name GenParamName, attribute.value GenParamValue, out dl_transform Blur )void CreateDlTransformBlur( const HTuple& TransformName, const HTuple& Probability, const HTuple& Method, const HTuple& RangeStrength, const HTuple& GenParamName, const HTuple& GenParamValue, HTuple* Blur )static void HOperatorSet.CreateDlTransformBlur( HTuple transformName, HTuple probability, HTuple method, HTuple rangeStrength, HTuple genParamName, HTuple genParamValue, out HTuple blur )def create_dl_transform_blur( transform_name: str, probability: float, method: str, range_strength: Sequence[float], gen_param_name: Sequence[str], gen_param_value: Sequence[Union[str, float, int]] ) -> HHandle

Herror T_create_dl_transform_blur( const Htuple TransformName, const Htuple Probability, const Htuple Method, const Htuple RangeStrength, const Htuple GenParamName, const Htuple GenParamValue, Htuple* Blur )

void HDlTransform::HDlTransform( const HString& TransformName, double Probability, const HString& Method, const HTuple& RangeStrength, const HTuple& GenParamName, const HTuple& GenParamValue )

void HDlTransform::HDlTransform( const char* TransformName, double Probability, const char* Method, const HTuple& RangeStrength, const HTuple& GenParamName, const HTuple& GenParamValue )

void HDlTransform::HDlTransform( const wchar_t* TransformName, double Probability, const wchar_t* Method, const HTuple& RangeStrength, const HTuple& GenParamName, const HTuple& GenParamValue ) (Windows only)

public HDlTransform( string transformName, double probability, string method, HTuple rangeStrength, HTuple genParamName, HTuple genParamValue )

void HDlTransform::CreateDlTransformBlur( const HString& TransformName, double Probability, const HString& Method, const HTuple& RangeStrength, const HTuple& GenParamName, const HTuple& GenParamValue )

void HDlTransform::CreateDlTransformBlur( const char* TransformName, double Probability, const char* Method, const HTuple& RangeStrength, const HTuple& GenParamName, const HTuple& GenParamValue )

void HDlTransform::CreateDlTransformBlur( const wchar_t* TransformName, double Probability, const wchar_t* Method, const HTuple& RangeStrength, const HTuple& GenParamName, const HTuple& GenParamValue ) (Windows only)

void HDlTransform.CreateDlTransformBlur( string transformName, double probability, string method, HTuple rangeStrength, HTuple genParamName, HTuple genParamValue )

説明🔗

オペレーター create_dl_transform_blurCreateDlTransformBlur は、ブラー変換を作成し、 その変換ハンドルを Blurblurblur に返します。 パラメーター TransformNametransformNametransform_name は、変換のための一意かつ 空ではない名前を指定します。 create_dl_transform_pipelineCreateDlTransformPipeline を 使用して変換パイプラインを作成する場合、パイプライン内の各変換は 一意の名前を持つ必要があることに注意してください。

パラメーター Probabilityprobabilityprobability は、パイプライン内で変換が 実行される確率を指定します。確率は 0.00.0 から 1.01.0 の間である必要があります。 値が 0.00.0 の場合は実行が無効になり、 値が 1.01.0 の場合は操作の実行が保証されます。

パラメーター Methodmethodmethod は、ブラー効果に使用されるメソッドを 定義します。現在、メソッド 'gaussian'"gaussian" がサポートされています。

パラメーター RangeStrengthrangeStrengthrange_strength は、ブラー効果の強度の範囲を定義します。範囲は [range_min, range_max][range_min, range_max] の形式の配列であり、'range_min'"range_min" と 'range_max'"range_max" は 0.00.0 から 10.010.0 の間である必要があります。

この変換では、汎用パラメーター GenParamNamegenParamNamegen_param_name および GenParamValuegenParamValuegen_param_value は サポートされていません。値 [][] のみを設定できます。

以下のパラメーターは、変換タイプ 'blur'"blur" に固有のものです。これらはそれぞれ、 オペレーター get_dl_transform_pipeline_paramGetDlTransformPipelineParam および set_dl_transform_pipeline_paramSetDlTransformPipelineParam を使用して取得または設定できます。

ParamName set get
'method'"method" x x
'range_strength'"range_strength" x x

実行情報🔗

実行情報
  • マルチスレッドタイプ: リエントラント(非排他なオペレーターと並列に動作)

  • マルチスレッドスコープ: グローバル(他のスレッドから呼び出される可能性あり)

  • 内部データレベルで自動的に並列演算処理を実施

このオペレータはハンドルを返します。このハンドルタイプのインスタンスの状態は、特定のオペレータにおいては、入力パラメータとして使われている場合であっても変更されることがあります。

パラメーター🔗

TransformNametransformNametransform_name (input_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)

出力変換の名前。

初期値: 'blur'"blur"

Probabilityprobabilityprobability (input_control) real → (real)HTuple (double)HTuple (double)floatHtuple (double)

変換を実行する確率

初期値: 1.01.0

Methodmethodmethod (input_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)

使用するブラーメソッド

初期値: 'gaussian'"gaussian"

RangeStrengthrangeStrengthrange_strength (input_control) real-array → (real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)

抽出する強度値の範囲を持つ配列

初期値: [1.0, 5.0][1.0, 5.0]

GenParamNamegenParamNamegen_param_name (input_control) attribute.name-array → (string)HTuple (HString)HTuple (string)Sequence[str]Htuple (char*)

汎用入力パラメーター名。

初期値: [][]

GenParamValuegenParamValuegen_param_value (input_control) attribute.value-array → (string / real / integer)HTuple (HString / double / Hlong)HTuple (string / double / int / long)Sequence[Union[str, float, int]]Htuple (char* / double / Hlong)

汎用入力パラメーター値。

初期値: [][]

Blurblurblur (output_control) dl_transform → (handle)HTuple (HHandle)HDlTransform, HTuple (IntPtr)HHandleHtuple (handle)

ブラー変換

他のオペレーターとの組み合わせ🔗

組み合わせ

後処理の候補

create_dl_transform_pipelineCreateDlTransformPipeline

関連項目

create_dl_transform_normalizeCreateDlTransformNormalize, create_dl_transform_random_cropCreateDlTransformRandomCrop, create_dl_transform_random_hsvCreateDlTransformRandomHsv, create_dl_transform_resizeCreateDlTransformResize

モジュール🔗

Foundation