|
Lagrange
|
Given a mesh with UVs, unproject rendered images into a UV texture and confidence map. More...
#include <lagrange/texproc/TextureRasterizer.h>
Public Types | |
| using | Array3Df = image::experimental::Array3D<float> |
Public Member Functions | |
| TextureRasterizer (const SurfaceMesh< Scalar, Index > &mesh, const TextureRasterizerOptions &options) | |
| Construct a new instance of the rasterizer. | |
| ~TextureRasterizer () | |
| Destructor. | |
| std::pair< Array3Df, Array3Df > | weighted_texture_from_render (image::experimental::View3D< const float > image, const CameraOptions &options) const |
| Unproject a rendered image into a UV texture and confidence map. | |
Given a mesh with UVs, unproject rendered images into a UV texture and confidence map.
| Scalar | Mesh scalar type. |
| Index | Mesh index type. |
| TextureRasterizer | ( | const SurfaceMesh< Scalar, Index > & | mesh, |
| const TextureRasterizerOptions & | options ) |
Construct a new instance of the rasterizer.
| [in] | mesh | Input mesh. |
| [in] | options | Texture and confidence options. |
| std::pair< Array3Df, Array3Df > weighted_texture_from_render | ( | image::experimental::View3D< const float > | image, |
| const CameraOptions & | options ) const |
Unproject a rendered image into a UV texture and confidence map.
| [in] | image | Input rendered color image. |
| [in] | options | Camera option. |