Skip to content

AbdelMoety/Medical-Image-Viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Medical Image Viewer

A Python-based GUI application for medical image visualization, processing, and analysis. This tool is designed for working with medical images in formats like DICOM and standard image formats.


Features

  • Image Loading: Load and display DICOM and other image formats (e.g., PNG, JPEG).
  • Noise Addition: Add Gaussian, Salt & Pepper, or Poisson noise to the images.
  • Denoising: Apply noise reduction methods such as Median, Bilateral, and Non-local Means filters.
  • Contrast Enhancement: Improve image quality using:
    • Histogram Equalization
    • CLAHE (Contrast Limited Adaptive Histogram Equalization)
    • Adaptive Gamma Correction
  • ROI Selection: Select Regions of Interest (ROIs) for:
    • Signal-to-Noise Ratio (SNR) calculation
    • Contrast-to-Noise Ratio (CNR) calculation
  • Histograms: Display pixel intensity histograms with image statistics.
  • Zoom and Field of View: Dynamically adjust zoom and FOV using sliders and spinboxes. Select the interpolation method to be applied during zoom, such as:
    • Nearest Neighbor
    • Bilinear
    • Cubic

Requirements

  • Python 3.x
  • Libraries:
    • PyQt5
    • NumPy
    • Matplotlib
    • OpenCV
    • Pillow
    • pydicom
    • scikit-image
    • SciPy

You can install all dependencies using the requirements.txt file.


Installation

  1. Clone the repository:
    git clone https://github.com/AbdelMoety/Medical-Image-Viewer.git
  2. Navigate to the project directory: cd MedicalImageApp
  3. Create a virtual environment and activate it: python -m venv venv source venv\Scripts\activate
  4. Install dependencies: pip install -r requirements.txt

Usage

  1. Run the application
  2. Use the GUI to: Load a medical image. Add noise or apply filters. Select ROIs for SNR and CNR calculations. Enhance contrast or zoom in on specific areas. View histograms and image statistics.

Screenshots

Different Interpolation Methods

different_interpolation_methods

Histogram

histogram

Noising And Denoising

noising_and_denoising

License

This project is licensed under the MIT License.


Acknowledgments

Built using PyQt5 and other powerful Python libraries. Inspired by the need for easy-to-use medical image analysis tools.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages