Skip to content

A Python-based GUI application using Tkinter for visualizing and analyzing knee MRI volumes. The tool enables slice-by-slice visualization, ROI localization, and interactive zooming, designed to assist researchers and radiologists in studying ACL conditions.

License

Notifications You must be signed in to change notification settings

diwakardkk/Knee-MRI-Viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Knee MRI Viewer and ROI Visualizer

Sample MRI Slices

This project provides a Tkinter-based graphical user interface (GUI) for visualizing 3D knee MRI volumes. The application enables users to view individual slices, identify regions of interest (ROIs) based on metadata, and interactively analyze medical images. It also supports zooming, downloading visualizations, and exploring localized slices for diagnostic purposes.

This tool is designed to assist radiologists and researchers in studying knee conditions, including ACL injuries.

  • View MRI volumes with slice-by-slice visualization.
  • Highlight and localize regions of interest (ROIs) using metadata.
  • Interactive zooming and downloading of visualizations.
  • Supports three classes:
    • Healthy
    • Partially Injured
    • Completely Ruptured

Dataset

The dataset used in this project is publicly available on Kaggle:

Knee MRI Dataset

To use this tool, download the dataset from the above link and place the .pck and metadata file.

Installation

  1. Clone the repository: git clone https://github.com/yourusername/knee-mri-viewer.git cd knee-mri-viewer

  2. Create a virtual environment: python -m venv venv source venv/bin/activate

  3. Install dependencies: pip install -r requirements.txt

Usage

Run the Tkinter application: python src/app.py

  1. Select the class of interest (Healthy, Partially Injured, Completely Ruptured).
  2. Choose the corresponding Exam ID from the dropdown.
  3. Visualize the selected volume with highlighted ROIs.
  4. Use the "Zoom In" and "Zoom Out" buttons for detailed analysis.
  5. Save the visualized plot by clicking "Download Plot."

Dependencies

  • Python 3.8+
  • pandas
  • numpy
  • matplotlib
  • tkinter

Screenshots

snapshot 1 Screenshot 2

Contributing

Contributions are welcome! Please fork this repository, create a feature branch, and submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A Python-based GUI application using Tkinter for visualizing and analyzing knee MRI volumes. The tool enables slice-by-slice visualization, ROI localization, and interactive zooming, designed to assist researchers and radiologists in studying ACL conditions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages