Point Cloud Library (PCL)
1.14.1-dev
|
#include </__w/1/s/gpu/people/include/pcl/gpu/people/bodyparts_detector.h>
Public Types | |
using | Ptr = shared_ptr< RDFBodyPartsDetector > |
using | ConstPtr = shared_ptr< const RDFBodyPartsDetector > |
using | BlobMatrix = std::vector< std::vector< Blob2, Eigen::aligned_allocator< Blob2 > > > |
using | Labels = DeviceArray2D< unsigned char > |
using | Depth = DeviceArray2D< unsigned short > |
using | Image = DeviceArray2D< pcl::RGB > |
Public Member Functions | |
RDFBodyPartsDetector (const std::vector< std::string > &tree_files, int default_buffer_rows=480, int default_buffer_cols=640) | |
This is the constructor. More... | |
void | process (const Depth &depth, const PointCloud< PointXYZ > &cloud, int min_pts_per_cluster) |
This function does the complete RDF evaluation in a discrete manner and builds the blob matrix. More... | |
void | processProb (const Depth &depth) |
This function processes based on the RDF with probabilistic voting scheme. More... | |
void | processSmooth (const Depth &depth, const PointCloud< PointXYZ > &cloud, int min_pts_per_cluster) |
This smooths the labels and does the connected components. More... | |
int | processRelations () |
This processes the blob_matrix_. More... | |
int | processRelations (PersonAttribs::Ptr person_attribs) |
This processes the blob_matrix_. More... | |
const Labels & | getLabels () const |
const pcl::device::LabelProbability & | getProbability () const |
const pcl::device::LabelProbability & | getProbability1 () const |
const pcl::device::LabelProbability & | getProbability2 () const |
const pcl::device::LabelProbability & | getPrevProbability1 () const |
const pcl::device::LabelProbability & | getPrevProbability2 () const |
std::size_t | getNumberTrees () const |
const BlobMatrix & | getBlobMatrix () const |
Public Attributes | |
Labels | labels_ |
This contains the final body part labels. More... | |
Labels | labels_smoothed_ |
This contains the smoothed final body part labels. More... | |
pcl::device::LabelProbability | P_l_ |
These contain the histograms of the labels for this detector. More... | |
pcl::device::LabelProbability | P_l_Gaus_ |
pcl::device::LabelProbability | P_l_Gaus_Temp_ |
pcl::device::LabelProbability | P_l_1_ |
pcl::device::LabelProbability | P_l_2_ |
pcl::device::LabelProbability | P_l_prev_1_ |
These contain the histograms of the labels for this detector of the previous timestep. More... | |
pcl::device::LabelProbability | P_l_prev_2_ |
Definition at line 64 of file bodyparts_detector.h.
using pcl::gpu::people::RDFBodyPartsDetector::BlobMatrix = std::vector<std::vector<Blob2, Eigen::aligned_allocator<Blob2> > > |
Definition at line 69 of file bodyparts_detector.h.
using pcl::gpu::people::RDFBodyPartsDetector::ConstPtr = shared_ptr<const RDFBodyPartsDetector> |
Definition at line 68 of file bodyparts_detector.h.
using pcl::gpu::people::RDFBodyPartsDetector::Depth = DeviceArray2D<unsigned short> |
Definition at line 72 of file bodyparts_detector.h.
Definition at line 73 of file bodyparts_detector.h.
using pcl::gpu::people::RDFBodyPartsDetector::Labels = DeviceArray2D<unsigned char> |
Definition at line 71 of file bodyparts_detector.h.
using pcl::gpu::people::RDFBodyPartsDetector::Ptr = shared_ptr<RDFBodyPartsDetector> |
Definition at line 67 of file bodyparts_detector.h.
pcl::gpu::people::RDFBodyPartsDetector::RDFBodyPartsDetector | ( | const std::vector< std::string > & | tree_files, |
int | default_buffer_rows = 480 , |
||
int | default_buffer_cols = 640 |
||
) |
This is the constructor.
const BlobMatrix& pcl::gpu::people::RDFBodyPartsDetector::getBlobMatrix | ( | ) | const |
const Labels& pcl::gpu::people::RDFBodyPartsDetector::getLabels | ( | ) | const |
std::size_t pcl::gpu::people::RDFBodyPartsDetector::getNumberTrees | ( | ) | const |
const pcl::device::LabelProbability& pcl::gpu::people::RDFBodyPartsDetector::getPrevProbability1 | ( | ) | const |
const pcl::device::LabelProbability& pcl::gpu::people::RDFBodyPartsDetector::getPrevProbability2 | ( | ) | const |
const pcl::device::LabelProbability& pcl::gpu::people::RDFBodyPartsDetector::getProbability | ( | ) | const |
const pcl::device::LabelProbability& pcl::gpu::people::RDFBodyPartsDetector::getProbability1 | ( | ) | const |
const pcl::device::LabelProbability& pcl::gpu::people::RDFBodyPartsDetector::getProbability2 | ( | ) | const |
void pcl::gpu::people::RDFBodyPartsDetector::process | ( | const Depth & | depth, |
const PointCloud< PointXYZ > & | cloud, | ||
int | min_pts_per_cluster | ||
) |
This function does the complete RDF evaluation in a discrete manner and builds the blob matrix.
void pcl::gpu::people::RDFBodyPartsDetector::processProb | ( | const Depth & | depth | ) |
This function processes based on the RDF with probabilistic voting scheme.
int pcl::gpu::people::RDFBodyPartsDetector::processRelations | ( | ) |
This processes the blob_matrix_.
int pcl::gpu::people::RDFBodyPartsDetector::processRelations | ( | PersonAttribs::Ptr | person_attribs | ) |
This processes the blob_matrix_.
[in] | person_attribs | the custom person parameters |
void pcl::gpu::people::RDFBodyPartsDetector::processSmooth | ( | const Depth & | depth, |
const PointCloud< PointXYZ > & | cloud, | ||
int | min_pts_per_cluster | ||
) |
This smooths the labels and does the connected components.
Labels pcl::gpu::people::RDFBodyPartsDetector::labels_ |
This contains the final body part labels.
Definition at line 121 of file bodyparts_detector.h.
Labels pcl::gpu::people::RDFBodyPartsDetector::labels_smoothed_ |
This contains the smoothed final body part labels.
Definition at line 123 of file bodyparts_detector.h.
pcl::device::LabelProbability pcl::gpu::people::RDFBodyPartsDetector::P_l_ |
These contain the histograms of the labels for this detector.
Definition at line 126 of file bodyparts_detector.h.
pcl::device::LabelProbability pcl::gpu::people::RDFBodyPartsDetector::P_l_1_ |
Definition at line 129 of file bodyparts_detector.h.
pcl::device::LabelProbability pcl::gpu::people::RDFBodyPartsDetector::P_l_2_ |
Definition at line 130 of file bodyparts_detector.h.
pcl::device::LabelProbability pcl::gpu::people::RDFBodyPartsDetector::P_l_Gaus_ |
Definition at line 127 of file bodyparts_detector.h.
pcl::device::LabelProbability pcl::gpu::people::RDFBodyPartsDetector::P_l_Gaus_Temp_ |
Definition at line 128 of file bodyparts_detector.h.
pcl::device::LabelProbability pcl::gpu::people::RDFBodyPartsDetector::P_l_prev_1_ |
These contain the histograms of the labels for this detector of the previous timestep.
Definition at line 133 of file bodyparts_detector.h.
pcl::device::LabelProbability pcl::gpu::people::RDFBodyPartsDetector::P_l_prev_2_ |
Definition at line 134 of file bodyparts_detector.h.