Re: [eigen] Adapting code from OpenCV (a seemingly much faster SVD)

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Thanks for this conclusive summary!

I promise i'm doing the new SVD for Eigen 2.1.

Benoit

2009/4/19 Patrick Mihelich <patrick.mihelich@xxxxxxxxx>:
> OpenCV recently scrapped its own linear algebra code in favor of LAPACK. It
> didn't make much sense for OpenCV to have its own versions. I doubt the SVD
> was doing anything terribly fancy; it probably got its speed edge from
> hand-optimized loop unrolling, etc.
>
> The internal implementations of OpenCV functions are thoroughly evil due to
> the lack of support for generic programming in C. Porting code from it I
> think would not be easier than writing from scratch.
>
> Patrick
>
> On Sat, Apr 18, 2009 at 8:02 AM, Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>
> wrote:
>>
>> Benoit, you are much closer to the core math than I am and I think that
>> its not really a good idea port the OpenCV code - at least not for me. :)
>>
>> OpenCV does not
>> - support fixed size specializations
>> - handle complex numbers
>>
>> I will simply send you the code I have so you may take a look at it. As I
>> said before, the original code is gone from OpenCV. At least I cannot find
>> it in the SVN and the old CVS repository seems to be down.
>>
>> Cheers,
>> Hauke
>
>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/