UML Diagrams » History » Revision 12
Revision 11 (Anderson PHILLIP, 11/13/2025 02:17 PM) → Revision 12/14 (Anderson PHILLIP, 11/13/2025 03:12 PM)
[[Wiki|← Back to Start Page]]
h1. UML Diagrams
---
h2. Class Diagram
Below are the class diagram representing the main components of the system:
* **Input Class Diagram**
!{width:60%}input_final.png!
The diagram consists of four class: Blender GUI, Config Reader, Alpha Blender and Video Processor.
*Component Breakdown:* Component Breakdown:
*1. 1. Blender GUI (User interface):* interface):
• The place where the user interacts with the system
• It has tabs for user to choose either Image or Video to process
• Users can select input and output, run blending and update status
*2. 2. Config Reader (Setting):* (Setting):
• The class to read config.json file
• It gets the detail of the file and provides them to other parts of the program
*3. 3. Alpha Blender (Image Processor):* Processor):
• The core part for handling images
• It corrects the gamma values and creates alpha gradient
• The main function alpha_blend_edge blend the edges of two images
• It shows the preview of the final image after blending
*4. 4. Video Processor:* Processor:
• It splits each video into two: left and right
• It applies alpha blending to the inner edges of each separated video
*Config.json Config.json (External File):* File):
• Contains five specific values as the data input for the classes:
1. blend_width
2. blend_method
3. input_video_path
4. output_dir
5. divide_ratio
---