Project

General

Profile

UML Diagrams » History » Version 25

Satvik Reddy KONDA, 01/09/2025 02:12 PM

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