gen_struct_elementsGenStructElementsGenStructElementsgen_struct_elementsgen_struct_elements
説明
gen_struct_elementsGenStructElementsGenStructElementsgen_struct_elementsgen_struct_elements — 標準構造要素を生成する。
警告
gen_struct_elementsGenStructElements は現在では使用されず、下位互換性維持のため
だけに提供されます。
書式
gen_struct_elements( out region StructElements, string Type, point.y Row, point.x Column )void GenStructElements( HObject* StructElements, const HTuple& Type, const HTuple& Row, const HTuple& Column )static void HOperatorSet.GenStructElements( out HObject structElements, HTuple type, HTuple row, HTuple column )def gen_struct_elements( type: str, row: int, column: int ) -> HObject
Herror gen_struct_elements( Hobject* StructElements, const char* Type, const Hlong Row, const Hlong Column )
Herror T_gen_struct_elements( Hobject* StructElements, const Htuple Type, const Htuple Row, const Htuple Column )
void HRegion::GenStructElements( const HString& Type, Hlong Row, Hlong Column )
void HRegion::GenStructElements( const char* Type, Hlong Row, Hlong Column )
void HRegion::GenStructElements( const wchar_t* Type, Hlong Row, Hlong Column ) (Windows only)
void HRegion.GenStructElements( string type, int row, int column )
説明
gen_struct_elementsGenStructElements は、オペレーター fittingFitting 内で
使用される 8 つの構造要素を生成します。Typetypetype の初期値
'noise'"noise" は、特にノイズの除去に適した要素を生成します。
o o o o * o o o * * o o o o o o o o o * o o * o
* * * o * o o * o o * o * * o o * * * * o o * *
o o o o * o * o o o o * o * o o * o o o o o o o
M1 M2 M3 M4 M5 M6 M7 M8
実行情報
実行情報
パラメーター
StructElementsstructElementsstruct_elements (output_object) region(-array) → objectHObjectHRegionHObjectHobject *
生成された構造要素
Typetypetype (input_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)
生成する構造要素の型
初期値: 'noise'"noise"
値のリスト: 'noise'"noise"
Rowrowrow (input_control) point.y → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)
参照点の行座標
初期値: 11
推奨値: 0, 1, 10, 50, 100, 200, 300, 4000, 1, 10, 50, 100, 200, 300, 400
値域: Row (lin)
Columncolumncolumn (input_control) point.x → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)
参照点の列座標
初期値: 11
推奨値: 0, 1, 10, 50, 100, 200, 300, 4000, 1, 10, 50, 100, 200, 300, 400
値域: Column (lin)
結果
gen_struct_elementsGenStructElements は、すべてのパラメーターが正しい場合
に 2 (H_MSG_TRUE) を返します。
そうでない場合、例外処理が発生します。
他のオペレーターとの組み合わせ
組み合わせ
後処理の候補
fittingFitting, hit_or_missHitOrMiss, openingOpening, closingClosing, erosion2Erosion2, dilation2Dilation2
関連項目
golay_elementsGolayElements
モジュール
Foundation