NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
PnP.h File Reference

Detailed Description

NVIDIA DriveWorks API: Perspective-n-point Methods

Description: This file defines methods to solve the perspective-n-points (PnP) problem.

Definition in file PnP.h.

Go to the source code of this file.

Macros

#define DW_PNP_MAX_POINT_COUNT   128
 Defines the maximum number of points that can be processed by the PnP solver. More...
 

Typedefs

typedef struct dwPnPObject * dwPnPHandle_t
 A pointer to the handle representing a PnP solver. More...
 

Functions

DW_API_PUBLIC dwStatus dwPnP_initialize (dwPnPHandle_t *obj, size_t ransacIterations, size_t optimizerIterations, dwContextHandle_t ctx)
 @req{GID-AV_REQ-7051551} Initializes a PnP solver. More...
 
DW_API_PUBLIC dwStatus dwPnP_reset (dwPnPHandle_t obj)
 Resets the PnP solver. More...
 
DW_API_PUBLIC dwStatus dwPnP_solve (dwTransformation3f *worldToCamera, size_t matchCount, const dwVector3f *rays, const dwVector3f *worldPoints, dwPnPHandle_t obj)
 @req{GID-AV_REQ-7051582} More...
 
DW_API_PUBLIC dwStatus dwPnP_release (dwPnPHandle_t obj)
 Releases the PnP solver. More...