
modifié : include/Appli/Option.hpp modifié : include/ArrayTree/ArrayTreeBuilder.hpp modifié : include/ArrayTree/ArrayTreeBuilder.tpp modifié : include/AttributeProfiles.hpp modifié : include/AttributeProfiles.tpp modifié : include/Attributes/AreaAttributes.hpp modifié : include/Attributes/AreaAttributes.tpp modifié : include/Attributes/MoIAttributes.hpp modifié : include/Attributes/MoIAttributes.tpp modifié : include/Attributes/SDAttributes.hpp modifié : include/Attributes/SDAttributes.tpp modifié : include/CompAttribute.hpp modifié : include/CompAttribute.tpp modifié : src/Appli/Option.cpp modifié : src/testMain.cpp
41 lines
971 B
C++
41 lines
971 B
C++
#ifndef _OTB_TRISKELE_OPTION_HPP
|
|
#define _OTB_TRISKELE_OPTION_HPP
|
|
|
|
#include <iostream>
|
|
#include <vector>
|
|
#include <boost/thread.hpp>
|
|
|
|
#include "triskeleBase.hpp"
|
|
#include "IImage.hpp"
|
|
|
|
namespace otb {
|
|
namespace triskele {
|
|
using namespace ::triskele;
|
|
|
|
// ========================================
|
|
|
|
class Option {
|
|
public:
|
|
bool debugFlag;
|
|
IImage inputImage;
|
|
IImage outputImage;
|
|
Point topLeft = NullPoint;
|
|
Size size = NullSize;
|
|
DimChanel chanel = 0;
|
|
vector<DimImg> areaThresholds;
|
|
vector<double> sdThresholds, moiThresholds;
|
|
unsigned int coreCount = boost::thread::hardware_concurrency ();
|
|
bool maxTreeFlag = false, minTreeFlag = false, tosTreeFlag = false;
|
|
|
|
Option ();
|
|
Option (int argc, char** argv);
|
|
|
|
void usage (string msg = "", bool hidden = false);
|
|
void parse (int argc, char** argv);
|
|
};
|
|
|
|
}//namespace triskele
|
|
}//namespace otb
|
|
|
|
#endif //_OTB_TRISKELE_OPTION_HPP
|