Skip to content

Commit

Permalink
Update find_ellipses.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
sturkmen72 authored Oct 25, 2024
1 parent 80f1ca2 commit a6ee365
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/ximgproc/src/find_ellipses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1218,9 +1218,10 @@ void EllipseDetectorImpl::getTriplets413(VVP &pi, VVP &pj, VVP &pk,
}
}

void EllipseDetectorImpl::preProcessing(Mat1b &image, Mat1b &dp, Mat1b &dn) {
void EllipseDetectorImpl::preProcessing(Mat1b &src, Mat1b &dp, Mat1b &dn) {
// smooth image
GaussianBlur(image, image, _kernelSize, _sigma);
Mat image;
GaussianBlur(src, image, _kernelSize, _sigma);

// temp variables
Mat1b edges;// edge mask
Expand Down

0 comments on commit a6ee365

Please sign in to comment.