// This macro checks the slice positions in a DICOM // stack to verify that they agree with the voxel depth. setBatchMode(true); minSliceSpacing = 999999999; maxSliceSpacing = 0; sumSliceSpacing = 0; for (n=1; n