Positional normalization and mid-sagittal plane identification for 3D images with bilateral (biological) symmetry
MIRTK (https://github.com/BioMedIA/MIRTK)
NiftySeg (http://cmictig.cs.ucl.ac.uk/wiki/index.php/NiftySeg).
bc - GNU bc arbitrary precision calculator language
Takes a 3D image (optionally mask and reference images), saves a rigid transformation (MIRTK .dof) and (optionally) aligned and midsagittal plane images.
Takes a 3D image and a MSP-aligning transformation, saves a midsagittal plane image.