- string optDomainName = SignalFilter::DOMAIN_SPATIAL_STR;
- char *opt_outfile = NULL;
- int opt_debug = 0;
- string opt_desc;
- string opt_phmFileName;
- char *endstr, *endptr;
- double opt_filter_param = 1;
- double opt_filter_bw = 1.;
- int opt_trace = TRACE_NONE;
- bool opt_verbose = false;
-#ifdef HAVE_MPI
- ImageFile* imLocal = NULL;
- MPIWorld mpiWorld (argc, argv);
-#endif
-
+ string optDomainName (SignalFilter::convertDomainIDToName (SignalFilter::DOMAIN_SPATIAL));
+ string optOutFilename;
+ string optDesc;
+ string optPhmFilename;
+ int opt_nx = 0;
+ int opt_ny = 0;
+ int opt_nsample = 1;
+ double optFilterParam = 1.;
+ double optFilterBW = 1.;
+ int optTrace = TRACE_NONE;
+ bool optVerbose = false;
+ bool optDebug = false;
+ char *endptr = NULL;
+ char *endstr;