DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

LandmarkDetectorTypes.h
Go to the documentation of this file.
1 // This code contains NVIDIA Confidential Information and is disclosed
3 // under the Mutual Non-Disclosure Agreement.
4 //
5 // Notice
6 // ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS" NVIDIA MAKES
7 // NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
8 // THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
9 // MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
10 //
11 // NVIDIA Corporation assumes no responsibility for the consequences of use of such
12 // information or for any infringement of patents or other rights of third parties that may
13 // result from its use. No license is granted by implication or otherwise under any patent
14 // or patent rights of NVIDIA Corporation. No third party distribution is allowed unless
15 // expressly authorized by NVIDIA. Details are subject to change without notice.
16 // This code supersedes and replaces all information previously supplied.
17 // NVIDIA Corporation products are not authorized for use as critical
18 // components in life support devices or systems without express written approval of
19 // NVIDIA Corporation.
20 //
21 // Copyright (c) 2015-2020 NVIDIA Corporation. All rights reserved.
22 //
23 // NVIDIA Corporation and its licensors retain all intellectual property and proprietary
24 // rights in and to this software and related documentation and any modifications thereto.
25 // Any use, reproduction, disclosure or distribution of this software and related
26 // documentation without an express license agreement from NVIDIA Corporation is
27 // strictly prohibited.
28 //
30 
41 #ifndef DW_PERCEPTION_LANDMARKS_CAMERA_LANDMARKDETECTOR_TYPES_H_
42 #define DW_PERCEPTION_LANDMARKS_CAMERA_LANDMARKDETECTOR_TYPES_H_
43 
44 #include <dw/core/Types.h>
47 
48 #define DW_LANEMARK_TRACKID_MAX 100
49 #define DW_LANEMARK_TRACKID_INVALID DW_LANEMARK_TRACKID_MAX + 1
50 
51 #define DW_LANEMARK_MAX_COUNT 32
52 #define DW_LANEMARK_POINT_MAX_COUNT 128
53 
54 #define DW_POLE_DETECTION_MAX_COUNT 32
55 
56 #define DW_LANDMARK_MAX_COUNT 128
57 #define DW_LANDMARK_POINT_MAX_COUNT 512
58 
60 #define DW_ROADMARK_MAX_BBOX_COUNT 64
61 
63 typedef enum {
72 
74 
76 typedef struct
77 {
79  uint32_t trackId;
80 
83 
86 
89 
92 
94  uint32_t numPoints;
95 
98 
100 
103 
104 } dwLaneMarking;
105 
107 typedef struct dwLaneDetection
108 {
109 
111  uint32_t numLaneMarkings;
112 
115 
118 
120 
122 // A definition of one pole.
123 typedef struct dwPole
124 {
126  uint32_t numPoints;
127 
130 } dwPole;
131 
133 typedef struct dwPoleDetection
134 {
136  uint32_t numPoles;
137 
141 
143 typedef struct dwLandmark
144 {
146  uint32_t trackId;
147 
150 
152  uint32_t numPoints;
153 
156 
158  bool isClose;
159 
162 
165 } dwLandmark;
166 
168 typedef struct dwLandmarkDetection
169 {
171  uint32_t numLandmarks;
172 
175 
177 
179 typedef struct dwRoadmark
180 {
182  uint32_t trackId;
183 
187  uint32_t groupId;
188 
191 
194 
197 
200 
203 
206 } dwRoadmark;
207 
209 typedef struct dwRoadmarkDetection
210 {
212  uint32_t numRoadmarks;
213 
216 
220 
221 #endif // DW_PERCEPTION_LANDMARKS_CAMERA_LANDMARKDETECTOR_TYPES_H_
Describes the overall landmark type and sub attribute for a given landmark.
dwRectf boundingBoxWorld
Detected bounding box in world coordinates that potentially contains a road marking.
dwRectf boundingBoxImage
Detected bounding box in image coordinates that potentially contains a road marking.
uint32_t groupId
Group id for road mark object.
This structure and dwPoleDetection are deprecated, going forward pelase only use dwLandmark and dwLan...
uint32_t numPoints
Number of points in the array.
dwTime_t timestamp
Image timestamp.
The output format of detected poles.
NVIDIA DriveWorks API: Core Types
float float32_t
Specifies POD types.
Definition: Types.h:70
Definition of a single road marking.
uint32_t numLandmarks
Number of detected land marks.
dwRoadmarkType
Describes roadmark types.
A definition of one lane.
float32_t confidence
Confidence Score. Confidence score.
Defines a three-element floating-point vector.
Definition: Types.h:319
Defines a two-element single-precision floating-point vector.
Definition: Types.h:291
dwLaneGraphLaneType laneType
Lane assignment for road mark object.
#define DW_LANEMARK_MAX_COUNT
dwLaneGraphLaneType
The type of a lane.
Definition: LaneGraph.h:108
lane marking on the left side next to ego lane
A definition of one landmark.
float32_t confidence
Detection confidence score.
The output format of detected line types.
uint32_t numPoles
Number of detected poles.
Definition: Types.h:204
dwLaneMarkType
Describes Lane marking attributes of the super landmark type DW_LANDMARK_TYPE_LANE_MARKINGS defined a...
Definition: LandmarkTypes.h:61
uint32_t numPoints
Number of points in the array.
dwLaneMarkColor lineColor
Category of the line color of lane marking.
dwRoadmarkType roadmarkType
Road mark classification.
dwLanePositionType
Definition of the position of a lane marking in respect to the ego lane.
this can be same as ego right or different if this is split lane
dwTime_t timestamp
Timestamp of frame used for detection.
NVIDIA DriveWorks API: LaneGraph
lane marking on the right side next to ego lane
#define DW_LANEMARK_POINT_MAX_COUNT
dwLanePositionType positionType
Category of the position of lane marking.
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
Definition: Types.h:82
The output of road mark detection and classification.
uint32_t numRoadmarks
Number of detected road markings.
#define DW_LANDMARK_POINT_MAX_COUNT
bool isClose
closed polygon or not:
left lane marking of the ego lane
dwLandmarkAttribute landmarkAttribute
type;
The output format of detected lanes.
dwLaneMarkType lineType
Category of the line type of lane marking.
#define DW_ROADMARK_MAX_BBOX_COUNT
Maximum number of images patches the classifier can process at a time.
lane marking has been identified but has not been categorized
uint32_t trackId
Track ID. A unique id assigned by lane tracking module.
uint32_t numPoints
Number of points in the array.
uint32_t trackId
Track ID. A unique id.
#define DW_POLE_DETECTION_MAX_COUNT
#define DW_LANDMARK_MAX_COUNT
float32_t confidence
Confidence Score. Confidence score computed by lane detection.
uint32_t numLaneMarkings
Number of detected lane markings.
this can be same as ego left or different if this is split lane
right lane marking of the ego lane
float32_t classConfidence
Classification confidence score.
dwLaneMarking laneMarkings[DW_LANEMARK_MAX_COUNT]
Detected lane markings.
uint32_t trackId
Unique track id for road mark object.
dwLaneMarkColor
Describes Lane marking colors of the super landmark type DW_LANDMARK_TYPE_LANE_MARKINGS defined above...