Hugintrunk
0.1
|
program to manipulate lens and stack assignment in pto files More...
#include <fstream>
#include <sstream>
#include <getopt.h>
#include <panodata/Panorama.h>
#include <panodata/StandardImageVariableGroups.h>
#include "hugin_utils/utils.h"
#include <panodata/image_variables.h>
Go to the source code of this file.
Classes | |
struct | ParsedImg |
Typedefs | |
typedef std::vector< ParsedImg > | ParseImgVec |
Functions | |
void | ParseSingleImage (ParseImgVec &varVec, const std::string &s) |
void | ParseImageLensStackString (ParseImgVec &parseVec, std::string input) |
static void | usage (const char *name) |
int | main (int argc, char *argv[]) |
program to manipulate lens and stack assignment in pto files
Definition in file pto_lensstack.cpp.
typedef std::vector<ParsedImg> ParseImgVec |
Definition at line 41 of file pto_lensstack.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 138 of file pto_lensstack.cpp.
References HuginBase::Panorama::getImage(), HuginBase::StandardImageVariableGroups::getLenses(), HuginBase::ConstStandardImageVariableGroups::getLensVariables(), HuginBase::Panorama::getNrOfImages(), HuginBase::ConstImageVariableGroup::getNumberOfParts(), hugin_utils::GetOutputFilename(), HuginBase::ConstImageVariableGroup::getPartsSet(), hugin_utils::getPathPrefix(), getSize(), HuginBase::StandardImageVariableGroups::getStacks(), HuginBase::ConstStandardImageVariableGroups::getStackVariables(), ParseImageLensStackString(), HuginBase::Panorama::ReadPTOFile(), hugin_utils::stripPath(), HuginBase::ImageVariableGroup::switchParts(), usage(), and HuginBase::Panorama::WritePTOFile().
void ParseImageLensStackString | ( | ParseImgVec & | parseVec, |
std::string | input | ||
) |
Definition at line 87 of file pto_lensstack.cpp.
References ParseSingleImage(), and hugin_utils::SplitString().
Referenced by main().
void ParseSingleImage | ( | ParseImgVec & | varVec, |
const std::string & | s | ||
) |
Definition at line 44 of file pto_lensstack.cpp.
References ParsedImg::imgNr, ParsedImg::lensStackNr, and hugin_utils::stringToInt().
Referenced by ParseImageLensStackString().
|
static |
Definition at line 113 of file pto_lensstack.cpp.
References hugin_utils::GetHuginVersion().