1 #ifndef __BLOBDETECTOR_CCA_HH__
2 #define __BLOBDETECTOR_CCA_HH__
4 #include <Base/Image/Image.hh>
5 #include <Base/Math/Vector2.hh>
6 #include <Filter/Label.hh>
7 #include "BlobDetectorBase.hh"
23 template <
class StorageType>
44 std::vector<BIAS::BIASBlob>& blobs);
77 bNeighborHood4_ = neighborhoud4;
87 bool neighborHood4=
true);
94 std::vector<std::vector<BIAS::Vector2<int> > >
allBlobs_;
102 #endif //_BLOBDETECTOR_CCA_HH__
std::vector< std::vector< BIAS::Vector2< int > > > allBlobs_
purly virtual interface defining class for blob detectors
The image template class for specific storage types.
void SetPercent(float percent)
does a connected component analysis and labels all connected regions
Does a Connected Component Analyis and gives information about regions in an image, like centroid and bounding boxes.
void SetNeighborhoud4(bool neighborhoud4)
If neighborHood4, then a max of 255 regions is possible, if there are more it results in undefined be...