RobotsIO
Loading...
Searching...
No Matches
CameraDeprojectionMatrix.h
1/*
2 * Copyright (C) 2020 Istituto Italiano di Tecnologia (IIT)
3 *
4 * This software may be modified and distributed under the terms of the
5 * BSD 3-Clause license. See the accompanying LICENSE file for details.
6 */
7
8#ifndef ROBOTSIO_CAMERADEPROJECTIONMATRIX_H
9#define ROBOTSIO_CAMERADEPROJECTIONMATRIX_H
10
11#include "RobotsIO/Camera/CameraParameters.h"
12#include <RobotsIO/Camera/CameraParameters.h>
13
14#include <Eigen/Dense>
15
16namespace RobotsIO {
17 namespace Camera {
18 Eigen::MatrixXd deprojection_matrix(const std::size_t& width, const std::size_t& height, const double& fx, const double& fy, const double& cx, const double& cy);
19
20 Eigen::MatrixXd deprojection_matrix(const CameraParameters& parameters);
21 }
22}
23
24#endif