Skip to main content

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.

Release files for MICView 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for MICView 1.0.0
File Size Uploaded
MICView-1.0.0.tar.gz 437.2 kB Details

Release files / MICView-1.0.0.tar.gz

Download URL MICView-1.0.0.tar.gz
Size 437.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b58c522334c13f0996bbc041e60062a03dc6b637ac3eb514bbc52b2042248d6b
BLAKE2b-256 checksum
How to use checksums
ed5b85f2d457517edfb0b0952818b076b25fec2e8a12795c74bd0082ec5bfab0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.5

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page