Skip to content

Commit

Permalink
[FIX] Remvoed normalization of the Gaussian filters used to compute t…
Browse files Browse the repository at this point in the history
…he gradietns
  • Loading branch information
rlagneau committed Aug 24, 2023
1 parent 7f34041 commit e8325b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/imgproc/src/vpCircleHoughTransform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ void
vpCircleHoughTransform::initGaussianFilters()
{
m_fg.resize(1, (m_algoParams.m_gaussianKernelSize + 1)/2);
vpImageFilter::getGaussianKernel(m_fg.data, m_algoParams.m_gaussianKernelSize, m_algoParams.m_gaussianStdev, true);
vpImageFilter::getGaussianKernel(m_fg.data, m_algoParams.m_gaussianKernelSize, m_algoParams.m_gaussianStdev, false);
m_fgDg.resize(1, (m_algoParams.m_gaussianKernelSize + 1)/2);
vpImageFilter::getGaussianDerivativeKernel(m_fgDg.data, m_algoParams.m_gaussianKernelSize, m_algoParams.m_gaussianStdev, true);
vpImageFilter::getGaussianDerivativeKernel(m_fgDg.data, m_algoParams.m_gaussianKernelSize, m_algoParams.m_gaussianStdev, false);
}

std::vector<vpCircleHoughTransform::vpCircle2D>
Expand Down

0 comments on commit e8325b4

Please sign in to comment.