ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
reusex::gsplat::TrainingView Struct Reference

One posed training image for the Gaussian-splatting optimizer. More...

#include <TrainingViews.hpp>

Collaboration diagram for reusex::gsplat::TrainingView:

Public Member Functions

int width () const
int height () const

Public Attributes

int id = -1
 sensor-frame node id, or a synthetic id for a slice
std::string name
 human-readable label, e.g. "frame_0001995"
cv::Mat image
 BGR8, exactly the resolution K describes.
Eigen::Matrix3d K
 pinhole intrinsics for image
Eigen::Matrix4d T_cw = Eigen::Matrix4d::Identity()
 world -> camera
bool from_panorama = false
 true when this is a 360 tangent slice

Detailed Description

One posed training image for the Gaussian-splatting optimizer.

The camera convention is the pipeline's optical frame — x right, y down, z forward — matching both the sensor-frame intrinsics stored in ProjectDB and the panorama frame documented in geometry/EquirectProjection.hpp, so frames and panorama slices compose without any axis flip.

Definition at line 26 of file TrainingViews.hpp.

Member Function Documentation

◆ height()

int reusex::gsplat::TrainingView::height ( ) const
inline

Definition at line 35 of file TrainingViews.hpp.

References image.

◆ width()

int reusex::gsplat::TrainingView::width ( ) const
inline

Definition at line 34 of file TrainingViews.hpp.

References image.

Member Data Documentation

◆ from_panorama

bool reusex::gsplat::TrainingView::from_panorama = false

true when this is a 360 tangent slice

Definition at line 32 of file TrainingViews.hpp.

◆ id

int reusex::gsplat::TrainingView::id = -1

sensor-frame node id, or a synthetic id for a slice

Definition at line 27 of file TrainingViews.hpp.

◆ image

cv::Mat reusex::gsplat::TrainingView::image

BGR8, exactly the resolution K describes.

Definition at line 29 of file TrainingViews.hpp.

Referenced by height(), and width().

◆ K

Eigen::Matrix3d reusex::gsplat::TrainingView::K

pinhole intrinsics for image

Definition at line 30 of file TrainingViews.hpp.

◆ name

std::string reusex::gsplat::TrainingView::name

human-readable label, e.g. "frame_0001995"

Definition at line 28 of file TrainingViews.hpp.

◆ T_cw

Eigen::Matrix4d reusex::gsplat::TrainingView::T_cw = Eigen::Matrix4d::Identity()

world -> camera

Definition at line 31 of file TrainingViews.hpp.


The documentation for this struct was generated from the following file: