|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
sugr.test.EstimationTest
Test of estimation functionality of sugr.
Constructor Summary | |
EstimationTest()
|
Method Summary | |
static boolean |
compareEntities(Element e1,
Element e2,
double percentage)
Help function to test two entities. |
static void |
conditioningTest()
Test conditioning Problem: The estimation needs the Center of Gravity near the Origin. |
static double |
getNextGaussDist(double mean,
double stddev,
boolean newstart)
Help function, to generat gaussdistributed random values |
static void |
testAllConstructorsAsEstimation()
Doing for every possible construction an estimation and compare the results. |
static void |
testConditioningEntity()
Test the conditioning methods for entitis. |
static void |
testConditioningTransformation()
Test the conditioning of transformations. |
static void |
testConstraintFulfill()
Test entity.ensureConstrains() |
static boolean |
testCov(Matrix testValues,
Matrix expectedValues,
double percentage,
double zeroThreshold)
Help function to test two Cov Matrices in testSimulation. |
static void |
testEstimation1()
Do a very simple estimation with point2d out of points2d. |
static void |
testEstimation2()
Estimate point3d from line3d. |
static void |
testEstimation3()
Estimate a plane from points3d. |
static void |
testEstimation4()
Estimate a point3d from points3d. |
static void |
testEstimation5()
Estimate a line2d from points2d. |
static void |
testEstimation6()
Estimate a point3d from point3d. |
static void |
testEstimationOfSameType()
Test estimation of points from points, lines from lines, and so on. |
static void |
testEstimationOP()
Test estimation with orthogonal and parallel conditions. |
static void |
testEstimationPlaneOP()
Test estimation of planes with parallel or orthogonal lines. |
static void |
testHomography2D()
Estimate a homography 2D, from points and lines. |
static void |
testHomography3D()
Estimate a homography 3D using points, lines and planes |
static void |
testMotion_3DEstimation()
Test Motion_3D estimation |
static void |
testMotion_3DFewPoints()
Test estimation of a Motion_3D using 6 points |
static void |
testProjectiveCamera()
Test Estimation of projective camera. |
static void |
testProjectiveCameraReal()
Tests Estimation of a ProjectiveCamera with a fixed Situation, that can realy exist. |
static void |
testScaledMotion_3DEstimation()
Test ScaledMotion_3D estimation |
static void |
testScaledMotion_3DFewPoints()
Test estimation of a ScaledMotion_3D using 9 points. |
static void |
testSimulationOfTest()
Simulates an easy test to check cov-matrix |
static void |
testSimulationOfTest2D()
Simulates an easy test to check cov-matrix |
Methods inherited from class junit.framework.TestCase |
countTestCases, getName, run, run, runBare, setName, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EstimationTest()
Method Detail |
public static void testEstimationOfSameType()
public static void testAllConstructorsAsEstimation()
public static void testEstimation1()
public static void testEstimation2()
public static void testEstimation3()
public static void testEstimation4()
public static void testEstimation5()
public static void testEstimation6()
public static void testEstimationOP()
public static void testEstimationPlaneOP()
public static void testHomography2D()
public static void testHomography3D()
public static void testProjectiveCamera()
public static void testProjectiveCameraReal()
public static void testConstraintFulfill()
public static void testConditioningEntity()
public static void testMotion_3DEstimation()
public static void testMotion_3DFewPoints()
public static void testScaledMotion_3DEstimation()
public static void testScaledMotion_3DFewPoints()
public static void testSimulationOfTest()
public static void testSimulationOfTest2D()
public static void conditioningTest()
public static void testConditioningTransformation()
public static boolean compareEntities(Element e1, Element e2, double percentage)
e1
- - entitye2
- - entity to becompared to e1percentage
- - percentage of tolerance accpeted in vector
public static boolean testCov(Matrix testValues, Matrix expectedValues, double percentage, double zeroThreshold)
public static double getNextGaussDist(double mean, double stddev, boolean newstart)
mean
- - meanvaluestddev
- - standard derivationnewstart
- - should a new random object be created?
otherwise the one from the previous call
is reused.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |