Home

Awesome

###################################################################

CrackForest V1.0

Limeng Cui (lmcui932-at-163.com)

###################################################################

1.Introduction.

CrackForest is a fast road crack detector that achieves excellent accuracy.

Part of the Matlab code is supported on Piotr Dollar’s Structured Edge Detection Toolbox (https://github.com/pdollar/edges).

If you use the Structured Edge Detection Toolbox, we appreciate it if you cite an appropriate subset of the following papers:

@article{shi2016automatic,<br />   title={Automatic road crack detection using random structured forests},<br />   author={Shi, Yong and Cui, Limeng and Qi, Zhiquan and Meng, Fan and Chen, Zhensong},<br />   journal={IEEE Transactions on Intelligent Transportation Systems},<br />   volume={17},<br />   number={12},<br />   pages={3434--3445},<br />   year={2016},<br />   publisher={IEEE}<br /> }

@inproceedings{cui2015pavement,<br />   title={Pavement Distress Detection Using Random Decision Forests},<br />   author={Cui, Limeng and Qi, Zhiquan and Chen, Zhensong and Meng, Fan and Shi, Yong},<br />   booktitle={International Conference on Data Science},<br />   pages={95--102},<br />   year={2015},<br />   organization={Springer}<br /> }

###################################################################

2.License.

The software is made available for non-commercial research purposes only.

###################################################################

3.Installation.

a) This code is written for the Matlab interpreter (tested with versions R2014b) and requires the Matlab Image Processing Toolbox.

b) Additionally, Piotr’s Computer Vision Toolbox (version 3.26 or later) is also required. It can be downloaded at:

 https://pdollar.github.io/toolbox/.

c) Next, please compile mex code from within Matlab (note: win64/linux64 binaries included):

  mex private/edgesDetectMex.cpp -outdir private [OMPPARAMS]

  mex private/edgesNmsMex.cpp -outdir private [OMPPARAMS]

  mex private/spDetectMex.cpp -outdir private [OMPPARAMS]

  mex private/edgeBoxesMex.cpp -outdir private

Here [OMPPARAMS] are parameters for OpenMP and are OS and compiler dependent.

  Windows: [OMPPARAMS] = '-DUSEOMP' 'OPTIMFLAGS="$OPTIMFLAGS' '/openmp"'

  Linux V1: [OMPPARAMS] = '-DUSEOMP' CFLAGS="$CFLAGS -fopenmp" LDFLAGS="$LDFLAGS -fopenmp"

  Linux V2: [OMPPARAMS] = '-DUSEOMP' CXXFLAGS="$CXXFLAGS -fopenmp" LDFLAGS="$LDFLAGS -fopenmp"

To compile without OpenMP simply omit [OMPPARAMS]; note that code will be single threaded in this case.

d) Add crack detection code to Matlab path (change to current directory first):

>> addpath(pwd); savepath;

e) Finally, optionally download the crack image dataset (necessary for training/evaluation):

 https://github.com/cuilimeng/CrackForest-dataset

f) A fully trained crack model for RGB images is available as part of this release.

###################################################################

4.Getting Started.

###################################################################

5.History.

Version 1.0 (2015/09/28)

###################################################################