|
| __init__ (self, gui, shared_data) |
| A class to handle various commands related to image processing and display.
|
|
| load_left_image (self) |
|
| load_right_image (self) |
|
| smooth_gradient (self, length, rate) |
|
| show_left_image (self) |
|
| show_right_image (self) |
|
| show_right_original (self) |
|
| show_left_original (self) |
|
| set_overlap_region (self) |
|
| increase_overlap (self) |
|
| decrease_overlap (self) |
|
|
| gui = gui |
| Initializes the Commands instance.
|
|
| shared_data = shared_data |
|
| io = ImageIO(shared_data) |
|
◆ __init__()
project_final_commented.Commands.Commands.__init__ |
( |
| self, |
|
|
| gui, |
|
|
| shared_data ) |
A class to handle various commands related to image processing and display.
The Commands class provides methods for loading, displaying, and adjusting the overlap region for images within a graphical user interface (GUI). It also supports image blending for overlapping regions with smooth gradient transitions.
◆ gui
project_final_commented.Commands.Commands.gui = gui |
Initializes the Commands instance.
Sets up the GUI interface, shared data, and ImageIO for image operations.
- Parameters
-
gui | The GUI instance used for displaying images and receiving user input. |
shared_data | The shared data structure that holds images and other state information. |
- Returns
- None
The documentation for this class was generated from the following file: