AutoSwitch¶
-
MacroModule
¶ genre FlowControl
author Florian Weiler
package FMEstable/ReleaseMeVis
definition AutoSwitch.def see also Switch
keywords switch
,override
,optional
,data
Purpose¶
Automatically switches to the valid one of the two input images. If both are valid, the second one (inOverrideImage
) is preferred. This can be useful to provide modules that require a valid image input (e.g. Arithmetic) with a default image (e.g. ConstantImage or TestPattern). As soon as the override image becomes valid, the module forwards this one instead of the default image.
Usage¶
Connect your default image to inDefaultImage
, and an optional “override” image to inOverrideImage
.
Input Fields¶
inDefaultImage¶
-
name:
inDefaultImage
, type:
Image
, deprecated name:
in1
¶ Image to be used if there is no valid override image at
inOverrideImage
.