TIOVX User Guide
tiovx.image.ImageFromHandle Class Reference

Image from handle object (OpenVX equivalent = vx_image, specifically returned from vxCreateImageFromHandle) More...

Inherits tiovx.image.Image.

Public Member Functions

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

Detailed Description

Image from handle object (OpenVX equivalent = vx_image, specifically returned from vxCreateImageFromHandle)

Example Usage: Create a image object from handle
from tiovx import *
my_img_addr = ImagePatchAddress(640, 480, 1, 640)
my_img1 = ImageFromHandle(DfImage.RGB, my_img_addr, name="myimage")

Definition at line 170 of file image.py.

Constructor & Destructor Documentation

◆ __init__()

def tiovx.image.ImageFromHandle.__init__ (   self,
  df_image,
  image_patch_address,
  name = "default" 
)

Constructor used to create this object.

See also
vxCreateImageFromHandle for more details about the parameters
Parameters
df_image[in] Image data format. tiovx::enums::DfImage
image_patch_address[in] Data arragement in memory. ImagePatchAddress
name[in] [optional] Name of the object

Definition at line 178 of file image.py.


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