LO-RANSAC Algorithm

 

matlab compiler loransac, lapack

 

It has been linked error mex ranH.c.

The original mex When you compile multiple files to put all the C files are listed. Command is as follows:

 mex loransacH.mex.c ranH.c utools.c Htools.c lapwrap.c matutl.c 
rtools.c -I'D:\lapack\headers\lapack' -L'D:\lapack' -
lcbia.lib.lapack.dyn.rel.x64.12.lib -lcbia.lib.blas.dyn.rel.x64.12.lib

 

In linux, links lapack-3-6-0,

1、makefile

#lib: lapacklib tmglib
lib: blaslib variants lapacklib tmglib

2, execution

./lapack_testing.py
the make: execvp: ./lapack_testing.py: enough authority
make: *** [lapack_testing] Error 127

 chmod +x lapack_testing.py

3 continue to make

4, make the finished liblapack.a, libblas.a, libtmglib.a rename: lapack.a, blas.a, tmglib.a.

5, mex command:

 mex loransacH.mex.c ranH.c utools.c Htools.c lapwrap.c matutl.c rtools.c -L'/home/pengshengfeng/mproject/lapack-3.6.0' -llapack -lblas 

If there is no fourth step: the error occurs, and the other may have been installed with the library name, or other reasons, because of being not very familiar with linux, it could be other reasons.

/usr/bin/ld: cannot find -libtmglib
/usr/bin/ld: cannot find -librefblas

 

 

 

LO-RANSAC Algorithm

The locally optimized RANSAC adds an optimization step after the verification phase, if a so-far-the-best model is found.

Speeding up Local Optimization

To reduce the time consumption, introducing a limit on the number of inliers that participate in estimation of model M' parameters. The precision of the estimated model will not be affected.

Published 71 original articles · won praise 104 · views 160 000 +

Guess you like

Origin blog.csdn.net/Darlingqiang/article/details/80736777