提交 34896529 编写于 作者: A Alexander Smorkalov

Review comments applied.

上级 b0106ca2
......@@ -79,19 +79,7 @@ public class SIFTDescriptorExtractorTest extends OpenCVTestCase {
}
public void testRead() {
MatOfKeyPoint keypoints = new MatOfKeyPoint(keypoint);
Mat img = getTestImg();
Mat descriptors = new Mat();
String filename = OpenCVTestRunner.getTempFileName("yml");
writeFile(filename,
"%YAML:1.0\nname: \"Feature2D.SIFT\"\ncontrastThreshold: 0.01\nedgeThreshold: 200\nnFeatures: 0\nsigma: 1.6\n");
extractor.read(filename);
extractor.compute(img, keypoints, descriptors);
assertMatEqual(truth, descriptors, EPS);
fail("Not yet implemented");
}
public void testWrite() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册