Typedefs | Functions
removeBackgroundPoints.cpp File Reference

Removes points that lie outside the masks. 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"
Include dependency graph for removeBackgroundPoints.cpp:

Go to the source code of this file.

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::PixelPointFile::PixelPoint 
PixelPoint
typedef DVision::PMVS::PLYFile PLYFile
typedef
DVision::PMVS::PLYFile::PLYPoint 
PLYPoint

Functions

void loadMasks (const std::string &mask_dir, int N, std::vector< Mask > &masks)
int main (int argc, char *argv[])
void treatAll (const std::vector< PLYPoint > &allplypoints, const std::vector< Camera > &cameras, const std::vector< std::vector< int > > &visibility, const std::vector< Mask > &masks, std::vector< PLYPoint > &object_plypoints)
void treatAll (const std::vector< PLYPoint > &allplypoints, const std::vector< Camera > &cameras, const std::vector< Patch > &patches, const std::vector< Mask > &masks, std::vector< PLYPoint > &object_plypoints, std::vector< Patch > &object_patches)

Detailed Description

Removes points that lie outside the masks.

Standalone application for removing feature points that are not inside the mask of the object

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 removeBackgroundPoints.cpp.


Typedef Documentation

Definition at line 51 of file removeBackgroundPoints.cpp.

Definition at line 50 of file removeBackgroundPoints.cpp.

Definition at line 49 of file removeBackgroundPoints.cpp.

Definition at line 48 of file removeBackgroundPoints.cpp.

Definition at line 47 of file removeBackgroundPoints.cpp.

Definition at line 52 of file removeBackgroundPoints.cpp.

Definition at line 53 of file removeBackgroundPoints.cpp.


Function Documentation

void loadMasks ( const std::string &  mask_dir,
int  N,
std::vector< Mask > &  masks 
)

Definition at line 148 of file removeBackgroundPoints.cpp.

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

Definition at line 78 of file removeBackgroundPoints.cpp.

void treatAll ( const std::vector< PLYPoint > &  allplypoints,
const std::vector< Camera > &  cameras,
const std::vector< std::vector< int > > &  visibility,
const std::vector< Mask > &  masks,
std::vector< PLYPoint > &  object_plypoints 
)

Definition at line 172 of file removeBackgroundPoints.cpp.

void treatAll ( const std::vector< PLYPoint > &  allplypoints,
const std::vector< Camera > &  cameras,
const std::vector< Patch > &  patches,
const std::vector< Mask > &  masks,
std::vector< PLYPoint > &  object_plypoints,
std::vector< Patch > &  object_patches 
)

Definition at line 212 of file removeBackgroundPoints.cpp.



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