ImFusion SDK 4.3
MVSTexturing Class Reference

#include <RGBD/Include/ImFusion/RGBD/MVSTexturing.h>

Provides multi-view stereo (MVS) texturing for 3D meshes using RGB-D image sets. More...

+ Inheritance diagram for MVSTexturing:

Detailed Description

Provides multi-view stereo (MVS) texturing for 3D meshes using RGB-D image sets.

This class projects color information from multiple registered images onto a mesh, optimizing texture quality and consistency.

MVSTexturing supports mesh texturing, aborting long-running operations, and retrieval of optimized camera transformations.

Typical usage:

MVSTexturing texturer;
Mesh* texturedMesh = nullptr;
bool success = texturer.texture(imageSet, inputMesh, texturedMesh);
bool texture(const SharedImageSet &img, Mesh &meshIn, Mesh *&meshOut)
Textures the input mesh using the provided RGB-D image set.
MVSTexturing()
Constructs the MVS texturing object.
Represents a triangle mesh.
Definition Mesh.h:43
Note
  • The input SharedImageSet must contain elementwise components of type RGBDDataComponents.
  • The class is not thread-safe.
See also
Mesh, SharedImageSet

Public Member Functions

 MVSTexturing ()
 Constructs the MVS texturing object.
 
bool texture (const SharedImageSet &img, Mesh &meshIn, Mesh *&meshOut)
 Textures the input mesh using the provided RGB-D image set.
 
void abort ()
 Aborts the current texturing operation.
 
std::vector< mat4 > optimizedT () const
 Returns the optimized camera transformations after texturing.
 
void configure (const Properties *p) override
 Configures the texturing object from properties.
 
void configuration (Properties *p) const override
 Writes the current configuration to properties.
 
- Public Member Functions inherited from Configurable
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
 

Additional Inherited Members

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

Member Function Documentation

◆ texture()

bool texture ( const SharedImageSet & img,
Mesh & meshIn,
Mesh *& meshOut )

Textures the input mesh using the provided RGB-D image set.

Parameters
imgShared image set containing RGBDDataComponents.
meshInInput mesh to be textured.
meshOutOutput pointer to the textured mesh. The texture is given in terms of an actual texture map.
Returns
true if texturing succeeded.

◆ configure()

void configure ( const Properties * p)
overridevirtual

Configures the texturing object from properties.

Reimplemented from Configurable.

◆ configuration()

void configuration ( Properties * p) const
overridevirtual

Writes the current configuration to properties.

Reimplemented from Configurable.


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