Actions
UML Diagrams » History » Revision 25
« Previous |
Revision 25/29
(diff)
| Next »
Satvik Reddy KONDA, 01/09/2025 02:12 PM
Wiki | Team Members | Meeting Documentation | The Wiki | Project Setup Guide | User Manual | Functional & Non-Functional Requirements | Math Document | Results¶
UML Diagrams¶
1. Main Class
- Acts as the central control of the application
- Depends on "Image" and "ImageConfiguration" for functionality
2. Image Class
- Manages image data and performs operations on the image
- data: NDArray -> Holds the image data as a Numpy array for manipulation
- init(imageFilePath : String) -> Initializes the image object by loading the image from a specified file path
- 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
- displayImage() -> Displays the image
3. Imageconfiguration Class
- Handles the configuration information for given images
- init(configFilePath : String) : void -> Initializes the configuration object by loading in settings from the specified configuration file
- getImageFilePath() -> Returns the image file path
- getSide() -> Retrieves the parameter of "side" (either left or right)
- getDistanceBetweenProjectorCm() -> Returns the distance between the two given projectors
- getProjectionWidthCm() -> gets the projection width of the image in centimeters
- getGammaValue() -> Returns the gamma correction value
4. Configuration File
- The external file that contains the information of various parameters
- 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)
Updated by Satvik Reddy KONDA 4 months ago · 25 revisions