Gets visible 2D points from a 3D point cloud. More...
#include <iostream>
#include <opencv/cv.h>
#include <opencv/highgui.h>
#include <string>
#include <vector>
#include "Mask.h"
#include "DUtils.h"
#include "DUtilsCV.h"
#include "DVision.h"
Go to the source code of this file.
Classes | |
struct | PixelPoint |
Typedefs | |
typedef DVision::PMVS::CameraFile::Camera | Camera |
typedef DVision::PMVS::CameraFile | CameraFile |
typedef DVision::PMVS::PatchFile::Patch | Patch |
typedef DVision::PMVS::PatchFile | PatchFile |
typedef DVision::PMVS::PLYFile | PLYFile |
typedef DVision::PMVS::PLYFile::PLYPoint | PLYPoint |
Functions | |
void | getPixelsFromImage (const std::string &img_file, const std::string &mask_file, const Camera &camera, const std::vector< PLYPoint > &plypoints, const std::vector< int > &visible_points, vector< PixelPoint > &pixelpoints) |
int | main (int argc, char *argv[]) |
void | savePixelPoints (const std::string &save_file, const vector< PixelPoint > &pixel_points, const vector< PLYPoint > &plypoints) |
Gets visible 2D points from a 3D point cloud.
Standalone application for computing the visible 2D points from a 3D point cloud
This file is part of the RoboEarth ROS WP1 package.
It file was originally created for RoboEarth. The research leading to these results has received funding from the European Union Seventh Framework Programme FP7/2007-2013 under grant agreement no248942 RoboEarth.
Copyright (C) 2011 by Dorian Galvez-Lopez, University of Zaragoza
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Definition in file computePixelPoints.cpp.
Definition at line 55 of file computePixelPoints.cpp.
typedef DVision::PMVS::CameraFile CameraFile |
Definition at line 54 of file computePixelPoints.cpp.
typedef DVision::PMVS::PatchFile::Patch Patch |
Definition at line 49 of file computePixelPoints.cpp.
typedef DVision::PMVS::PatchFile PatchFile |
Definition at line 48 of file computePixelPoints.cpp.
typedef DVision::PMVS::PLYFile PLYFile |
Definition at line 51 of file computePixelPoints.cpp.
Definition at line 52 of file computePixelPoints.cpp.
void getPixelsFromImage | ( | const std::string & | img_file, |
const std::string & | mask_file, | ||
const Camera & | camera, | ||
const std::vector< PLYPoint > & | plypoints, | ||
const std::vector< int > & | visible_points, | ||
vector< PixelPoint > & | pixelpoints | ||
) |
Definition at line 152 of file computePixelPoints.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 78 of file computePixelPoints.cpp.
void savePixelPoints | ( | const std::string & | save_file, |
const vector< PixelPoint > & | pixel_points, | ||
const vector< PLYPoint > & | plypoints | ||
) |
Definition at line 194 of file computePixelPoints.cpp.