Merge pull request #1547 from terfendail:ridge_fix

pull/1549/head
Alexander Alekhin 7 years ago committed by GitHub
commit 4cb11f23e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/ximgproc/src/ridgedetectionfilter.cpp

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

Loading…
Cancel
Save