danini / graph-cut-ransac

The Graph-Cut RANSAC algorithm proposed in paper: Daniel Barath and Jiri Matas; Graph-Cut RANSAC, Conference on Computer Vision and Pattern Recognition, 2018. It is available at http://openaccess.thecvf.com/content_cvpr_2018/papers/Barath_Graph-Cut_RANSAC_CVPR_2018_paper.pdf
Other
431 stars 93 forks source link

problem #1

Closed zzxp closed 6 years ago

zzxp commented 6 years ago

when I run your code with Visual studio 2015 and opencv 3,41,some problems happen,and I do not know how to solve them,could you tell me your Operating platform?

danini commented 6 years ago

Hey! Have you solved it in the meantime? It should work with it, what is the error message?

zzxp commented 6 years ago

void rpoly_ak1(double op[MDP1], int* Degree, double zeror[MAXDEGREE], double zeroi[MAXDEGREE]){ int i, j, jj, l, N, NM1, NN, NZ, zerok; error:”MDP1“ Undeclared identifier “MAXDEGREE”Undeclared identifier

danini commented 6 years ago

There should be these lines in the header file ("Rpoly.h"):

define MAXDEGREE 100

define MDP1 MAXDEGREE+1

zzxp commented 6 years ago

1