I would like to segment the liver. I used different algorithms in 3D data.
But i am unable to get exact liver part in my output. Other regions are also coming.
I tried using “maskImagefilter”. but I am getting following error.
itk::ERROR: MaskImageFilter(0x20a65e0): Inputs do not occupy the same physical space!
InputImage Origin: [-1.5567578e+02, -3.2567578e+02], InputImage_1 Origin: [0.0000000e+00, 0.0000000e+00]
InputImage Spacing: [6.4843750e-01, 6.4843750e-01], InputImage_1 Spacing: [1.0000000e+00, 1.0000000e+00]
Aborted (core dumped)
Could you please tell me the solution?
And I am unable to understand how to use this mask image filter in my confidence connected algorithm.
Also to avoid over-segmentation, is there any other solution?
Thanks in advance.