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

  • DriveWorks SDK Reference
    5.10.90 Release
    For Test and Development only

    All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    CameraModel.h File Reference

    Detailed Description

    NVIDIA DriveWorks API: Camera Methods

    Description: This file defines camera model and rig methods.

    Definition in file CameraModel.h.

    Go to the source code of this file.

    Typedefs

    typedef struct dwCameraModelObject * dwCameraModelHandle_t
     A pointer to the handle representing a calibrated camera model. More...
     
    typedef struct dwCameraModelObject const * dwConstCameraModelHandle_t
     A pointer to the handle representing a const calibrated camera. More...
     

    Functions

    DW_API_PUBLIC dwStatus dwCameraModel_applyImageTransform (const dwMatrix3f *transform, dwVector2ui newSize, dwCameraModelHandle_t obj)
     Sets a new origin for the image and adjusts image scales. More...
     
    DW_API_PUBLIC dwStatus dwCameraModel_getHorizontalFOV (float32_t *hfov, dwConstCameraModelHandle_t obj)
     Gets the horizontal Field of View (FOV) of the calibrated camera, in radians. More...
     
    DW_API_PUBLIC dwStatus dwCameraModel_getImageSize (uint32_t *width, uint32_t *height, dwConstCameraModelHandle_t obj)
     Gets the width and height of the calibrated camera, in pixels. More...
     
    DW_API_PUBLIC dwStatus dwCameraModel_getInversePolynomial (float32_t *invPoly, size_t *size, dwCameraModelHandle_t obj)
     Returns the inverse polynomial used for the inverse distortion model. More...
     
    DW_API_PUBLIC dwStatus dwCameraModel_initialize (dwCameraModelHandle_t *camera, uint32_t sensorId, dwConstRigHandle_t obj)
     Creates a calibrated camera model polymorphically for a compatible sensor. More...
     
    DW_API_PUBLIC dwStatus dwCameraModel_initializeFTheta (dwCameraModelHandle_t *obj, const dwFThetaCameraConfig *config, dwContextHandle_t context)
     Creates and initializes a calibrated camera for the F-Theta distortion model. More...
     
    DW_API_PUBLIC dwStatus dwCameraModel_initializeFThetaNew (dwCameraModelHandle_t *obj, const dwFThetaCameraConfigNew *config, dwContextHandle_t context)
     Creates and initializes a calibrated camera for the F-Theta distortion model. More...
     
    DW_API_PUBLIC dwStatus dwCameraModel_initializePinhole (dwCameraModelHandle_t *obj, const dwPinholeCameraConfig *config, dwContextHandle_t context)
     Creates and initializes a calibrated pinhole camera. More...
     
    DW_API_PUBLIC dwStatus dwCameraModel_initializeStereographic (dwCameraModelHandle_t *obj, const dwStereographicCameraConfig *config, dwContextHandle_t context)
     Creates and initializes a calibrated stereographic camera. More...
     
    DW_API_PUBLIC dwStatus dwCameraModel_isRayInsideFOV (bool *isInsideMaxFOV, float32_t x, float32_t y, float32_t z, dwConstCameraModelHandle_t obj)
     Checks if the angle of a ray with the camera's optical center is below the maximum possible angle of any ray that can be back-projected from valid image domain pixels. More...
     
    DW_API_PUBLIC dwStatus dwCameraModel_pixel2Ray (float32_t *x, float32_t *y, float32_t *z, float32_t u, float32_t v, dwConstCameraModelHandle_t obj)
     Back-projects a 2D point in pixel coordinates to a 3D optical ray direction. More...
     
    DW_API_PUBLIC dwStatus dwCameraModel_ray2Pixel (float32_t *u, float32_t *v, float32_t x, float32_t y, float32_t z, dwConstCameraModelHandle_t obj)
     Projects a 3D point in camera coordinates to a 2D pixel position. More...
     
    DW_API_PUBLIC dwStatus dwCameraModel_release (dwCameraModelHandle_t obj)
     Releases the calibrated camera. More...
     
    人人超碰97caoporen国产