gen_image_surface_first_ordergen_image_surface_first_orderGenImageSurfaceFirstOrderGenImageSurfaceFirstOrdergen_image_surface_first_order (Operator)

Name

gen_image_surface_first_ordergen_image_surface_first_orderGenImageSurfaceFirstOrderGenImageSurfaceFirstOrdergen_image_surface_first_order — Erzeugen einer Grauwertfläche mit einem Polynom erster Ordnung.

Signatur

gen_image_surface_first_order( : ImageSurface : Type, Alpha, Beta, Gamma, Row, Column, Width, Height : )

Herror gen_image_surface_first_order(Hobject* ImageSurface, const char* Type, double Alpha, double Beta, double Gamma, double Row, double Column, const Hlong Width, const Hlong Height)

Herror T_gen_image_surface_first_order(Hobject* ImageSurface, const Htuple Type, const Htuple Alpha, const Htuple Beta, const Htuple Gamma, const Htuple Row, const Htuple Column, const Htuple Width, const Htuple Height)

void GenImageSurfaceFirstOrder(HObject* ImageSurface, const HTuple& Type, const HTuple& Alpha, const HTuple& Beta, const HTuple& Gamma, const HTuple& Row, const HTuple& Column, const HTuple& Width, const HTuple& Height)

void HImage::GenImageSurfaceFirstOrder(const HString& Type, double Alpha, double Beta, double Gamma, double Row, double Column, Hlong Width, Hlong Height)

void HImage::GenImageSurfaceFirstOrder(const char* Type, double Alpha, double Beta, double Gamma, double Row, double Column, Hlong Width, Hlong Height)

void HImage::GenImageSurfaceFirstOrder(const wchar_t* Type, double Alpha, double Beta, double Gamma, double Row, double Column, Hlong Width, Hlong Height)   (Nur Windows)

static void HOperatorSet.GenImageSurfaceFirstOrder(out HObject imageSurface, HTuple type, HTuple alpha, HTuple beta, HTuple gamma, HTuple row, HTuple column, HTuple width, HTuple height)

void HImage.GenImageSurfaceFirstOrder(string type, double alpha, double beta, double gamma, double row, double column, int width, int height)

def gen_image_surface_first_order(type: str, alpha: float, beta: float, gamma: float, row: float, column: float, width: int, height: int) -> HObject

Beschreibung

gen_image_surface_first_ordergen_image_surface_first_orderGenImageSurfaceFirstOrderGenImageSurfaceFirstOrderGenImageSurfaceFirstOrdergen_image_surface_first_order erzeugt eine geneigte Grauwertfläche nach folgender Gleichung: ImageSurfaceImageSurfaceImageSurfaceImageSurfaceimageSurfaceimage_surface(r,c) = AlphaAlphaAlphaAlphaalphaalpha(r - RowRowRowRowrowrow) + BetaBetaBetaBetabetabeta(c - ColumnColumnColumnColumncolumncolumn) + GammaGammaGammaGammagammagamma Die Größe des Bildes wird mit WidthWidthWidthWidthwidthwidth und HeightHeightHeightHeightheightheight bestimmt. Die Parameter RowRowRowRowrowrow und ColumnColumnColumnColumncolumncolumn definieren den Referenzpunkt der zu erzeugenden Grauwertfläche. Die Grauwerte sind vom Type TypeTypeTypeTypetypetype (siehe gen_image_constgen_image_constGenImageConstGenImageConstGenImageConstgen_image_const für eine detailliertere Beschreibung der Pixeltypen). Grauwerte außerhalb des gültigen Bereichs werden beschnitten.

Ausführungsinformationen

Parameter

ImageSurfaceImageSurfaceImageSurfaceImageSurfaceimageSurfaceimage_surface (output_object)  image objectHImageHObjectHImageHobject * (byte / uint2 / real)

Erzeugtes Bild mit neuer Bildmatrix.

TypeTypeTypeTypetypetype (input_control)  string HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Pixeltyp.

Defaultwert: 'byte' "byte" "byte" "byte" "byte" "byte"

