Project

General

Profile

UML » History » Revision 4

Revision 3 (Winson MIKE , 12/21/2023 03:31 PM) → Revision 4/8 (Bohan HO, 12/21/2023 03:51 PM)

h1. UML 

 !PBL4.png! 

 h2. *Description* 

 1. *Config_Reader* 

 Public Member Functions 


 * init__ (self) 
 	 Constructor for ConfigReader. 
 
 * getProjectedImageWidth (self) 
 	 Gets the projected image width. 
 
 * getDistanceBetweenProjectors (self) 
 	 Gets the distance between projectors. 
 
 * getImageWidth (self) 
 	 Gets the image width. 
 
 * getImageHeight (self) 
 	 Gets the image height. 
 
 * getImageName (self) 
 	 Gets the image name. 
 
 * getSide (self) 
         Gets the side information. 
 
 * getGamma (self) 
 	 Gets the gamma value. 


 2. *Alpha_Blender* 


 Public Member Functions 

 	 __init__ 

 * init (self) 
 	 Constructor for Alpha_Blender. 
 
 Private Member Functions 

 	 __CalculateOverlap (self) 
 	 Calculates the overlap between 2 images. 
 
 	 __AlphaGamma (self) 
 	 Applies alpha and gamma blending. 
 
 	 __Display (self) 
 	 Displays the blended result. 
         MainAlphaGamma Blender Constructor.