copy_imageCopyImageCopyImagecopy_imagecopy_image
説明
copy_imageCopyImageCopyImagecopy_imagecopy_image — 画像をコピーし、それに対する新しいメモリを割り当てる。
書式
copy_image( image Image, out image DupImage )void CopyImage( const HObject& Image, HObject* DupImage )static void HOperatorSet.CopyImage( HObject image, out HObject dupImage )def copy_image( image: HObject ) -> HObject
Herror copy_image( const Hobject Image, Hobject* DupImage )
Herror T_copy_image( const Hobject Image, Hobject* DupImage )
HImage HImage::CopyImage( ) const
HImage HImage.CopyImage( )
説明
copy_imageCopyImage は、入力画像の第 1 チャンネルを入力画像と同じ領
域をもつ新しい(1 チャンネルの)画像にコピーします。
copy_objCopyObj のようなオペレーターと異なり、画像は新しく割り当
てられたメモリセグメントにコピーされます。これにより、例えば新しい
画像のグレイ値を修正するために使用することができます(
get_image_pointer1GetImagePointer1 を参照してください)。
実行情報
実行情報
パラメーター
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)
コピーする元画像
DupImagedupImagedup_image (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)
コピーされた画像
他のオペレーターとの組み合わせ
組み合わせ
前処理の候補
read_imageReadImage, gen_image_constGenImageConst
後処理の候補
set_grayvalSetGrayval, get_image_pointer1GetImagePointer1
他の選択候補
set_grayvalSetGrayval, paint_grayPaintGray, gen_image_constGenImageConst, gen_image_protoGenImageProto
関連項目
get_image_pointer1GetImagePointer1
モジュール
Foundation