1 #ifndef OST_IMG_ALG_HIGHEST_PEAK_SEARCH_3D_H
2 #define OST_IMG_ALG_HIGHEST_PEAK_SEARCH_3D_H
11 namespace ost {
namespace img {
namespace alg {
27 int exclusion_radius=10,
29 max_num_peaks_(max_num_peaks),
30 exclusion_radius_(exclusion_radius),
35 template <
typename T,
class D>
48 typedef std::vector<Extent> ExtList;
51 int exclusion_radius_;
56 bool is_excluded(
const Point& p)
58 for(ExtList::const_iterator it=ext_list_.begin();it!=ext_list_.end();++it)
60 if(it->Contains(p))
return true;
class encapsulating 1D to 3D point
PeakList GetPeakList() const
Main "return" function returns a list of Peaks.
void ClearPeakList()
Clears the peak list removing all peaks in the list.
void VisitState(const ImageStateImpl< T, D > &isi)
image state algorithm interface
HighestPeakSearch3DBase(int max_num_peaks=10, int exclusion_radius=10, Real threshold=0)
Initialization.
static String GetAlgorithmName()
non-modifying image state visitor plus non-mod algorithm
#define DLLEXPORT_IMG_ALG
#define OST_IMG_ALG_EXPLICIT_INST_DECL(c, t)
ImageStateNonModAlgorithm< HighestPeakSearch3DBase > HighestPeakSearch3D
std::vector< Peak > PeakList