Google Test Unit Tests for the Image Support kernels. More...
#include <iostream>#include <vector>#include <string>#include <algorithm>#include <numeric>#include <chrono>#include <random>#include <limits>#include <cmath>#include <gtest/gtest.h>#include <CLUtils.hpp>#include <GuidedFilter/algorithms.hpp>#include <GuidedFilter/tests/helper_funcs.hpp>
Namespaces | |
| GF | |
Functions | |
| TEST (ImageSupport, separateRGBChannels_Float2Float) | |
| Tests the separateRGBChannels_Float2Float kernel. More... | |
| TEST (ImageSupport, separateRGBChannels_Uchar2Float) | |
| Tests the separateRGBChannels_Uchar2Float kernel. More... | |
| TEST (ImageSupport, combineRGBChannels_Float2Float) | |
| Tests the combineRGBChannels_Float2Float kernel. More... | |
| TEST (ImageSupport, combineRGBChannels_Float2Uchar) | |
| Tests the combineRGBChannels_Float2Uchar kernel. More... | |
| TEST (ImageSupport, depth_Ushort2Float) | |
| Tests the depth_Ushort2Float kernel. More... | |
| TEST (ImageSupport, depthTo3D) | |
| Tests the depthTo3D kernel. More... | |
| TEST (ImageSupport, rgbNorm) | |
| Tests the rgbNorm kernel. More... | |
| TEST (ImageSupport, rgbdTo8D) | |
| Tests the rgbdTo8D kernel without RGB normalization. More... | |
| TEST (ImageSupport, rgbdTo8DwRGBNorm) | |
| Tests the rgbdTo8D kernel with RGB normalization. More... | |
| TEST (ImageSupport, splitPC8D) | |
| Tests the splitPC8D kernel. More... | |
| int | main (int argc, char **argv) |
Variables | |
| const std::string | kernel_filename_img { "kernels/imageSupport_kernels.cl" } |
| bool | profiling |
Google Test Unit Tests for the Image Support kernels.
--profiling flag to enable profiling of the kernels. | int main | ( | int | argc, |
| char ** | argv | ||
| ) |
| TEST | ( | ImageSupport | , |
| separateRGBChannels_Float2Float | |||
| ) |
Tests the separateRGBChannels_Float2Float kernel.
The operation is a matrix transposition.
| TEST | ( | ImageSupport | , |
| separateRGBChannels_Uchar2Float | |||
| ) |
Tests the separateRGBChannels_Uchar2Float kernel.
The operation is a matrix transposition.
| TEST | ( | ImageSupport | , |
| combineRGBChannels_Float2Float | |||
| ) |
Tests the combineRGBChannels_Float2Float kernel.
The operation is a matrix transposition.
| TEST | ( | ImageSupport | , |
| combineRGBChannels_Float2Uchar | |||
| ) |
Tests the combineRGBChannels_Float2Uchar kernel.
The operation is a matrix transposition.
| TEST | ( | ImageSupport | , |
| depth_Ushort2Float | |||
| ) |
Tests the depth_Ushort2Float kernel.
The operation is a type promotion from ushort to float.
| TEST | ( | ImageSupport | , |
| depthTo3D | |||
| ) |
Tests the depthTo3D kernel.
The operation is a transformation from the image plane to the world coordinates (w.r.t. camera frame).
| TEST | ( | ImageSupport | , |
| rgbNorm | |||
| ) |
Tests the rgbNorm kernel.
The operation is an RGB vector approximate normalization.
| TEST | ( | ImageSupport | , |
| rgbdTo8D | |||
| ) |
Tests the rgbdTo8D kernel without RGB normalization.
The kernel fuses geometry and color values into 8D feature points.
| TEST | ( | ImageSupport | , |
| rgbdTo8DwRGBNorm | |||
| ) |
Tests the rgbdTo8D kernel with RGB normalization.
The kernel fuses geometry and color values into 8D feature points.
| TEST | ( | ImageSupport | , |
| splitPC8D | |||
| ) |
Tests the splitPC8D kernel.
The kernel splits an 8-D point cloud into 4-D geometry points and RGBA color points.
| const std::string kernel_filename_img { "kernels/imageSupport_kernels.cl" } |
| bool profiling |
1.8.9.1