vmtkimagecast
Description
cast an image to a specified type
Input arguments
| Argument | Variable | Type | Length | Range | Default | Description |
| id | Id | str | 1 | | 0 | script id |
| handle | Self | self | 1 | | | handle to self |
| disabled | Disabled | bool | 1 | | 0 | disable execution and piping |
| i | Image | vtkImageData | 1 | | | the input image |
| ifile | ImageInputFileName | str | 1 | | | filename for the default Image reader |
| type | OutputType | str | 1 | ["float","double","uchar","short"] | float | the output image type |
| shiftscale | ShiftScale | int | 1 | | 1 | shift scale values to fit windowlevel |
| windowlevel | WindowLevel | float | 2 | | [0.0, 0.0] | window and level for value mapping |
| ofile | ImageOutputFileName | str | 1 | | | filename for the default Image writer |
Output arguments
| Argument | Variable | Type | Length | Range | Default | Description |
| id | Id | str | 1 | | 0 | script id |
| handle | Self | self | 1 | | | handle to self |
| o | Image | vtkImageData | 1 | | | the output image |