ImFusion SDK 4.3
MonocularDepthEstimationCustomModel Class Reference

#include <ImFusion/Vision/MonocularDepthEstimationCustomModel.h>

Performs depth estimation on a monocular image using a traced machine learning model provided by the user. More...

+ Inheritance diagram for MonocularDepthEstimationCustomModel:

Detailed Description

Performs depth estimation on a monocular image using a traced machine learning model provided by the user.

Public Member Functions

std::string name () const override
 Return name of depth estimation algorithm.
 
std::unique_ptr< SharedImagecompute (std::shared_ptr< SharedImage > img) override
 Run the machine learning model to estimate depth from a monocular image. The input should be a 2D RGB image.
 
- Public Member Functions inherited from Configurable
virtual void configure (const Properties *p)
 Configure this object instance by de-serializing the given Properties.
 
virtual void configuration (Properties *p) const
 Serialize the current object configuration into the given Properties object.
 
virtual void configureDefaults ()
 Retrieve the properties of this object, replaces values with their defaults and sets it again.
 
void registerParameter (ParameterBase *param)
 Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration().
 
void unregisterParameter (const ParameterBase *param)
 Remove the given Parameter or SubProperty from the list of registered parameters.
 
 Configurable (const Configurable &rhs)
 
 Configurable (Configurable &&rhs) noexcept
 
Configurableoperator= (const Configurable &)
 
Configurableoperator= (Configurable &&) noexcept
 

Public Attributes

Parameter< ImFusion::Filesystem::Pathp_configFilePath = {"pathToModelConfiguration", "", this}
 Path to .yaml model configuration file.
 
- Public Attributes inherited from Configurable
Signal signalParametersChanged
 Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.
 

Additional Inherited Members

- Protected Attributes inherited from Configurable
std::vector< Paramm_params
 List of all registered Parameter and SubProperty instances.
 

Member Function Documentation

◆ name()

std::string name ( ) const
inlineoverridevirtual

Return name of depth estimation algorithm.

Implements MonocularDepthEstimation.

◆ compute()

std::unique_ptr< SharedImage > compute ( std::shared_ptr< SharedImage > img)
overridevirtual

Run the machine learning model to estimate depth from a monocular image. The input should be a 2D RGB image.

Implements MonocularDepthEstimation.


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close