VoxelizeCSO

MLModule
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLOpenVDB
definition MLOpenVDB.def
keywords distance, distancetransform

Purpose

The VoxelizeCSO module allows to voxelize CSO contours into a reference volume. It makes use of the OpenVDB library (www.openvdb.org).

For most use cases the module CSOVoxelizeContours is a fast alternative to this module. This module offers some features that CSOVoxelizeContours does not provide (like the distance to the surface and better anti-aliasing). CSOVoxelizeContours on the other hand provides several features that this module does not have.

Windows

Default Panel

../../../Projects/MLOpenVDB/MLOpenVDB/Modules/mhelp/Images/Screenshots/VoxelizeCSO._default.png

Parameter Fields

Field Index

Anti-aliasing: Bool Update: Trigger
Bandwidth: Double  
Clear: Trigger  
Distance Mode: Enum  
Fill Inside: Bool  
Mode: Enum  
Surface: Bool  
Surface Thickness: Float  

Visible Fields

Update

name: update, type: Trigger

Updates the output.

Clear

name: clear, type: Trigger

Clears the output.

Mode

name: mode, type: Enum, default: Surface

Selects the mode.

Values:

Title Name Description
Distance Distance The positive distance to the contours is written. The distance image is only as thick as given by the Bandwidth field. If filling is enabled, the inside distance is 0.
Surface Surface If enabled, the output image shows the surface/filling in a range from 0 to 255.

Distance Mode

name: distanceMode, type: Enum, default: VoxelDistance

Selects if distance calculation is done in voxel or world.

Values:

Title Name
World Distance WorldDistance
Voxel Distance VoxelDistance

Surface

name: surface, type: Bool, default: TRUE

Enables the surface/contour output.

Surface Thickness

name: surfaceThickness, type: Float, default: 1

Sets the thickness of the surface (depending on Distance Mode in voxel or millimeters).

Fill Inside

name: fillInside, type: Bool, default: TRUE

Fill the inside of contours.

Anti-aliasing

name: antiAliasing, type: Bool, default: TRUE

Enable anti-aliasing.

Bandwidth

name: bandwidth, type: Double, default: 3, minimum: 1

Sets the bandwidth (for DistanceMode), defines the bandwidth of the narrow band distance image.