KlassenKlassenKlassenKlassen | | | | Operatoren

change_formatchange_formatChangeFormatchange_formatChangeFormatChangeFormat (Operator)

Name

change_formatchange_formatChangeFormatchange_formatChangeFormatChangeFormat — Ändern der Bildgröße.

Signatur

change_format(Image : ImagePart : Width, Height : )

Herror change_format(const Hobject Image, Hobject* ImagePart, const Hlong Width, const Hlong Height)

Herror T_change_format(const Hobject Image, Hobject* ImagePart, const Htuple Width, const Htuple Height)

Herror change_format(Hobject Image, Hobject* ImagePart, const HTuple& Width, const HTuple& Height)

HImage HImage::ChangeFormat(const HTuple& Width, const HTuple& Height) const

HImageArray HImageArray::ChangeFormat(const HTuple& Width, const HTuple& Height) const

void ChangeFormat(const HObject& Image, HObject* ImagePart, const HTuple& Width, const HTuple& Height)

HImage HImage::ChangeFormat(Hlong Width, Hlong Height) const

void HOperatorSetX.ChangeFormat(
[in] IHUntypedObjectX* Image, [out] IHUntypedObjectX*ImagePart, [in] VARIANT Width, [in] VARIANT Height)

IHImageX* HImageX.ChangeFormat(
[in] Hlong Width, [in] Hlong Height)

static void HOperatorSet.ChangeFormat(HObject image, out HObject imagePart, HTuple width, HTuple height)

HImage HImage.ChangeFormat(int width, int height)

Beschreibung

change_formatchange_formatChangeFormatchange_formatChangeFormatChangeFormat vergrößert bzw. verkleinert die Eingabebilder auf die angegebene Höhe bzw. Breite. Bei einer Verkleinerung werden am „rechten“ bzw. „unteren“ Bildrand Teile abgeschnitten. Bei einer Vergrößerung werden die zusätzlichen Bereiche mit 0 besetzt. Der Definitionsbereich des Ausgabebildes entspricht dem des Eingabebildes, eventuell beschnitten auf die neue Bildgröße. Es wird kein Zooming durchgeführt.

Parallelisierung

Parameter

ImageImageImageImageImageimage (input_object)  (multichannel-)image(-array) objectHImageHImageHImageHImageXHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)

Eingabebild.

ImagePartImagePartImagePartImagePartImagePartimagePart (output_object)  (multichannel-)image(-array) objectHImageHImageHImageHImageXHobject * (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)

Bild mit neuem Format.

WidthWidthWidthWidthWidthwidth (input_control)  extent.x HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Breite des neuen Bildes.

Defaultwert: 512

Wertevorschläge: 32, 64, 128, 256, 512, 768, 1024

HeightHeightHeightHeightHeightheight (input_control)  extent.y HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Höhe des neuen Bildes.

Defaultwert: 512

Wertevorschläge: 32, 64, 128, 256, 512, 525, 1024

Nachfolger

disp_imagedisp_imageDispImagedisp_imageDispImageDispImage

Alternativen

crop_partcrop_partCropPartcrop_partCropPartCropPart

Siehe auch

zoom_image_sizezoom_image_sizeZoomImageSizezoom_image_sizeZoomImageSizeZoomImageSize, zoom_image_factorzoom_image_factorZoomImageFactorzoom_image_factorZoomImageFactorZoomImageFactor

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren