| 61 | float default_resolution = 1.0f; |
| 62 | |
| 63 | void |
| 64 | printHelp (int, char **argv) |
| 65 | { |
| 66 | print_error ("Syntax is: %s input.pcd output.pcd <options>\n", argv[0]); |
| 67 | print_info (" where options are:\n"); |
| 68 | print_info (" -resolution X = cell size (default: "); |
| 69 | print_value ("%f", default_resolution); print_info (")\n"); |
| 70 | print_info (" -method X = the morphological operator to be used (options: dilate / erode / open / close) (default: "); |
| 71 | print_value ("%s", default_method.c_str ()); print_info (")\n"); |
| 72 | print_info (" -input_dir X = batch process all PCD files found in input_dir\n"); |
| 73 | print_info (" -output_dir X = save the processed files from input_dir in this directory\n"); |
| 74 | } |
| 75 | |
| 76 | bool |
| 77 | loadCloud (const std::string &filename, Cloud &cloud) |