1
0
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:
Alexander Alekhin
2018-02-08 15:03:57 +03:00
committed by GitHub

View File

@@ -57,7 +57,7 @@ void RidgeDetectionFilterImpl::getRidgeFilteredImage(InputArray _img, OutputArra
multiply(sbxx, sbyy, sbxxyy);
Mat rootex;
rootex = (sb2xx + (sb2xy + sb2xy + sb2xy + sb2xy) - (sbxxyy + sbxxyy) + sb2xy );
rootex = (sb2xx + (sb2xy + sb2xy + sb2xy + sb2xy) - (sbxxyy + sbxxyy) + sb2yy );
Mat root;
sqrt(rootex, root);
Mat ridgexp;