TIOVX User Guide
tiovx.image.ImageFromChannel Class Reference

Image from channel object (OpenVX equivalent = vx_image, specifically returned from vxCreateImageFromChannel) More...

Inherits tiovx.image.Image.

Public Member Functions

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

Detailed Description

Image from channel object (OpenVX equivalent = vx_image, specifically returned from vxCreateImageFromChannel)

Example Usage: Create a image object from R channel of another image object
from tiovx import *
my_img1 = Image(640, 480, DfImage.RGB)
my_img2 = ImageFromChannel(my_img1, Channel.R)

Definition at line 140 of file image.py.

Constructor & Destructor Documentation

◆ __init__()

def tiovx.image.ImageFromChannel.__init__ (   self,
  image,
  channel,
  name = "default" 
)

Constructor used to create this object.

See also
vxCreateImageFromChannel for more details about the parameters
Parameters
image[in] Source image. Image
channel[in] Channel to use to create new image. tiovx::enums::Channel
name[in] [optional] Name of the object

Definition at line 148 of file image.py.


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