DriveWorks SDK Reference
3.0.4260 Release
For Test and Development only

ColorCorrection.h File Reference

Detailed Description

NVIDIA DriveWorks API: Color Correct Methods

Description: This file defines Color Correct methods.

Definition in file ColorCorrection.h.

Go to the source code of this file.

Data Structures

struct  dwColorCorrectParameters
 Configuration parameters of the color correction module. More...
 

Typedefs

typedef struct dwColorCorrectObject * dwColorCorrectHandle_t
 Handles representing the Color Correction interface. More...
 

Functions

DW_API_PUBLIC dwStatus dwColorCorrect_correctByReferenceView (dwImageHandle_t image, uint32_t curCameraIdx, float32_t factor, dwColorCorrectHandle_t obj)
 Applies global color correction on the given image. More...
 
DW_API_PUBLIC dwStatus dwColorCorrect_getCUDAStream (cudaStream_t *stream, dwColorCorrectHandle_t obj)
 Returns the CUDA stream on which the calculations of the color correction are executed. More...
 
DW_API_PUBLIC dwStatus dwColorCorrect_initializeFromProjectionMap (dwColorCorrectHandle_t *obj, dwContextHandle_t ctx, const uint32_t cameraCount, const dwVector2f *pProjToGroundMap, const dwColorCorrectParameters *params)
 Creates and initializes the color correction module using the existing reprojection matrix that reprojects cameras onto a common plane (i.e., groundplane) and then extracts color information based on the overlapping regions. More...
 
DW_API_PUBLIC dwStatus dwColorCorrect_initializeFromRig (dwColorCorrectHandle_t *obj, const dwColorCorrectParameters *parameters, dwRigHandle_t rigConfig, dwContextHandle_t ctx)
 Creates and initializes the color correction module using dwRig. More...
 
DW_API_PUBLIC dwStatus dwColorCorrect_release (dwColorCorrectHandle_t obj)
 This method releases all resources associated with a color_correct object. More...
 
DW_API_PUBLIC dwStatus dwColorCorrect_setCUDAStream (cudaStream_t stream, dwColorCorrectHandle_t obj)
 Sets the CUDA stream to run the required calculations of the color correction. More...
 
DW_API_PUBLIC dwStatus dwColorCorrect_setReferenceCameraView (const dwImageHandle_t referenceImage, uint32_t cameraIdx, dwColorCorrectHandle_t obj)
 This method adds reference view to color correction; the color of all the other views are corrected based on this view. More...