Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

SOFTWARE ENGINEERING

LAB Slot: L33-L34


Course Instructor: Prof. Hussain Syed

TEAM MEMBERS

1. B. Shashank 21BCE9151
2. A. Nutan Naga Swaroop 21BCE7730
3. T. Jahnavi 21BCE7037
SYSTEM ARCHITECTURE AND UML DIAGRAMS

SYSTEM ARCHITECTURE:

Components:

User Interface: This allows users to interact with the software, upload medical images, and
view analysis results.

Image Preprocessing: This component prepares the image for analysis by tasks like noise
reduction, normalization, and segmentation.

Machine Learning Model: This core component analyzes the image and outputs predictions
or classifications.

Database: This stores medical images, analysis results, and potentially patient information
(anonymized).

Communication Flow:

User uploads image through the UI.

UI sends the image to the Preprocessing component.

Preprocessed image is sent to the Machine Learning Model.

Model generates predictions and sends them back to the UI.

UI displays the results to the user.

ACTIVITY DIAGRAM:

Uploading and Analyzing an Image

This diagram shows the workflow from user uploading an image to receiving analysis results.
Start

User Uploads Image

(Conditional) Image Valid? (Yes path continues, No path leads to error message)

Preprocess Image

Analyze Image with Machine Learning Model

Display Results to User

End
USE-CASE DIAGRAM:

Actors: Doctor, Researcher

Use Cases:

Doctor: Upload Image, View Results, Download Report

Researcher: Upload Batch Images, Analyze Dataset, Export Results

CLASS DIAGRAM:

Image: Stores image data and metadata (file name, format).

Preprocessor: Encapsulates image preprocessing functionalities.

MachineLearningModel: Represents the core AI model for analysis.

Analyzer: Orchestrates the analysis process, calling Preprocessor and Model.

Result: Stores the outcome of the image analysis.


STATE DIAGRAM:

States: Training, Loading, Idle, Analyzing

Transitions: Train -> Loading (when model is loaded for use), Loading -> Idle (when loading is
complete), Idle -> Analyzing (when an image is received for analysis), Analyzing -> Idle (when
analysis is complete)
SEQUENCE DIAGRAM:

Uploading and Analyzing an Image (Detailed)

This showcases the message flow between objects:

User -> UI: Sends request to upload image

UI -> System: Sends image data

System -> Database: Stores image data (optional)

System -> Preprocessor: Sends image for preprocessing

Preprocessor -> System: Sends preprocessed image

System -> MachineLearningModel: Sends preprocessed image for analysis

MachineLearningModel -> System: Sends analysis results

System -> UI: Sends analysis results

UI -> User: Displays analysis results


COLLABORATION DIAGRAM:

Uploading and Analyzing an Image

This focuses on object interaction and message flow, similar to the sequence diagram but
with a focus on object roles.

You might also like