|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
45 #include <dw/core/base/Config.h>
46 #include <dw/core/context/Context.h>
47 #include <dw/core/base/Exports.h>
48 #include <dw/core/base/Types.h>
49 #include <dw/image/Image.h>
50 #include <dw/sensors/camera/Camera.h>
51 #include <dw/isp/Tonemap.h>
503 #endif // DW_soft_ISP_H_
dwCameraType cameraType
Camera Type.
DW_API_PUBLIC dwStatus dwSoftISP_getDemosaicImageProperties(dwImageProperties *imageProperties, dwSoftISPHandle_t obj)
Gets the image properties for the produced demosaiced images.
DW_API_PUBLIC dwStatus dwSoftISP_setProcessType(const int32_t processType, dwSoftISPHandle_t obj)
Sets the proceesed output type that will be computed.
DW_API_PUBLIC dwStatus dwSoftISP_bindOutputDemosaic(dwImageCUDA *demosaicImage, dwSoftISPHandle_t obj)
Binds a demosaic image to the softISP.
DW_API_PUBLIC dwStatus dwSoftISP_bindOutputTonemap(dwImageCUDA *tonemappedImage, dwSoftISPHandle_t obj)
Binds a tone-mapped image to the softISP.
DW_API_PUBLIC dwStatus dwSoftISP_getDenoiseMethod(dwSoftISPDenoiseMethod *method, dwSoftISPHandle_t obj)
Gets the method used for denoising.
uint32_t width
Input Image Width.
DW_API_PUBLIC dwStatus dwSoftISP_getBayerImageProperties(dwImageProperties *imageProperties, dwSoftISPHandle_t obj)
Gets the image properties for the produced Bayer images.
@ DW_SOFTISP_DEMOSAIC_METHOD_INTERPOLATION
Full camera resolution using interpolation.
DW_API_PUBLIC dwStatus dwSoftISP_getTonemapType(dwTonemapMethod *type, dwSoftISPHandle_t obj)
Gets the tonemap type.
@ DW_SOFTISP_DENOISE_METHOD_NONE
No denoising.
const char * cameraModuleName
DW_API_PUBLIC dwPointCloudRangeImageCreatorParams const *const const dwContextHandle_t ctx
DW_API_PUBLIC dwStatus dwSoftISP_getWhiteBalanceMode(dwSoftISPWhiteBalanceMode *mode, dwSoftISPHandle_t obj)
Gets the whitebalance mode.
@ DW_SOFTISP_PROCESS_TYPE_BAYER
Compute Bayer.
@ DW_SOFTISP_DEMOSAIC_METHOD_DOWNSAMPLE
Half camera resolution combining a 2x2 Bayer cell into one output pixel.
@ DW_SOFTISP_PROCESS_TYPE_TONEMAP
Compute tone map.
dwCameraRawFormat
Raw encoding formats pixel-order.
DW_API_PUBLIC dwStatus dwSoftISP_reset(dwSoftISPHandle_t obj)
Resets the softISP pipeline.
DW_API_PUBLIC dwStatus dwSoftISP_initialize(dwSoftISPHandle_t *obj, const dwSoftISPParams *params, const dwContextHandle_t ctx)
Creates and initializes the software ISP pipeline.
@ DW_SOFTISP_WHITEBALANCE_MODE_FIXED
Image is white-balanced according to fixed parameters from the sensor.
DW_API_PUBLIC dwStatus dwSoftISP_setTonemapType(dwTonemapMethod type, dwSoftISPHandle_t obj)
Sets the tonemap type.
DW_API_PUBLIC dwStatus dwSoftISP_setWhiteBalanceMode(dwSoftISPWhiteBalanceMode mode, dwSoftISPHandle_t obj)
Sets the whitebalance mode.
DW_API_PUBLIC dwStatus dwSoftISP_processDeviceAsync(dwSoftISPHandle_t obj)
Runs the Software ISP to convert the bound raw image into whatever output was bound beforehand.
DW_API_PUBLIC dwStatus dwSoftISP_setCUDAStream(cudaStream_t stream, dwSoftISPHandle_t obj)
Sets the CUDA stream for the softISP pipeline.
DW_API_PUBLIC dwStatus dwSoftISP_getDemosaicROI(dwRect *cropRegion, dwSoftISPHandle_t obj)
Gets the cropping region in the Bayer image used for demosaicing.
DW_API_PUBLIC dwStatus dwSoftISP_setDemosaicROI(dwRect cropRegion, dwSoftISPHandle_t obj)
Sets the cropping region in the Bayer image used for demosaicing.
uint32_t height
Input Image Height.
struct dwSoftISPParams dwSoftISPParams
@ DW_SOFTISP_PROCESS_TYPE_DEMOSAIC
Compute demosaic.
dwSoftISPWhiteBalanceMode
DW_API_PUBLIC dwStatus dwSoftISP_release(dwSoftISPHandle_t obj)
Releases the softISP pipeline object.
Defines the properties of the image.
dwCameraType
Enum of available camera sensors.
DW_API_PUBLIC dwStatus dwSoftISP_getDemosaicMethod(dwSoftISPDemosaicMethod *method, dwSoftISPHandle_t obj)
Gets the method used for demosaic.
DW_API_PUBLIC dwStatus dwSoftISP_setDemosaicMethod(dwSoftISPDemosaicMethod method, dwSoftISPHandle_t obj)
Sets the method used to demosaic.
struct dwContextObject * dwContextHandle_t
Context handle.
@ DW_SOFTISP_WHITEBALANCE_MODE_AUTO
Image is automatically white-balanced.
DW_API_PUBLIC dwStatus dwSoftISP_getCUDAStream(cudaStream_t *stream, dwSoftISPHandle_t obj)
Gets the CUDA stream for the softISP pipeline.
dwCameraRawFormat cameraRawFormat
dwStatus
Status definition.
struct dwSoftISPObject * dwSoftISPHandle_t
Handle representing the Software ISP.
dwTonemapMethod method
Tonemapper type (select UNKNOWN for default/no tonemapping)
@ DW_SOFTISP_DENOISE_METHOD_BILATERAL
Bilateral denoising.
DW_API_PUBLIC dwPointCloudRangeImageCreatorParams const *const params
const NvSciSyncObj *const obj
DW_API_PUBLIC dwStatus dwSoftISP_initParamsFromCamera(dwSoftISPParams *params, const dwCameraProperties *cameraProps)
Initializes the parameters for the softISP using dwCameraProperties.
DW_API_PUBLIC dwStatus dwSoftISP_setDenoiseMethod(dwSoftISPDenoiseMethod method, dwSoftISPHandle_t obj)
Sets the method used to denoise.
DW_API_PUBLIC dwStatus dwSoftISP_bindOutputBayer(dwImageCUDA *bayerImage, dwSoftISPHandle_t obj)
Binds a Bayer image to the softISP.
DW_API_PUBLIC dwStatus dwSoftISP_bindInputRaw(const dwImageCUDA *rawImage, dwSoftISPHandle_t obj)
Binds the input image to the softISP.