mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-19 02:16:34 +08:00
Merge pull request #1547 from terfendail:ridge_fix
This commit is contained in:
@@ -57,7 +57,7 @@ void RidgeDetectionFilterImpl::getRidgeFilteredImage(InputArray _img, OutputArra
|
|||||||
multiply(sbxx, sbyy, sbxxyy);
|
multiply(sbxx, sbyy, sbxxyy);
|
||||||
|
|
||||||
Mat rootex;
|
Mat rootex;
|
||||||
rootex = (sb2xx + (sb2xy + sb2xy + sb2xy + sb2xy) - (sbxxyy + sbxxyy) + sb2xy );
|
rootex = (sb2xx + (sb2xy + sb2xy + sb2xy + sb2xy) - (sbxxyy + sbxxyy) + sb2yy );
|
||||||
Mat root;
|
Mat root;
|
||||||
sqrt(rootex, root);
|
sqrt(rootex, root);
|
||||||
Mat ridgexp;
|
Mat ridgexp;
|
||||||
|
Reference in New Issue
Block a user