Definition at line 134 of file HoughSeedFinderAlg.cxx.
This is used to sort "Hough Clusters" by the maximum entries in a bin.
Definition at line 139 of file HoughSeedFinderAlg.cxx.
HoughSeedFinderAlg::RhoThetaAccumulatorBinMap & m_accMap
Definition at line 142 of file HoughSeedFinderAlg.cxx.
References util::size().
145 size_t peakCountLeft(0);
146 size_t peakCountRight(0);
148 for (
const auto& binIndex :
left)
149 peakCountLeft = std::max(peakCountLeft,
m_accMap[binIndex].getAccumulatorValues().
size());
150 for (
const auto& binIndex :
right)
151 peakCountRight = std::max(peakCountRight,
m_accMap[binIndex].getAccumulatorValues().
size());
153 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: