125 std::vector<BlobPtr> availableBlobs;
Point BotRight() const
Returns a point to the Bottom Right corner of the blob.
BlobPtr LocateMostComplete()
Locates the blob that covers the greatest part of the raster; that is the one who has the largest (He...
Used by the Raster object to identify a distinct blob; where it is in the raster and its unique id...
kkint32 Width()
Number of columns that this blob occupies.
void DeleteEntry(BlobPtr b)
BlobPtr NewBlob(kkuint32 rowTop, kkuint32 colLeft)
unsigned __int32 kkuint32
kkint32 Height()
Number of rows that the blob occupies.
kkint32 ColLeft()
Left most column in the raster object that this blob occupies.
Used by Raster class and MorphOp derived classes to denote a single pixel location in Raster image...
void PushOnBack(BlobPtr blob)
void MergeBlobIds(BlobPtr blob, kkint32 blobId, kkint32 **blobIds)
Used by the Connected component analysis to merge two blobs together.
Point(kkint32 _row, kkint32 _col)
kkint32 RowBot()
Bottom row in the raster object that this blob occupies.
friend std::ostream & operator<<(std::ostream &os, const Matrix &matrix)
Maintains a list of blobs.
Point TopLeft() const
Returns a point to the Top Left corner of the blob.
BlobPtr LocateLargestBlob()
Will return Blob with largest pixel count.
kkint32 PixelCount()
Number of pixels that are part of this blob.
kkint32 RowTop()
Top row in the raster object that this blob occupies.
kkint32 ColRight()
Right most column in the raster object that this blob occupies.
BlobPtr LookUpByBlobId(kkint32 blobId)
Will return pointer to blob with 'blobId'; if not found will return NULL.
kkint32 Id()
The unique ID assigned to this blob.
void InitialzieAsNew(kkint32 _id)
BlobPtr MergeIntoSingleBlob(BlobPtr blob1, kkint32 blob2Id, kkint32 **blobIds)
void PushOnFront(BlobPtr blob)