crop_rectangle1CropRectangle1CropRectangle1crop_rectangle1crop_rectangle1
説明
crop_rectangle1CropRectangle1CropRectangle1crop_rectangle1crop_rectangle1 — ひとつもしくは複数の矩形画像領域を切り抜く。
書式
crop_rectangle1( image Image, out image ImagePart, rectangle.origin.y Row1, rectangle.origin.x Column1, rectangle.corner.y Row2, rectangle.corner.x Column2 )void CropRectangle1( const HObject& Image, HObject* ImagePart, const HTuple& Row1, const HTuple& Column1, const HTuple& Row2, const HTuple& Column2 )static void HOperatorSet.CropRectangle1( HObject image, out HObject imagePart, HTuple row1, HTuple column1, HTuple row2, HTuple column2 )def crop_rectangle1( image: HObject, row_1: MaybeSequence[int], column_1: MaybeSequence[int], row_2: MaybeSequence[int], column_2: MaybeSequence[int] ) -> HObject
Herror crop_rectangle1( const Hobject Image, Hobject* ImagePart, const Hlong Row1, const Hlong Column1, const Hlong Row2, const Hlong Column2 )
Herror T_crop_rectangle1( const Hobject Image, Hobject* ImagePart, const Htuple Row1, const Htuple Column1, const Htuple Row2, const Htuple Column2 )
HImage HImage::CropRectangle1( const HTuple& Row1, const HTuple& Column1, const HTuple& Row2, const HTuple& Column2 ) const
HImage HImage::CropRectangle1( Hlong Row1, Hlong Column1, Hlong Row2, Hlong Column2 ) const
HImage HImage.CropRectangle1( HTuple row1, HTuple column1, HTuple row2, HTuple column2 )
HImage HImage.CropRectangle1( int row1, int column1, int row2, int column2 )
説明
オペレーター crop_rectangle1CropRectangle1 は、ひとつもしくは複数の矩形領域をそれぞれの入力画像から
切り抜きます。この領域は矩形で示され、左上隅と右下隅の座標によって
定義します。左上隅は画像内になければなりません。矩形の右辺と下辺は
画像より大きくても構いませんが、入力画像から取得できる部分のみが出力画像のドメインとして設定されます。
矩形領域が完全に画像内に含まれる場合は、新しい画像サイズが矩形領域と同じ大きさになります。
実行情報
実行情報
パラメーター
Imageimageimage (input_object) (multichannel-)image(-array) → object (byte* / direction* / cyclic* / int1* / int2* / uint2* / int4* / int8 / real*)HObject (byte* / direction* / cyclic* / int1* / int2* / uint2* / int4* / int8 / real*)HImage (byte* / direction* / cyclic* / int1* / int2* / uint2* / int4* / int8 / real*)HObject (byte* / direction* / cyclic* / int1* / int2* / uint2* / int4* / int8 / real*)Hobject (byte* / direction* / cyclic* / int1* / int2* / uint2* / int4* / int8 / real*) *計算デバイスに対して有効
入力画像
ImagePartimagePartimage_part (output_object) (multichannel-)image(-array) → object (byte* / direction* / cyclic* / int1* / int2* / uint2* / int4* / int8 / real*)HObject (byte* / direction* / cyclic* / int1* / int2* / uint2* / int4* / int8 / real*)HImage (byte* / direction* / cyclic* / int1* / int2* / uint2* / int4* / int8 / real*)HObject (byte* / direction* / cyclic* / int1* / int2* / uint2* / int4* / int8 / real*)Hobject * (byte* / direction* / cyclic* / int1* / int2* / uint2* / int4* / int8 / real*) *計算デバイスに対して有効
切り抜かれた画像
Row1row1row_1 (input_control) rectangle.origin.y(-array) → (integer)HTuple (Hlong)HTuple (int / long)MaybeSequence[int]Htuple (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(-array) → (integer)HTuple (Hlong)HTuple (int / long)MaybeSequence[int]Htuple (Hlong)
切り抜く画像領域の左上隅の列座標
初期値: 100100
推奨値: 10, 20, 50, 100, 200, 300, 50010, 20, 50, 100, 200, 300, 500
値域: 0 ≤ Column1 ≤ 1024
Row2row2row_2 (input_control) rectangle.corner.y(-array) → (integer)HTuple (Hlong)HTuple (int / long)MaybeSequence[int]Htuple (Hlong)
切り抜く画像領域の右下隅の行座標
初期値: 200200
推奨値: 10, 20, 50, 100, 200, 300, 50010, 20, 50, 100, 200, 300, 500
値域: 0 ≤ Row2 ≤ 1024
Column2column2column_2 (input_control) rectangle.corner.x(-array) → (integer)HTuple (Hlong)HTuple (int / long)MaybeSequence[int]Htuple (Hlong)
切り抜く画像領域の右下隅の列座標
初期値: 200200
推奨値: 10, 20, 50, 100, 200, 300, 50010, 20, 50, 100, 200, 300, 500
値域: 0 ≤ Column2 ≤ 1024
他のオペレーターとの組み合わせ
組み合わせ
後処理の候補
disp_imageDispImage
他の選択候補
crop_partCropPart, crop_domainCropDomain, change_formatChangeFormat, reduce_domainReduceDomain
関連項目
zoom_image_sizeZoomImageSize, zoom_image_factorZoomImageFactor
モジュール
Foundation