@@ -70,8 +70,7 @@ class ANTSInputSpec(ANTSCommandInputSpec):
70
70
traits .Int (),
71
71
requires = ['metric' ],
72
72
mandatory = True ,
73
- desc = 'radius of the region (i.e. number of layers'
74
- ' around a voxel point)'
73
+ desc = 'radius of the region (i.e. number of layers around a voxel/pixel)'
75
74
' that is used for computing cross correlation' )
76
75
77
76
output_transform_prefix = Str (
@@ -126,8 +125,7 @@ class ANTSOutputSpec(TraitedSpec):
126
125
127
126
128
127
class ANTS (ANTSCommand ):
129
- """
130
-
128
+ """ANTS command for registration of images (old, use Registration instead)
131
129
132
130
Examples
133
131
--------
@@ -557,7 +555,8 @@ class RegistrationOutputSpec(TraitedSpec):
557
555
558
556
559
557
class Registration (ANTSCommand ):
560
- """
558
+ """ANTs Registration command for registration of images
559
+
561
560
`antsRegistration <http://stnava.github.io/ANTs/>`_ registers a ``moving_image`` to a ``fixed_image``,
562
561
using a predefined (sequence of) cost function(s) and transformation operations.
563
562
The cost function is defined using one or more 'metrics', specifically
@@ -601,12 +600,12 @@ class Registration(ANTSCommand):
601
600
Examples
602
601
--------
603
602
604
- Set up a Registation node with some default settings. This Node registers
603
+ Set up a Registration node with some default settings. This Node registers
605
604
'fixed1.nii' to 'moving1.nii' by first fitting a linear 'Affine' transformation, and
606
605
then a non-linear 'SyN' transformation, both using the Mutual Information-cost
607
606
metric.
608
607
609
- The registration is initailized by first applying the (linear) transform
608
+ The registration is initialized by first applying the (linear) transform
610
609
trans.mat.
611
610
612
611
>>> import copy, pprint
0 commit comments