52 class NDFinderPeakFinder {
56 c3index phiLowerBound;
57 c3index phiUpperBound;
63 NDFinderPeakFinder() =
default;
66 explicit NDFinderPeakFinder(
const PeakFindingParameters& parameters): m_peakFindingParams(parameters) {}
69 void setNewPlane(c3array& houghSpace) { m_houghSpace = &houghSpace; }
71 std::vector<HoughPeak> findPeaks();
75 std::array<c3index, 2> getSectionBounds(
const unsigned short quadrant,
const unsigned section);
77 void iterateOverSection(
const std::array<c3index, 2>& sectionBounds, std::vector<HoughPeak>& candidatePeaks);
79 HoughPeak getSectionPeak(
const std::array<c3index, 2>& sectionBounds);
81 void deletePeakSurroundings(
const HoughPeak& peak);
83 void clearHoughSpaceRow(
const DeletionBounds& bounds);
85 PeakFindingParameters m_peakFindingParams;
87 c3array* m_houghSpace{0};