39 result.Replace(
"/",
"_");
40 result.Replace(
"\\",
"_");
41 result.Replace(
":",
"-");
42 result.Replace(
"*",
".");
43 result.Replace(
"?",
".");
44 result.Replace(
"<",
".");
45 result.Replace(
">",
".");
46 result.Replace(
"|",
".");
78 placeholder[
"%focallength"]=wxString::Format(
"%.0f",
img0.getExifFocalLength());
122 filename.Replace(
"/",
"\\",
true);
144 filename.Replace(
it->first,
it->second,
true);
182 filename.Replace(
"/",
"\\",
true);
200 placeholder.insert(std::make_pair(
"%projectname", project.GetName()));
204 filename.Replace(
it->first,
it->second,
true);
PanoramaOptions::ProjectionFormat getProjection() const
const SrcPanoImage & getImage(std::size_t nr) const
get a panorama image, counting starts with 0
const PanoramaOptions & getOptions() const
returns the options for this panorama
std::size_t getNrOfImages() const
number of images.
All variables of a source image.
#define HUGIN_DEFAULT_PROJECT_NAME
void FillDefaultPlaceholders(Placeholdersmap &placeholder)
wxString getDefaultOutputName(const wxString projectname, const HuginBase::Panorama &pano, const wxString filenameTemplate)
gets the default output prefix, based on filename and images in project the setting is read from the ...
std::map< wxString, wxString > Placeholdersmap
wxString getDefaultProjectName(const HuginBase::Panorama &pano, const wxString filenameTemplate)
gets the default project name, as defined in the preferences
void FillPlaceholders(Placeholdersmap &placeholder, const HuginBase::Panorama &pano)
wxString CleanDateTime(const wxString &input)
functions for interaction with the hugin configuration file
std::vector< deghosting::BImagePtr > threshold(const std::vector< deghosting::FImagePtr > &inputImages, const double threshold, const uint16_t flags)
Threshold function used for creating alpha masks for images.