Generating a minimal set of templates for the hippocampal region in MR neuroimages