Classes | Typedefs | Functions
computePixelPoints2.cpp File Reference

Gets visible 2D points from a 3D point cloud, and transform PMVS cameras into Bundler cameras. More...

#include <iostream>
#include <opencv/cv.h>
#include <opencv/highgui.h>
#include <string>
#include <sstream>
#include <vector>
#include <iomanip>
#include "Mask.h"
#include "DUtils.h"
#include "DUtilsCV.h"
#include "DVision.h"
Include dependency graph for computePixelPoints2.cpp:

Go to the source code of this file.

Classes

struct  PixelPoint

Typedefs

typedef
DVision::Bundle::CameraFile::Camera 
Bundle_Camera
typedef DVision::Bundle::CameraFile Bundle_CameraFile
typedef
DVision::PMVS::PatchFile::Patch 
Patch
typedef DVision::PMVS::PatchFile PatchFile
typedef DVision::PMVS::PLYFile PLYFile
typedef
DVision::PMVS::PLYFile::PLYPoint 
PLYPoint
typedef
DVision::PMVS::CameraFile::Camera 
PMVS_Camera
typedef DVision::PMVS::CameraFile PMVS_CameraFile

Functions

void convertCamera (const PMVS_Camera &pmvs_camera, Bundle_Camera &bundle_cam)
void getPixelsFromImage (const std::string &img_file, const std::string &mask_file, const PMVS_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)

Detailed Description

Gets visible 2D points from a 3D point cloud, and transform PMVS cameras into Bundler cameras.

Standalone application for computing the visible 2D points from a 3D point cloud and for transforming PMVS cameras into Bundler cameras.

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/>.

Author:
Dorian Galvez-Lopez
Version:
1.0
Date:
2011
RoboEarth.org_logo.gif

Definition in file computePixelPoints2.cpp.


Typedef Documentation

Definition at line 61 of file computePixelPoints2.cpp.

Definition at line 60 of file computePixelPoints2.cpp.

Definition at line 52 of file computePixelPoints2.cpp.

Definition at line 51 of file computePixelPoints2.cpp.

Definition at line 54 of file computePixelPoints2.cpp.

Definition at line 55 of file computePixelPoints2.cpp.

Definition at line 58 of file computePixelPoints2.cpp.

Definition at line 57 of file computePixelPoints2.cpp.


Function Documentation

void convertCamera ( const PMVS_Camera pmvs_camera,
Bundle_Camera bundle_cam 
)

Definition at line 267 of file computePixelPoints2.cpp.

void getPixelsFromImage ( const std::string &  img_file,
const std::string &  mask_file,
const PMVS_Camera camera,
const std::vector< PLYPoint > &  plypoints,
const std::vector< int > &  visible_points,
vector< PixelPoint > &  pixelpoints 
)

Definition at line 185 of file computePixelPoints2.cpp.

int main ( int  argc,
char *  argv[] 
)

Definition at line 88 of file computePixelPoints2.cpp.

void savePixelPoints ( const std::string &  save_file,
const vector< PixelPoint > &  pixel_points,
const vector< PLYPoint > &  plypoints 
)


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:33:45