#include <gtest/gtest.h>
#include <ros/ros.h>
#include <filters/filter_chain.h>
#include "filters.hpp"
Go to the source code of this file.
Functions | |
TEST (OutlierRemoval, active) | |
TEST (OutlierRemoval, layer_doesnt_exist) | |
TEST (OutlierRemoval, remove_middle_one) | |
TEST (OutlierRemoval, remove_perimeter_one) | |
TEST (OutlierRemoval, preserve_points) | |
TEST (OutlierRemoval, large_case) | |
TEST | ( | OutlierRemoval | , |
active | |||
) |
Definition at line 6 of file test_filter_outlier_removal.cpp.
TEST | ( | OutlierRemoval | , |
layer_doesnt_exist | |||
) |
Definition at line 11 of file test_filter_outlier_removal.cpp.
TEST | ( | OutlierRemoval | , |
remove_middle_one | |||
) |
Remove an outlier in a 3x3 grid [ ], [ ], [ ], [ ], [x], [ ], [ ], [ ], [ ]
Definition at line 35 of file test_filter_outlier_removal.cpp.
TEST | ( | OutlierRemoval | , |
remove_perimeter_one | |||
) |
Remove perimeter outliers in a 3x3 grid [ ], [ ], [x], [x], [ ], [ ], [ ], [ ], [ ]
Definition at line 66 of file test_filter_outlier_removal.cpp.
TEST | ( | OutlierRemoval | , |
preserve_points | |||
) |
Don't remove a point that has a neighbor in a 3x3 grid Point could be in any cell [n], [n], [n], [n], [x], [n], [n], [n], [n]
Definition at line 100 of file test_filter_outlier_removal.cpp.
TEST | ( | OutlierRemoval | , |
large_case | |||
) |
Larger example to that should preserve some and remove others p = point that should be preserved r = point that should be removed [p], [ ], [ ], [ ], [ ], [ ], [p], [ ], [r], [ ], [ ], [p], [ ], [ ], [ ], [ ], [p], [ ], [ ], [ ], [ ], [ ], [ ], [ ], [r]
Definition at line 154 of file test_filter_outlier_removal.cpp.