Project

General

Profile

UML » History » Revision 5

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

h1. UML 

 !PBL4.png! 

 h2. *Description* 

 h3. 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. 


 h3. 2. *Alpha_Blender* 


 *Public Public Member Functions* 

 * init Functions 

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

 * CalculateOverlap Functions 

 	 __CalculateOverlap (self) 
 	 Calculates the overlap between 2 images. 
 
 * AlphaGamma 
 
 	 __AlphaGamma (self) 
 	 Applies alpha and gamma blending. 
 
 * Display 
 
 	 __Display (self) 
 	 Displays the blended result.