|
ActiViz .NET
5.8.0
|
vtkPCAAnalysisFilter - Performs principal component analysis of a set of aligned pointsets More...
Public Member Functions | |
| vtkPCAAnalysisFilter (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
| Automatically generated constructor - called from generated code. DO NOT call directly. | |
| vtkPCAAnalysisFilter () | |
| Creates with similarity transform. | |
| virtual vtkFloatArray | GetEvals () |
| Get the vector of eigenvalues sorted in descending order. | |
| vtkPointSet | GetInput (int idx) |
| Retrieve the input with index idx (usually only used for pipeline tracing). | |
| int | GetModesRequiredFor (double proportion) |
| Retrieve how many modes are necessary to model the given proportion of the variation. proportion should be between 0 and 1. | |
| void | GetParameterisedShape (vtkFloatArray b, vtkPointSet shape) |
| Fills the shape with: | |
| void | GetShapeParameters (vtkPointSet shape, vtkFloatArray b, int bsize) |
| Return the bsize parameters b that best model the given shape (in standard deviations). That is that the given shape will be approximated by: | |
| override int | IsA (string type) |
| Undocumented Block. | |
| new vtkPCAAnalysisFilter | NewInstance () |
| Undocumented Block. | |
| new void | SetInput (int idx, vtkPointSet p) |
| Specify the input pointset with index idx. Call SetNumberOfInputs before calling this function. | |
| new void | SetInput (int idx, vtkDataObject input) |
| Specify the input pointset with index idx. Call SetNumberOfInputs before calling this function. | |
| void | SetNumberOfInputs (int n) |
| Specify how many pointsets are going to be given as input. | |
Static Public Member Functions | |
| static new vtkPCAAnalysisFilter | New () |
| Creates with similarity transform. | |
| static new int | IsTypeOf (string type) |
| Undocumented Block. | |
| static new vtkPCAAnalysisFilter | SafeDownCast (vtkObjectBase o) |
| Undocumented Block. | |
Public Attributes | |
| new const string | MRFullTypeName = "Kitware.VTK.vtkPCAAnalysisFilter" |
| Automatically generated type registration mechanics. | |
Static Public Attributes | |
| static new readonly string | MRClassNameKey = "20vtkPCAAnalysisFilter" |
| Automatically generated type registration mechanics. | |
Protected Member Functions | |
| override void | Dispose (bool disposing) |
| Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly. | |
Private Member Functions | |
| static internal IntPtr | vtkPCAAnalysisFilter_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
| static internal IntPtr | vtkPCAAnalysisFilter_GetEvals_01 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
| static internal IntPtr | vtkPCAAnalysisFilter_GetInput_02 (HandleRef pThis, int idx, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
| static internal int | vtkPCAAnalysisFilter_GetModesRequiredFor_03 (HandleRef pThis, double proportion) |
| static internal void | vtkPCAAnalysisFilter_GetParameterisedShape_04 (HandleRef pThis, HandleRef b, HandleRef shape) |
| static internal void | vtkPCAAnalysisFilter_GetShapeParameters_05 (HandleRef pThis, HandleRef shape, HandleRef b, int bsize) |
| static internal int | vtkPCAAnalysisFilter_IsA_06 (HandleRef pThis, string type) |
| static internal int | vtkPCAAnalysisFilter_IsTypeOf_07 (string type) |
| static internal IntPtr | vtkPCAAnalysisFilter_NewInstance_09 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
| static internal IntPtr | vtkPCAAnalysisFilter_SafeDownCast_10 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
| static internal void | vtkPCAAnalysisFilter_SetInput_11 (HandleRef pThis, int idx, HandleRef p) |
| static internal void | vtkPCAAnalysisFilter_SetInput_12 (HandleRef pThis, int idx, HandleRef input) |
| static internal void | vtkPCAAnalysisFilter_SetNumberOfInputs_13 (HandleRef pThis, int n) |
Static Private Member Functions | |
| static | vtkPCAAnalysisFilter () |
| Automatically generated type registration mechanics. | |
vtkPCAAnalysisFilter - Performs principal component analysis of a set of aligned pointsets
Description
vtkPCAAnalysisFilter is a filter that takes as input a set of aligned pointsets (any object derived from vtkPointSet) and performs a principal component analysis of the coordinates. This can be used to visualise the major or minor modes of variation seen in a set of similar biological objects with corresponding landmarks. vtkPCAAnalysisFilter is designed to work with the output from the vtkProcrustesAnalysisFilter
Call SetNumberOfInputs(n) before calling SetInput(0) ... SetInput(n-1). Retrieve the outputs using GetOutput(0) ... GetOutput(n-1).
vtkPCAAnalysisFilter is an implementation of (for example):
T. Cootes et al. : Active Shape Models - their training and application. Computer Vision and Image Understanding, 61(1):38-59, 1995.
The material can also be found in Tim Cootes' ever-changing online report published at his website: http://www.isbe.man.ac.uk/~bim/
Caveats All of the input pointsets must have the same number of points.
Thanks Rasmus Paulsen and Tim Hutton who developed and contributed this class
| static Kitware.VTK.vtkPCAAnalysisFilter.vtkPCAAnalysisFilter | ( | ) | [static, private] |
Automatically generated type registration mechanics.
| Kitware.VTK.vtkPCAAnalysisFilter.vtkPCAAnalysisFilter | ( | IntPtr | rawCppThis, |
| bool | callDisposalMethod, | ||
| bool | strong | ||
| ) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Creates with similarity transform.
| override void Kitware.VTK.vtkPCAAnalysisFilter.Dispose | ( | bool | disposing | ) | [protected] |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.
Reimplemented from Kitware.VTK.vtkPointSetAlgorithm.
| virtual vtkFloatArray Kitware.VTK.vtkPCAAnalysisFilter.GetEvals | ( | ) | [virtual] |
Get the vector of eigenvalues sorted in descending order.
Retrieve the input with index idx (usually only used for pipeline tracing).
| int Kitware.VTK.vtkPCAAnalysisFilter.GetModesRequiredFor | ( | double | proportion | ) |
Retrieve how many modes are necessary to model the given proportion of the variation. proportion should be between 0 and 1.
| void Kitware.VTK.vtkPCAAnalysisFilter.GetParameterisedShape | ( | vtkFloatArray | b, |
| vtkPointSet | shape | ||
| ) |
Fills the shape with:
mean + b[0] * sqrt(eigenvalue[0]) * eigenvector[0] + b[1] * sqrt(eigenvalue[1]) * eigenvector[1] ... + b[sizeb-1] * sqrt(eigenvalue[bsize-1]) * eigenvector[bsize-1]
here b are the parameters expressed in standard deviations bsize is the number of parameters in the b vector This function assumes that shape is allready allocated with the right size, it just moves the points.
| void Kitware.VTK.vtkPCAAnalysisFilter.GetShapeParameters | ( | vtkPointSet | shape, |
| vtkFloatArray | b, | ||
| int | bsize | ||
| ) |
Return the bsize parameters b that best model the given shape (in standard deviations). That is that the given shape will be approximated by:
shape ~ mean + b[0] * sqrt(eigenvalue[0]) * eigenvector[0] + b[1] * sqrt(eigenvalue[1]) * eigenvector[1] ... + b[bsize-1] * sqrt(eigenvalue[bsize-1]) * eigenvector[bsize-1]
| override int Kitware.VTK.vtkPCAAnalysisFilter.IsA | ( | string | type | ) | [virtual] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkPointSetAlgorithm.
| static new int Kitware.VTK.vtkPCAAnalysisFilter.IsTypeOf | ( | string | type | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkPointSetAlgorithm.
| static new vtkPCAAnalysisFilter Kitware.VTK.vtkPCAAnalysisFilter.New | ( | ) | [static] |
Creates with similarity transform.
Reimplemented from Kitware.VTK.vtkPointSetAlgorithm.
Undocumented Block.
Reimplemented from Kitware.VTK.vtkPointSetAlgorithm.
| static new vtkPCAAnalysisFilter Kitware.VTK.vtkPCAAnalysisFilter.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkPointSetAlgorithm.
| new void Kitware.VTK.vtkPCAAnalysisFilter.SetInput | ( | int | idx, |
| vtkPointSet | p | ||
| ) |
Specify the input pointset with index idx. Call SetNumberOfInputs before calling this function.
Reimplemented from Kitware.VTK.vtkPointSetAlgorithm.
| new void Kitware.VTK.vtkPCAAnalysisFilter.SetInput | ( | int | idx, |
| vtkDataObject | input | ||
| ) |
Specify the input pointset with index idx. Call SetNumberOfInputs before calling this function.
Reimplemented from Kitware.VTK.vtkPointSetAlgorithm.
| void Kitware.VTK.vtkPCAAnalysisFilter.SetNumberOfInputs | ( | int | n | ) |
Specify how many pointsets are going to be given as input.
| static internal IntPtr Kitware.VTK.vtkPCAAnalysisFilter.vtkPCAAnalysisFilter_GetEvals_01 | ( | HandleRef | pThis, |
| ref uint | mteStatus, | ||
| ref uint | mteIndex, | ||
| ref uint | rawRefCount | ||
| ) | [private] |
| static internal IntPtr Kitware.VTK.vtkPCAAnalysisFilter.vtkPCAAnalysisFilter_GetInput_02 | ( | HandleRef | pThis, |
| int | idx, | ||
| ref uint | mteStatus, | ||
| ref uint | mteIndex, | ||
| ref uint | rawRefCount | ||
| ) | [private] |
| static internal int Kitware.VTK.vtkPCAAnalysisFilter.vtkPCAAnalysisFilter_GetModesRequiredFor_03 | ( | HandleRef | pThis, |
| double | proportion | ||
| ) | [private] |
| static internal void Kitware.VTK.vtkPCAAnalysisFilter.vtkPCAAnalysisFilter_GetParameterisedShape_04 | ( | HandleRef | pThis, |
| HandleRef | b, | ||
| HandleRef | shape | ||
| ) | [private] |
| static internal void Kitware.VTK.vtkPCAAnalysisFilter.vtkPCAAnalysisFilter_GetShapeParameters_05 | ( | HandleRef | pThis, |
| HandleRef | shape, | ||
| HandleRef | b, | ||
| int | bsize | ||
| ) | [private] |
| static internal int Kitware.VTK.vtkPCAAnalysisFilter.vtkPCAAnalysisFilter_IsA_06 | ( | HandleRef | pThis, |
| string | type | ||
| ) | [private] |
| static internal int Kitware.VTK.vtkPCAAnalysisFilter.vtkPCAAnalysisFilter_IsTypeOf_07 | ( | string | type | ) | [private] |
| static internal IntPtr Kitware.VTK.vtkPCAAnalysisFilter.vtkPCAAnalysisFilter_New | ( | ref uint | mteStatus, |
| ref uint | mteIndex, | ||
| ref uint | rawRefCount | ||
| ) | [private] |
| static internal IntPtr Kitware.VTK.vtkPCAAnalysisFilter.vtkPCAAnalysisFilter_NewInstance_09 | ( | HandleRef | pThis, |
| ref uint | mteStatus, | ||
| ref uint | mteIndex, | ||
| ref uint | rawRefCount | ||
| ) | [private] |
| static internal IntPtr Kitware.VTK.vtkPCAAnalysisFilter.vtkPCAAnalysisFilter_SafeDownCast_10 | ( | HandleRef | o, |
| ref uint | mteStatus, | ||
| ref uint | mteIndex, | ||
| ref uint | rawRefCount | ||
| ) | [private] |
| static internal void Kitware.VTK.vtkPCAAnalysisFilter.vtkPCAAnalysisFilter_SetInput_11 | ( | HandleRef | pThis, |
| int | idx, | ||
| HandleRef | p | ||
| ) | [private] |
| static internal void Kitware.VTK.vtkPCAAnalysisFilter.vtkPCAAnalysisFilter_SetInput_12 | ( | HandleRef | pThis, |
| int | idx, | ||
| HandleRef | input | ||
| ) | [private] |
| static internal void Kitware.VTK.vtkPCAAnalysisFilter.vtkPCAAnalysisFilter_SetNumberOfInputs_13 | ( | HandleRef | pThis, |
| int | n | ||
| ) | [private] |
new readonly string Kitware.VTK.vtkPCAAnalysisFilter.MRClassNameKey = "20vtkPCAAnalysisFilter" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkPointSetAlgorithm.
| new const string Kitware.VTK.vtkPCAAnalysisFilter.MRFullTypeName = "Kitware.VTK.vtkPCAAnalysisFilter" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkPointSetAlgorithm.
1.7.6.1