- Welcome
- Getting Started With the NVIDIA DriveWorks SDK
- Modules
- Samples
- Tools
- Tutorials
- SDK Porting Guide
- DriveWorks API
- More
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) |
Initializes a PnP solver. More... | |
DW_API_PUBLIC dwStatus | dwPnP_release (dwPnPHandle_t obj) |
Releases the 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) |
Estimates the worldToCamera pose based on optical ray to 3D world point correspondences. More... | |