47 #ifndef DW_IMAGEPROCESSING_COLOR_CORRECTION_H_ 48 #define DW_IMAGEPROCESSING_COLOR_CORRECTION_H_ 139 const uint32_t cameraCount,
const dwVector2f* pProjToGroundMap,
165 dwColorCorrectHandle_t obj);
179 dwColorCorrectHandle_t obj);
202 dwColorCorrectHandle_t obj);
232 uint32_t curCameraIdx,
234 dwColorCorrectHandle_t obj);
240 #endif // DW_IMAGEPROCESSING_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: Core Types
float float32_t
Specifies POD types.
NVIDIA DriveWorks API: Rig Configuration
struct dwImageObject * dwImageHandle_t
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.
uint32_t projectionHeight
Height of the internally constructed projection image to perform color correction.
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.
Defines a two-element single-precision floating-point vector.
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 b...
uint32_t projectionWidth
Width of the internally constructed projection image to perform color correction. ...
NVIDIA DriveWorks API: Core Methods
NVIDIA DriveWorks API: Image Conversion and Streaming Functionality
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.
dwStatus
Status definition.
DW_API_PUBLIC dwStatus dwColorCorrect_release(dwColorCorrectHandle_t obj)
This method releases all resources associated with a color_correct object.
struct dwContextObject * dwContextHandle_t
Context handle.
uint32_t cameraWidth
Width of the images from camera to be corrected. Must be even.
NVIDIA DriveWorks API: Core Exports
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
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 repro...
struct dwRigObject * dwRigHandle_t
Handle representing the Sensor Abstraction Layer interface.
struct dwColorCorrectObject * dwColorCorrectHandle_t
Handles representing the Color Correction interface.