![]() |
Visual Servoing Platform
version 3.6.1 under development (2025-02-17)
|
#include <visp3/rbt/vpColorHistogramMask.h>
Public Member Functions | |
vpColorHistogramMask () | |
virtual | ~vpColorHistogramMask ()=default |
void | updateMask (const vpRBFeatureTrackerInput &frame, const vpRBFeatureTrackerInput &previousFrame, vpImage< float > &mask) VP_OVERRIDE |
void | loadJsonConfiguration (const nlohmann::json &json) VP_OVERRIDE |
virtual void | display (const vpImage< float > &mask, vpImage< unsigned char > &Imask) const |
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.
Definition at line 56 of file vpColorHistogramMask.h.
BEGIN_VISP_NAMESPACE vpColorHistogramMask::vpColorHistogramMask | ( | ) |
Definition at line 41 of file vpColorHistogramMask.cpp.
|
virtualdefault |
|
virtualinherited |
Definition at line 37 of file vpObjectMask.cpp.
References vpImage< Type >::bitmap, vpException::dimensionError, and vpImage< Type >::getSize().
|
inline |
Definition at line 96 of file vpColorHistogramMask.h.
|
inline |
Definition at line 78 of file vpColorHistogramMask.h.
|
inline |
Definition at line 87 of file vpColorHistogramMask.h.
|
inline |
Definition at line 105 of file vpColorHistogramMask.h.
|
virtual |
Implements vpObjectMask.
Definition at line 135 of file vpColorHistogramMask.cpp.
References setBinNumber().
|
inline |
Definition at line 97 of file vpColorHistogramMask.h.
References vpException::badValue.
|
inline |
Definition at line 70 of file vpColorHistogramMask.h.
Referenced by loadJsonConfiguration().
|
inline |
Definition at line 106 of file vpColorHistogramMask.h.
|
inline |
Definition at line 79 of file vpColorHistogramMask.h.
References vpException::badValue.
|
inline |
Definition at line 88 of file vpColorHistogramMask.h.
References vpException::badValue.
|
virtual |
Implements vpObjectMask.
Definition at line 43 of file vpColorHistogramMask.cpp.
References vpImage< Type >::bitmap, vpRBRenderData::boundingBox, vpColorHistogram::computeProbas(), vpColorHistogram::computeSplitHistograms(), vpRBRenderData::depth, vpRBFeatureTrackerInput::depth, vpRect::getBottom(), vpImage< Type >::getHeight(), vpRect::getLeft(), vpColorHistogram::getNumPixels(), vpRect::getRight(), vpImage< Type >::getSize(), vpRect::getTop(), vpImage< Type >::getWidth(), vpRBFeatureTrackerInput::IRGB, vpColorHistogram::merge(), vpRBFeatureTrackerInput::renders, and vpImage< Type >::resize().