PST SDK 7.0.0.0-ebe6e713
Loading...
Searching...
No Matches
pstech.pstsdk.image.Image Class Reference

Images retrieved from the tracker. More...

Collaboration diagram for pstech.pstsdk.image.Image:

Public Member Functions

 __init__ (self, c_images)
 __eq__ (self, other)

Public Attributes

list width = c_images.width
 Integer describing width of the images.
 height = c_images.height
 Integer describing height of the images.
list images = []
 List containing greyscale images.

Detailed Description

Images retrieved from the tracker.

This class contains grayscale images retrieved from the cameras inside the PST Tracker.

Note
If numpy is installed, the greyscale image is represented as a numpy array with values of type numpy.ubyte and without memory alignment. If numpy is not installed, the greyscale image is represented as a ctypes array with values of type ctypes.c_ubyte and without memory alignment. This is done for optimization reasons.
See also
tracker.Tracker.enable_image_transfer
tracker.Tracker.disable_image_transfer
tracker.Tracker.get_image

Constructor & Destructor Documentation

◆ __init__()

pstech.pstsdk.image.Image.__init__ ( self,
c_images )

Member Function Documentation

◆ __eq__()

pstech.pstsdk.image.Image.__eq__ ( self,
other )

Member Data Documentation

◆ height

pstech.pstsdk.image.Image.height = c_images.height

Integer describing height of the images.

◆ images

list pstech.pstsdk.image.Image.images = []

List containing greyscale images.

An image is an array without memory alignment and consists of values of either numpy.ubyte or ctypes.c_ubyte.

◆ width

list pstech.pstsdk.image.Image.width = c_images.width

Integer describing width of the images.


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