Kernels for the OCLSLAM
pipeline.
More...
|
kernel void | splitPC8D_octomap (global float8 *pc8d, global float *pc3d, global uchar *rgb) |
| Splits an 8-D point cloud into 3-D coordinates (in meters) and 8-bit RGB values. More...
|
|
Kernels for the OCLSLAM
pipeline.
- Author
- Nick Lamprianidis
- Version
- 0.1.0
- Date
- 2015
- Copyright
- The MIT License (MIT)
- Copyright (c) 2015 Nick Lamprianidis
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
kernel void splitPC8D_octomap |
( |
global float8 * |
pc8d, |
|
|
global float * |
pc3d, |
|
|
global uchar * |
rgb |
|
) |
| |
Splits an 8-D point cloud into 3-D coordinates (in meters) and 8-bit RGB values.
- Note
- The global workspace should be one-dimensional. The x dimension of the global workspace, \( gXdim \), should be equal to the number of points in the point cloud. The local workspace is irrelevant.
- Parameters
-
[in] | pc8d | array with 8-D points (homogeneous coordinates + RGBA values). |
[out] | pc3d | array with 3-D coordinates (in meters). |
[out] | rgb | array with 8-bit RGB values. |