Inheritance diagram for nipy.core.image.roi:
Template region of interest (ROI) module
Bases: nipy.core.image.roi.ROI
Create an ROI with a binary function in a given coordinate system.
Methods
| tocoordmap | |
| todiscrete |
| Parameters: |
|
|---|
Return a CoordinateMapROI instance at the voxels in the ROI.
| Parameters: |
|
|---|---|
| Returns: | CoordinateMapROI |
Return a DiscreteROI instance at the voxels in the ROI.
| Parameters: |
|
|---|---|
| Returns: | DiscreteROI |
Bases: nipy.core.image.roi.DiscreteROI
| Parameters: |
|
|---|
Return a feature of an image within the ROI. Feature args are ‘args’, while extra are for the readall method. Default is to reduce a ufunc over the ROI. Any other operations should be able to ignore superfluous keywords arguments, i.e. use extra.
| Parameters: |
|
|---|---|
| Returns: | DiscreteROI |
| Raises valueerror: | |
TODO |
|
| Raises notimplementederror: | |
TODO |
|
| Returns: | TODO |
|---|
Pool data from an image over the ROI – return fn evaluated at each voxel.
| Parameters: |
|
|---|---|
| Returns: | TODO |
| Raises valueerror: | |
TODO |
|
Bases: nipy.core.image.roi.ROI
TODO
Methods
| feature | |
| next | |
| pool |
| Parameters: |
|
|---|
Return a feature of an image within the ROI. Feature args are ‘args’, while extra are for the readall method. Default is to reduce a ufunc over the ROI. Any other operations should be able to ignore superfluous keywords arguments, i.e. use extra.
| Parameters: |
|
|---|---|
| Returns: | DiscreteROI |
| Raises valueerror: | |
TODO |
|
| Raises notimplementederror: | |
TODO |
|
| Returns: | TODO |
|---|
Pool data from an image over the ROI – return fn evaluated at each voxel.
| Parameters: |
|
|---|---|
| Returns: | TODO |
This is the basic ROI class, which we model as basically a function defined on Euclidean space, i.e. R^3. For practical purposes, this function is evaluated on the range of a Mapping instance.
| Parameters: |
|
|---|
Bases: list
TODO
Methods
| append | |
| count | |
| extend | |
| index | |
| insert | |
| pop | |
| remove | |
| reverse | |
| sort |
Bases: nipy.core.image.roi.CoordinateMapROI
An ROI for an entire coordmap. Save time by avoiding compressing, etc.
Methods
| feature | |
| mask | |
| next | |
| pool |
| Parameters: |
|
|---|
Return a feature of an image within the ROI. Feature args are ‘args’, while extra are for the readall method. Default is to reduce a ufunc over the ROI. Any other operations should be able to ignore superfluous keywords arguments, i.e. use extra.
| Parameters: |
|
|---|---|
| Returns: | DiscreteROI |
| Raises valueerror: | |
TODO |
|
| Raises notimplementederror: | |
TODO |
|
| Returns: | TODO |
|---|
| Parameters: | image : image.Image |
|---|---|
| Returns: | None |
Ellipse determined by regions where a quadratic form is <= a. The quadratic form is given by the inverse of the ‘form’ argument, so a sphere of radius 10 can be specified as {‘form’:10**2 * identity(3), ‘a’:1} or {‘form’:identity(3), ‘a’:100}.
Form must be positive definite.
| Parameters: |
|
|---|---|
| Returns: | TODO |
Return a CoordinateMapROI from an array (data) on a coordmap. interpolation. Obvious ways to extend this.
| Parameters: |
|
|---|---|
| Returns: | CoordinateMapROI |
| Parameters: |
|
|---|---|
| Returns: | TODO |