コード例 #1
0
ファイル: __init__.py プロジェクト: redstorm-fyy/lsfm
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
ファイル: __init__.py プロジェクト: redstorm-fyy/lsfm
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)