We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a7db4d + 5e560d9 commit d2a48e1Copy full SHA for d2a48e1
nipype/interfaces/ants/utils.py
@@ -46,6 +46,7 @@ class ImageMathInputSpec(ANTSCommandInputSpec):
46
"GE",
47
"GO",
48
"GC",
49
+ "TruncateImageIntensity",
50
mandatory=True,
51
position=3,
52
argstr="%s",
@@ -92,6 +93,12 @@ class ImageMath(ANTSCommand, CopyHeaderInterface):
92
93
... op2='4').cmdline
94
'ImageMath 3 structural_maths.nii G structural.nii 4'
95
96
+ >>> ImageMath(
97
+ ... op1='structural.nii',
98
+ ... operation='TruncateImageIntensity',
99
+ ... op2='0.005 0.999 256').cmdline
100
+ 'ImageMath 3 structural_maths.nii TruncateImageIntensity structural.nii 0.005 0.999 256'
101
+
102
"""
103
104
_cmd = "ImageMath"
0 commit comments