• <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>

  • DriveWorks SDK Reference
    5.20.37 Release
    For Test and Development only

    All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    ConnectedComponents.h File Reference

    Detailed Description

    NVIDIA DriveWorks API: Connected Components

    Description: This file defines 2D connected components methods.

    Definition in file ConnectedComponents.h.

    Go to the source code of this file.

    Typedefs

    typedef struct dwConnectedComponentsObject * dwConnectedComponentsHandle_t
     A pointer to the opaque handle for Connected Components. More...
     
    typedef struct dwConnectedComponentsObject *const dwConstConnectedComponentsHandle_t
     A constant pointer to the opaque handle for Connected Components. More...
     

    Functions

    DW_API_PUBLIC dwStatus dwConnectedComponents_bindInput (dwImageCUDA const *image, dwConnectedComponentsHandle_t ccl)
     Specifies input image to be processed. More...
     
    DW_API_PUBLIC dwStatus dwConnectedComponents_bindOutputLabels (dwImageCUDA *labels, dwConnectedComponentsHandle_t ccl)
     Specifies output label image for ccl algorithm. More...
     
    DW_API_PUBLIC dwStatus dwConnectedComponents_getCUDAStream (cudaStream_t *stream, dwConnectedComponentsHandle_t ccl)
     Returns CUDA stream where kernels are executed. More...
     
    DW_API_PUBLIC dwStatus dwConnectedComponents_initialize (dwConnectedComponentsHandle_t *ccl, dwImageProperties const *inputDesc, dwContextHandle_t context)
     Initializes connected components. More...
     
    DW_API_PUBLIC dwStatus dwConnectedComponents_initializeMinimal (dwConnectedComponentsHandle_t *ccl, dwImageProperties const *inputDesc, dwContextHandle_t context)
     Initialize the module with limited functionality to produce connected components within local tiles. More...
     
    DW_API_PUBLIC dwStatus dwConnectedComponents_process (dwConnectedComponentsHandle_t ccl)
     Performs image labeling. More...
     
    DW_API_PUBLIC dwStatus dwConnectedComponents_release (dwConnectedComponentsHandle_t ccl)
     Releases connected components object. More...
     
    DW_API_PUBLIC dwStatus dwConnectedComponents_reset (dwConnectedComponentsHandle_t ccl)
     Performs reset of connected components object. More...
     
    DW_API_PUBLIC dwStatus dwConnectedComponents_setCUDAStream (cudaStream_t stream, dwConnectedComponentsHandle_t ccl)
     Specifies CUDA stream where kernels are executed. More...
     
    DW_API_PUBLIC dwStatus dwConnectedComponents_setThreshold (uint8_t threshold, dwConnectedComponentsHandle_t ccl)
     Specifies threshold to binarize input image. More...
     
    人人超碰97caoporen国产