VolumeCenter

MacroModule
author Jennifer Bieberstein
package FMEstable/ReleaseMeVis
definition VolumeCenter.def
keywords center, volume, world, coordinate

Purpose

This module calculates the center of the input volume in world and voxel coordinates.

Usage

Connect image for which to calculate the center to the VolumeCenter module. The center is calculated automatically.

Windows

Default Panel

../../../Projects/ImageGeometry/VolumeCenter/Modules/mhelp/Images/Screenshots/VolumeCenter._default.png

Input Fields

The module has one input.

inImage

name: inImage, type: Image

The image for which the center is calculated.

Parameter Fields

The module has the following parameters.

Visible Fields

Compute Center of Center Voxel

name: computeVoxelCenterWorldCoordinates, type: Bool, default: TRUE

This bool value indicates whether the voxel coordinates are viewed as integers or as continuous coordinates. In the first case, an integer voxel coordinate vector corresponds to the center of a voxel, whereas in the second case integer voxel coordinate vectors correspond to the voxel corners.

Volume Center Voxel Coordinates

name: volumeCenterVoxelCoordinates, type: Vector3, persistent: no

The resulting center in voxel coordinates.

Volume Center World Coordinates

name: volumeCenterWorldCoordinates, type: Vector3, persistent: no

The resulting center in world coordinates.