8 #ifndef BLOBDETECTORDOM_HH_
9 #define BLOBDETECTORDOM_HH_
12 #include <bias_config.h>
14 #include <Base/Math/Vector2.hh>
15 #include <Base/Image/Image.hh>
16 #include <Base/Geometry/HomgPoint2D.hh>
17 #include "BlobDetectorBase.hh"
33 template <
class StorageType>
71 void SetThreshold(
float threshold);
80 void SetCabin(
int cabinsPerAxis,
int maxPopulation);
87 void SetMinSize(
unsigned int minSize);
93 void SetMaxSize(
unsigned int maxSize);
101 void GetBlobsAsHomgPoint2D(std::vector<HomgPoint2D> &blobs, std::vector<float> &qual_vec);
111 void SetSeedGenerationParams(
unsigned int minSeedSize,
112 unsigned int maxSeedSize,
113 unsigned int seedSizeStep);
115 float GetAbsoluteDOM(
int x,
int y,
int halfLevelSize);
121 void GenerateAndOptimize(std::vector<HomgPoint2D> &pos_vec, std::vector<float> &qual_vec);
122 HomgPoint2D GetLocalMaximum(
int x,
int y,
int halfLevelSize);
124 float GetDOM(
int x,
int y,
int halfLevelSize);
144 double EvalIntegralImage(
int xA,
int yA,
int xB,
int yB);
unsigned int seedSizeStep_
unsigned int similarityThreshold_
class HomgPoint2D describes a point with 2 degrees of freedom in projective coordinates.
unsigned int minSeedSize_
std::vector< HomgPoint2D > generatedBlobs_
purly virtual interface defining class for blob detectors
The image template class for specific storage types.
std::vector< float > blobQualityVec_
unsigned int maximumBinPopulation_
unsigned int maxSeedSize_
Blob detector for 'Difference Of Means'-blobs (so this is not a binary blob detector).
unsigned int minBlobSize_
unsigned int numberOfBins_
unsigned int maxBlobSize_