class
MeshToSegmentationConverts a line (2D) or triangle (3D) mesh to a segmentation image.
Contents
To set the output size of segmentation image, either supply an image to input port 1, or manually specify the size.
Inputs:
Outputs:
- 0: Image - Segmentation image
Base classes
- class ProcessObject
- Abstract base class for all process objects.
Public functions
- auto create(Vector3i size, Vector3f spacing) void setOutputImageResolution(uint x -> std::shared_ptr<MeshToSegmentation>
- Create instance.
Public variables
Private functions
- void execute() virtual
Function documentation
std::shared_ptr<MeshToSegmentation> fast:: MeshToSegmentation:: create(Vector3i size,
Vector3f spacing) void setOutputImageResolution(uint x
Create instance.
Parameters | |
---|---|
size | Size of segmentation image to output. If not set it will use the same size as the image given to input 1 (optional). |
spacing | |
Returns | instance Set output image resolution in voxels |