ImFusion SDK 4.3
StereoBlockMatchingReconstruction Class Reference

#include <ImFusion/Vision/StereoReconstructionBlockMatching.h>

Implementation of block matching stereo reconstruction It depends on block matching from OpenCV. More...

+ Inheritance diagram for StereoBlockMatchingReconstruction:

Detailed Description

Implementation of block matching stereo reconstruction It depends on block matching from OpenCV.

Public Member Functions

std::string name () const override
 Return name of stereo algorithm.
 
std::unique_ptr< SharedImagecompute (SharedImage &imgLeft, SharedImage &imgRight) override
 Run stereo computation on provided images. Images must be rectified. Output image must be disparity map of type float.
 
- Public Member Functions inherited from StereoReconstruction
virtual std::unique_ptr< SharedImagecompute (StereoImage &si)
 
- 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< int > p_blockSize = {"Block size", 0, this}
 
Parameter< int > p_disp12MaxDiff = {"Disparity 12 max difference", 0, this}
 
Parameter< int > p_minDisparity = {"Min disparity", 0, this}
 
Parameter< int > p_numDisparities = {"Num disparities", 0, this}
 
Parameter< int > p_speckleRange = {"Speckle range", 0, this}
 
Parameter< int > p_speckleWindowSize = {"Speckle window size", 0, this}
 
Parameter< int > p_preFilterCap = {"Pre filter cap", 0, this}
 
Parameter< int > p_preFilterSize = {"Pre filter size", 0, this}
 
Parameter< int > p_preFilterType = {"Pre filter type", 0, this}
 
Parameter< int > p_smallerBockSize = {"Smaller block size", 0, this}
 
Parameter< int > p_textureThreshold = {"Texture threshold", 0, this}
 
Parameter< int > p_uniquenessRatio = {"Uniqueness ratio", 0, this}
 
- 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 stereo algorithm.

Implements StereoReconstruction.

◆ compute()

std::unique_ptr< SharedImage > compute ( SharedImage & imgLeft,
SharedImage & imgRight )
overridevirtual

Run stereo computation on provided images. Images must be rectified. Output image must be disparity map of type float.

Implements StereoReconstruction.


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