F_VN_ConvertColorSpace
Convert image from one color space to another.
Can use available TwinCAT Job Tasks for executing parallel code regions.
Can return partial results when canceled by Watchdog.
Syntax
Definition:
FUNCTION F_VN_ConvertColorSpace : HRESULT
VAR_INPUT
    ipSrcImage  : ITcVnImage;
    ipDestImage : Reference To  ITcVnImage;
    eTransform  : ETcVnColorSpaceTransform;
    hrPrev      : HRESULT;
END_VAR
           Inputs
 Inputs
| Name | Type | Description | 
|---|---|---|
| ipSrcImage | Source image | |
| ipDestImage | Reference To ITcVnImage | Destination image (An appropriate destination image will be created if required.) | 
| eTransform | Transforms to be applied | |
| hrPrev | HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) | 
Required License
TC3 Vision Base
 Return value
 Return value