AlgorithmModuleExampleWithOutputImage¶
-
MLModule
¶ genre Examples
author Christian Kanthak
package FMEstable/ReleaseMeVis
dll MLAlgorithmModuleExamples
definition MLAlgorithmModuleExamples.def see also AlgorithmModuleExample
keywords algorithm
,module
,base
,example
,image
,processing
Purpose¶
The module demonstrates the use of base ML module class “AlgorithmModule” to implement an algorithm which produces output images.
This module takes an input image and inverts each voxel value.
Usage¶
Have a look at module’s source code project to learn how to implement an algorithm ML module which produces output images.
Parameter Fields¶
Field Index¶
[] : Trigger |
Clear : Trigger |
Has Valid Output : Bool |
On Input Change Behavior : Enum |
Status Code : Enum |
Status Message : String |
Update : Trigger |
Visible Fields¶
On Input Change Behavior¶
-
name:
onInputChangeBehavior
, type:
Enum
, default:
Update
, deprecated name:
shouldUpdateAutomatically,shouldAutoUpdate
¶ Declares how the module should react if a value of an input field changes.
Values:
Title | Name | Deprecated Name |
---|---|---|
Update | Update | TRUE |
Clear | Clear | FALSE |
Status Code¶
-
name:
statusCode
, type:
Enum
, persistent:
no
¶ Reflects module’s status (successful or failed computations) as one of some predefined enumeration values.
Values:
Title | Name |
---|---|
Ok | Ok |
Invalid input object | Invalid input object |
Invalid input parameter | Invalid input parameter |
Internal error | Internal error |
Status Message¶
-
name:
statusMessage
, type:
String
, persistent:
no
¶ Gives additional, detailed information about status code as human-readable message.