Classes | Functions
extractOutlineFromImages.cpp File Reference

Extracts the outline of a set of images. More...

#include <iostream>
#include <opencv/cv.h>
#include <opencv/highgui.h>
#include <string>
#include <vector>
#include <fstream>
#include "DUtils.h"
#include "DUtilsCV.h"
Include dependency graph for extractOutlineFromImages.cpp:

Go to the source code of this file.

Classes

struct  xy

Functions

void extractMask (const cv::Mat &image, cv::Mat &mask)
void generateMasks (const std::vector< std::string > &normal_files, const std::vector< std::string > &segmented_files, const std::string &out_dir)
void getSegmentedFilenames (const std::string &list_file, std::vector< std::string > &normal_files, std::vector< std::string > &segmented_files, const std::string &segmented_model_dir)
int main (int argc, char *argv[])

Detailed Description

Extracts the outline of a set of images.

Standalone application for extracting the outline of segmented images

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


Function Documentation

void extractMask ( const cv::Mat &  image,
cv::Mat &  mask 
)

Definition at line 171 of file extractOutlineFromImages.cpp.

void generateMasks ( const std::vector< std::string > &  normal_files,
const std::vector< std::string > &  segmented_files,
const std::string &  out_dir 
)

Definition at line 132 of file extractOutlineFromImages.cpp.

void getSegmentedFilenames ( const std::string &  list_file,
std::vector< std::string > &  normal_files,
std::vector< std::string > &  segmented_files,
const std::string &  segmented_model_dir 
)

Definition at line 90 of file extractOutlineFromImages.cpp.

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

Definition at line 58 of file extractOutlineFromImages.cpp.



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