pto_mask.cpp File Reference

program to set mask from command line More...

#include <hugin_version.h>
#include <fstream>
#include <sstream>
#include <getopt.h>
#include <unistd.h>
#include <panodata/Panorama.h>

Include dependency graph for pto_mask.cpp:

Go to the source code of this file.

Classes

struct  MaskFiles

Functions

char toupper_2 (char c)
std::string strToUpper (const std::string &aString)
 convert string to uppercase letters.
static void usage (const char *name)
int main (int argc, char *argv[])


Detailed Description

program to set mask from command line

Author:
T. Modes

Definition in file pto_mask.cpp.


Function Documentation

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

Definition at line 84 of file pto_mask.cpp.

References HuginBase::append(), cerr, cout, hugin_utils::FileExists(), fill_set(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptimizeVector(), HuginBase::Panorama::getOptions(), hugin_utils::getPathPrefix(), MaskFiles::imageNr, HuginBase::LoadMaskFromStream(), MaskFiles::maskFile, HuginBase::maskOffset, celeste::min(), HuginBase::Panorama::printPanoramaScript(), HuginBase::Panorama::readData(), HuginBase::Panorama::setFilePrefix(), strToUpper(), HuginBase::Panorama::updateMasksForImage(), and usage().

std::string strToUpper ( const std::string aString  ) 

convert string to uppercase letters.

Definition at line 54 of file pto_mask.cpp.

References toupper_2().

char toupper_2 ( char  c  )  [inline]

Definition at line 48 of file pto_mask.cpp.

static void usage ( const char *  name  )  [static]

Definition at line 61 of file pto_mask.cpp.

References cout.


Generated on 31 Oct 2014 for Hugintrunk by  doxygen 1.4.7