Project

General

Profile

UML Diagram » History » Version 12

Areeba KHAN, 01/16/2025 01:52 PM

1 1 Chung Hsi LIN
h1. UML Diagram
2 2 Chung Hsi LIN
3 7 Man Mong CHAN
[[Wiki]] | [[About_Us]] | [[Project_Overview]] | [[UML_Diagram]] | [[Codes]]
4 5 Mitsuki EIKI
5
6 10 Kentaro HARATAKE
| !PBL4UMLdiagram.png! |
7 12 Areeba KHAN
8
1. **Config Class ** :
9
   - Represents the configuration settings for image processing and display.
10
   - Attributes include parameters like projection distance, image dimensions (width and height), gamma, overlap width, and monitor details.
11
   - Provides methods to retrieve and manipulate configuration data, such as `getProjectionDistance()`, `getImgHeight()`, `getSide()`, and `readConfigFile()`.
12
13
2. **ImgProcessor Class**:
14
   - Handles image processing tasks.
15
   - Uses a Config object to access configuration settings.
16
   - Key methods include alphaBlend() for blending images, GammaCorrection() for image enhancement, and CropImage() for cropping images.
17
18
3. **DisplayImg Class**:
19
   - Represents an image to be displayed.
20
   - Attributes include image width, height, overlap information, and the side of the display.
21
   - Methods allow access to image properties, such as `getImg()`, `getWidth()`, `getHeight()`, and `getSide()`.
22
23
4. **MainStitcher Class**:
24
   - Acts as the main control class for stitching and displaying images.
25
   - Has a dependency on DisplayImg to manage the display of stitched images.
26
   - Provides methods for single and double displays (`singleDisplay()` and `doubleDisplay()`).
27
   - Contains the main() method to execute the program.
28
29
Each class is modular, focusing on specific aspects of the overall system, with clear interactions between them.