OPT: added options for template creation pre-processing
REF: added verification of file when getting image dimensions in sct_utils