Skip to content

rectangle1_domainRectangle1DomainRectangle1Domainrectangle1_domainrectangle1_domain🔗

説明🔗

rectangle1_domainRectangle1DomainRectangle1Domainrectangle1_domainrectangle1_domain — 画像のドメイン(解析範囲)を矩形に縮小する。

書式🔗

rectangle1_domain( image Image, out image ImageReduced, rectangle.origin.y Row1, rectangle.origin.x Column1, rectangle.origin.y Row2, rectangle.origin.x Column2 )void Rectangle1Domain( const HObject& Image, HObject* ImageReduced, const HTuple& Row1, const HTuple& Column1, const HTuple& Row2, const HTuple& Column2 )static void HOperatorSet.Rectangle1Domain( HObject image, out HObject imageReduced, HTuple row1, HTuple column1, HTuple row2, HTuple column2 )def rectangle1_domain( image: HObject, row_1: int, column_1: int, row_2: int, column_2: int ) -> HObject

Herror rectangle1_domain( const Hobject Image, Hobject* ImageReduced, const Hlong Row1, const Hlong Column1, const Hlong Row2, const Hlong Column2 )

Herror T_rectangle1_domain( const Hobject Image, Hobject* ImageReduced, const Htuple Row1, const Htuple Column1, const Htuple Row2, const Htuple Column2 )

HImage HImage::Rectangle1Domain( Hlong Row1, Hlong Column1, Hlong Row2, Hlong Column2 ) const

HImage HImage.Rectangle1Domain( int row1, int column1, int row2, int column2 )

説明🔗

オペレーター rectangle1_domainRectangle1Domain は、 画像のドメインを指定された矩形に縮小します。 画像の大きさは変更されません。

実行情報🔗

実行情報
  • 演算デバイス上のオブジェクトをサポート。

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

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

  • tupleレベルで自動的に並列演算処理を実施

パラメーター🔗

Imageimageimage (input_object) (multichannel-)image(-array) → object (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)HObject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)HImage (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)HObject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)Hobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)

入力画像

ImageReducedimageReducedimage_reduced (output_object) (multichannel-)image(-array) → object (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)HObject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)HImage (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)HObject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)Hobject * (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)

縮小されたドメインをもつ画像

Row1row1row_1 (input_control) rectangle.origin.y → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)

画像エリアの左上隅の行座標

初期値: 100100
推奨値: 10, 20, 50, 100, 200, 300, 50010, 20, 50, 100, 200, 300, 500
値域: 0 ≤ Row1 ≤ 1024

Column1column1column_1 (input_control) rectangle.origin.x → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)

画像エリアの左上隅の列座標

初期値: 100100
推奨値: 10, 20, 50, 100, 200, 300, 50010, 20, 50, 100, 200, 300, 500
値域: 0 ≤ Column1 ≤ 1024

Row2row2row_2 (input_control) rectangle.origin.y → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)

画像エリアの右下隅の行座標

初期値: 200200
推奨値: 10, 20, 50, 100, 200, 300, 50010, 20, 50, 100, 200, 300, 500
値域: 0 ≤ Row2 ≤ 1024

Column2column2column_2 (input_control) rectangle.origin.x → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)

画像エリアの右下隅の列座標

初期値: 200200
推奨値: 10, 20, 50, 100, 200, 300, 50010, 20, 50, 100, 200, 300, 500
値域: 0 ≤ Column2 ≤ 1024

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

組み合わせ

前処理の候補

get_domainGetDomain

他の選択候補

change_domainChangeDomain, reduce_domainReduceDomain, add_channelsAddChannels

関連項目

full_domainFullDomain, get_domainGetDomain, intersectionIntersection

モジュール🔗

Foundation