![]() |
Visual Servoing Platform version 3.7.0
|
#include <vpColorHistogramMask.h>
Public Member Functions | |
| vpColorHistogramMask () | |
| virtual | ~vpColorHistogramMask ()=default |
| void | updateMask (const vpRBFeatureTrackerInput &frame, const vpRBFeatureTrackerInput &previousFrame, vpImage< float > &mask) VP_OVERRIDE |
| void | display (const vpImage< float > &mask, vpImage< unsigned char > &Imask) const VP_OVERRIDE |
| virtual void | reset () VP_OVERRIDE |
| void | loadJsonConfiguration (const nlohmann::json &json) VP_OVERRIDE |
Histogram settings | |
| void | setBinNumber (unsigned int N) |
| float | getDepthErrorTolerance () const |
| void | setDepthErrorTolerance (float errorMax) |
| float | getObjectUpdateRate () const |
| void | setObjectUpdateRate (float updateRate) |
| float | getBackgroundUpdateRate () const |
| void | setBackgroundUpdateRate (float updateRate) |
| bool | isComputedOnlyOnBoundingBox () const |
| void | setComputeOnlyOnBoundingBox (bool bbOnly) |
A color histogram based segmentation algorithm.
Tutorials
If you want to have an in-depth presentation of the Render-Based Tracker (RBT), you may have a look at:
Definition at line 64 of file vpColorHistogramMask.h.
| vpColorHistogramMask::vpColorHistogramMask | ( | ) |
Definition at line 85 of file vpColorHistogramMask.cpp.
|
virtualdefault |
|
inlinevirtual |
Reimplemented from vpObjectMask.
Definition at line 122 of file vpColorHistogramMask.h.
References vpRGBa::A, vpRGBa::B, vpObjectMask::display(), vpDisplay::displayCircle(), vpDisplay::displayText(), vpRGBa::G, vpRGBa::R, and vpColor::red.
|
inline |
Definition at line 104 of file vpColorHistogramMask.h.
|
inline |
Definition at line 86 of file vpColorHistogramMask.h.
|
inline |
Definition at line 95 of file vpColorHistogramMask.h.
|
inline |
Definition at line 113 of file vpColorHistogramMask.h.
|
virtual |
Implements vpObjectMask.
Definition at line 175 of file vpColorHistogramMask.cpp.
References setBinNumber().
|
inlinevirtual |
Reimplemented from vpObjectMask.
Definition at line 155 of file vpColorHistogramMask.h.
References setBinNumber().
|
inline |
Definition at line 105 of file vpColorHistogramMask.h.
References vpException::badValue.
|
inline |
Definition at line 78 of file vpColorHistogramMask.h.
Referenced by loadJsonConfiguration(), and reset().
|
inline |
Definition at line 114 of file vpColorHistogramMask.h.
|
inline |
Definition at line 87 of file vpColorHistogramMask.h.
References vpException::badValue.
|
inline |
Definition at line 96 of file vpColorHistogramMask.h.
References vpException::badValue.
|
virtual |
Implements vpObjectMask.
Definition at line 87 of file vpColorHistogramMask.cpp.
References vpImage< Type >::bitmap, vpRBRenderData::boundingBox, vpColorHistogram::computeSplitHistograms(), vpRBFeatureTrackerInput::depth, vpRBRenderData::depth, vpRect::getBottom(), vpImage< Type >::getHeight(), vpRect::getLeft(), vpRect::getRight(), vpImage< Type >::getSize(), vpRect::getTop(), vpImage< Type >::getWidth(), vpRBFeatureTrackerInput::IRGB, vpRBFeatureTrackerInput::renders, and vpImage< Type >::resize().