Gets a _2d3d.txt file and creates the final ply_file. More...
#include <iostream>
#include <fstream>
#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.
Typedefs | |
typedef DVision::PixelPointFile::PixelPoint | PixelPoint |
typedef DVision::PixelPointFile | PixelPointFile |
typedef DVision::PMVS::PLYFile | PLYFile |
typedef DVision::PMVS::PLYFile::PLYPoint | PLYPoint |
typedef DVision::SurfSet | SurfSet |
Functions | |
void | getPoints (const vector< PLYPoint > &all_plypoints, const vector< int > &ply_indices, vector< PLYPoint > &plypoints) |
int | main (int argc, char *argv[]) |
void | readPLYindices (const std::string &indice_file, vector< int > &ply_indices) |
void | treatDirectory (const std::string &img_dir) |
Gets a _2d3d.txt file and creates the final ply_file.
Standalone application for creating a PLY file with 3D points from a _2d3d file
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 createPlyPoints.cpp.
Definition at line 48 of file createPlyPoints.cpp.
Definition at line 47 of file createPlyPoints.cpp.
typedef DVision::PMVS::PLYFile PLYFile |
Definition at line 50 of file createPlyPoints.cpp.
Definition at line 51 of file createPlyPoints.cpp.
typedef DVision::SurfSet SurfSet |
Definition at line 49 of file createPlyPoints.cpp.
void getPoints | ( | const vector< PLYPoint > & | all_plypoints, |
const vector< int > & | ply_indices, | ||
vector< PLYPoint > & | plypoints | ||
) |
Definition at line 159 of file createPlyPoints.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 65 of file createPlyPoints.cpp.
void readPLYindices | ( | const std::string & | indice_file, |
vector< int > & | ply_indices | ||
) |
Definition at line 131 of file createPlyPoints.cpp.
void treatDirectory | ( | const std::string & | img_dir | ) |
Definition at line 91 of file createPlyPoints.cpp.