Dear community,
I have two aligned sinus STL models. Converted them to binary labelmaps via segmentation nodes. I made sure they have same spacing and origo. Then I tried to compute the euclidian distance with SimiarityIndexFilter. There comes an error, which tells the objects don’t share same physical space. What else than same origo and spacing is needed?
The default image geometry will not be exactly the same for two different surface models. You can use the “Specify geometry” button to change the geometry of the segmentation before exporting to labelmap; or you can choose the first exported labelmap as reference volume when you export the second segmentation to labelmap.
Thank you!
Now their geometry is similar.
There comes an error:
Error before execution of SimilarityIndexImageFilter: ’NoneType’ object has no attribute ’GetAddressAsString’
SquaredDifferenceImageFilter works perfectly but SimilarityIndexImageFilter gives an error.
Now there becomes an error, which tells that input file type is not correct. I have binary labelmap. What is the right input file type for SimilarityIndexImageFilter?