Definition at line 133 of file HoughSeedFinderAlg.cxx.
This is used to sort "Hough Clusters" by the maximum entries in a bin.
Definition at line 138 of file HoughSeedFinderAlg.cxx.
HoughSeedFinderAlg::RhoThetaAccumulatorBinMap & m_accMap
Definition at line 141 of file HoughSeedFinderAlg.cxx.
References util::size().
144 size_t peakCountLeft(0);
145 size_t peakCountRight(0);
147 for (
const auto& binIndex :
left)
148 peakCountLeft = std::max(peakCountLeft,
m_accMap[binIndex].getAccumulatorValues().
size());
149 for (
const auto& binIndex :
right)
150 peakCountRight = std::max(peakCountRight,
m_accMap[binIndex].getAccumulatorValues().
size());
152 return peakCountLeft > peakCountRight;
constexpr auto const & right(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
HoughSeedFinderAlg::RhoThetaAccumulatorBinMap & m_accMap
constexpr auto const & left(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
The documentation for this class was generated from the following file: