Blobs class - holds a vector of Blobs and the corresponding image.
More...
#include <Blobs.h>
Blobs class - holds a vector of Blobs and the corresponding image.
Initializes a new instance of the Blobs class.
QVector< Blob > rdf::Blobs::blobs |
( |
| ) |
const |
Return all blobs.
- Returns
- The blobs.
bool rdf::Blobs::compute |
( |
| ) |
|
Computes all blobs of the binary image.
- Returns
- True if the blobs could be computed.
void rdf::Blobs::deleteBlobs |
( |
| ) |
|
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
-
bool rdf::Blobs::setImage |
( |
const cv::Mat & |
bWImg | ) |
|
Sets the image.
- Parameters
-
bWImg | The binary img CV_8UC1. |
- Returns
- True if the image could be set.
cv::Size rdf::Blobs::size |
( |
| ) |
const |
Returns the size of the image.
- Returns
- The size of the image.
The documentation for this class was generated from the following files: