Helper class to store a list of pixel instances in a compact mannersuch that it can be transferred between CPU and GPU. More...
#include <random_tree_image.h>
Public Member Functions | |
| Samples (const Samples &samples) | |
| does not copy data | |
| template<class T > | |
| Samples (const Samples< T > &samples, cudaStream_t stream) | |
| copies the data | |
| Samples (size_t numSamples, boost::shared_ptr< cuv::allocator > &allocator) | |
| allocates memory for data | |
Public Attributes | |
| cuv::ndarray< int, memory_space > | data |
| all data associated with the pixel | |
| float * | depths |
| depth of the pixel | |
| int * | sampleX |
| x coordinate of the pixel | |
| int * | sampleY |
| y coordinate of the pixel | |
| int * | imageNumbers |
| number of image that has the pixel | |
| uint8_t * | labels |
| label of the pixel | |
| HorizontalFlipSetting * | horFlipSetting |
| flipping setting of the pixel | |
Helper class to store a list of pixel instances in a compact manner
such that it can be transferred between CPU and GPU.
Clients are not intended to use this class directly.
Definition at line 896 of file random_tree_image.h.
1.8.1.2