![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Sensor "depth map". More...
#include <ecvDepthBuffer.h>
Public Member Functions | |
| ccDepthBuffer () | |
| Default constructor. More... | |
| virtual | ~ccDepthBuffer () |
| Destructor. More... | |
| void | clear () |
| Clears the buffer. More... | |
| int | fillHoles () |
Public Attributes | |
| std::vector< PointCoordinateType > | zBuff |
| Z-Buffer grid. More... | |
| PointCoordinateType | deltaPhi |
| Pitch step (may differ from the sensor's) More... | |
| PointCoordinateType | deltaTheta |
| Yaw step (may differ from the sensor's) More... | |
| unsigned | width |
| Buffer width. More... | |
| unsigned | height |
| Buffer height. More... | |
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).
| ccDepthBuffer::ccDepthBuffer | ( | ) |
Default constructor.
|
virtual |
Destructor.
References clear().
| void ccDepthBuffer::clear | ( | ) |
Clears the buffer.
References deltaPhi, deltaTheta, height, width, and zBuff.
Referenced by ccGBLSensor::clearDepthBuffer(), and ~ccDepthBuffer().
| 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).
References height, width, x, y, z, and zBuff.
Referenced by ccGBLSensor::computeDepthBuffer().
| PointCoordinateType ccDepthBuffer::deltaPhi |
Pitch step (may differ from the sensor's)
Referenced by clear(), ccGBLSensor::computeDepthBuffer(), and ccGBLSensor::convertToDepthMapCoords().
| PointCoordinateType ccDepthBuffer::deltaTheta |
Yaw step (may differ from the sensor's)
Referenced by clear(), ccGBLSensor::computeDepthBuffer(), and ccGBLSensor::convertToDepthMapCoords().
| unsigned ccDepthBuffer::height |
| unsigned ccDepthBuffer::width |
| std::vector<PointCoordinateType> ccDepthBuffer::zBuff |