added test to check singular value ordering for a sample homography case

release/4.3a0
Manohar Paluri 2010-02-14 04:56:29 +00:00
parent 693e13ef88
commit 43f9baf77a
1 changed files with 5 additions and 0 deletions

View File

@ -700,6 +700,11 @@ TEST( matrix, svd )
/* ************************************************************************* */
TEST( matrix, svdordering )
{
/// Homography matrix for points
//Point2h(0, 0, 1), Point2h(4, 5, 1);
//Point2h(1, 0, 1), Point2h(5, 5, 1);
//Point2h(1, 1, 1), Point2h(5, 6, 1);
//Point2h(0, 1, 1), Point2h(4, 6, 1);
double data[] = {0,0,0,-4,-5,-1,0,0,0,
4,5,1,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,