Tools for manipulating MRI images