Loading [MathJax]/extensions/MathZoom.js
  • <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>

  • DriveWorks SDK Reference
    5.10.90 Release
    For Test and Development only

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

    Detailed Description

    NVIDIA DriveWorks API: Image Threshold Methods

    Description: This file defines Image Threshold methods.

    Definition in file Threshold.h.

    Go to the source code of this file.

    Data Structures

    struct  dwThresholdParameters
     

    Typedefs

    typedef struct dwThresholdObject * dwThresholdHandle_t
     

    Enumerations

    enum  dwThresholdBehavior {
      DW_THRESHOLD_BEHAVIOR_BINARY = 0 ,
      DW_THRESHOLD_BEHAVIOR_TRUNCATE = 1 ,
      DW_THRESHOLD_BEHAVIOR_TO_ZERO = 2
    }
     thresholding behavior based on comparison (a > b if dwThresholdParameters.inverse is false, a < b otherwise) More...
     
    enum  dwThresholdMode {
      DW_THRESHOLD_MODE_SIMPLE = 0 ,
      DW_THRESHOLD_MODE_OTSU = 1 ,
      DW_THRESHOLD_MODE_PER_PIXEL = 2
    }
     

    Functions

    DW_API_PUBLIC dwStatus dwThreshold_applyThreshold (dwImageHandle_t outputImage, const dwImageHandle_t inputImage, dwThresholdHandle_t obj)
     Runs the Threshold Handle on input image using the operations set in dwThreshold_setOperations. More...
     
    DW_API_PUBLIC dwStatus dwThreshold_getCUDAStream (cudaStream_t *stream, dwThresholdHandle_t obj)
     Gets the cuda stream used by the APIs of Image Threshold. More...
     
    DW_API_PUBLIC dwStatus dwThreshold_initialize (dwThresholdHandle_t *handle, dwThresholdParameters params, dwContextHandle_t context)
     Initializes a Threshold Handle. More...
     
    DW_API_PUBLIC dwStatus dwThreshold_release (dwThresholdHandle_t handle)
     Releases an Threshold Handle. More...
     
    DW_API_PUBLIC dwStatus dwThreshold_reset (dwThresholdHandle_t obj)
     Resets an Threshold Handle. More...
     
    DW_API_PUBLIC dwStatus dwThreshold_setCUDAStream (cudaStream_t stream, dwThresholdHandle_t obj)
     Sets the cuda stream used by the APIs of Image Threshold. More...
     
    DW_API_PUBLIC dwStatus dwThreshold_setThresholdParameters (dwThresholdParameters parameters, dwThresholdHandle_t obj)
     Changes the threshold parameters in runtime. More...
     
    人人超碰97caoporen国产