med-imagetools
med-imagetools copied to clipboard
QC checks to output FAILURE
assert image.shape == theoretical_shape
- ex) assert spacing = image.GetSpacing()
- ex) spacing = 1, 1, 2 -> orig_img.shape / spacing = image.GetSpacing()