38 lines
814 B
C++
38 lines
814 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;
|
|
unsigned int treeCoreCount = boost::thread::hardware_concurrency ();
|
|
|
|
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
|