Skip to content

Commit

Permalink
example
Browse files Browse the repository at this point in the history
Signed-off-by: neuronflow <[email protected]>
  • Loading branch information
neuronflow committed Mar 30, 2024
1 parent f18917b commit 9d9dac2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions example/example_modality_centric_preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
from brainles_preprocessing.brain_extraction import HDBetExtractor
from brainles_preprocessing.modality import Modality
from brainles_preprocessing.preprocessor import Preprocessor
from brainles_preprocessing.registration import ANTsRegistrator, NiftyRegRegistrator
from brainles_preprocessing.registration import (
ANTsRegistrator,
NiftyRegRegistrator,
eRegRegistrator,
)


def preprocess(inputDir):
Expand Down Expand Up @@ -102,7 +106,8 @@ def preprocess(inputDir):
moving_modalities=moving_modalities,
# choose the registration backend you want to use
# registrator=NiftyRegRegistrator(),
registrator=ANTsRegistrator(),
# registrator=ANTsRegistrator(),
registrator=eRegRegistrator(),
brain_extractor=HDBetExtractor(),
temp_folder="temporary_directory",
limit_cuda_visible_devices="0",
Expand Down

0 comments on commit 9d9dac2

Please sign in to comment.