Hugintrunk
0.1
|
helper program for assistant More...
#include <hugin_config.h>
#include <fstream>
#include <sstream>
#include <random>
#include <getopt.h>
#include <panodata/Panorama.h>
#include "algorithms/optimizer/ImageGraph.h"
#include "hugin_base/panotools/PanoToolsUtils.h"
#include "hugin_base/panodata/StandardImageVariableGroups.h"
#include "algorithms/basic/CalculateCPStatistics.h"
#include "algorithms/basic/LayerStacks.h"
#include <filesystem>
#include "vigra/impexalpha.hxx"
Go to the source code of this file.
Functions | |
static void | usage (const char *name) |
void | PrintImageGroup (const std::vector< HuginBase::UIntSet > &imageGroup, const std::string &prefix=std::string()) |
void | InspectRGBImage (const vigra::FRGBImage &image) |
void | InspectGrayscaleImage (const vigra::FImage &image, const std::string text) |
void | PrintImageInfo (const HuginBase::Panorama &pano) |
void | CreateMissingImages (HuginBase::Panorama &pano, const std::string &output) |
int | main (int argc, char *argv[]) |
helper program for assistant
Definition in file checkpto.cpp.
void CreateMissingImages | ( | HuginBase::Panorama & | pano, |
const std::string & | output | ||
) |
Definition at line 232 of file checkpto.cpp.
References hugin_utils::GetAbsoluteFilename(), HuginBase::SrcPanoImage::getHeight(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getNrOfImages(), hugin_utils::getPathPrefix(), HuginBase::SrcPanoImage::getWidth(), HuginBase::Panorama::setImageFilename(), vigra_ext::srcImageRange(), and HuginBase::Panorama::WritePTOFile().
Referenced by main().
void InspectGrayscaleImage | ( | const vigra::FImage & | image, |
const std::string | text | ||
) |
Definition at line 107 of file checkpto.cpp.
References vigra_ext::srcImageRange().
Referenced by PrintImageInfo().
void InspectRGBImage | ( | const vigra::FRGBImage & | image | ) |
Definition at line 94 of file checkpto.cpp.
References vigra_ext::srcImageRange().
Referenced by PrintImageInfo().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 282 of file checkpto.cpp.
References HuginBase::CalculateCPStatisticsError::calcCtrlPntsErrorStats(), HuginBase::PTools::calcCtrlPointErrors(), CreateMissingImages(), HuginBase::Panorama::getActiveImages(), HuginGraph::ImageGraph::GetComponents(), HuginBase::getExposureLayers(), HuginBase::getHDRStacks(), HuginBase::getImagesinROI(), HuginBase::ConstStandardImageVariableGroups::getLenses(), HuginBase::Panorama::getNrOfCtrlPoints(), HuginBase::Panorama::getNrOfImages(), HuginBase::ConstImageVariableGroup::getNumberOfParts(), HuginBase::Panorama::getOptions(), hugin_utils::GetOutputFilename(), HuginBase::ConstImageVariableGroup::getPartsSet(), hugin_utils::getPathPrefix(), HuginBase::ConstStandardImageVariableGroups::getStacks(), celeste::max(), celeste::min(), PrintImageGroup(), PrintImageInfo(), HuginBase::Panorama::ReadPTOFile(), hugin_utils::stripPath(), and usage().
void PrintImageGroup | ( | const std::vector< HuginBase::UIntSet > & | imageGroup, |
const std::string & | prefix = std::string() |
||
) |
Definition at line 66 of file checkpto.cpp.
Referenced by main().
void PrintImageInfo | ( | const HuginBase::Panorama & | pano | ) |
Definition at line 114 of file checkpto.cpp.
References vigra_ext::destImage(), hugin_utils::FileExists(), hugin_utils::GetICCDesc(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getNrOfImages(), vigra::importImageAlpha(), celeste::info(), InspectGrayscaleImage(), and InspectRGBImage().
Referenced by main().
|
static |
Definition at line 44 of file checkpto.cpp.
References hugin_utils::GetHuginVersion().