Point Cloud Library (PCL)  1.10.1-dev
List of all members | Public Member Functions | Public Attributes
pcl::cuda::DisparityBoundSmoothing Struct Reference

#include </__w/1/s/cuda/io/include/pcl/cuda/io/kinect_smoothing.h>

Public Member Functions

 DisparityBoundSmoothing (int width, int height, int window_size, float focal_length, float baseline, float disparity_threshold, float *data, float *raw_data)
__host__ __device__ float disparity2depth (float disparity)
__host__ __device__ float depth2disparity (float depth)
__host__ __device__ float clampToDisparityBounds (float avg_depth, float depth)
__host__ __device__ float operator() (int idx)

Public Attributes

int width_
int height_
int window_size_
float focal_length_
float baseline_
float disparity_threshold_
float * data_
float * raw_data_

Detailed Description

Definition at line 49 of file kinect_smoothing.h.

Constructor & Destructor Documentation

◆ DisparityBoundSmoothing()

pcl::cuda::DisparityBoundSmoothing::DisparityBoundSmoothing ( int  width,
int  height,
int  window_size,
float  focal_length,
float  baseline,
float  disparity_threshold,
float *  data,
float *  raw_data 

Definition at line 51 of file kinect_smoothing.h.

Member Function Documentation

◆ clampToDisparityBounds()

__host__ __device__ float pcl::cuda::DisparityBoundSmoothing::clampToDisparityBounds ( float  avg_depth,
float  depth 

Definition at line 81 of file kinect_smoothing.h.

References depth2disparity(), disparity2depth(), and disparity_threshold_.

Referenced by operator()().

◆ depth2disparity()

__host__ __device__ float pcl::cuda::DisparityBoundSmoothing::depth2disparity ( float  depth)

◆ disparity2depth()

__host__ __device__ float pcl::cuda::DisparityBoundSmoothing::disparity2depth ( float  disparity)

◆ operator()()

__host__ __device__ float pcl::cuda::DisparityBoundSmoothing::operator() ( int  idx)

Definition at line 98 of file kinect_smoothing.h.

References clampToDisparityBounds(), and width_.

Member Data Documentation

◆ baseline_

float pcl::cuda::DisparityBoundSmoothing::baseline_

Definition at line 60 of file kinect_smoothing.h.

◆ data_

float* pcl::cuda::DisparityBoundSmoothing::data_

Definition at line 62 of file kinect_smoothing.h.

◆ disparity_threshold_

float pcl::cuda::DisparityBoundSmoothing::disparity_threshold_

Definition at line 61 of file kinect_smoothing.h.

Referenced by clampToDisparityBounds().

◆ focal_length_

float pcl::cuda::DisparityBoundSmoothing::focal_length_

Definition at line 59 of file kinect_smoothing.h.

◆ height_

int pcl::cuda::DisparityBoundSmoothing::height_

Definition at line 57 of file kinect_smoothing.h.

◆ raw_data_

float* pcl::cuda::DisparityBoundSmoothing::raw_data_

Definition at line 63 of file kinect_smoothing.h.

◆ width_

int pcl::cuda::DisparityBoundSmoothing::width_

◆ window_size_

int pcl::cuda::DisparityBoundSmoothing::window_size_

Definition at line 58 of file kinect_smoothing.h.

The documentation for this struct was generated from the following file: