I'm following the usual method.. setnumberofinputs.. then setinput then updata etc.. but I don't get the desired output.
vtkPoints *points.... is my data.
I have a set of data of 336 points... (vtkPoints).. just one set.. so I
guess that the setnumberofinputs will be only 1. then my setinput is
setinput(0, points).... then I do an update... This doesn't
> I'm having troble using vtkPcaanalysisfilter....
The PCA analysis is a somewhat specialised filter developed to be used
together with the Procrustes class also in VTK. It is not a "general" PCA
method that can be used on arbitrary matrices. It requires a set (not only
one) aligned datasets to work. I suggest reading the class documentation.
Furthermor, read Cootes' online report if you plan to use it for
statistical shape analysis.