![]() |
Visual Servoing Platform version 3.7.0
|
#include <vpCombinedDepthAndColorMask.h>
Public Member Functions | |
| vpCombinedDepthAndColorMask () | |
| virtual | ~vpCombinedDepthAndColorMask ()=default |
| void | updateMask (const vpRBFeatureTrackerInput &frame, const vpRBFeatureTrackerInput &previousFrame, vpImage< float > &mask) VP_OVERRIDE |
| virtual void | reset () VP_OVERRIDE |
| void | loadJsonConfiguration (const nlohmann::json &json) VP_OVERRIDE |
| virtual void | display (const vpImage< float > &mask, vpImage< unsigned char > &Imask) const |
An segmentation method based on combining masks that are separately computed on depth and color modalities. The final computed probability of a pixel is the minimum of the probabilities computed from either modalities.
Definition at line 60 of file vpCombinedDepthAndColorMask.h.
|
inline |
Definition at line 63 of file vpCombinedDepthAndColorMask.h.
|
virtualdefault |
|
virtualinherited |
Reimplemented in vpColorHistogramMask.
Definition at line 37 of file vpObjectMask.cpp.
References vpImage< Type >::bitmap, vpException::dimensionError, vpDisplay::display(), and vpImage< Type >::getSize().
Referenced by vpColorHistogramMask::display().
|
virtual |
Implements vpObjectMask.
Definition at line 82 of file vpCombinedDepthAndColorMask.cpp.
|
inlinevirtual |
Reimplemented from vpObjectMask.
Definition at line 70 of file vpCombinedDepthAndColorMask.h.
|
virtual |
Implements vpObjectMask.
Definition at line 42 of file vpCombinedDepthAndColorMask.cpp.
References vpImage< Type >::bitmap, vpRBRenderData::boundingBox, vpRect::getBottom(), vpRect::getLeft(), vpRect::getRight(), vpRect::getTop(), vpRBFeatureTrackerInput::renders, and vpImage< Type >::resize().