예제 #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)
예제 #2
0
def load_basel_template_metadata():
    return lio.import_pickle(DATA_DIR / 'basel_template_metadata.pkl')
예제 #3
0
def load_camera_settings():
    return lio.import_pickle(DATA_DIR / 'camera.pkl')
예제 #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)