ExtrudeDimension

MLModule
genre Resample
status work-in-progress
author Florian Weiler
package MeVisLab/Standard
dll MLGeometry1
definition MLGeometry1.def
see also OrthoProjection
keywords extrusion, dimension, height, profile

Purpose

The module ExtrudeDimension transforms image values into spatial information in a higher dimension.

In the most typical case, this converts a 2D-slice into a 3D-height image.

Windows

Default Panel

../../../Modules/ML/MLGeometry1/mhelp/Images/Screenshots/ExtrudeDimension._default.png

Input Fields

input0

name: input0, type: Image

Original scalar input image.

Output Fields

output0

name: output0, type: Image

The extruded output image.

Parameter Fields

Field Index

Background Value: Integer
Const. Output Value: Integer
Operation Mode: Enum
Output Mode: Enum
Output Size: Integer

Visible Fields

Operation Mode

name: operationMode, type: Enum, default: 2D -> 3D

Defines the dimensions to work on.

Values:

Title Name
1d -> 2d 1D -> 2D
2d -> 3d 2D -> 3D
3d -> 4d 3D -> 4D
4d -> 5d 4D -> 5D
5d -> 6d 5D -> 6D

Output Mode

name: outputMode, type: Enum, default: Source Increasing

Defines how results will be written to the output.

Values:

Title Name Description
Constant Constant The constant Const. Output Value is written to the output image.
Source Constant Source Constant The value of the source voxel is written into every slice of the output image.
Source Increasing Source Increasing

With increasing output height, an increasing value is written to the output image.

In the highest slice, this value will equal the original value.

Source Decreasing Source Decreasing

The original value is written to the first output slice.

With increasing height, a decreasing value is written to the output.

Percentage Increasing Percentage Increasing Same as Source increasing, except that the percentage in height of the current source voxel is written. At the highest point, 100% will be written as a result, while 0% is written for the lowest slice.
Percentage Decreasing Percentage Decreasing Same as Percentage increasing, however a value of 100% is written to the lowest slice, and 0% is written at the highest point of each source voxel.

Output Size

name: outputSize, type: Integer, default: 100

Sets an extrusion depth.

Const. Output Value

name: constantOutputValue, type: Integer, default: 1

Sets the value used in Output Mode Constant.

Background Value

name: backgroundValue, type: Integer, default: 0

Sets the value for background voxels.