Skip to main content

Open-source GUI for visualization of multimodal medical images and segmentations viewing

Project description

MICView

This project is an open-source API of a GUI for visualization of multimodal medical images and segmentations viewing. It was produced in a scenario of need for the assistance of graphical tools for the study of deep-learning neural networks for segmenting medical images, and also as the final project of my Bachelor's degree on Computer Engineering in FEEC-Unicamp. The project was made using Tkinter, and designed in a MVC software architecture (Model View Controller).

Requirements

The software was developed and tested in Ubuntu 22.04, and tested on Windows. The minimum required version of Python is 3.8, others required libs are described in requirements

Installation

It is suggested to create a Python environment with Conda:

conda create -n micview python=3.8
conda activate micview

To download the package, do:

git clone https://github.com/MICLab-Unicamp/micview
cd micview
pip install . 

Using

You can use the API calling inside a terminal, and calling functions of micview inside your Python code, to call micview inside a terminal do:

micview

You can also pass arguments as the file path, the mask path, and if you want to see the image in the original shape or in a squared shape.

micview --input 'filepath' --mask 'maskpath' --resized

In the above example the GUI will open with an image and segmentation loaded, and in a squared shape. To call the GUI inside your Python code, you can use the functions:

micview.open() #Opens the GUI
micview.openfile(file='filepath', mask: optional ='maskpath', resized: optional = False (default)) #Opens the GUI with an image

Pay attention that if you call this functions inside a Python code, the programm will block in this line until you closes the MICView window, it occurs because the Tkinter mainloop is a blocking process.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MICView-1.0.0.tar.gz (437.2 kB view details)

Uploaded Source

File details

Details for the file MICView-1.0.0.tar.gz.

File metadata

  • Download URL: MICView-1.0.0.tar.gz
  • Upload date:
  • Size: 437.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for MICView-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b58c522334c13f0996bbc041e60062a03dc6b637ac3eb514bbc52b2042248d6b
MD5 9d4df4c35c776ab89a99674a55448f80
BLAKE2b-256 ed5b85f2d457517edfb0b0952818b076b25fec2e8a12795c74bd0082ec5bfab0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page