NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
DepthMap.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2020-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
26 #ifndef DW_POINTCLOUDPROCESSING_DEPTHMAPCREATOR_DEPTHMAP_H_
27 #define DW_POINTCLOUDPROCESSING_DEPTHMAPCREATOR_DEPTHMAP_H_
28 
29 #include <dw/core/base/Types.h>
30 #include <dw/pointcloudprocessing/pointcloud/PointCloud.h>
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
39 typedef enum {
45 
49 typedef enum {
59 
63 typedef struct
64 {
66  uint32_t width;
68  uint32_t height;
69 
72 
77 
79 
81 typedef struct dwDepthMapObject* dwDepthMapHandle_t;
82 typedef struct dwDepthMapObject const* dwConstDepthMapHandle_t;
83 
99 
114 
130 
146 
162 
178 
179 #ifdef __cplusplus
180 }
181 #endif
182 
183 #endif // DW_POINTCLOUDPROCESSING_DEPTHMAPCREATOR_DEPTHMAP_H_
dwDepthMap_getSensorStartTimestamp
DW_API_PUBLIC dwStatus dwDepthMap_getSensorStartTimestamp(dwTime_t *const timestamp, dwConstDepthMapHandle_t depthMapHandle)
Get depth map timestamp.
DW_POINTCLOUD_DEPTHMAP_TYPE_NATIVE
@ DW_POINTCLOUD_DEPTHMAP_TYPE_NATIVE
The depth map grid is defined as:
Definition: DepthMap.h:43
DW_DEPTH_IMAGE_FORMAT_RTHI
@ DW_DEPTH_IMAGE_FORMAT_RTHI
RGBA_FLOAT32 image where each pixel is a tuple of 3D polar coordinate and intensity.
Definition: DepthMap.h:53
dwDepthImageFormat
dwDepthImageFormat
Defines depth map image type.
Definition: DepthMap.h:49
dwDepthMapProperties
Defines depth map common properties.
Definition: DepthMap.h:63
timestamp
const WFDPipeline const WFDSource const WFDTransition const WFDRect *const const WFDuint64 timestamp
Definition: wfdext.h:61
dwDepthMapProperties::depthMapType
dwDepthMapType depthMapType
Type of a depth map.
Definition: DepthMap.h:74
DW_DEPTH_IMAGE_FORMAT_INTENSITY
@ DW_DEPTH_IMAGE_FORMAT_INTENSITY
R_FLOAT32 image where each pixel is the Lidar intensity.
Definition: DepthMap.h:57
dwTime_t
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
Definition: BasicTypes.h:54
dwDepthMapProperties::memoryType
dwMemoryType memoryType
Definition: DepthMap.h:71
dwDepthMap_getSensorEndTimestamp
DW_API_PUBLIC dwStatus dwDepthMap_getSensorEndTimestamp(dwTime_t *const timestamp, dwConstDepthMapHandle_t depthMapHandle)
Get depth map timestamp.
dwDepthMap_getTimestamp
DW_API_PUBLIC dwStatus dwDepthMap_getTimestamp(dwTime_t *const timestamp, dwConstDepthMapHandle_t depthMapHandle)
Get depth map timestamp.
dwDepthMap_getProperties
DW_API_PUBLIC dwStatus dwDepthMap_getProperties(dwDepthMapProperties *const properties, dwConstDepthMapHandle_t depthMapHandle)
Get depth map properties.
dwDepthMapProperties::imageFormat
dwDepthImageFormat imageFormat
Depth image format.
Definition: DepthMap.h:76
dwDepthMapHandle_t
struct dwDepthMapObject * dwDepthMapHandle_t
Handle representing the DepthMap interface.
Definition: DepthMap.h:81
dwConstDepthMapHandle_t
struct dwDepthMapObject const * dwConstDepthMapHandle_t
Definition: DepthMap.h:82
DW_DEPTH_IMAGE_FORMAT_XYZI
@ DW_DEPTH_IMAGE_FORMAT_XYZI
RGBA_FLOAT32 image where each pixel is a tuple of 3D cartesian coordinate and intensity.
Definition: DepthMap.h:51
dwDepthMapProperties::width
uint32_t width
Depth map width in pixels.
Definition: DepthMap.h:66
dwMemoryType
dwMemoryType
Memory type definitions.
Definition: TypesExtra.h:142
dwDepthMapProperties::height
uint32_t height
Depth map height in pixels.
Definition: DepthMap.h:68
dwDepthMap_initialize
DW_API_PUBLIC dwStatus dwDepthMap_initialize(dwDepthMapHandle_t *const depthMap, dwDepthMapProperties const properties)
Allocate buffers for depth map object.
dwStatus
dwStatus
Status definition.
Definition: ErrorDefs.h:27
DW_API_PUBLIC
#define DW_API_PUBLIC
Definition: Exports.h:38
DW_DEPTH_IMAGE_FORMAT_DISTANCE
@ DW_DEPTH_IMAGE_FORMAT_DISTANCE
R_UINT8 image where each pixel represents 3D distance in XYZ space.
Definition: DepthMap.h:55
dwDepthMap_release
DW_API_PUBLIC dwStatus dwDepthMap_release(dwDepthMapHandle_t const depthMap)
Release buffers of depth map object.
dwDepthMapType
dwDepthMapType
Defines depth map type.
Definition: DepthMap.h:39