Loading [MathJax]/extensions/tex2jax.js
  • <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>

  • DriveWorks SDK Reference
    5.20.37 Release
    For Test and Development only

    All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    PnP.h
    Go to the documentation of this file.
    1
    2//
    3// Notice
    4// ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS" NVIDIA MAKES
    5// NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
    6// THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
    7// MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
    8//
    9// NVIDIA CORPORATION & AFFILIATES assumes no responsibility for the consequences of use of such
    10// information or for any infringement of patents or other rights of third parties that may
    11// result from its use. No license is granted by implication or otherwise under any patent
    12// or patent rights of NVIDIA CORPORATION & AFFILIATES. No third party distribution is allowed unless
    13// expressly authorized by NVIDIA. Details are subject to change without notice.
    14// This code supersedes and replaces all information previously supplied.
    15// NVIDIA CORPORATION & AFFILIATES products are not authorized for use as critical
    16// components in life support devices or systems without express written approval of
    17// NVIDIA CORPORATION & AFFILIATES.
    18//
    19// SPDX-FileCopyrightText: Copyright (c) 2019-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
    20// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
    21//
    22// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
    23// property and proprietary rights in and to this material, related
    24// documentation and any modifications thereto. Any use, reproduction,
    25// disclosure or distribution of this material and related documentation
    26// without an express license agreement from NVIDIA CORPORATION or
    27// its affiliates is strictly prohibited.
    28//
    30
    46#ifndef DW_IMAGEPROCESSING_GEOMETRY_PNP_H_
    47#define DW_IMAGEPROCESSING_GEOMETRY_PNP_H_
    48
    50#include <dw/core/base/Types.h>
    51
    52#ifdef __cplusplus
    53extern "C" {
    54#endif
    55
    59typedef struct dwPnPObject* dwPnPHandle_t;
    60
    78 size_t ransacIterations,
    79 size_t optimizerIterations,
    81
    96
    100#define DW_PNP_MAX_POINT_COUNT 128
    101
    122 size_t matchCount,
    123 const dwVector3f* rays,
    124 const dwVector3f* worldPoints,
    125 dwPnPHandle_t obj);
    126
    143
    144#ifdef __cplusplus
    145}
    146#endif
    148#endif
    NVIDIA DriveWorks API: Core Methods
    dwStatus
    Status definition.
    Definition: ErrorDefs.h:44
    Defines a three-element floating-point vector.
    Definition: MatrixTypes.h:76
    NVIDIA DriveWorks API: Core Types
    struct dwContextObject * dwContextHandle_t
    Context handle.
    Definition: Context.h:85
    #define DW_API_PUBLIC
    Definition: Exports.h:56
    struct dwPnPObject * dwPnPHandle_t
    A pointer to the handle representing a PnP solver.
    Definition: PnP.h:59
    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.
    DW_API_PUBLIC dwStatus dwPnP_reset(dwPnPHandle_t obj)
    Resets the PnP solver.
    DW_API_PUBLIC dwStatus dwPnP_initialize(dwPnPHandle_t *obj, size_t ransacIterations, size_t optimizerIterations, dwContextHandle_t ctx)
    Initializes a PnP solver.
    DW_API_PUBLIC dwStatus dwPnP_release(dwPnPHandle_t obj)
    Releases the PnP solver.
    Specifies a 3D rigid transformation.
    Definition: MatrixTypes.h:182
    人人超碰97caoporen国产