qCC_db version 2.13.alpha (Qt) - 31 May 2022
CloudCompare 3D entities
Public Member Functions | Public Attributes | List of all members
ccDepthBuffer Class Reference

Sensor "depth map". More...

#include <ccDepthBuffer.h>

Collaboration diagram for ccDepthBuffer:
Collaboration graph
[legend]

Public Member Functions

 ccDepthBuffer ()
 Default constructor.
 
virtual ~ccDepthBuffer ()
 Destructor.
 
void clear ()
 Clears the buffer.
 
int fillHoles ()
 Applies a mean filter to fill small holes (= lack of information) of the depth map. More...
 

Public Attributes

std::vector< PointCoordinateType > zBuff
 Z-Buffer grid.
 
PointCoordinateType deltaPhi
 Pitch step (may differ from the sensor's)
 
PointCoordinateType deltaTheta
 Yaw step (may differ from the sensor's)
 
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

◆ fillHoles()

int ccDepthBuffer::fillHoles ( )

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

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

Returns
a negative value if an error occurs, 0 otherwise

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