|
virtual int | IsA (const char *type) |
|
vtkImageBSplineInterpolator * | NewInstance () const |
|
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
|
virtual void | ComputeSupportSize (const double matrix[16], int support[3]) |
|
virtual bool | IsSeparable () |
|
virtual void | FreePrecomputedWeights (vtkInterpolationWeights *&weights) |
|
|
void | SetSplineDegree (int degree) |
|
int | GetSplineDegree () |
|
int | GetSplineDegreeMinValue () |
|
int | GetSplineDegreeMaxValue () |
|
|
virtual void | PrecomputeWeightsForExtent (const double matrix[16], const int extent[6], int newExtent[6], vtkInterpolationWeights *&weights) |
|
virtual void | PrecomputeWeightsForExtent (const float matrix[16], const int extent[6], int newExtent[6], vtkInterpolationWeights *&weights) |
|
vtkAbstractImageInterpolator * | NewInstance () const |
|
virtual void | Initialize (vtkDataObject *data) |
|
virtual void | ReleaseData () |
|
void | DeepCopy (vtkAbstractImageInterpolator *obj) |
|
void | Update () |
|
double | Interpolate (double x, double y, double z, int component) |
|
bool | Interpolate (const double point[3], double *value) |
|
int | ComputeNumberOfComponents (int inputComponents) |
|
int | GetNumberOfComponents () |
|
void | SetOutValue (double outValue) |
|
double | GetOutValue () |
|
void | SetTolerance (double tol) |
|
double | GetTolerance () |
|
void | SetComponentOffset (int offset) |
|
int | GetComponentOffset () |
|
void | SetComponentCount (int count) |
|
int | GetComponentCount () |
|
void | InterpolateIJK (const double point[3], double *value) |
|
void | InterpolateIJK (const float point[3], float *value) |
|
bool | CheckBoundsIJK (const double x[3]) |
|
bool | CheckBoundsIJK (const float x[3]) |
|
void | SetBorderMode (int mode) |
|
void | SetBorderModeToClamp () |
|
void | SetBorderModeToRepeat () |
|
void | SetBorderModeToMirror () |
|
int | GetBorderMode () |
|
const char * | GetBorderModeAsString () |
|
void | InterpolateRow (vtkInterpolationWeights *&weights, int xIdx, int yIdx, int zIdx, double *value, int n) |
|
void | InterpolateRow (vtkInterpolationWeights *&weights, int xIdx, int yIdx, int zIdx, float *value, int n) |
|
virtual double * | GetSpacing () |
|
virtual void | GetSpacing (double &, double &, double &) |
|
virtual void | GetSpacing (double[3]) |
|
virtual double * | GetOrigin () |
|
virtual void | GetOrigin (double &, double &, double &) |
|
virtual void | GetOrigin (double[3]) |
|
virtual int * | GetExtent () |
|
virtual void | GetExtent (int &, int &, int &, int &, int &, int &) |
|
virtual void | GetExtent (int[6]) |
|
virtual int * | GetWholeExtent () |
|
virtual void | GetWholeExtent (int &, int &, int &, int &, int &, int &) |
|
virtual void | GetWholeExtent (int[6]) |
|
vtkObject * | NewInstance () const |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
bool | GetDebug () |
|
void | SetDebug (bool debugFlag) |
|
virtual void | Modified () |
|
virtual unsigned long | GetMTime () |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
|
vtkCommand * | GetCommand (unsigned long tag) |
|
void | RemoveObserver (vtkCommand *) |
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
|
void | RemoveObservers (const char *event, vtkCommand *) |
|
int | HasObserver (unsigned long event, vtkCommand *) |
|
int | HasObserver (const char *event, vtkCommand *) |
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
int | HasObserver (unsigned long event) |
|
int | HasObserver (const char *event) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
int | InvokeEvent (unsigned long event, void *callData) |
|
int | InvokeEvent (const char *event, void *callData) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
const char * | GetClassName () const |
|
virtual void | Delete () |
|
virtual void | FastDelete () |
|
void | Print (ostream &os) |
|
virtual void | Register (vtkObjectBase *o) |
|
virtual void | UnRegister (vtkObjectBase *o) |
|
void | SetReferenceCount (int) |
|
void | PrintRevisions (ostream &) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
|
virtual vtkObjectBase * | NewInstanceInternal () const |
|
| vtkImageBSplineInterpolator () |
|
| ~vtkImageBSplineInterpolator () |
|
virtual void | InternalUpdate () |
|
virtual void | InternalDeepCopy (vtkAbstractImageInterpolator *obj) |
|
virtual void | BuildKernelLookupTable () |
|
virtual void | FreeKernelLookupTable () |
|
|
virtual void | GetInterpolationFunc (void(**doublefunc)(vtkInterpolationInfo *, const double[3], double *)) |
|
virtual void | GetInterpolationFunc (void(**floatfunc)(vtkInterpolationInfo *, const float[3], float *)) |
|
|
virtual void | GetRowInterpolationFunc (void(**doublefunc)(vtkInterpolationWeights *, int, int, int, double *, int)) |
|
virtual void | GetRowInterpolationFunc (void(**floatfunc)(vtkInterpolationWeights *, int, int, int, float *, int)) |
|
| vtkAbstractImageInterpolator () |
|
| ~vtkAbstractImageInterpolator () |
|
| vtkObject () |
|
virtual | ~vtkObject () |
|
virtual void | RegisterInternal (vtkObjectBase *, int check) |
|
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
|
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
|
void | InternalReleaseFocus () |
|
| vtkObjectBase () |
|
virtual | ~vtkObjectBase () |
|
virtual void | CollectRevisions (ostream &) |
|
virtual void | ReportReferences (vtkGarbageCollector *) |
|
| vtkObjectBase (const vtkObjectBase &) |
|
void | operator= (const vtkObjectBase &) |
|
perform b-spline interpolation on images
vtkImageBSplineInterpolator can be used to perform b-spline interpolation on images that have been filtered with vtkImageBSplineCoefficients. The b-spline interpolants provide the maximum possible degree of continuity for a given kernel size, but require that the image data be pre-filtered to generate b-spline coefficients before the interpolation is performed. Interpolating data that has not been pre-filtered will give incorrect results.
- See also
- vtkImageReslice vtkImageBSplineCoefficients vtkBSplineTransform
- Thanks:
- This class was written by David Gobbi at the Seaman Family MR Research Centre, Foothills Medical Centre, Calgary, Alberta. DG Gobbi and YP Starreveld, "Uniform B-Splines for the VTK Imaging Pipeline," VTK Journal, 2011, http://hdl.handle.net/10380/3252
- Tests:
- vtkImageBSplineInterpolator (Tests)
Definition at line 50 of file vtkImageBSplineInterpolator.h.