TIOVX User Guide
tiovx.threshold.Threshold Class Reference

Threshold object (OpenVX equivalent = vx_threshold) More...

Inherits tiovx.reference.Reference.

Public Member Functions

def __init__ (self, thr_type, data_type, name="default")
 Constructor used to create this object. More...
 

Detailed Description

Threshold object (OpenVX equivalent = vx_threshold)

Example Usage: Create a Threshold object
from tiovx import *
my_threshold1 = Threshold(ThresholdType.BINARY, Type.UINT8, name="mythreshold")
my_threshold2 = Threshold(ThresholdType.RANGE, Type.UINT16)

Definition at line 76 of file threshold.py.

Constructor & Destructor Documentation

◆ __init__()

def tiovx.threshold.Threshold.__init__ (   self,
  thr_type,
  data_type,
  name = "default" 
)

Constructor used to create this object.

See also
vxCreateThreshold for more details about the parameters
Parameters
thr_type[in] Type of threshold. tiovx::enums::ThresholdType
data_type[in] Data type of threshold value. tiovx::enums::Type
name[in] [optional] Name of the object

Definition at line 84 of file threshold.py.


The documentation for this class was generated from the following file: