CSOToSurface

MLModule
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLOpenVDB
definition MLOpenVDB.def
inherits from WEMGenerator
keywords WEM

Purpose

The CSOToSurface module allows to create a WEM surface mesh from CSOs (contours). This module basically does the same as a CSOVoxelizeContours followed by a WEMIsoSurface, but works more efficiently because it works on a sparse voxel grid internally. The CSOs should be aligned in X/Y orientation of the reference input image and should be located on the Z slices. The module will generate surfaces for arbitrary CSOs, but if you want to get a nice closed surface, the CSOs should lie exactly on the slices of the reference image.

If you need more control over the surface creation, you will have to switch to CSOVoxelizeContours and WEMIsoSurface.

Windows

Default Panel

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

Input Fields

input0

name: input0, type: Image

The reference image, the CSOs are voxelized to a voxel grid with the dimensions of this image.

inCSO

name: inCSO, type: CSOList(MLBase)

The input CSOs

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

Output Fields

outWEM

name: outWEM, type: WEM(MLBase)

The output surface.

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

Parameter Fields

Field Index

Adaptivity: Double Iso Value: Float
Apply: Trigger isProcessing: Bool
Auto Apply: Bool Label: String
Build Edges: Bool Overwrite label and description: Bool
Clear: Trigger progress: Float
Description: String shouldComputeNormals: Bool
elapsedTime: Float Update Mode: Enum
id: Integer  

Visible Fields

Auto Apply

name: autoApply, type: Bool, default: TRUE

see WEMGenerator.autoApply

Update Mode

name: updateMode, type: Enum, default: AutoUpdate, deprecated name: autoUpdate

see WEMGenerator.updateMode

Apply

name: apply, type: Trigger

see WEMGenerator.apply

Clear

name: clear, type: Trigger

see WEMGenerator.clear

Overwrite label and description

name: overwriteLabelDescription, type: Bool, default: FALSE

see WEMGenerator.overwriteLabelDescription

Label

name: label, type: String

see WEMGenerator.label

Description

name: description, type: String

see WEMGenerator.description

Adaptivity

name: adaptivity, type: Double, default: 0

The adaptivity of the mesh generation. 0. means maximum detail, 1. mean maximum polygon reduction.

Build Edges

name: buildEdges, type: Bool, default: TRUE

If enabled, the edges of the output WEM are generated.

Iso Value

name: isoValue, type: Float, default: 0.5, minimum: 0.001, maximum: 1

The level set iso value, default is 0.5 to be compatible with WEMIsoSurface.

Hidden Fields

isProcessing

name: isProcessing, type: Bool, persistent: no

see WEMGenerator.isProcessing

elapsedTime

name: elapsedTime, type: Float, persistent: no

see WEMGenerator.elapsedTime

id

name: id, type: Integer, default: 0

see WEMGenerator.id

shouldComputeNormals

name: shouldComputeNormals, type: Bool, default: TRUE

see WEMGenerator.shouldComputeNormals

progress

name: progress, type: Float, persistent: no