1 #ifndef __BLOBDETECTOR_LEVELSET_HH__
2 #define __BLOBDETECTOR_LEVELSET_HH__
5 #include <Base/Image/Image.hh>
6 #include <Base/Math/Vector2.hh>
7 #include "BlobDetectorBase.hh"
34 template <
class StorageType>
44 std::vector<BIAS::BIASBlob>& blobs);
94 { BIASASSERT( eval_ownsdata_ ==
true );
return eval_; }
115 std::vector<int> GetHistogram(
int hist);
128 const int w,
const int h);
129 static void ClearHistogram(
int hist[]);
130 void ClearHistograms();
131 void RecalcHistograms();
144 #endif // __BLOBDETECTOR_LEVELSET_HH__
const BIAS::Image< StorageType > * image_
const BIAS::Image< StorageType > & GetImage() const
returns reference of currently used image
BIAS::Image< StorageType > * level_
purly virtual interface defining class for blob detectors
Evaluates a segementation into fore/back-ground.
BIAS::Image< StorageType > eval_
The image template class for specific storage types.
const BIAS::Image< StorageType > & GetLevel() const
returns the actual level set, modified each time you call Evolute()
BIAS::Image< StorageType > & GetLevel()
returns the actual level set, modified each time you call Evolute(), (is allowed to be modified)...
BIAS::Image< StorageType > & GetEval()
returns (roi) msk (the evaluation array) as an image (is allowed to be modified, iff image's roi is n...
BIAS::Image< StorageType > * level_s_
const BIAS::Image< StorageType > & GetEval() const
returns (roi) msk (the evaluation array) as an image