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>
36 void VisitState(
const ImageStateImpl<T,D>& isi);
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;
74 #endif // IPLT_ALG_DOCKING_HIGHEST_PEAK_SEARCH_3D_H
std::vector< Peak > PeakList
#define DLLEXPORT_IMG_ALG
HighestPeakSearch3DBase(int max_num_peaks=10, int exclusion_radius=10, Real threshold=0)
Initialization.
PeakList GetPeakList() const
Main "return" function returns a list of Peaks.
void ClearPeakList()
Clears the peak list removing all peaks in the list.
static String GetAlgorithmName()
class encapsulating 1D to 3D point
ImageStateNonModAlgorithm< HighestPeakSearch3DBase > HighestPeakSearch3D
#define OST_IMG_ALG_EXPLICIT_INST_DECL(c, t)