Fixed estimation Hessian matrix eigenvalue in getRidgeFilteredImage()

pull/1547/head
Vitaly Tuzov 7 years ago
parent 670acd99f9
commit 5e7035b39b
  1. 2
      modules/ximgproc/src/ridgedetectionfilter.cpp

@ -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;

Loading…
Cancel
Save