KlassenKlassenKlassenKlassen | | | | Operatoren

crop_rectangle1crop_rectangle1CropRectangle1crop_rectangle1CropRectangle1CropRectangle1 (Operator)

Name

crop_rectangle1crop_rectangle1CropRectangle1crop_rectangle1CropRectangle1CropRectangle1 — Ausschneiden eines rechteckigen Bildausschnittes.

Signatur

crop_rectangle1(Image : ImagePart : Row1, Column1, Row2, Column2 : )

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)

Herror crop_rectangle1(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

HImageArray HImageArray::CropRectangle1(const HTuple& Row1, const HTuple& Column1, const HTuple& Row2, const HTuple& Column2) const

void CropRectangle1(const HObject& Image, HObject* ImagePart, const HTuple& Row1, const HTuple& Column1, const HTuple& Row2, const HTuple& Column2)

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

void HOperatorSetX.CropRectangle1(
[in] IHUntypedObjectX* Image, [out] IHUntypedObjectX*ImagePart, [in] VARIANT Row1, [in] VARIANT Column1, [in] VARIANT Row2, [in] VARIANT Column2)

IHImageX* HImageX.CropRectangle1(
[in] Hlong Row1, [in] Hlong Column1, [in] Hlong Row2, [in] Hlong Column2)

static void HOperatorSet.CropRectangle1(HObject image, out HObject imagePart, HTuple row1, HTuple column1, HTuple row2, HTuple column2)

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

Beschreibung

crop_rectangle1crop_rectangle1CropRectangle1crop_rectangle1CropRectangle1CropRectangle1 schneidet aus den Eingabebildern einen rechteckigen Ausschnitt aus. Der Ausschnitt wird durch die Koordinaten des linken oberen Ecks und die Koordinaten des rechten unteren Ecks beschrieben. Das linke obere Eck des Ausschnitts muss innerhalb des Bildes liegen. Rechts und unten darf das Rechteck aus dem Bild herausragen, allerdings wird der Definitionsbereich des Ausgabebildes so gesetzt, dass nur der Teil enthalten ist, der aus dem Eingabebild stammt. Liegt der rechteckige Ausschnitt komplett im Eingabebild, hat die neue Bildmatrix die Größe des angegebenen Rechtecks.

Parallelisierung

Parameter

ImageImageImageImageImageimage (input_object)  (multichannel-)image(-array) objectHImageHImageHImageHImageXHobject (byte* / direction* / cyclic* / int1* / int2* / uint2* / int4* / int8 / real*) *erlaubt für Compute Devices

Eingabebild.

ImagePartImagePartImagePartImagePartImagePartimagePart (output_object)  (multichannel-)image(-array) objectHImageHImageHImageHImageXHobject * (byte* / direction* / cyclic* / int1* / int2* / uint2* / int4* / int8 / real*) *erlaubt für Compute Devices

Bildauschnitt.

Row1Row1Row1Row1Row1row1 (input_control)  rectangle.origin.y HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Zeilenindex des linken oberen Ecks des Bildauschnittes.

Defaultwert: 100

Wertevorschläge: 10, 20, 50, 100, 200, 300, 500

Typischer Wertebereich: 0 ≤ Row1 Row1 Row1 Row1 Row1 row1 ≤ 1024

Column1Column1Column1Column1Column1column1 (input_control)  rectangle.origin.x HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Spaltenindex des linken oberen Ecks des Bildauschnittes.

Defaultwert: 100

Wertevorschläge: 10, 20, 50, 100, 200, 300, 500

Typischer Wertebereich: 0 ≤ Column1 Column1 Column1 Column1 Column1 column1 ≤ 1024

Row2Row2Row2Row2Row2row2 (input_control)  rectangle.corner.y HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Zeilenindex des rechten unteren Ecks des Bildauschnittes.

Defaultwert: 200

Wertevorschläge: 10, 20, 50, 100, 200, 300, 500

Typischer Wertebereich: 0 ≤ Row2 Row2 Row2 Row2 Row2 row2 ≤ 1024

Column2Column2Column2Column2Column2column2 (input_control)  rectangle.corner.x HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Spaltenindex des rechten unteren Ecks des Bildauschnittes.

Defaultwert: 200

Wertevorschläge: 10, 20, 50, 100, 200, 300, 500

Typischer Wertebereich: 0 ≤ Column2 Column2 Column2 Column2 Column2 column2 ≤ 1024

Nachfolger

disp_imagedisp_imageDispImagedisp_imageDispImageDispImage

Alternativen

crop_partcrop_partCropPartcrop_partCropPartCropPart, crop_domaincrop_domainCropDomaincrop_domainCropDomainCropDomain, change_formatchange_formatChangeFormatchange_formatChangeFormatChangeFormat, reduce_domainreduce_domainReduceDomainreduce_domainReduceDomainReduceDomain

Siehe auch

zoom_image_sizezoom_image_sizeZoomImageSizezoom_image_sizeZoomImageSizeZoomImageSize, zoom_image_factorzoom_image_factorZoomImageFactorzoom_image_factorZoomImageFactorZoomImageFactor

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren