brains:GenusZeroImageFilter
From NITRC Wiki
Return to brains:MainPageContents |
Summary
Adjusts a labelmap such that marching cubes will produce a genus zero surface.
Authors
- Steven Haker
- Marc Niethammer
Usage
GenusZeroImageFilter [--inputVolume <std::string>] [--outputVolume <std::string>] [--vtkOutput <std::string>] [--stl <std::string>] [--cutLoops] [--biggestComponent] [--extractFinalConnectedComponent] [--connectedComponent] [--computeSurface] [--connectivity <integer-enumeration>] [--help]
Where:
---inputVolume <std::string>
Input the image volume to be topologically corrected
---outputVolume <std::string>
Topologically corrected image volume output (ignored if --computeSurface is set)
---vtkOutput <std::string>
File to write a VTK triangluated mesh to (ignored if --computeSurface is not set)
---stl <std::string>
File to write an STL triangluated mesh to
---cutLoops
Cut loops instead of patching holes (default: OFF)
---biggestComponent
Extract largest component of the triangulated result. (The volume result needs to be followed by an extraction of the largest connected component if desired; use 'extractFinalConnectedComponent'.) (default: ON)
---extractFinalConnectedComponent
Extracts the largest connected component after the processing. This is necessary, because the topology correction only guarantees the genus, but may otherwise produce a number of objects with spherical topology (default: OFF)
---connectedComponent
Extract largest connected component before processing (default: OFF)
---computeSurface
Compute VTK surface instead of corrected image volume (default: OFF)
--connectivity <integer-enumeration>
Controls the discrete connectivity model (18|6 default: 18)
---help
Displays the parameters to run this command
Figures
References
Methods
Applications
Acknowledgements
This work was developed by the University of Iowa Departments of Radiology and Psychiatry. This software was supported in part of NIH/NINDS award NS050568.