Werteliste: 'byte'"byte""byte""byte""byte""byte", 'real'"real""real""real""real""real", 'uint2'"uint2""uint2""uint2""uint2""uint2"

AlphaAlphaAlphaAlphaalphaalpha (input_control)  number HTuplefloatHTupleHtuple (real) (double) (double) (double)

Koeffizient erster Ordnung in vertikaler Richtung.

Defaultwert: 1.0

Wertevorschläge: -2.0, -1.0, -0.5, -0.0, 0.5, 1.0, 2.0

Minimale Schrittweite: 0.000001

Empfohlene Schrittweite: -0.005

BetaBetaBetaBetabetabeta (input_control)  number HTuplefloatHTupleHtuple (real) (double) (double) (double)

Koeffizient erster Ordnung in horizontaler Richtung.

Defaultwert: 1.0

Wertevorschläge: -2.0, -1.0, -0.5, -0.0, 0.5, 1.0, 2.0

Minimale Schrittweite: 0.000001

Empfohlene Schrittweite: -0.005

GammaGammaGammaGammagammagamma (input_control)  number HTuplefloatHTupleHtuple (real) (double) (double) (double)

Koeffizient nullter Ordnung.

Defaultwert: 1.0

Wertevorschläge: -2.0, -1.0, -0.5, -0.0, 0.5, 1.0, 2.0

Minimale Schrittweite: 0.000001

Empfohlene Schrittweite: -0.005

RowRowRowRowrowrow (input_control)  number HTuplefloatHTupleHtuple (real) (double) (double) (double)

Zeilenkoordinate des Referenzpunktes der Fläche.

Defaultwert: 256.0

Wertevorschläge: 0.0, 128.0, 256.0, 512.0

Minimale Schrittweite: 0.000001

Empfohlene Schrittweite: -0.005

ColumnColumnColumnColumncolumncolumn (input_control)  number HTuplefloatHTupleHtuple (real) (double) (double) (double)

Spaltenkoordinate des Referenzpunktes der Fläche.

Defaultwert: 256.0

Wertevorschläge: 0.0, 128.0, 256.0, 512.0

Minimale Schrittweite: 0.000001

Empfohlene Schrittweite: -0.005

WidthWidthWidthWidthwidthwidth (input_control)  extent.x HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Breite des Bildes.

Defaultwert: 512

Wertevorschläge: 128, 256, 512, 1024

Typischer Wertebereich: 1 ≤ Width Width Width Width width width ≤ 512 (lin)

Minimale Schrittweite: 1

Empfohlene Schrittweite: 10

Restriktion: Width >= 1

HeightHeightHeightHeightheightheight (input_control)  extent.y HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Höhe des Bildes.

Defaultwert: 512

Wertevorschläge: 128, 256, 512, 1024

Typischer Wertebereich: 1 ≤ Height Height Height Height height height ≤ 512 (lin)

Minimale Schrittweite: 1

Empfohlene Schrittweite: 10

Restriktion: Height >= 1

Ergebnis

Sind die Parameterwerte korrekt, dann liefertgen_image_surface_first_ordergen_image_surface_first_orderGenImageSurfaceFirstOrderGenImageSurfaceFirstOrderGenImageSurfaceFirstOrdergen_image_surface_first_order den Wert TRUE. Andernfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

fit_surface_first_orderfit_surface_first_orderFitSurfaceFirstOrderFitSurfaceFirstOrderFitSurfaceFirstOrderfit_surface_first_order

Nachfolger

sub_imagesub_imageSubImageSubImageSubImagesub_image

Siehe auch

gen_image_gray_rampgen_image_gray_rampGenImageGrayRampGenImageGrayRampGenImageGrayRampgen_image_gray_ramp, gen_image_surface_second_ordergen_image_surface_second_orderGenImageSurfaceSecondOrderGenImageSurfaceSecondOrderGenImageSurfaceSecondOrdergen_image_surface_second_order, gen_image_constgen_image_constGenImageConstGenImageConstGenImageConstgen_image_const

Modul

Foundation