MRtrix3 / mrtrix3

MRtrix3 provides a set of tools to perform various advanced diffusion MRI analyses, including constrained spherical deconvolution (CSD), probabilistic tractography, track-density imaging, and apparent fibre density
http://www.mrtrix.org
Mozilla Public License 2.0
295 stars 182 forks source link

New command: label2mask #2790

Open Lestropie opened 10 months ago

Lestropie commented 10 months ago

Spotted in @tclose's Python code and thought it might belong as a C++ command.

Take as input a label image (3D, unsigned integer, maybe but not necessarily increasing contiguously from 1, typically multiple spatially contiguous voxels with the same value), and produce as output a 3D or 4D boolean image.