My Project
Loading...
Searching...
No Matches
project_final_commented.Commands.Commands Class Reference

Public Member Functions

 __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)
 

Public Attributes

 gui = gui
 Initializes the Commands instance.
 
 shared_data = shared_data
 
 io = ImageIO(shared_data)
 

Constructor & Destructor Documentation

◆ __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.

Member Data Documentation

◆ 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
guiThe GUI instance used for displaying images and receiving user input.
shared_dataThe shared data structure that holds images and other state information.
Returns
None

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