Visual Servoing Platform version 3.7.0
Loading...
Searching...
No Matches
vpCombinedDepthAndColorMask Class Reference

#include <vpCombinedDepthAndColorMask.h>

Inheritance diagram for vpCombinedDepthAndColorMask:

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

Detailed Description

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.

Constructor & Destructor Documentation

◆ vpCombinedDepthAndColorMask()

vpCombinedDepthAndColorMask::vpCombinedDepthAndColorMask ( )
inline

Definition at line 63 of file vpCombinedDepthAndColorMask.h.

◆ ~vpCombinedDepthAndColorMask()

virtual vpCombinedDepthAndColorMask::~vpCombinedDepthAndColorMask ( )
virtualdefault

Member Function Documentation

◆ display()

BEGIN_VISP_NAMESPACE void vpObjectMask::display ( const vpImage< float > & mask,
vpImage< unsigned char > & Imask ) const
virtualinherited

◆ loadJsonConfiguration()

void vpCombinedDepthAndColorMask::loadJsonConfiguration ( const nlohmann::json & json)
virtual

Implements vpObjectMask.

Definition at line 82 of file vpCombinedDepthAndColorMask.cpp.

◆ reset()

virtual void vpCombinedDepthAndColorMask::reset ( )
inlinevirtual

Reimplemented from vpObjectMask.

Definition at line 70 of file vpCombinedDepthAndColorMask.h.

◆ updateMask()