#include <ClStatisticalOutlierFilter.hpp>
Public Member Functions | |
void | calcDistances () |
void | calcStatistics () |
ClSOR (floatArr &points, size_t num_points, int k, int device=0) | |
void | freeGPU () |
int | getInliers (lvr2::indexArray &inliers) |
void | setK (int k) |
Set the number of k nearest neighbors k-neighborhood. More... | |
void | setMult (float std_dev_mult) |
~ClSOR () | |
Private Member Functions | |
void | finalizeCl () |
void | getDeviceInformation (int platform_id=0, int device_id=0) |
const char * | getErrorString (cl_int error) |
void | init () |
void | initCl () |
void | initKdTree () |
PRIVATE ///. More... | |
void | loadSORKernel () |
Private Attributes | |
cl_mem | D_Distances |
cl_mem | D_kd_tree_splits |
cl_mem | D_kd_tree_values |
cl_mem | D_V |
boost::shared_ptr< LBKdTree > | kd_tree_gen |
LBPointArray< unsigned char > * | kd_tree_splits |
LBPointArray< float > * | kd_tree_values |
cl_command_queue | m_command_queue |
cl_context | m_context |
cl_ulong | m_device_global_memory |
cl_device_id | m_device_id |
LBPointArray< float > | m_distances |
int | m_k |
cl_kernel | m_kernel_sor |
double | m_mean_ |
cl_uint | m_mps |
double | m_mult_ |
cl_platform_id | m_platform_id |
cl_program | m_program_es |
cl_program | m_program_in |
cl_int | m_ret |
double | m_std_dev_ |
cl_uint | m_threads_per_block |
const char * | SOR_KERNEL_STRING |
LBPointArray< float > | V |
Definition at line 64 of file ClStatisticalOutlierFilter.hpp.
lvr2::ClSOR::ClSOR | ( | floatArr & | points, |
size_t | num_points, | ||
int | k, | ||
int | device = 0 |
||
) |
Definition at line 34 of file ClStatisticalOutlierFilter.cpp.
lvr2::ClSOR::~ClSOR | ( | ) |
Definition at line 55 of file ClStatisticalOutlierFilter.cpp.
void lvr2::ClSOR::calcDistances | ( | ) |
Definition at line 62 of file ClStatisticalOutlierFilter.cpp.
void lvr2::ClSOR::calcStatistics | ( | ) |
Definition at line 149 of file ClStatisticalOutlierFilter.cpp.
|
private |
Definition at line 239 of file ClStatisticalOutlierFilter.cpp.
void lvr2::ClSOR::freeGPU | ( | ) |
Definition at line 192 of file ClStatisticalOutlierFilter.cpp.
|
private |
Definition at line 379 of file ClStatisticalOutlierFilter.cpp.
|
private |
Definition at line 301 of file ClStatisticalOutlierFilter.cpp.
int lvr2::ClSOR::getInliers | ( | lvr2::indexArray & | inliers | ) |
Definition at line 170 of file ClStatisticalOutlierFilter.cpp.
|
private |
|
private |
Definition at line 225 of file ClStatisticalOutlierFilter.cpp.
|
private |
PRIVATE ///.
Definition at line 217 of file ClStatisticalOutlierFilter.cpp.
|
private |
Definition at line 258 of file ClStatisticalOutlierFilter.cpp.
void lvr2::ClSOR::setK | ( | int | k | ) |
Set the number of k nearest neighbors k-neighborhood.
k | The size of the used k-neighborhood |
Definition at line 184 of file ClStatisticalOutlierFilter.cpp.
|
inline |
Definition at line 78 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 137 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 136 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 135 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 134 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 115 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 111 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 110 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 128 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 127 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 125 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 122 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 114 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 104 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 131 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 106 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 123 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 105 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 121 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 129 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 130 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 126 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 107 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 124 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 140 of file ClStatisticalOutlierFilter.hpp.
|
private |
Definition at line 109 of file ClStatisticalOutlierFilter.hpp.