UML Diagrams » History » Version 29
Nathanael Muin JUSTIN, 01/16/2025 01:14 PM
1 | 29 | Nathanael Muin JUSTIN | > h2. [[Wiki]] | [[Team Members]] | [[Meeting Documentation]] | [[Our Project]] | [[User Manual]] | [[Functional & Non-Functional Requirements]] | [[Math Document]] | [[Test Report]] | [[Results]] |
---|---|---|---|
2 | 2 | Nathanael Muin JUSTIN | |
3 | 1 | Nathanael Muin JUSTIN | h1. UML Diagrams |
4 | 4 | Satvik Reddy KONDA | |
5 | 5 | Satvik Reddy KONDA | !class_diagram_final.png! |
6 | 7 | Satvik Reddy KONDA | |
7 | h2. 1. Main Class |
||
8 | 8 | Satvik Reddy KONDA | * Acts as the central control of the application |
9 | * Depends on "Image" and "ImageConfiguration" for functionality |
||
10 | |||
11 | h2. 2. Image Class |
||
12 | * Manages image data and performs operations on the image |
||
13 | 22 | Satvik Reddy KONDA | > * *data: NDArray* -> Holds the image data as a Numpy array for manipulation |
14 | 25 | Satvik Reddy KONDA | > * *__init__(imageFilePath : String)* -> Initializes the image object by loading the image from a specified file path |
15 | 23 | Satvik Reddy KONDA | > * *mask()* -> Applies the mask to the image based on the given parameters of side (left or right), projection width (of the image), distance between projectors, and a gamma value |
16 | 1 | Nathanael Muin JUSTIN | > * *displayImage()* -> Displays the image |
17 | 25 | Satvik Reddy KONDA | |
18 | h2. 3. Imageconfiguration Class |
||
19 | * Handles the configuration information for given images |
||
20 | > * *__init__(configFilePath : String) : void* -> Initializes the configuration object by loading in settings from the specified configuration file |
||
21 | > * *getImageFilePath()* -> Returns the image file path |
||
22 | > * *getSide()* -> Retrieves the parameter of "side" (either left or right) |
||
23 | > * *getDistanceBetweenProjectorCm()* -> Returns the distance between the two given projectors |
||
24 | > * *getProjectionWidthCm()* -> gets the projection width of the image in centimeters |
||
25 | > * *getGammaValue()* -> Returns the gamma correction value |
||
26 | |||
27 | h2. 4. Configuration File |
||
28 | * The external file that contains the information of various parameters |
||
29 | * Within the configuration file, information of image file path, side (left or right), projection width in centimeters, distance between projectors in centimeters, and gamma value are defined in the file that is later used for handling configuration information (ImageConfiguration Class) and image manipulation for masking (Image Class) |
||
30 | |||
31 | |||
32 | |||
33 |