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 for creating a WEM surface mesh from CSOs (contours).
This module essentially performs the same function as CSOVoxelizeContours
followed by WEMIsoSurface
, but it operates more efficiently because it works on a sparse voxel grid internally.
The CSOs should be aligned in the x/y orientation of the reference input image and should be located on the z slices. The module will generate surfaces for arbitrary CSOs; however, to achieve a nicely closed surface, the CSOs should lie precisely on the slices of the reference image.
If you need more control over the surface creation, you will need to switch to CSOVoxelizeContours
and WEMIsoSurface
.
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¶
Adaptivity¶
-
name:
adaptivity
, type:
Double
, default:
0
¶ Sets the adaptivity of the mesh generation.
A value of 0 means maximum detail, while a value of 1 indicates maximum polygon reduction.
Build Edges¶
-
name:
buildEdges
, type:
Bool
, default:
TRUE
¶ If checked, edges of the output WEM are generated.
Iso Value¶
-
name:
isoValue
, type:
Float
, default:
0.5
, minimum:
0.001
, maximum:
1
¶ Sets the level set iso-value; the default is 0.5 to ensure compatibility with
WEMIsoSurface
.