Main.cpp File Reference

#include <fstream>
#include <sstream>
#include <string>
#include "Celeste.h"
#include <sys/stat.h>
#include "hugin_config.h"
#include <hugin_version.h>
#include <vigra_ext/impexalpha.hxx>
#include <panodata/Panorama.h>
#include <unistd.h>

Include dependency graph for Main.cpp:

Go to the source code of this file.

Functions

bool fileexists (string strFilename)
static void usage ()
vigra::UInt16RGBImage loadAndConvertImage (string imagefile)
std::string generateMaskName (string imagefile, string mask_format)
int main (int argc, char *argv[])


Function Documentation

bool fileexists ( string  strFilename  ) 

Definition at line 49 of file Main.cpp.

Referenced by main().

std::string generateMaskName ( string  imagefile,
string  mask_format 
)

Definition at line 181 of file Main.cpp.

Referenced by main().

vigra::UInt16RGBImage loadAndConvertImage ( string  imagefile  ) 

Definition at line 97 of file Main.cpp.

References cerr, celeste::convertToUInt16(), vigra_ext::destImage(), vigra::importImageAlpha(), and celeste::info().

Referenced by main().

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

Examples:
example.cpp.

Definition at line 198 of file Main.cpp.

References HuginBase::append(), cerr, cout, celeste::destroySVMmodel(), fileexists(), fill_set(), generateMaskName(), celeste::getCelesteControlPoints(), celeste::getCelesteMask(), HuginBase::Panorama::getCtrlPointsVectorForImage(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptimizeVector(), HuginBase::Panorama::getOptions(), hugin_utils::getPathPrefix(), INSTALL_DATA_DIR, celeste::svm_model::l, loadAndConvertImage(), celeste::loadSVMmodel(), HuginBase::Panorama::printPanoramaScript(), HuginBase::Panorama::readData(), HuginBase::Panorama::removeCtrlPoint(), HuginBase::Panorama::setFilePrefix(), vigra_ext::srcImageRange(), threshold(), hugin_utils::tolower(), and usage().

static void usage (  )  [static]

Definition at line 68 of file Main.cpp.

References cout.

Referenced by main().


Generated on 31 Oct 2014 for Hugintrunk by  doxygen 1.4.7