Skip to content

whitelok/fast-directional-chamfer-matching

Repository files navigation

fast-directional-chamfer-matching

An optimized chamfer matching algorithm from FastDirectionalChamferMatching. FastDirectionalChamferMatching 模式匹配算法库

Original algorithm

@inproceedings{liu_cvpr2010,
    title = {Fast Directional Chamfer Matching},
    author = {Ming-Yu Liu and Oncel Tuzel and Ashok Veeraraghavan and Rama Chellappa},
    booktitle = {Proc. IEEE Conf. on Computer Vision and Pattern Recognition},
    year = {2010},
    publisher = {IEEE Computer Society}
}

Different from original

  • Fixed build error in make.m on Unix/Linux

  • Fixed headers name error

  • TO DO make this libs can be invoke in human way.

Run Demo

# if you are not in Windows or OSX, please run make first
main

Using with your own image

// in main.m

// wins is the box of the matching result in original image
wins = FDCMChamferDetect(templateImgPath, matchingTargetImgPath, saveImgPath)

About

An optimized chamfer matching algorithm from FastDirectionalChamferMatching. FastDirectionalChamferMatching 模式匹配算法库

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published