I am attempting to calculate the distance between two ROIs which are in nrrds:
dist = Distance()
dist.inputs.volume1 = './Contour1_IndexedLabelmap.nrrd’
dist.inputs.volume2 = './Contour2_IndexedLabelmap.nrrd’
dist.inputs.method = 'eucl_min’
test = dist.run()
However, this produces an:
ImageFileError: Cannot work out file type of “./Contour1_IndexedLabelmap.nrrd” Interface Distance failed to run.
The path names have been removed for this post, but it is finding the correct files, it just can’t figure out their type.
Is this a mistake on my part, or is there a plan to include nrrd compatibility in the future?
Thanks for any help you can give!