26 #ifndef __BlobDetectorBase_hh__
27 #define __BlobDetectorBase_hh__
29 #include <bias_config.h>
31 #include <Base/Image/Image.hh>
32 #include <Base/Math/Vector2.hh>
45 BIASBlob(){weight=0; UL[0]=UL[1]=LR[0]=LR[1]=centerofmass[0]=centerofmass[1]=0; };
61 template <
class StorageType>
70 std::vector<BIAS::BIASBlob>& blobs)=0;
75 dMaxNumBlobs_ = maxnum;
95 #endif // __BlobDetectorBase_hh__
BIAS::Vector2< double > LR
int dMaxNumBlobs_
maximum number of corners to return
Helper class to store blob corners.
purly virtual interface defining class for blob detectors
void SetMaxNumBlobs(const int maxnum)
BIAS::Vector2< double > centerofmass
The image template class for specific storage types.
int GetMaxNumBlobs()
return maximum number of blobs