MedVisPy: A Python-based Medical Image Analysis Software


Introduction

MedVisPy is a versatile and user-friendly medical image analysis software developed as my bachelor thesis project. The software is built from scratch using Python and uses libraries such as VTK for various rendering and image manipulations and PyQt5 for the GUI. Its primary objective is to help other students from our lab at KNTU (MVMIP lab) to integrate their projects as modules in to the program.

Interactive Tools

MedVisPy offers a range of interactive tools.

  • The shape tool allows users to annotate regions of interest using various geometric shapes.
  • The text tool allows for the addition of annotations, labels, and descriptions on the image.
  • With the ruler tool, users can make accurate measurements of distances and dimensions within the image.

Selection Tools

MedVisPy incorporates two selection tools that aid in the extraction of Regions of Interest (ROIs) from 3D medical images.

  • The polygon selection tool enables users to draw custom-shaped regions, facilitating the isolation of specific anatomical structures or abnormalities.
  • The smart scissor tool, based on intelligent scissors algorithm, automatically detects and traces boundaries of ROIs. This tool streamlines the selection process, saving time and effort while maintaining accuracy.


Python Console and Extensibility

  • The console allows users to run custom scripts, perform advanced image processing operations, and interact directly with the underlying libraries and modules.
  • This feature fosters extensibility and enables the integration of additional algorithms, custom plugins, and modules.

Cross-Platform Compatibility

MedVisPy has been developed to ensure cross-platform compatibility, supporting both Linux and Windows operating systems and a standalone executable is shipped for both platforms.