#include <sensor_msgs/PointCloud2.h>
#include <pcl/point_types.h>
#include <pcl/io/pcd_io.h>
#include <pcl/console/print.h>
#include <pcl/console/parse.h>
#include <pcl/console/time.h>
#include <pcl/filters/radius_outlier_removal.h>
#include <pcl/filters/statistical_outlier_removal.h>
Go to the source code of this file.
Functions | |
void | compute (const sensor_msgs::PointCloud2::ConstPtr &input, sensor_msgs::PointCloud2 &output, std::string method, int min_pts, double radius, int mean_k, double std_dev_mul, bool negative) |
bool | loadCloud (const std::string &filename, sensor_msgs::PointCloud2 &cloud) |
int | main (int argc, char **argv) |
void | printHelp (int, char **argv) |
void | saveCloud (const std::string &filename, const sensor_msgs::PointCloud2 &output) |
Variables | |
int | default_mean_k = 2 |
std::string | default_method = "radius" |
int | default_min_pts = 0 |
int | default_negative = 1 |
double | default_radius = 0.0 |
double | default_std_dev_mul = 0.0 |
void compute | ( | const sensor_msgs::PointCloud2::ConstPtr & | input, |
sensor_msgs::PointCloud2 & | output, | ||
std::string | method, | ||
int | min_pts, | ||
double | radius, | ||
int | mean_k, | ||
double | std_dev_mul, | ||
bool | negative | ||
) |
Definition at line 95 of file outlier_removal.cpp.
bool loadCloud | ( | const std::string & | filename, |
sensor_msgs::PointCloud2 & | cloud | ||
) |
Definition at line 80 of file outlier_removal.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 158 of file outlier_removal.cpp.
void printHelp | ( | int | , |
char ** | argv | ||
) |
Definition at line 61 of file outlier_removal.cpp.
void saveCloud | ( | const std::string & | filename, |
const sensor_msgs::PointCloud2 & | output | ||
) |
Definition at line 143 of file outlier_removal.cpp.
int default_mean_k = 2 |
Definition at line 53 of file outlier_removal.cpp.
std::string default_method = "radius" |
Definition at line 51 of file outlier_removal.cpp.
int default_min_pts = 0 |
Definition at line 58 of file outlier_removal.cpp.
int default_negative = 1 |
Definition at line 55 of file outlier_removal.cpp.
double default_radius = 0.0 |
Definition at line 57 of file outlier_removal.cpp.
double default_std_dev_mul = 0.0 |
Definition at line 54 of file outlier_removal.cpp.