27#ifndef _CPDETECTORCONFIG_H
28#define _CPDETECTORCONFIG_H
34#include <wx/dynarray.h>
121#if defined _WIN32 && defined Hugin_shared
143 void ReadFromFile(
wxString filename);
145 void WriteToFile(
wxString filename);
147 void ResetToDefault();
154 unsigned int GetCount() {
return settings.GetCount(); };
156 void Swap(
int index);
@ CPDetector_AutoPanoSiftMultiRow
@ CPDetector_AutoPanoSiftStack
@ CPDetector_AutoPanoSiftMultiRowStack
@ CPDetector_AutoPanoSift
@ CPDetector_AutoPanoSiftPreAlign
WX_DECLARE_OBJARRAY(CPDetectorSetting, ArraySettings)
class for storing settings of different control point generators
CPDetectorConfig()
constructor
unsigned int GetCount()
return counts of cp detector settings
unsigned int default_generator
unsigned int GetDefaultGenerator()
return index of default generator (this one is used for assistent)
ArraySettings settings
array which stores the different autopano settings
virtual ~CPDetectorConfig()
destructor
class, which stores all settings of one cp detector
const wxString GetProg()
return program for one step detector or feature descriptor
const bool GetOption()
gets options, used in multi-row and prealigned cp detectors
void SetArgsStack(wxString new_args)
sets arguments of program for detection of cp in stacks
const CPDetectorType GetType()
return type of this setting
void SetArgsCleanup(wxString new_args)
sets arguments for the cleanup step
void SetCPDetectorDesc(wxString new_desc)
sets description of this setting
const bool IsCleanupPossible()
const wxString GetProgMatcher()
return program for feature matcher
const wxString GetCPDetectorDesc()
return description of this setting
virtual ~CPDetectorSetting()
destructor
void SetArgs(wxString new_args)
sets arguments of one step detector or feature descriptor
void SetOption(bool new_option)
set options, used in multi-row cp and prealigned detectors
const wxString GetProgStack()
return program name, which works on stacks
void SetProgMatcher(wxString new_prog)
sets program for feature matcher
void SetArgsMatcher(wxString new_args)
sets arguments for feature matcher
void SetProg(wxString new_prog)
sets program for one step detector or feature descriptor
const wxString GetArgsCleanup()
return arguments for the cleanup step
const wxString GetArgsMatcher()
return arguments for feature matcher
const wxString GetArgs()
return arguments of one step detector or feature descriptor
void SetProgStack(wxString new_prog)
sets program for detecting cp in stacks
const bool IsTwoStepDetector()
returns true, if setting is suitable for two step detector otherwise false
const bool ContainsStacks()
void SetType(CPDetectorType new_type)
sets type of this setting
const wxString GetArgsStack()
return arguments of program for detection of cp in stacks
include file for the hugin project
include file for the hugin project
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.