Operating system: Linux
Slicer version: 4.5.0
Expected behavior: LabelMap file will open as a Volume with “LabelMap” checked in Volume Information, and will appear as Current LabelMapVolume in the display
Actual behavior: LabelMap file opens as a regular volume
Hi,
Is there a way to specify that a given image/file is a LabelMap when opening the image/file with Slicer from the command line? Currently,
Indeed, it does not load as a label map even if I rename the file to include -label prefix.
@lassoan@Fernando the user is asking how to load as label map from the command line (passing the file name as an argument to the Slicer application from command line, I assume), not programmatically.
Yes I was looking to load a label map from the command line, passing the file.nrrd as an argument to Slicer as @fedorov indicated. @pieper’s solution is just what I was looking for! Thanks to all.