TIOVX User Guide
tiovx.pyramid.Pyramid Class Reference

Pyramid object (OpenVX equivalent = vx_pyramid) More...

Inherits tiovx.reference.Reference.

Public Member Functions

def __init__ (self, levels, scale, width, height, df_format, access_type="Host", in_file_addr="./", out_file_addr="./", name="default")
 Constructor used to create this object. More...
 

Detailed Description

Pyramid object (OpenVX equivalent = vx_pyramid)

Example Usage: Create a Pyramid object having 10 levels
from tiovx import *
my_pyramid1 = Pyramid(10, PyramidScale.HALF, 640, 480, DfImage.U8, name="mypyramid")
my_pyramid2 = Pyramid(10, PyramidScale.HALF, 640, 480, DfImage.U8)

Definition at line 76 of file pyramid.py.

Constructor & Destructor Documentation

◆ __init__()

def tiovx.pyramid.Pyramid.__init__ (   self,
  levels,
  scale,
  width,
  height,
  df_format,
  access_type = "Host",
  in_file_addr = "./",
  out_file_addr = "./",
  name = "default" 
)

Constructor used to create this object.

See also
vxCreatePyramid for more details about the parameters
Parameters
levels[in] Number of pyramid levels
scale[in] tiovx::enums::PyramidScale
width[in] Width of highest pyramid level image
height[in] Height of highest pyramid level image
df_format[in] Image data format. tiovx::enums::DfImage
access_type[in] [optional] Memory access type
in_file_addr[in] [optional] In the case of memory accessed from file, the path to the input file
out_file_addr[in] [optional] In the case of memory outputted to file, the path to the output file
name[in] [optional] Name of the object

Definition at line 90 of file pyramid.py.


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