MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
sfm::bundler::Viewport Struct Reference

Per-viewport information. More...

#include <bundler_common.h>

Collaboration diagram for sfm::bundler::Viewport:
Collaboration graph
[legend]

Public Member Functions

 Viewport (void)
 

Public Attributes

std::unordered_map< int, int > backup_tracks
 Backup map from features to tracks that were removed due to errors.
 
FeatureSet features
 Per-feature information.
 
float focal_length
 Initial focal length estimate for the image.
 
mve::ByteImage::Ptr image
 The actual image data for debugging purposes.
 
CameraPose pose
 Camera pose for the viewport.
 
float principal_point [2]
 Principal point parameter.
 
float radial_distortion [2]
 Radial distortion parameter.
 
std::vector< int > track_ids
 Per-feature track ID, -1 if not part of a track.
 

Detailed Description

Per-viewport information.

Not all data is required for every step. It should be populated on demand and cleaned as early as possible to keep memory consumption in bounds.

Definition at line 37 of file bundler_common.h.

Constructor & Destructor Documentation

◆ Viewport()

sfm::bundler::Viewport::Viewport ( void  )
inline

Definition at line 202 of file bundler_common.h.

Member Data Documentation

◆ backup_tracks

std::unordered_map<int, int> sfm::bundler::Viewport::backup_tracks

Backup map from features to tracks that were removed due to errors.

Definition at line 58 of file bundler_common.h.

◆ features

FeatureSet sfm::bundler::Viewport::features

Per-feature information.

Definition at line 54 of file bundler_common.h.

◆ focal_length

float sfm::bundler::Viewport::focal_length

Initial focal length estimate for the image.

Definition at line 42 of file bundler_common.h.

◆ image

mve::ByteImage::Ptr sfm::bundler::Viewport::image

The actual image data for debugging purposes.

Usually nullptr!

Definition at line 52 of file bundler_common.h.

◆ pose

CameraPose sfm::bundler::Viewport::pose

Camera pose for the viewport.

Definition at line 49 of file bundler_common.h.

◆ principal_point

float sfm::bundler::Viewport::principal_point[2]

Principal point parameter.

Definition at line 46 of file bundler_common.h.

◆ radial_distortion

float sfm::bundler::Viewport::radial_distortion[2]

Radial distortion parameter.

Definition at line 44 of file bundler_common.h.

◆ track_ids

std::vector<int> sfm::bundler::Viewport::track_ids

Per-feature track ID, -1 if not part of a track.

Definition at line 56 of file bundler_common.h.


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