|
|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
11 #ifndef PVA_ALGOS_MORPH
12 #define PVA_ALGOS_MORPH
153 #endif //PVA_ALGOS_MORPH
@ PVA_ALGOS_KERNEL_SHAPE_CROSS
@ PVA_ALGOS_KERNEL_SHAPE_RECT
Structure that holds configuration parameters for the morphological operation.
void * cupvaStream_t
Dummy definition for non PVA supported platforms.
uint32_t imageHeight
Input image height.
pvaAlgosError_t pvaAlgosMorphDeInit(pvaAlgosMorphContext_t *morphContext)
Frees the internal objects and the MorphContext object.
@ PVA_ALGOS_MORPH_OPERATION_ERODE
pvaAlgosMorphKernelShape_t shape
Shape of the kernel.
uint32_t imageWidth
Input image width.
@ PVA_ALGOS_KERNEL_SHAPE_MAX
pvaAlgosError_t pvaAlgosMorphProcess(pvaAlgosMorphContext_t *morphContext, pvaAlgosMorphIOBuffer_t *morphBuffers, cupvaStream_t *instanceStream, int execTimeout)
Sets the I/O Buffers to the internal objects and runs the Morphological operation Algorithm.
@ PVA_ALGOS_MORPH_OPERATION_DILATE
pvaAlgosError_t pvaAlgosMorphGetContext(pvaAlgosMorphContext_t *morphContext)
Initializes MorphContext object and sends it back to the caller.
uint32_t linePitch
Input image line pitch.
pvaAlgosError_t pvaAlgosMorphInit(pvaAlgosMorphContext_t *morphContext, pvaAlgosMorphConfig_t *morphParams)
Initializes the necessary values for the internal objects in pvaAlgosMorphContext_t object.
struct MorphContext * pvaAlgosMorphContext_t
Structure that stores internal objects needed for the Background subtractor.
void * imageIn
In: Input image pointer.
pvaAlgosMorphOperationType_t op
Operation type on the input.
pvaAlgosMorphKernelShape_t
Enum for Kernel Shape.
@ PVA_ALGOS_MORPH_OPERATION_MAX
uint32_t knlSize
Size of the kernel.
pvaAlgosDtype_t
Datatypes commonly used by PVA Algos.
uint32_t outputLinePitch
Output image line pitch.
pvaAlgosError_t
Possible error codes returned by PVA Algos.
Structure that holds I/O Buffers that change based on the frame inputs.
pvaAlgosDtype_t dtype
Input datatype.
void * imageOut
Out: Output image pointer.
pvaAlgosMorphOperationType_t
Enum for Operation Type.