ChannelTransforms
Image - AddChannels
Creates a monochromatic image by summing the values of the current image channels.
IN
| Name | Type | Description |
|---|---|---|
| InImage | Image | The input Image |
| InConsiderSaturation | Bool | Whether to consider saturation or not. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutImage | Image | Output image. |
| Error | ErrorState | Gets the execution error message |
Image - AverageChannels
Creates a monochromatic image by averaging its channels.
IN
| Name | Type | Description |
|---|---|---|
| InImage | Image | The input Image |
| InWeight1 | Int | Weight of the first channel. Range: 〔0, +inf). |
| InWeight2 | Int | Weight of the second channel. Range: 〔0, +inf). |
| InWeight3 | Int | Weight of the third channel. Range: 〔0, +inf). |
| InWeight4 | Int | Weight of the fourth channel. Range: 〔0, +inf). |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutImage | Image | Output image. |
| Error | ErrorState | Gets the execution error message |
Image - ConvertGradients
Creates an RGB(A) image from a 2-channel image returned by Image::gradients. Note: The red channel will represent both the negative and positive values of the gradients in X direction, while the green channel will represent the gradients in Y direction. The alpha channel (if requested) is used to enhance the actual gradients found using their magnitude.
IN
| Name | Type | Description |
|---|---|---|
| InImage | Image | The input Image |
| InUseAlphaChannel | Bool | Whether to use the alpha channel to enhance the values or not. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutImage | Image | Output image. |
| Error | ErrorState | Gets the execution error message |
Image - ConvertToMultiChannel
Creates a multichannel image from a monochromatic one by replicating its channel.
IN
| Name | Type | Description |
|---|---|---|
| InImage | Image | The input Image |
| InNewChannels | Int | New image's channels. Range: 〔1, 4〕. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutImage | Image | Output image. |
| Error | ErrorState | Gets the execution error message |
Image - ExtractChannel
Extracts one channel from the image.
IN
| Name | Type | Description |
|---|---|---|
| InImage | Image | The input Image |
| InChannelIndex | Int | Channel index. Range: 〔0, 3〕. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutImage | Image | Selected channel. |
| Error | ErrorState | Gets the execution error message |
Image - MergeChannels
Creates a multichannel image from several monochromatic ones.
IN
| Name | Type | Description |
|---|---|---|
| InImage1 | Image | Image that becomes the first channel. |
| InImage2 | Image | Image that becomes the second channel. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutImage | Image | Multichannel image. |
| Error | ErrorState | Gets the execution error message |
Image - MixChannels
Compute a linear combination of image channels.
IN
| Name | Type | Description |
|---|---|---|
| InImage | Image | The input Image |
| InCoeff1 | Int | Coefficient for the first channel. Range: 〔0, +inf). |
| InCoeff2 | Int | Coefficient for the second channel. Range: 〔0, +inf). |
| InCoeff3 | Int | Coefficient for the third channel. Range: 〔0, +inf). |
| InCoeff4 | Int | Coefficient for the fourth channel. Range: 〔0, +inf). |
| InDivider | Int | Divider. Range: 〔1, +inf). |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutImage | Image | Output image. |
| Error | ErrorState | Gets the execution error message |
Image - ReverseChannels
Reverses the order of the channels in the current image (callable only on a 3-channel image).
IN
| Name | Type | Description |
|---|---|---|
| InImage | Image | The input Image |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutImage | Image | The modified Core.Data.Types.Image |
| Error | ErrorState | Gets the execution error message |
Image - Split
Split image into its separate channels.
IN
| Name | Type | Description |
|---|---|---|
| InImage | Image | The input Image |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutImage | ImageArray | Array of images, corresponding to the existing image's channels. |
| Error | ErrorState | Gets the execution error message |