|
| __init__ (self, shared_data) |
| initializator for whole method.
|
|
| load_image (self, path) |
| function for loading image
|
|
| write_image (self, img, fileName="image.png") |
| function to manipulate the image
|
|
| show_image (self, img, title="Image Title", canvas=None) |
| function to print image through the projector
|
|
|
| shared_data = shared_data |
|
◆ __init__()
ver3.ImageIO.__init__ |
( |
| self, |
|
|
| shared_data ) |
initializator for whole method.
get parsed config.cfg data from the class 'SharedData'
- Parameters
-
self | the class itself |
shared_data | parsed config.cfg data |
- Returns
- None
◆ load_image()
ver3.ImageIO.load_image |
( |
| self, |
|
|
| path ) |
function for loading image
- Parameters
-
- Returns
- numpy array, image
◆ show_image()
ver3.ImageIO.show_image |
( |
| self, |
|
|
| img, |
|
|
| title = "Image Title", |
|
|
| canvas = None ) |
function to print image through the projector
- Parameters
-
img | numpy array, image matrix |
title | title of the window. 'Image Title' will be the default value when there is no input. |
canvas | parameter needed for library 'Tinker Canvas'. None is default value. |
- Returns
- None
◆ write_image()
ver3.ImageIO.write_image |
( |
| self, |
|
|
| img, |
|
|
| fileName = "image.png" ) |
function to manipulate the image
- Parameters
-
img,loaded | image, numpy matrix |
fileName,name | of the image. "image.png" will be the default value if there are no input |
- Returns
- None
The documentation for this class was generated from the following file: