text: #ifndef PARTPLAY_GETAPR_H
  #define PARTPLAY_GETAPR_H
  
  #include <functional>
  #include <string>
  
  #include "algorithm/APRParameters.hpp"
  #include "data_structures/Mesh/PixelData.hpp"
  #include "algorithm/APRConverter.hpp"
  #include "data_structures/APR/APR.hpp"
  
  
  struct cmdLineOptions{
      std::string gt_input = "";
      std::string output_dir = "";
      std::string output = "output";
      std::string stats = "";
      std::string directory = "";
      std::string input = "";
      std::string input_rab5 = "";
      std::string mask_file = "";
      bool stats_file = false;
      bool normalize_input = false;
      bool store_delta = false;
      unsigned int compress_level = 2;
  
      float Ip_th = -1;
      float SNR_min = -1;
      float lambda = -1;
      float min_signal = -1;
      float rel_error = 0.1;
  };
  
  bool command_option_exists(char **begin, char **end, const std::string &option);
  
  char* get_command_option(char **begin, char **end, const std::string &option);
  
  cmdLineOptions read_command_line_options(int argc, char **argv);
  
  
  #endif //PARTPLAY_PIPELINE_H