43 #ifndef DW_COLOR_CORRECTION_H__ 44 #define DW_COLOR_CORRECTION_H__ 136 const uint32_t cameraCount,
const float32_t* pProjToGroundMap,
162 dwColorCorrectHandle_t obj);
176 dwColorCorrectHandle_t obj);
199 dwColorCorrectHandle_t obj);
229 uint32_t curCameraIdx,
231 dwColorCorrectHandle_t obj);
238 #endif // DW_COLOR_CORRECTION_H__ Configuration parameters of the color correction module.
uint32_t cameraHeight
Height of the images from camera to be corrected. Must be even.
NVIDIA DriveWorks API: Rig Configuration
NVIDIA DriveWorks API: Core Types
float float32_t
Specifies POD types.
uint32_t projectionHeight
Height of the internally constructed projection image to perform color correction.
struct dwRigConfigurationObject * dwRigConfigurationHandle_t
Handle representing the Sensor Abstraction Layer interface.
uint32_t projectionWidth
Width of the internally constructed projection image to perform color correction. ...
NVIDIA DriveWorks API: Core Methods
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.
NVIDIA DriveWorks API: Core Exports
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality
dwStatus
Status definition.
DW_API_PUBLIC dwStatus dwColorCorrect_release(dwColorCorrectHandle_t *obj)
This method releases all resources associated with a color_correct object.
DW_API_PUBLIC dwStatus dwColorCorrect_correctByReferenceView(dwImageCUDA *pImage, uint32_t curCameraIdx, float32_t factor, dwColorCorrectHandle_t obj)
Applies global color correction on the given image.
struct dwContextObject * dwContextHandle_t
Context handle.
uint32_t cameraWidth
Width of the images from camera to be corrected. Must be even.
DW_API_PUBLIC dwStatus dwColorCorrect_initializeFromProjectionMap(dwColorCorrectHandle_t *obj, dwContextHandle_t ctx, const uint32_t cameraCount, const float32_t *pProjToGroundMap, const dwColorCorrectParameters *params)
Creates and initializes the color correction module using the existing reprojection matrix that repro...
DW_API_PUBLIC dwStatus dwColorCorrect_initializeFromRig(dwColorCorrectHandle_t *obj, dwContextHandle_t ctx, dwRigConfigurationHandle_t rigConfig, const dwColorCorrectParameters *parameters)
Creates and initializes the color correction module using dwRigConfiguration.
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.
NVIDIA DriveWorks API: Core Status Methods
struct dwColorCorrectObject * dwColorCorrectHandle_t
Handles representing the Color Correction interface.
DW_API_PUBLIC dwStatus dwColorCorrect_setReferenceCameraView(const dwImageCUDA *pReferenceImage, uint32_t cameraIdx, dwColorCorrectHandle_t obj)
This method adds reference view to color correction; the color of all the other views are corrected b...