ReadFramework
rdf::Blobs Class Reference

Blobs class - holds a vector of Blobs and the corresponding image. More...

#include <Blobs.h>

Public Member Functions

 Blobs ()
 Initializes a new instance of the Blobs class. More...
 
bool isEmpty () const
 Determines whether this instance is empty (no blobs). More...
 
bool setImage (const cv::Mat &bWImg)
 Sets the image. More...
 
void deleteBlobs ()
 Deletes the blobs. More...
 
QVector< Blobblobs () const
 Return all blobs. More...
 
void setBlobs (const QVector< Blob > &blobs)
 Sets the blobs. More...
 
cv::Size size () const
 Returns the size of the image. More...
 
bool compute ()
 Computes all blobs of the binary image. More...
 

Detailed Description

Blobs class - holds a vector of Blobs and the corresponding image.

Constructor & Destructor Documentation

rdf::Blobs::Blobs ( )

Initializes a new instance of the Blobs class.

Member Function Documentation

QVector< Blob > rdf::Blobs::blobs ( ) const

Return all blobs.

Returns
The blobs.

Here is the caller graph for this function:

bool rdf::Blobs::compute ( )

Computes all blobs of the binary image.

Returns
True if the blobs could be computed.

Here is the caller graph for this function:

void rdf::Blobs::deleteBlobs ( )

Deletes the blobs.

bool rdf::Blobs::isEmpty ( ) const

Determines whether this instance is empty (no blobs).

Returns
True if the instance is empty.
void rdf::Blobs::setBlobs ( const QVector< Blob > &  blobs)

Sets the blobs.

Parameters
blobsThe blobs.

Here is the caller graph for this function:

bool rdf::Blobs::setImage ( const cv::Mat &  bWImg)

Sets the image.

Parameters
bWImgThe binary img CV_8UC1.
Returns
True if the image could be set.

Here is the caller graph for this function:

cv::Size rdf::Blobs::size ( ) const

Returns the size of the image.

Returns
The size of the image.

Here is the caller graph for this function:


The documentation for this class was generated from the following files: