pombreda / libmv

Automatically exported from code.google.com/p/libmv
MIT License
0 stars 0 forks source link

infinite loop in EuclideanResection #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, I have an infinite loop in EuclideanResection.

What steps will reproduce the problem?
call libmv::resection::EuclideanResection(x,X,&R,&t) with
x = 
114 584 160 99 112
33 41 50 54 55
X = 
-144.7 89.4 -58.89 -139.7 -162.1
-200.3 -63.25 -103 -160.9 -200.4
443.2 146.4 246.1 392.2 490.7

there is an infinite loop during the SVD decomposition in function 
AbsoluteOrientation (euclidean_resection.cc) at line 64.
The N matrix has nan values...

What is the expected output? What do you see instead?
infinite loop ! 
by the way, shouldn't Eigen check if the matrix has nan values ?

Original issue reported on code.google.com by julien.michot.fr@gmail.com on 14 Oct 2010 at 12:16

GoogleCodeExporter commented 9 years ago
It was due to Eigen's SVD function with nan values.

Original comment by julien.michot.fr@gmail.com on 28 Apr 2011 at 8:04