mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-19 02:16:34 +08:00
Fixed estimation Hessian matrix eigenvalue in getRidgeFilteredImage()
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user