Hi all,
I would like to export my segmentations to a text file (i.e. list of contour pixels) to create IMOD model files (with point2model). Two questions:
- I expect I would push the segmentation through the LabelContourImageFilter to get the edges, but is there an sitk.Cast to text? Would this use ImageFileWriter or just a txt dump?
- Would this text dump encode the origin and dimensions of the segmentation cf. reference image?
Cheers,
Sean Hatton
UCSD