Round

MLModule
genre Image
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLBasicModules
definition mlBasicModules.def
keywords Ceil, Floor, Truncate

Purpose

The module Round converts a float image to an int image using Round, Floor, or Ceil.

Windows

Default Panel

../../../Modules/ML/MLBasicModules/mhelp/Images/Screenshots/Round._default.png

Input Fields

input0

name: input0, type: Image

Output Fields

output0

name: output0, type: Image

Parameter Fields

Visible Fields

Round Mode

name: roundMode, type: Enum, default: Round

Defines the conversion mode.

Values:

Title Name Description
Round Round Applies a round() to all values.
Ceil Ceil Applies a ceil() to all values.
Floor Floor Applies a floor() to all values.
Truncate Truncate Just casts the input float values to int.

Update Mode

name: updateMode, type: Enum, default: Off

Defines the update behavior of this module.

Values:

Title Name Description
Off Off Output image is not computed anew on input or parameter change.
Auto Update AutoUpdate Output image is computed anew on any input image or parameter change.

Update

name: update, type: Trigger

If pressed, the module computes its output image anew.