NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
pva_algos_morph.h File Reference

Go to the source code of this file.

Data Structures

struct  pvaAlgosMorphConfig_t
 Structure that holds configuration parameters for the morphological operation. More...
 
struct  pvaAlgosMorphIOBuffer_t
 Structure that holds I/O Buffers that change based on the frame inputs. More...
 

Typedefs

typedef struct MorphContext * pvaAlgosMorphContext_t
 Structure that stores internal objects needed for the Background subtractor. More...
 

Enumerations

enum  pvaAlgosMorphKernelShape_t {
  PVA_ALGOS_KERNEL_SHAPE_RECT,
  PVA_ALGOS_KERNEL_SHAPE_CROSS,
  PVA_ALGOS_KERNEL_SHAPE_MAX
}
 Enum for Kernel Shape. More...
 
enum  pvaAlgosMorphOperationType_t {
  PVA_ALGOS_MORPH_OPERATION_ERODE,
  PVA_ALGOS_MORPH_OPERATION_DILATE,
  PVA_ALGOS_MORPH_OPERATION_MAX
}
 Enum for Operation Type. More...
 

Functions

pvaAlgosError_t pvaAlgosMorphGetContext (pvaAlgosMorphContext_t *morphContext)
 Initializes MorphContext object and sends it back to the caller. More...
 
pvaAlgosError_t pvaAlgosMorphInit (pvaAlgosMorphContext_t *morphContext, pvaAlgosMorphConfig_t *morphParams)
 Initializes the necessary values for the internal objects in pvaAlgosMorphContext_t object. More...
 
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. More...
 
pvaAlgosError_t pvaAlgosMorphDeInit (pvaAlgosMorphContext_t *morphContext)
 Frees the internal objects and the MorphContext object. More...