PixelLUT
PixelLUT - CreatePixelLUT_CreateEmpty
Constructs a PixelLUT object.
IN
| Name | Type | Description |
|---|---|---|
| InRows | Int | Number of rows. Range: 〔1, +inf). |
| InInputType | Enum < PixelType > | Input pixel type (defines the number of columns). |
| InOutputType | Enum < PixelType > | Output pixel type. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutPixelLUT | PixelLUT | The PixelLUT instance. |
| Error | ErrorState | Gets the execution error message |
PixelLUT - CreatePixelLUT_CreateFromData
Constructs a PixelLUT object from existing data.
IN
| Name | Type | Description |
|---|---|---|
| InRows | Int | Number of rows. Range: 〔1, +inf). |
| InInputType | Enum < PixelType > | Input pixel type (defines the number of columns). |
| InOutputType | Enum < PixelType > | Output pixel type. |
| InData | FloatArray | Pointer to existing data. |
| InDeepCopy | Bool | Whether to perform a deep copy or not. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutPixelLUT | PixelLUT | The PixelLUT instance. |
| Error | ErrorState | Gets the execution error message |
PixelLUT - Deserialize
De-serialize an PixelLUT buffer.
IN
| Name | Type | Description |
|---|---|---|
| InBuffer | Buffer | Buffer containing the object. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutPixelLUT | PixelLUT | Deserialized object. |
| Error | ErrorState | Gets the execution error message |
PixelLUT - GetArea
Returns the area of the LUT.
IN
| Name | Type | Description |
|---|---|---|
| InPixelLUT | PixelLUT | The input PixelLUT |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutInt | Int | Area. |
| Error | ErrorState | Gets the execution error message |
PixelLUT - GetData
Returns a pointer to the internal LUT data.
IN
| Name | Type | Description |
|---|---|---|
| InPixelLUT | PixelLUT | The input PixelLUT |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutIntPtr | Buffer | Pointer to the internal data. |
| Error | ErrorState | Gets the execution error message |
PixelLUT - GetHeight
Returns the height of the LUT.
IN
| Name | Type | Description |
|---|---|---|
| InPixelLUT | PixelLUT | The input PixelLUT |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutInt | Int | Height. |
| Error | ErrorState | Gets the execution error message |
PixelLUT - GetInputType
Returns the input type (the images' pixel type when the LUT is applied to them). Note: It's related to the size of the LUT.
IN
| Name | Type | Description |
|---|---|---|
| InPixelLUT | PixelLUT | The input PixelLUT |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutPixelType | Enum < PixelType > | Input type. |
| Error | ErrorState | Gets the execution error message |
PixelLUT - GetOutputType
Returns the output type when the LUT is applied. Note: It represents also the type of the LUT values.
IN
| Name | Type | Description |
|---|---|---|
| InPixelLUT | PixelLUT | The input PixelLUT |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutPixelType | Enum < PixelType > | Output type. |
| Error | ErrorState | Gets the execution error message |
PixelLUT - GetSize
Returns the size of the LUT.
IN
| Name | Type | Description |
|---|---|---|
| InPixelLUT | PixelLUT | The input PixelLUT |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutSize | Size | Size. |
| Error | ErrorState | Gets the execution error message |
PixelLUT - GetWidth
Returns the width of the LUT.
IN
| Name | Type | Description |
|---|---|---|
| InPixelLUT | PixelLUT | The input PixelLUT |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutInt | Int | Width. |
| Error | ErrorState | Gets the execution error message |
PixelLUT - IsEmpty
Checks whether the LUT is empty.
IN
| Name | Type | Description |
|---|---|---|
| InPixelLUT | PixelLUT | The input PixelLUT |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutBool | Bool | true if the LUT is empty, false otherwise. |
| Error | ErrorState | Gets the execution error message |
PixelLUT - MakeGammaCorrectionLUT
Creates a Gamma Correction LUT object.
IN
| Name | Type | Description |
|---|---|---|
| InGamma | Float | Gamma coefficient. |
| InInputType | Enum < PixelType > | Input pixel type. |
| InOutputType | Enum < PixelType > | Output pixel type. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutPixelLUT | PixelLUT | Output LUT. |
| Error | ErrorState | Gets the execution error message |
PixelLUT - MakeLogarithmLUT
Creates LUT for logarithm operation on image pixels.
IN
| Name | Type | Description |
|---|---|---|
| InScale | Float | Scaling factor. |
| InOffset | Float | Offset factor. |
| InNormalizeZero | Bool | Whether the output range should be rescaled to start from 0. |
| InInputType | Enum < PixelType > | Input pixel type. |
| InOutputType | Enum < PixelType > | Output pixel type. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutPixelLUT | PixelLUT | Output LUT. |
| Error | ErrorState | Gets the execution error message |
PixelLUT - MakePowerLUT
Creates LUT for power operation.
IN
| Name | Type | Description |
|---|---|---|
| InExponent | Float | Exponent value. |
| InInputType | Enum < PixelType > | Input pixel type. |
| InOutputType | Enum < PixelType > | Output pixel type. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutPixelLUT | PixelLUT | Output LUT. |
| Error | ErrorState | Gets the execution error message |
PixelLUT - Serialize
Serialize the PixelLUT object using flatbuffers.
IN
| Name | Type | Description |
|---|---|---|
| InPixelLUT | PixelLUT | The input PixelLUT |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutByteBuffer | Buffer | Buffer where the object is stored. |
| Error | ErrorState | Gets the execution error message |