AliceVision
Photogrammetric Computer Vision Framework
Public Member Functions | List of all members
aliceVision::CoordinatesMap Class Reference

Public Member Functions

bool build (const std::pair< int, int > &panoramaSize, const geometry::Pose3 &pose, const aliceVision::camera::IntrinsicBase &intrinsics, const BoundingBox &coarseBbox)
 
bool computeScale (double &result, float ratioUpscale)
 
size_t getOffsetX () const
 
size_t getOffsetY () const
 
BoundingBox getBoundingBox () const
 
const aliceVision::image::Image< Eigen::Vector2f > & getCoordinates () const
 
const aliceVision::image::Image< unsigned char > & getMask () const
 

Member Function Documentation

◆ build()

bool aliceVision::CoordinatesMap::build ( const std::pair< int, int > &  panoramaSize,
const geometry::Pose3 pose,
const aliceVision::camera::IntrinsicBase intrinsics,
const BoundingBox coarseBbox 
)

Build coordinates map given camera properties

Parameters
panoramaSizedesired output panoramaSize
posethe camera pose wrt an arbitrary reference frame
intrinsicsthe camera intrinsics

Check that this ray should be visible. This test is camera type dependent

Project this ray to camera pixel coordinates

Ignore invalid coordinates


The documentation for this class was generated from the following files: