|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
29 #ifndef DW_IMAGEPROCESSING_PYRAMID_H_
30 #define DW_IMAGEPROCESSING_PYRAMID_H_
32 #include <dw/core/base/Config.h>
33 #include <dw/core/base/Exports.h>
34 #include <dw/core/context/Context.h>
35 #include <dw/core/base/Types.h>
36 #include <dw/image/Image.h>
44 #define DW_PYRAMID_LEVEL_MAX_COUNT 12
199 #endif // DW_IMAGEPROCESSING_PYRAMID_H_
struct dwPyramidImageProperties dwPyramidImageProperties
Pyramid image properties structure.
dwImageProperties levelProps[DW_PYRAMID_LEVEL_MAX_COUNT]
level image properties levelProps[0] refers to the level 0 image which has the highest resolution lev...
uint32_t levelCount
number of level images in pyramid
DW_API_PUBLIC dwStatus dwPyramid_create(dwPyramidImage *pyramid, uint32_t levelCount, uint32_t width, uint32_t height, dwTrivialDataType pxlType, dwContextHandle_t context)
Creates and initializes an image pyramid.
DW_API_PUBLIC dwStatus dwPyramid_getProperties(dwPyramidImageProperties *props, dwPyramidImage *pyramid, dwContextHandle_t context)
Gets the properties of a pyramid image.
DW_API_PUBLIC dwStatus dwPyramid_fillProperties(dwPyramidImageProperties *props, uint32_t levelCount, uint32_t width, uint32_t height, dwTrivialDataType pxlType)
Fills the pyramid image properties structure.
DW_API_PUBLIC dwStatus dwPyramid_destroy(dwPyramidImage pyramid)
Destroy pyramid images.
DW_API_PUBLIC dwStatus dwImageFilter_computePyramid(dwPyramidImage *pyramid, const dwImageCUDA *image, cudaStream_t stream, dwContextHandle_t context)
Builds the pyramid from level 0 image.
dwImageHandle_t levelImages[DW_PYRAMID_LEVEL_MAX_COUNT]
level image data levelImages[0] is the level 0 image which has the highest resolution levelImages[N] ...
Pyramid image properties structure.
Defines the properties of the image.
struct dwContextObject * dwContextHandle_t
Context handle.
uint32_t levelCount
number of level images in pyramid
struct dwImageObject * dwImageHandle_t
dwStatus
Status definition.
struct dwPyramidImage dwPyramidImage
Pyramid image structure.
#define DW_PYRAMID_LEVEL_MAX_COUNT
DW_API_PUBLIC dwStatus dwPyramid_createFromProperties(dwPyramidImage *pyramid, const dwPyramidImageProperties *props, dwContextHandle_t context)
Creates and initializes an image pyramid.