35#ifndef VP_DEPTH_MASK_H
36#define VP_DEPTH_MASK_H
38#include <visp3/core/vpConfig.h>
39#include <visp3/core/vpException.h>
40#include <visp3/rbt/vpObjectMask.h>
41#include <visp3/core/vpDisplay.h>
42#include <visp3/core/vpImage.h>
44#ifdef VISP_HAVE_NLOHMANN_JSON
45#include VISP_NLOHMANN_JSON(json_fwd.hpp)
59 vpDepthMask() : m_minRadiusFactor(0.0), m_falloffSmoothingFactor(0.5), m_computeOnBBOnly(false) { }
66 virtual void reset() VP_OVERRIDE
96 m_computeOnBBOnly = bbOnly;
100#if defined(VISP_HAVE_NLOHMANN_JSON)
105 double m_minRadiusFactor;
106 double m_falloffSmoothingFactor;
107 bool m_computeOnBBOnly;
void setComputeOnlyOnBoundingBox(bool bbOnly)
double getFalloffRadiusFactor() const
Get the Falloff smoothing factor (of the depth range) strength of the depth probability distribution....
void setMinRadiusMeters(double minRadius)
virtual void reset() VP_OVERRIDE
double getMinRadiusFactor() const
Retrieve the value of the minimum depth tolerated error. It is expressed as a factor of the object's ...
virtual ~vpDepthMask()=default
void setFalloffRadiusFactor(double factor)
bool isComputedOnlyOnBoundingBox() const
Definition of the vpImage class member functions.
virtual void loadJsonConfiguration(const nlohmann::json &j)=0
virtual void updateMask(const vpRBFeatureTrackerInput &frame, const vpRBFeatureTrackerInput &previousFrame, vpImage< float > &mask)=0