---[ */
| 159 | |
| 160 | /* ---[ */ |
| 161 | int |
| 162 | main (int argc, char** argv) |
| 163 | { |
| 164 | print_info ("Match a LINE-MOD template to an organized point cloud. For more information, use: %s -h\n", argv[0]); |
| 165 | |
| 166 | if (argc < 2) |
| 167 | { |
| 168 | printHelp (argc, argv); |
| 169 | return (-1); |
| 170 | } |
| 171 | |
| 172 | // Load the input point cloud from the provided PCD file |
| 173 | PointCloudXYZRGBA::Ptr cloud (new PointCloudXYZRGBA); |
| 174 | if (!loadCloud (argv[1], *cloud)) |
| 175 | return (-1); |
| 176 | |
| 177 | // Load the specified templates and match them to the provided input cloud |
| 178 | compute (cloud, argv[2]); |
| 179 | |
| 180 | } |
| 181 |