|
ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
|
#include <Eigen/Core>#include <opencv2/core.hpp>#include <vector>
Go to the source code of this file.
Classes | |
| struct | reusex::geometry::PerspectiveView |
| A virtual pinhole view rendered out of an equirectangular panorama. More... | |
Namespaces | |
| namespace | reusex |
| namespace | reusex::geometry |
Functions | |
| Eigen::Vector3d | reusex::geometry::pixel_to_bearing (const cv::Size &equirect, double u, double v) |
| Equirect pixel (u,v) -> unit bearing in the panorama frame. | |
| Eigen::Vector2d | reusex::geometry::bearing_to_pixel (const cv::Size &equirect, const Eigen::Vector3d &bearing) |
| Unit bearing (need not be normalised) in panorama frame -> equirect pixel (u,v). | |
| PerspectiveView | reusex::geometry::extract_perspective (const cv::Mat &equirect, double yaw_deg, double pitch_deg, double fov_deg, int out_w, int out_h, int interp=1) |
| Render a virtual pinhole view centred at (yaw,pitch) with the given horizontal FOV. | |
| PerspectiveView | reusex::geometry::extract_perspective (const cv::Mat &equirect, const Eigen::Matrix3d &R_pano_from_view, const Eigen::Matrix3d &K, int out_w, int out_h, int interp=1) |
| Render a virtual pinhole view with an explicit view->panorama rotation and intrinsics. | |
| std::vector< PerspectiveView > | reusex::geometry::cube_faces (const cv::Mat &equirect, int face_size, int interp=1) |
| Tile the whole sphere as the six faces of a cube (90 deg FOV each). | |
| std::vector< PerspectiveView > | reusex::geometry::overlapping_views (const cv::Mat &equirect, int n_yaw, double fov_deg, int tile, int interp=1) |
Tile the sphere as n_yaw evenly spaced views around the equator plus one up and one down view, each with fov_deg horizontal FOV and tile pixels square. | |
| cv::Mat | reusex::geometry::stitch_labels_to_equirect (const cv::Size &out, const std::vector< PerspectiveView > &views, const std::vector< cv::Mat > &tile_labels) |
Stitch per-tile label maps (CV_32S, -1 = background) back into a single equirect label map of size out. | |