ComputeTrainingMask was returning an image with default image info (e.g., spacing = 1,1,1). Now copies the info from the input image.
TubeExtractor was numbering tubes starting at 0 - but that made tracking
tubes by their Id in a mask image problematic. Now the first extracted
tubes has the Id=1.
ComputeTrainingMask was returning an image with default image info (e.g., spacing = 1,1,1). Now copies the info from the input image.
TubeExtractor was numbering tubes starting at 0 - but that made tracking tubes by their Id in a mask image problematic. Now the first extracted tubes has the Id=1.