ImFusion C++ SDK 4.4.0
ImFusion::MonocularDepthEstimation Class Referenceabstract

#include <ImFusion/Vision/MonocularDepthEstimation.h>

Base class for monocular depth estimation algorithms producing depth maps and (optionally) also point clouds. More...

Inheritance diagram for ImFusion::MonocularDepthEstimation:

Detailed Description

Base class for monocular depth estimation algorithms producing depth maps and (optionally) also point clouds.

Public Member Functions

virtual std::string name () const =0
 Return name of depth estimation algorithm.
virtual std::unique_ptr< SharedImagecompute (std::shared_ptr< SharedImage > img)=0
 Run depth estimation on provided image. Output image must be depth map of type float.
Public Member Functions inherited from ImFusion::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
Configurable & operator= (const Configurable &)
Configurable & operator= (Configurable &&) noexcept

Additional Inherited Members

Public Attributes inherited from ImFusion::Configurable
Signal signalParametersChanged
 Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted.
Protected Attributes inherited from ImFusion::Configurable
std::vector< Paramm_params
 List of all registered Parameter and SubProperty instances.

Member Function Documentation

◆ name()

virtual std::string ImFusion::MonocularDepthEstimation::name ( ) const
pure virtual

Return name of depth estimation algorithm.

Implemented in ImFusion::MonocularDepthEstimationCustomModel, and ImFusion::MonocularDepthEstimationDepthAnything.

◆ compute()

virtual std::unique_ptr< SharedImage > ImFusion::MonocularDepthEstimation::compute ( std::shared_ptr< SharedImage > img)
pure virtual

Run depth estimation on provided image. Output image must be depth map of type float.

Implemented in ImFusion::MonocularDepthEstimationCustomModel, and ImFusion::MonocularDepthEstimationDepthAnything.


The documentation for this class was generated from the following file:
  • ImFusion/Vision/MonocularDepthEstimation.h
Search Tab / S to search, Esc to close