[Insight-users] Submission: PCA decomposition calculator

Lorensen, William E (Research) lorensen@crd.ge.com
Tue May 4 13:06:21 EDT 2004


Luis and Zach,

I fixed the problems with this test yesterday. It is now passing everywhere.
If you make changes to the code or test, please edit the current cvs
repository versions.

Thanks,

Bill

-----Original Message-----
From: Luis Ibanez [mailto:luis.ibanez@kitware.com]
Sent: Monday, May 03, 2004 5:57 PM
To: Zachary Pincus
Cc: insight-users@itk.org
Subject: Re: [Insight-users] Submission: PCA decomposition calculator



Hi Zach,

Thanks for looking into this.

Unfortunately I just tried the new test along
with the new .h and .txx files that you sent
and the test is still failing.


Here is the output I got:

-----------------------------------------------------------------

ImagePCADecompositionCalculator (015E6220)
   RTTI typeinfo:   class itk::ImagePCADecompositionCalculator<class 
itk::Image<double,2>,class itk::Image<double,2> >
Test failed  Reference Count: 1
   Modified Time: 25
   Debug: Off
   Observers:
     none
   Projection: 0.6228 -2.9346
   Image: 015E6008
The basis of projection is:
[-0.3853 0.5929 0.5929 -0.3853 ]
[-0.5929 -0.3853 -0.3853 -0.5929 ]
The projection of [0 2 2 0] is [-1.5412 -2.3716]
this should be approx [-1.5412 -2.3716]
The projection of [0 3 3 0] is [0.6228 -2.9346]
this should be approx [3.5574 -2.3119]


The project is out of the range of Matlab precomputed values
***Failed

0% tests passed, 1 tests failed out of 1

-----------------------------------------------------------------


Regards,


    Luis



----------------------------
Zachary Pincus wrote:

> OK, here is a new version of the code and the test for the PCA 
> decomposition calculator.
> 
> The test was slightly broken (my fault) which lead to all of the errors, 
> but now that should be fixed. I've also made the testing a bit more 
> complete.
> 
> I've also tightened the code up a bit now, for what that's worth.
> 
> Thanks, and I am quite impressed at how well the kitware build/test 
> system works.
> 
> Zach
> 
> 



_______________________________________________
Insight-users mailing list
Insight-users@itk.org
http://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list