|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
29 #ifndef DW_IMAGEPROCESSING_GEOMETRY_RECTIFIER_H_
30 #define DW_IMAGEPROCESSING_GEOMETRY_RECTIFIER_H_
32 #include <dw/core/context/Context.h>
33 #include <dw/core/base/Types.h>
34 #include <dw/image/Image.h>
35 #include <dw/calibration/cameramodel/CameraModel.h>
331 #endif // DW_RECTIFIER_H_
struct dwCameraModelObject * dwCameraModelHandle_t
A pointer to the handle representing a calibrated camera model.
DW_API_PUBLIC dwStatus dwRectifier_warpPointsCPU(dwVector2f *outputPoints, const dwVector2f *inputPoints, uint32_t pointCount, dwRectifierHandle_t obj)
Warps an array of CPU dwVector2f on a preallocated output CPU buffer.
DW_API_PUBLIC dwStatus dwRectifier_getHomography(dwMatrix3f *homography, dwRectifierHandle_t obj)
Gets the homography matrix used.
DW_API_PUBLIC dwStatus dwRectifier_setHomographyFromRotation(float32_t roll, float32_t pitch, float32_t yaw, dwRectifierHandle_t obj)
Calculates and sets the homography matrix used based on a value for roll, pitch and yaw.
struct dwRectifierObject * dwRectifierHandle_t
A pointer to the handle representing a rectifier.
DW_API_PUBLIC dwPointCloudRangeImageCreatorParams const *const const dwContextHandle_t ctx
DW_API_PUBLIC dwStatus dwRectifier_getDistortionMap(dwImageCUDA *distortionMap, dwRectifierHandle_t obj)
Gets the distortion map as a 2-channel single plane image.
const WFDCommitType const WFDHandle handle
struct dwImageObject const * dwConstImageHandle_t
float float32_t
Specifies POD types.
DW_API_PUBLIC dwStatus dwRectifier_setHomography(const dwMatrix3f *homography, dwRectifierHandle_t obj)
Sets the homography matrix used.
DW_API_PUBLIC dwStatus dwRectifier_getCUDAStream(cudaStream_t *stream, dwRectifierHandle_t obj)
Gets the CUDA stream used.
DW_API_PUBLIC dwStatus dwRectifier_registerImages(dwImagePool imagePool, dwRectifierHandle_t handle)
All (both input and output) images that the rectifier engine has to work with (NvMedia2D VIC mode onl...
DW_API_PUBLIC dwStatus dwRectifier_warpPointsGPU(dwVector2f *outputPoints, const dwVector2f *inputPoints, uint32_t pointCount, dwRectifierHandle_t obj)
Warps an array of dwVector2f on GPU.
DW_API_PUBLIC dwStatus dwRectifier_release(dwRectifierHandle_t obj)
Releases the rectifier module.
Defines the properties of the image.
DW_API_PUBLIC dwStatus dwRectifier_reset(dwRectifierHandle_t obj)
Resets the rectifier module.
struct dwContextObject * dwContextHandle_t
Context handle.
DW_API_PUBLIC dwStatus dwRectifier_initialize(dwRectifierHandle_t *obj, dwCameraModelHandle_t cameraIn, dwCameraModelHandle_t cameraOut, dwContextHandle_t ctx)
Initializes a rectifier based on an input and output camera model and a homography.
struct dwImageObject * dwImageHandle_t
Defines a 3x3 matrix of floating point numbers by using only one array.
dwStatus
Status definition.
Specifies a pool of images.
DW_API_PUBLIC dwStatus dwRectifier_setCUDAStream(cudaStream_t stream, dwRectifierHandle_t obj)
Sets the CUDA stream used.
DW_API_PUBLIC dwStatus dwRectifier_appendAllocationAttributes(dwImageProperties *const imgProps, dwRectifierHandle_t obj)
Append the allocation attribute such that the images created of type DW_IMAGE_NVMEDIA can be fed to d...
DW_API_PUBLIC dwStatus dwRectifier_apply(dwImageHandle_t outputImage, const dwConstImageHandle_t inputImage, dwRect *roi, dwRectifierHandle_t obj)
Warps the image from the input camera model to the model of the output camera using either CUDA on th...
const NvSciSyncObj *const obj
Defines a two-element single-precision floating-point vector.