KlassenKlassenKlassenKlassen | | | | Operatoren

gen_image_protogen_image_protoGenImageProtogen_image_protoGenImageProtoGenImageProto (Operator)

Name

gen_image_protogen_image_protoGenImageProtogen_image_protoGenImageProtoGenImageProto — Erzeugen eines Bildes mit einem konstanten Grauwert.

Signatur

gen_image_proto(Image : ImageCleared : Grayval : )

Herror gen_image_proto(const Hobject Image, Hobject* ImageCleared, double Grayval)

Herror T_gen_image_proto(const Hobject Image, Hobject* ImageCleared, const Htuple Grayval)

Herror gen_image_proto(Hobject Image, Hobject* ImageCleared, const HTuple& Grayval)

HImage HImage::GenImageProto(const HTuple& Grayval) const

void GenImageProto(const HObject& Image, HObject* ImageCleared, const HTuple& Grayval)

HImage HImage::GenImageProto(const HTuple& Grayval) const

HImage HImage::GenImageProto(double Grayval) const

void HOperatorSetX.GenImageProto(
[in] IHUntypedObjectX* Image, [out] IHUntypedObjectX*ImageCleared, [in] VARIANT Grayval)

IHImageX* HImageX.GenImageProto([in] VARIANT Grayval)

static void HOperatorSet.GenImageProto(HObject image, out HObject imageCleared, HTuple grayval)

HImage HImage.GenImageProto(HTuple grayval)

HImage HImage.GenImageProto(double grayval)

Beschreibung

gen_image_protogen_image_protoGenImageProtogen_image_protoGenImageProtoGenImageProto erzeugt ein Ausgabebild ImageClearedImageClearedImageClearedImageClearedImageClearedimageCleared mit dem konstanten Grauwert GrayvalGrayvalGrayvalGrayvalGrayvalgrayval. Ist das Eingabebild vom Typ 'direction', werden Grauwerte im Ausgabebild, die nicht innerhalb des für 'direction'-Bilder erlaubten Wertebereichs liegen, auf den Wert 255 gesetzt, um sie als ungültig zu kennzeichnen. ImageClearedImageClearedImageClearedImageClearedImageClearedimageCleared hat dieselbe Größe und denselben Pixeltyp wie das Eingabebild ImageImageImageImageImageimage.

Parallelisierung

Parameter

ImageImageImageImageImageimage (input_object)  singlechannelimage objectHImageHImageHImageHImageXHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)

Eingabebild.

ImageClearedImageClearedImageClearedImageClearedImageClearedimageCleared (output_object)  image objectHImageHImageHImageHImageXHobject * (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)

Mit konstantem Wert belegtes Bild.

GrayvalGrayvalGrayvalGrayvalGrayvalgrayval (input_control)  number HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Mit diesem Grauwert wird das Ausgabebild erzeugt.

Defaultwert: 0

Wertevorschläge: 0, 1, 2, 5, 10, 16, 32, 64, 128, 253, 254, 255

Ergebnis

Sind die Parameterwerte korrekt, dann liefert gen_image_protogen_image_protoGenImageProtogen_image_protoGenImageProtoGenImageProto den Wert 2 (H_MSG_TRUE). Andernfalls wird eine Fehlerbehandlung ausgelöst.

Alternativen

set_grayvalset_grayvalSetGrayvalset_grayvalSetGrayvalSetGrayval, paint_graypaint_grayPaintGraypaint_grayPaintGrayPaintGray, gen_image_constgen_image_constGenImageConstgen_image_constGenImageConstGenImageConst, copy_imagecopy_imageCopyImagecopy_imageCopyImageCopyImage

Siehe auch

get_image_pointer1get_image_pointer1GetImagePointer1get_image_pointer1GetImagePointer1GetImagePointer1

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren