Example #1
0
def load_template():
    template = lio.import_pickle(DATA_DIR / 'template.pkl')
    template.landmarks['__lsfm'] = template.landmarks['ibug68'].from_mask(
        LANDMARK_MASK)
    return prepare_template_reference_space(template)
Example #2
0
def load_basel_template_metadata():
    return lio.import_pickle(DATA_DIR / 'basel_template_metadata.pkl')
Example #3
0
def load_camera_settings():
    return lio.import_pickle(DATA_DIR / 'camera.pkl')
Example #4
0
def load_template(template_fn=None):
    tempalte_fn = template_fn or path_to_template()
    template = lio.import_pickle(tempalte_fn)
    template.landmarks['__lsfm'] = template.landmarks['ibug68'].from_mask(
        LANDMARK_MASK)
    return prepare_template_reference_space(template)