Ask Your Question

Revision history [back]

No problem with VS2015 (and modification). I run program in release ( or in debug) with this arguments

g:/lib/opencv_contrib/modules/surface_matching/samples/data/parasaurolophus_6700.ply g:/lib/opencv_contrib/modules/surface_matching/samples/data/parasaurolophus_low_normals2.ply

Results are :

****************************************************
* Surface Matching demonstration : demonstrates the use of surface matching using point pair features.
* The sample loads a model and a scene, where the model lies in a different pose than the training.
* It then trains the model and searches for it in the input scene. The detected poses are further refined by ICP
* and printed to the  standard output.
****************************************************
Running on 64 bits
Running without OpenMP and without TBB
Training...

Training complete in 14.1909 sec
Loading model...

Starting matching...

PPF Elapsed Time 0.781114 sec
Number of matching poses: 19
Performing ICP on 2 poses...

ICP Elapsed Time 0.650314 sec
Poses:
Pose Result 0

-- Pose to Model Index 67: NumVotes = 954, Residual = 0.002882
1.000000 0.000050 -0.000096 -0.059459
-0.000050 1.000000 0.000053 0.038520
0.000096 -0.000053 1.000000 -0.007783
0.000000 0.000000 0.000000 1.000000

Pose Result 1

-- Pose to Model Index 225: NumVotes = 682, Residual = 0.002831
1.000000 0.000049 -0.000090 -0.057513
-0.000049 1.000000 0.000039 0.027504
0.000090 -0.000039 1.000000 -0.007792
0.000000 0.000000 0.000000 1.000000

Appuyez sur une touche pour continuer...