#ifndef _OTB_TRISKELE_OPTION_HPP #define _OTB_TRISKELE_OPTION_HPP #include #include #include #include "triskeleBase.hpp" #include "IImage.hpp" #include "Appli/Selected.hpp" namespace otb { namespace triskele { using namespace ::triskele; // ======================================== class Option { public: bool debugFlag; IImage inputImage; IImage outputImage; Point topLeft = NullPoint; Size size = NullSize; Selected selectedBand; vector areaThresholds; vector 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