LinearPalette¶
Creates a palette with a linear transfer function.
Inputs¶
Type (Type: String)¶
The type of the palette. Choices are PaletteByte, PaletteUInt16, PaletteUInt32, PaletteDouble, PaletteRgbByte, PaletteRgbUInt16, PaletteRgbUInt32 and PaletteRgbDouble.
Width (Type: Int32)¶
The width of the palette.
A (Type: Double)¶
The slope of the linear curve.
B (Type: Double)¶
The intercept of the linear curve.
Comments¶
This function creates a palette with a linear function.
Here is an example of a linear curve with a slope of 2 and an intercept of -127: