Differentiation of binary planes across the Z axis.

Going to post a final update to my troubles as i figured out that the problem lies in the rounding of the affine matrix within my pipeline. I wrote this script (here) that generates a cubed cone and it’s contour file in various configurations. Pretty creepy that for our voxel size (0.23x0.23x1.5mm) the rounding error gives an discrepancy of about 3mm!