InsightSoftwareConsortium / ITKTubeTK

TubeTK is an open-source toolkit for the segmentation, registration, and analysis of tubes and surfaces in images, developed by Kitware, Inc.
Apache License 2.0
46 stars 57 forks source link

BUG: ComputeTrainingMask preserve image info. TubeExtractor count. #151

Closed aylward closed 9 months ago

aylward commented 9 months ago

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.