ducha-aiki / pydegensac

Advanced RANSAC (DEGENSAC) with bells and whistles for H and F estimation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pydegensac.findHomography() Modify

DoongLi opened this issue · comments

Hi, I want to modify the source code of pydegensac.findhomography (), such as modifying Ransac, so that the four pairs are distributed evenly. What should I do?

Modify the sampling process, which is called inside function multirsampleT
https://github.com/ducha-aiki/pydegensac/blob/master/src/pydegensac/degensac/rtools.c#L136

That being said, I would recommend you to do it in some more friendly-written repo, rather than here in low-level C.

Good candidate would be https://github.com/danini/graph-cut-ransac/

Thanks for your advice!I will try.