Skip to content

Commit

Permalink
ENH: Remove brats.
Browse files Browse the repository at this point in the history
  • Loading branch information
ntustison committed Nov 16, 2022
1 parent 4dd269e commit 5aeb47b
Showing 1 changed file with 1 addition and 50 deletions.
51 changes: 1 addition & 50 deletions ants/registration/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,7 @@ def registration(
"BOLDAffine",
"QuickRigid",
"DenseRigid",
"BOLDRigid",
"brats"
"BOLDRigid"
}
ttexists = type_of_transform in allowable_tx

Expand Down Expand Up @@ -1161,54 +1160,6 @@ def registration(
args.append("-x")
args.append("[NA,NA]")
# ------------------------------------------------------------
elif type_of_transform == "brats":
args = [
"-d",
str(fixed.dimension),
"-n",
"NearestNeighbor",
"-r",
"[%s,%s,1]" % (f, m),
"-t",
"Rigid[0.1]",
"-m",
"MI[%s,%s,1,32,Random,0.25]" % (f, m),
"-c",
"[1500x200,1e-8,10]",
"-f",
"2x1",
"-s",
"1x0vox",
"-t",
"Affine[0.1]",
"-m",
"MI[%s,%s,1,32,Random,0.25]" % (f, m),
"-c",
"[1500x200,1e-8,10]",
"-f",
"2x1",
"-s",
"1x0vox",
"-t",
"SyN[1.0,3.0,0.0]",
"-m",
"Demons[%s,%s,2,1,Random,0.25]" % (f, m),
"-c",
"[100x50x30,1e-9,10]",
"-f",
"3x2x1",
"-s",
"2x1x0vox",
"-o",
"[%s,%s,%s]" % (outprefix, wmo, wfo)
]
if maskopt is not None:
args.append("-x")
args.append(maskopt)
else:
args.append("-x")
args.append("[NA,NA]")
# ------------------------------------------------------------
elif "antsRegistrationSyN" in type_of_transform:

do_quick = False
Expand Down

0 comments on commit 5aeb47b

Please sign in to comment.