KlassenKlassenKlassenKlassen | | | | Operatoren

gen_image_gray_rampgen_image_gray_rampGenImageGrayRampgen_image_gray_rampGenImageGrayRampGenImageGrayRamp (Operator)

Name

gen_image_gray_rampgen_image_gray_rampGenImageGrayRampgen_image_gray_rampGenImageGrayRampGenImageGrayRamp — Erzeugen einer Grauwertrampe.

Signatur

gen_image_gray_ramp( : ImageGrayRamp : Alpha, Beta, Mean, Row, Column, Width, Height : )

Herror gen_image_gray_ramp(Hobject* ImageGrayRamp, double Alpha, double Beta, double Mean, const Hlong Row, const Hlong Column, const Hlong Width, const Hlong Height)

Herror T_gen_image_gray_ramp(Hobject* ImageGrayRamp, const Htuple Alpha, const Htuple Beta, const Htuple Mean, const Htuple Row, const Htuple Column, const Htuple Width, const Htuple Height)

Herror gen_image_gray_ramp(Hobject* ImageGrayRamp, const HTuple& Alpha, const HTuple& Beta, const HTuple& Mean, const HTuple& Row, const HTuple& Column, const HTuple& Width, const HTuple& Height)

HImage HImage::GenImageGrayRamp(const HTuple& Alpha, const HTuple& Beta, const HTuple& Mean, const HTuple& Row, const HTuple& Column, const HTuple& Width, const HTuple& Height)

void GenImageGrayRamp(HObject* ImageGrayRamp, const HTuple& Alpha, const HTuple& Beta, const HTuple& Mean, const HTuple& Row, const HTuple& Column, const HTuple& Width, const HTuple& Height)

void HImage::GenImageGrayRamp(double Alpha, double Beta, double Mean, Hlong Row, Hlong Column, Hlong Width, Hlong Height)

void HOperatorSetX.GenImageGrayRamp(
[out] IHUntypedObjectX*ImageGrayRamp, [in] VARIANT Alpha, [in] VARIANT Beta, [in] VARIANT Mean, [in] VARIANT Row, [in] VARIANT Column, [in] VARIANT Width, [in] VARIANT Height)

void HImageX.GenImageGrayRamp(
[in] double Alpha, [in] double Beta, [in] double Mean, [in] Hlong Row, [in] Hlong Column, [in] Hlong Width, [in] Hlong Height)

static void HOperatorSet.GenImageGrayRamp(out HObject imageGrayRamp, HTuple alpha, HTuple beta, HTuple mean, HTuple row, HTuple column, HTuple width, HTuple height)

void HImage.GenImageGrayRamp(double alpha, double beta, double mean, int row, int column, int width, int height)

Beschreibung

gen_image_gray_rampgen_image_gray_rampGenImageGrayRampgen_image_gray_rampGenImageGrayRampGenImageGrayRamp erzeugt eine Grauwertrampe nach folgender Gleichung:

ImageGrayRampImageGrayRampImageGrayRampImageGrayRampImageGrayRampimageGrayRamp(r,c) = AlphaAlphaAlphaAlphaAlphaalpha(r-RowRowRowRowRowrow) + BetaBetaBetaBetaBetabeta(c-ColumnColumnColumnColumnColumncolumn) + MeanMeanMeanMeanMeanmean
Die Größe des Bildes wird mit WidthWidthWidthWidthWidthwidth und HeightHeightHeightHeightHeightheight bestimmt. Die Grauwerte sind vom Type 'byte'"byte""byte""byte""byte""byte". Grauwerte außerhalb des gültigen Bereichs werden beschnitten.

Parallelisierung

Parameter

ImageGrayRampImageGrayRampImageGrayRampImageGrayRampImageGrayRampimageGrayRamp (output_object)  image objectHImageHImageHImageHImageXHobject * (byte)

Erzeugtes Bild mit neuer Bildmatrix.

AlphaAlphaAlphaAlphaAlphaalpha (input_control)  real HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Steigung in Zeilenrichtung.

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)  real HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Steigung in Spaltenrichtung.

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

MeanMeanMeanMeanMeanmean (input_control)  real HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Mittlerer Grauwert.

Defaultwert: 128

Wertevorschläge: 0.0, 20.0, 40.0, 60.0, 80.0, 100.0, 120.0, 140.0, 160.0, 180.0, 200.0, 220.0, 255.0

Minimale Schrittweite: 1

Empfohlene Schrittweite: 10

RowRowRowRowRowrow (input_control)  point.y HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Zeilenindex des Bezugspunktes.

Defaultwert: 256

Wertevorschläge: 128, 256, 512, 1024

Minimale Schrittweite: 1

Empfohlene Schrittweite: 10

ColumnColumnColumnColumnColumncolumn (input_control)  point.x HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Spaltenindex des Bezugspunktes.

Defaultwert: 256

Wertevorschläge: 128, 256, 512, 1024

Minimale Schrittweite: 1

Empfohlene Schrittweite: 10

WidthWidthWidthWidthWidthwidth (input_control)  extent.x HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (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 HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (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_gray_rampgen_image_gray_rampGenImageGrayRampgen_image_gray_rampGenImageGrayRampGenImageGrayRamp den Wert 2 (H_MSG_TRUE). Andernfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

moments_gray_planemoments_gray_planeMomentsGrayPlanemoments_gray_planeMomentsGrayPlaneMomentsGrayPlane

Nachfolger

paint_regionpaint_regionPaintRegionpaint_regionPaintRegionPaintRegion, reduce_domainreduce_domainReduceDomainreduce_domainReduceDomainReduceDomain, get_image_pointer1get_image_pointer1GetImagePointer1get_image_pointer1GetImagePointer1GetImagePointer1, copy_objcopy_objCopyObjcopy_objCopyObjCopyObj

Alternativen

gen_image1gen_image1GenImage1gen_image1GenImage1GenImage1

Siehe auch

reduce_domainreduce_domainReduceDomainreduce_domainReduceDomainReduceDomain, paint_graypaint_grayPaintGraypaint_grayPaintGrayPaintGray, gen_image_constgen_image_constGenImageConstgen_image_constGenImageConstGenImageConst

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren