LabelImageInterpolation

MacroModule

author

Florian Link

package

FMEstable/ReleaseMeVis

definition

MLLabelImage.def

Purpose

The module LabelImageInterpolation allows to interpolate multiple labels between orthogonal slices. It uses the manual change tracking of the LabelImage to detect which slices have changed on a given orientation and uses image based interpolation to interpolate all slices inbetween then manual changes. It support interpolation of multiple labels, e.g. if you change multiple labels with the same brush stroke, all changed labels will be interpolated up to the next manual changed slice above and below.

Usage

You need to connect all parameters from the LabelImage to the interpolation inputs, see example network.

Input Fields

inImage

name: inImage, type: Image

inLabelImage

name: inLabelImage, type: LabelImage(MLBase)

For accessing this object via scripting, see the Scripting Reference: MLLabelImageWrapper.

inUndoContext

name: inUndoContext, type: MLBase

Parameter Fields

Field Index

Auto interpolate: Bool

In Interaction Finished: Trigger

In Labels To Interpolate: IntegerList

In Labels To Interpolate Axis: Integer

In Labels To Interpolate Timepoint: Integer

Interpolate: Trigger

Max Slices To Interpolate: Integer

Status: String

Visible Fields

Auto interpolate

name: autoInterpolate, type: Bool, default: FALSE

Interpolate

name: interpolate, type: Trigger

Max Slices To Interpolate

name: maxSlicesToInterpolate, type: Integer, default: 10

Only interpolates if manual changes are closer than given max slices.

In Labels To Interpolate Axis

name: inLabelsToInterpolateAxis, type: Integer, persistent: no

In Labels To Interpolate Timepoint

name: inLabelsToInterpolateTimepoint, type: Integer, persistent: no

In Labels To Interpolate

name: inLabelsToInterpolate, type: IntegerList, persistent: no

In Interaction Finished

name: inInteractionFinished, type: Trigger

Status

name: status, type: String, persistent: no