I am using an ITK BinaryThinningImageFilter3D. However, the code (where mask
is an np.uint8
3D Numpy array filled with 0
s and 1
s - it is a voxel representation of an arthery)
import itk
output = itk.BinaryThinningImageFilter3D.New(
itk.GetImageFromArray(mask)
)
gives
Process finished with exit code -1073741819 (0xC0000005)
This answer points towards Python version - I checked it, everything is x64. I am leaning towards some kind of data type incompatibility. Any hints on how to fix?
I turns out there was a segfault. Issue fixed in new version of the library.