Skip to content

Commit

Permalink
Merge pull request #1727 from kushalvyas:rdf_refactor1
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Aug 23, 2018
2 parents 39120af + 1612d99 commit 8014fda
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
13 changes: 13 additions & 0 deletions modules/ximgproc/doc/ximgproc.bib
Original file line number Diff line number Diff line change
Expand Up @@ -288,3 +288,16 @@ @article{PersoonFu1977
year={1977},
publisher={IEEE Computer Society}
}

@misc{Segleafvein,
title = {Best Way of Segmenting Veins in Leaves.},
author = {Niki Estner},
url = {https://dsp.stackexchange.com/a/1735}
}

@misc{M_RF,
title = {Ridge Filter Mathematica},
author = {Wolfram Mathematica},
url = {http://reference.wolfram.com/language/ref/RidgeFilter.html}

}
4 changes: 3 additions & 1 deletion modules/ximgproc/include/opencv2/ximgproc/ridgefilter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/*
Ridge Detection Filter.
OpenCV port by : Kushal Vyas (@kushalvyas), Venkatesh Vijaykumar(@venkateshvijaykumar)
Adapted from Niki Estner's explaination of RidgeFilter.
*/

#ifndef __OPENCV_XIMGPROC_RIDGEFILTER_HPP__
Expand All @@ -20,7 +21,8 @@ namespace cv { namespace ximgproc {
/** @brief Applies Ridge Detection Filter to an input image.
Implements Ridge detection similar to the one in [Mathematica](http://reference.wolfram.com/language/ref/RidgeFilter.html)
using the eigen values from the Hessian Matrix of the input image using Sobel Derivatives.
Additional refinement can be done using Skeletonization and Binarization.
Additional refinement can be done using Skeletonization and Binarization. Adapted from @cite segleafvein and @cite M_RF
*/
class CV_EXPORTS_W RidgeDetectionFilter : public Algorithm
{
Expand Down

0 comments on commit 8014fda

Please sign in to comment.