Closed ihnorton closed 11 years ago
This is in Slicer-4.2.2-2013-08-27 on Windows 7 64-bit.
Yes. ITK uses the term label map differently it refers to an "itk::LabelMap" image type. Slicer does not support that type. You likely just want a to try a regular mask filter. The SimpleFilters is a thin GUI for the filters available in ITK through SimpleITK. Further documentation can be found in the ITK doxygen. But there is no way to get the required input type into this filter with Slicer. I hope you found the error message displayed in this format useful, as opposed to the no output and error long approach.
Yes, the error message popup is helpful. IMO, if the filter cannot be used in Slicer then it should probably not be listed.
I would agree that some weeding of the unusable filters for Slicer should be done. However, some like this one could be made to work if some internal conversion are automatically done.
Is this expected? From the Slicer Volumes module, the volume type is "unsigned short" and the labelmap type is "short" ... A cursory look at SlicerSimpleFilters.py leads me to believe that this should be supported (signed and unsigned 16 bit ints are listed in the PixelIDValueEnum map...)