NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
PnP.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2019-2025 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 
30 #ifndef DW_IMAGEPROCESSING_GEOMETRY_PNP_H_
31 #define DW_IMAGEPROCESSING_GEOMETRY_PNP_H_
32 
34 #include <dw/core/base/Types.h>
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
43 typedef struct dwPnPObject* dwPnPHandle_t;
44 
63  size_t ransacIterations,
64  size_t optimizerIterations,
65  dwContextHandle_t ctx);
66 
81 
85 #define DW_PNP_MAX_POINT_COUNT 128
86 
109  size_t matchCount,
110  const dwVector3f* rays,
111  const dwVector3f* worldPoints,
113 
130 
131 #ifdef __cplusplus
132 }
133 #endif
134 
135 #endif
dwPnP_initialize
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.
Types.h
dwPnPHandle_t
struct dwPnPObject * dwPnPHandle_t
A pointer to the handle representing a PnP solver.
Definition: PnP.h:43
dwPnP_solve
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}
dwPnP_reset
DW_API_PUBLIC dwStatus dwPnP_reset(dwPnPHandle_t obj)
Resets the PnP solver.
dwVector3f
Defines a three-element floating-point vector.
Definition: MatrixTypes.h:74
obj
const NvSciSyncObj *const obj
Definition: wfdext.h:528
dwStatus
dwStatus
Status definition.
Definition: ErrorDefs.h:32
dwContextHandle_t
struct dwContextObject * dwContextHandle_t
Context handle.
Definition: Context.h:81
dwPnP_release
DW_API_PUBLIC dwStatus dwPnP_release(dwPnPHandle_t obj)
Releases the PnP solver.
dwTransformation3f
Specifies a 3D rigid transformation.
Definition: MatrixTypes.h:226
DW_API_PUBLIC
#define DW_API_PUBLIC
Definition: core/base/Exports.h:57
Context.h