Inheritance diagram for nipy.algorithms.registration.histogram_registration:
Intensity-based image registration
Bases: object
A class to reprensent a generic intensity-based image registration algorithm.
Methods
eval | |
explore | |
optimize | |
subsample |
Creates a new histogram registration object.
Parameters : | from_img : nipy-like image
interp : str
|
---|
Evaluate similarity function given a world-to-world transform.
Parameters : | T : Transform
|
---|
Evaluate the similarity at the transformations specified by sequences of parameter values.
For instance:
explore(T0, (0, [-1,0,1]), (4, [-2.,2]))
Optimize transform T with respect to similarity measure.
The input object T will change as a result of the optimization.
Parameters : | T : object or str
optimizer : str
**kwargs : dict
|
---|
Defines a subset of the from image to restrict joint histogram computation.
Parameters : | spacing : sequence (3,) of positive integers
corner : sequence (3,) of positive integers
size : sequence (3,) of positive integers
npoints : positive integer
|
---|
Clamp array values that fall within a given mask in the range [0..bins-1] and reset masked values to -1.
Parameters : | x : ndarray
bins : number
mask : ndarray, tuple or slice
|
---|---|
Returns : | y : ndarray
bins : number
|
Tune spacing factors so that the number of voxels in the output block matches a given number.
Parameters : | data : ndarray or sequence
npoints : number
|
---|---|
Returns : | spacing: ndarray :
|