44 #ifndef DW_OBJECT_OBJECTINPATHANALYZER_H__ 45 #define DW_OBJECT_OBJECTINPATHANALYZER_H__ 177 dwObjectInPathAnalyzerHandle_t analyzer);
190 dwObjectInPathAnalyzerHandle_t analyzer);
204 dwObjectInPathAnalyzerHandle_t analyzer);
217 dwObjectInPathAnalyzerHandle_t analyzer);
231 dwObjectInPathAnalyzerHandle_t analyzer);
266 dwObjectInPathAnalyzerHandle_t analyzer);
272 #endif // DW_OBJECT_OBJECTINPATHANALYZER_H__ dwBool useFreeSpace
Use free space to calculate intersections.
dwBool normalizePixelCount
Control whether or not the pixels are normalized by total object area.
NVIDIA DriveWorks API: Core Types
uint32_t imageHeight
The height of the image.
float float32_t
Specifies POD types.
uint32_t imageWidth
The width of the image.
uint32_t count
The number of elements in the objects list.
DW_API_PUBLIC dwStatus dwObjectInPathAnalyzer_setFreeSpace(const dwFreeSpaceDetection *detection, dwObjectInPathAnalyzerHandle_t analyzer)
Sets the free space.
DW_API_PUBLIC dwStatus dwObjectInPathAnalyzer_setLanes(const dwLaneDetection *laneList, dwObjectInPathAnalyzerHandle_t analyzer)
Sets the lanes.
NVIDIA DriveWorks API: Lane Detector Methods
DW_API_PUBLIC dwStatus dwObjectInPathAnalyzer_processDeviceAsync(dwObjectInPathAnalyzerHandle_t analyzer)
Process the intersections.
NVIDIA DriveWorks API: Free Space Detector Methods
dwLaneType
The type of lane.
NVIDIA DriveWorks API: Core Methods
DW_API_PUBLIC dwStatus dwObjectInPathAnalyzer_reset(dwObjectInPathAnalyzerHandle_t analyzer)
Clears the object in-path analyzer.
float32_t intersectionThreshold
The threshold to count object as an acceptable intersection.
dwCalibratedCameraHandle_t calibratedCamera
Calibrated camera to use.
DW_API_PUBLIC dwStatus dwObjectInPathAnalyzer_getObjectsInLane(dwObjectInPathAnalyzerObjects *objects, dwLaneType lane, dwObjectInPathAnalyzerHandle_t analyzer)
Get the current intersections.
float32_t intersectionAmount
The intersection ratio of intersection pixel count / object total area.
DW_API_PUBLIC dwStatus dwObjectInPathAnalyzer_getDefaultInitParams(dwObjectInPathAnalyzerParams *params)
Get the default parameters.
dwStatus
Status definition.
Holds the defintion of a boundary in one image.
struct dwCalibratedCameraObject * dwCalibratedCameraHandle_t
A pointer to the handle representing a calibrated camera.
DW_API_PUBLIC dwStatus dwObjectInPathAnalyzer_setObjects(const dwObject *objectList, uint32_t count, dwObjectInPathAnalyzerHandle_t analyzer)
Sets the objects.
DW_API_PUBLIC dwStatus dwObjectInPathAnalyzer_processHost(dwObjectInPathAnalyzerHandle_t analyzer)
Pull the information from the device to the host.
The output format of detected lanes.
DW_API_PUBLIC dwStatus dwObjectInPathAnalyzer_initialize(dwObjectInPathAnalyzerHandle_t *analyzer, const dwObjectInPathAnalyzerParams *params, dwContextHandle_t context)
Initializes an object in-path analyzer.
struct dwObjectInPathAnalyzerObject * dwObjectInPathAnalyzerHandle_t
Handle to an object lane analyzer.
DW_API_PUBLIC dwStatus dwObjectInPathAnalyzer_setTimesteps(float32_t timesteps, dwObjectInPathAnalyzerHandle_t analyzer)
Sets the timesteps.
const dwObjectInPathAnalyzerIntersection * objects
The array of intersection objects.
Holds the information for one object intersection (lane + object).
struct dwContextObject * dwContextHandle_t
Context handle.
dwObject object
The original dwObject that was intersected.
NVIDIA DriveWorks API: Object Methods
uint32_t objectAreaPixelCount
The object area in pixels given segmented (or not) by freespace.
dwLaneType lane
The intersecting lane.
Holds a list of intersections.
dwLaneType lane
The intersecting lane.
DW_API_PUBLIC dwStatus dwObjectInPathAnalyzer_release(dwObjectInPathAnalyzerHandle_t *analyzer)
Releases the object in-path analyzer.
DW_API_PUBLIC dwStatus dwObjectInPathAnalyzer_setObjectTracks(const dwObjectList *objects, uint32_t count, dwObjectInPathAnalyzerHandle_t analyzer)
Sets the object tracks.
dwTransformation cameraToRig
Camera to rig matrix.
uint32_t intersectionPixelCount
The total number of pixels that intersected between the object and the lane.
Holds the initialization parameters for object in-path analyzer.