qCC_db  version 2.5.4 (Qt) - 19 Apr 2014
 All Classes Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Public Attributes | List of all members
ccGBLSensor::DepthBuffer Struct Reference

Sensor "depth map". More...

#include <ccGBLSensor.h>

Public Member Functions

 DepthBuffer ()
 Default constructor.
 
 ~DepthBuffer ()
 Destructor.
 
int fillHoles ()
 Applies a mean filter to fill the small holes (lack of information) of the depth map. More...
 

Public Attributes

ScalarType * zBuff
 Z-Buffer grid.
 
unsigned width
 Buffer width.
 
unsigned height
 Buffer height.
 

Detailed Description

Sensor "depth map".

Contains an array of depth values (along each scanned direction) and its dimensions. This array corresponds roughly to what have been "seen" by the sensor during acquisition (the 3D points are simply projected in the sensor frame).

Member Function Documentation

int ccGBLSensor::DepthBuffer::fillHoles ( )

Applies a mean filter to fill the small holes (lack of information) of the depth map.

The depth buffer must have been created before (see GroundBasedLidarSensor::project).

Returns
a negative value if an error occurs, 0 otherwise

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