Google Test Unit Tests for the ICP
kernels.
More...
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <chrono>
#include <random>
#include <limits>
#include <cmath>
#include <gtest/gtest.h>
#include <CLUtils.hpp>
#include <RBC/data_types.hpp>
#include <ICP/algorithms.hpp>
#include <ICP/tests/helper_funcs.hpp>
Namespaces | |
ICP | |
Offers functions that are serial CPU implementations of the relevant algorithms in the ICP pipeline. | |
Functions | |
TEST (ICP, getLMs) | |
Tests the icpGetLMs kernel. More... | |
TEST (ICP, getReps) | |
Tests the icpGetReps kernel. More... | |
TEST (ICP, icpComputeReduceWeights) | |
Tests the icpComputeReduceWeights kernel. More... | |
TEST (ICP, icpMean) | |
Tests the icpMean kernel. More... | |
TEST (ICP, icpMean_Weighted) | |
Tests the icpMean_Weighted kernel. More... | |
TEST (ICP, icpSubtractMean) | |
Tests the icpSubtractMean kernel. More... | |
TEST (ICP, icpSijProducts) | |
Tests the icpSijProducts kernel. More... | |
TEST (ICP, icpSijProducts_Weighted) | |
Tests the icpSijProducts_Weighted kernel. More... | |
TEST (ICP, icpTransform_Quaternion) | |
Tests the icpTransform_Quaternion kernel. More... | |
TEST (ICP, icpTransform_Matrix) | |
Tests the icpTransform_Matrix kernel. More... | |
TEST (ICP, icpPowerMethod) | |
Tests the icpPowerMethod kernel. More... | |
int | main (int argc, char **argv) |
Variables | |
const std::string | kernel_filename_reduce { "kernels/ICP/reduce_kernels.cl" } |
const std::string | kernel_filename_icp { "kernels/ICP/icp_kernels.cl" } |
bool | profiling |
Google Test Unit Tests for the ICP
kernels.
--profiling
flag to enable profiling of the kernels. int main | ( | int | argc, |
char ** | argv | ||
) |
TEST | ( | ICP | , |
getLMs | |||
) |
Tests the icpGetLMs kernel.
The kernel samples a set of landmarks.
TEST | ( | ICP | , |
getReps | |||
) |
Tests the icpGetReps kernel.
The kernel samples a set of representatives.
TEST | ( | ICP | , |
icpComputeReduceWeights | |||
) |
Tests the icpComputeReduceWeights kernel.
The kernel computes weights and their sum.
TEST | ( | ICP | , |
icpMean | |||
) |
Tests the icpMean kernel.
The kernel computes the means of sets of points.
TEST | ( | ICP | , |
icpMean_Weighted | |||
) |
Tests the icpMean_Weighted kernel.
The kernel computes the means of sets of points.
TEST | ( | ICP | , |
icpSubtractMean | |||
) |
Tests the icpSubtractMean kernel.
The kernel computes the deviations of a set of points from their mean.
TEST | ( | ICP | , |
icpSijProducts | |||
) |
Tests the icpSijProducts kernel.
The kernel produces the products in the Si elements of the S matrix.
TEST | ( | ICP | , |
icpSijProducts_Weighted | |||
) |
Tests the icpSijProducts_Weighted kernel.
The kernel produces the weighted products in the Si elements of the S matrix.
TEST | ( | ICP | , |
icpTransform_Quaternion | |||
) |
Tests the icpTransform_Quaternion kernel.
The kernel transforms a set of points using a unit quaternion and a translation vector.
TEST | ( | ICP | , |
icpTransform_Matrix | |||
) |
Tests the icpTransform_Matrix kernel.
The kernel transforms a set of points using a transformation matrix.
TEST | ( | ICP | , |
icpPowerMethod | |||
) |
Tests the icpPowerMethod kernel.
The kernel uses the Power Method to estimate the incremental development in the transformation estimation.
const std::string kernel_filename_icp { "kernels/ICP/icp_kernels.cl" } |
const std::string kernel_filename_reduce { "kernels/ICP/reduce_kernels.cl" } |
bool profiling |