/DaisyFilterFlow_CVPR2014

This repo would contain the main code of daisy filter flow which is published in CVPR 2014. Please check it later after Aug 2014.

Primary LanguageC++

DaisyFilterFlow_CVPR2014

This repo contains the main code of daisy filter flow which is published in CVPR 2014. Please check it later after Aug 2014.

  • v.1 - Aug 2014
    • A guided filter enabled version is provided.

Paper Website: https://sites.google.com/site/daisyfilterflowcvpr2014/

Usage

  • The essential code is under the code folder
  • For windows user, see sample_executable folder for a sample usage. (Runtime DLLs are included)
  • Please check the CMakeLists.txt file for the programs structure. You can directly generate compatible project using CMake. (Tested only in Windows platform and using Visual Studio for now; but the code should be able to run in Linux or Mac with slight modification).

Parameters Tuning Guideline

  • First of all, please refer to both Daisy Filter Flow and Patchmatch Filter papers for the meaning and strategy of each used parameters.
  • Set superpixels number or size accordingly to image size. Current setting (superpixel size = 300) is good for typical images of 320*240. It's not sensitive but could be important for the converge speed and performance.
  • The parameters related to filtering method should be adjusted for the data, e.g. kernel size, epsl of GF, color tau for CLMF0, CLMF1 (support would be added in the future update), etc.
  • Raw cost function should be noticed: L1 or L2 distance, truncated value, truncated way.
  • The other key parameters has relatively little effect but still should be noticed:
    • Number of associated affinity neighbour superpixels
    • The sampling decreased ratio alpha for scale, orientation, translation
    • The sampling range in scale, orientation
    • About daisy descriptors computing: convolved histogram sampled layers, the way to handling boundary of image, descriptor size, descriptor sampling layers, etc.

Dependency

License

For research and education purpose only. For feedback and bug issues, please send email to yhs@cs.unc.edu.