parent
ec866c5acd
commit
d227079753
10 changed files with 472 additions and 38 deletions
@ -0,0 +1,223 @@ |
||||
package org.opencv.test.calib3d; |
||||
|
||||
import org.opencv.test.OpenCVTestCase; |
||||
|
||||
public class calib3dTest extends OpenCVTestCase { |
||||
|
||||
public void testComposeRTMatMatMatMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testComposeRTMatMatMatMatMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testComposeRTMatMatMatMatMatMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testComposeRTMatMatMatMatMatMatMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testComposeRTMatMatMatMatMatMatMatMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testComposeRTMatMatMatMatMatMatMatMatMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testComposeRTMatMatMatMatMatMatMatMatMatMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testComposeRTMatMatMatMatMatMatMatMatMatMatMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testComposeRTMatMatMatMatMatMatMatMatMatMatMatMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testConvertPointsFromHomogeneous() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testConvertPointsToHomogeneous() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testDecomposeProjectionMatrixMatMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testDecomposeProjectionMatrixMatMatMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testDecomposeProjectionMatrixMatMatMatMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testDecomposeProjectionMatrixMatMatMatMatMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testDecomposeProjectionMatrixMatMatMatMatMatMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testDrawChessboardCorners() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testEstimateAffine3DMatMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testEstimateAffine3DMatMatMatMatDouble() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testEstimateAffine3DMatMatMatMatDoubleDouble() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testFilterSpecklesMatDoubleIntDouble() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testFilterSpecklesMatDoubleIntDoubleMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testFindChessboardCornersMatSizeMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testFindChessboardCornersMatSizeMatInt() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testFindFundamentalMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testFindFundamentalMatMatMatInt() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testFindFundamentalMatMatMatIntDouble() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testFindFundamentalMatMatMatIntDoubleDouble() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testFindFundamentalMatMatMatIntDoubleDoubleMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testFindHomographyMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testFindHomographyMatMatInt() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testFindHomographyMatMatIntDouble() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testFindHomographyMatMatIntDoubleMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testMatMulDeriv() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testProjectPointsMatMatMatMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testProjectPointsMatMatMatMatMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testProjectPointsMatMatMatMatMatMatMatDouble() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testReprojectImageTo3DMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testReprojectImageTo3DMatMatMatBoolean() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testReprojectImageTo3DMatMatMatBooleanInt() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testRodriguesMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testRodriguesMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testSolvePnPMatMatMatMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testSolvePnPMatMatMatMatMatMatBoolean() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testSolvePnPRansacMatMatMatMatMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testSolvePnPRansacMatMatMatMatMatMatBoolean() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testSolvePnPRansacMatMatMatMatMatMatBooleanInt() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testSolvePnPRansacMatMatMatMatMatMatBooleanIntFloat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testSolvePnPRansacMatMatMatMatMatMatBooleanIntFloatInt() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testSolvePnPRansacMatMatMatMatMatMatBooleanIntFloatIntMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testStereoRectifyUncalibratedMatMatMatSizeMatMat() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testStereoRectifyUncalibratedMatMatMatSizeMatMatDouble() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testValidateDisparityMatMatIntInt() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
public void testValidateDisparityMatMatIntIntInt() { |
||||
fail("Not yet implemented"); |
||||
} |
||||
|
||||
} |
@ -0,0 +1,57 @@ |
||||
package org.opencv.test.features2d; |
||||
|
||||
import org.opencv.features2d.KeyPoint; |
||||
import org.opencv.test.OpenCVTestCase; |
||||
|
||||
public class KeyPointTest extends OpenCVTestCase { |
||||
|
||||
private KeyPoint keyPoint; |
||||
private float x; |
||||
private float y; |
||||
private float size; |
||||
|
||||
@Override |
||||
protected void setUp() throws Exception { |
||||
super.setUp(); |
||||
|
||||
keyPoint = null; |
||||
x = 1.0f; |
||||
y = 2.0f; |
||||
size = 3.0f; |
||||
} |
||||
|
||||
public void test_1() { |
||||
super.test_1("FEATURES2D.KeyPoint"); |
||||
} |
||||
|
||||
public void testKeyPoint() { |
||||
keyPoint = new KeyPoint(); |
||||
assertTrue(null != keyPoint); |
||||
} |
||||
|
||||
public void testKeyPointFloatFloatFloat() { |
||||
keyPoint = new KeyPoint(x, y, size); |
||||
assertTrue(null != keyPoint); |
||||
} |
||||
|
||||
public void testKeyPointFloatFloatFloatFloat() { |
||||
keyPoint = new KeyPoint(x, y, size, 10.0f); |
||||
assertTrue(null != keyPoint); |
||||
} |
||||
|
||||
public void testKeyPointFloatFloatFloatFloatFloat() { |
||||
keyPoint = new KeyPoint(x, y, size, 1.0f, 1.0f); |
||||
assertTrue(null != keyPoint); |
||||
} |
||||
|
||||
public void testKeyPointFloatFloatFloatFloatFloatInt() { |
||||
keyPoint = new KeyPoint(x, y, size, 1.0f, 1.0f, 1); |
||||
assertTrue(null != keyPoint); |
||||
} |
||||
|
||||
public void testKeyPointFloatFloatFloatFloatFloatIntInt() { |
||||
keyPoint = new KeyPoint(x, y, size, 1.0f, 1.0f, 1, 1); |
||||
assertTrue(null != keyPoint); |
||||
} |
||||
|
||||
} |
@ -0,0 +1,31 @@ |
||||
package org.opencv.test.features2d; |
||||
|
||||
import org.opencv.features2d.MSER; |
||||
import org.opencv.test.OpenCVTestCase; |
||||
|
||||
public class MSERTest extends OpenCVTestCase { |
||||
|
||||
private MSER mser; |
||||
|
||||
@Override |
||||
protected void setUp() throws Exception { |
||||
super.setUp(); |
||||
|
||||
mser = null; |
||||
} |
||||
|
||||
public void test_1() { |
||||
super.test_1("FEATURES2D.MSER"); |
||||
} |
||||
|
||||
public void testMSER() { |
||||
mser = new MSER(); |
||||
assertTrue(null != mser); |
||||
} |
||||
|
||||
public void testMSERIntIntIntDoubleDoubleIntDoubleDoubleInt() { |
||||
mser = new MSER(5, 60, 14400, .25f, .2f, 200, 1.01, .003, 5); |
||||
assertTrue(null != mser); |
||||
} |
||||
|
||||
} |
@ -0,0 +1,58 @@ |
||||
package org.opencv.test.features2d; |
||||
|
||||
import org.opencv.features2d.SURF; |
||||
import org.opencv.test.OpenCVTestCase; |
||||
|
||||
public class SURFTest extends OpenCVTestCase { |
||||
|
||||
private SURF surf; |
||||
|
||||
@Override |
||||
protected void setUp() throws Exception { |
||||
super.setUp(); |
||||
|
||||
surf = null; |
||||
} |
||||
|
||||
public void test_1() { |
||||
super.test_1("FEATURES2D.SURF"); |
||||
} |
||||
|
||||
public void testDescriptorSize() { |
||||
surf = new SURF(500.0, 4, 2, false); |
||||
assertEquals(64, surf.descriptorSize()); |
||||
|
||||
surf = new SURF(500.0, 4, 2, true); |
||||
assertEquals(128, surf.descriptorSize()); |
||||
} |
||||
|
||||
public void testSURF() { |
||||
surf = new SURF(); |
||||
assertTrue(null != surf); |
||||
} |
||||
|
||||
public void testSURFDouble() { |
||||
surf = new SURF(500.0); |
||||
assertTrue(null != surf); |
||||
} |
||||
|
||||
public void testSURFDoubleInt() { |
||||
surf = new SURF(500.0, 4); |
||||
assertTrue(null != surf); |
||||
} |
||||
|
||||
public void testSURFDoubleIntInt() { |
||||
surf = new SURF(500.0, 4, 2); |
||||
assertTrue(null != surf); |
||||
} |
||||
|
||||
public void testSURFDoubleIntIntBoolean() { |
||||
|
||||
} |
||||
|
||||
public void testSURFDoubleIntIntBooleanBoolean() { |
||||
surf = new SURF(500.0, 4, 2, false, false); |
||||
assertTrue(null != surf); |
||||
} |
||||
|
||||
} |
@ -0,0 +1,31 @@ |
||||
package org.opencv.test.features2d; |
||||
|
||||
import org.opencv.features2d.StarDetector; |
||||
import org.opencv.test.OpenCVTestCase; |
||||
|
||||
public class StarDetectorTest extends OpenCVTestCase { |
||||
|
||||
private StarDetector star; |
||||
|
||||
@Override |
||||
protected void setUp() throws Exception { |
||||
super.setUp(); |
||||
|
||||
star = null; |
||||
} |
||||
|
||||
public void test_1() { |
||||
super.test_1("FEATURES2D.StarDetector"); |
||||
} |
||||
|
||||
public void testStarDetector() { |
||||
star = new StarDetector(); |
||||
assertTrue(null != star); |
||||
} |
||||
|
||||
public void testStarDetectorIntIntIntIntInt() { |
||||
star = new StarDetector(45, 30, 10, 8, 5); |
||||
assertTrue(null != star); |
||||
} |
||||
|
||||
} |
Loading…
Reference in new issue