Skip to content

jakobhampel/MedicalAnnotationFramework

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Description

The All-Purpose Labeling Tool is a framework designed to offer simple and easy-to-use annotation possibilities for medical images. The underlying code is designed in a way that it can be integrated into a machine learning pipeline. Therefore, the framework offers many possibilities regarding not only medicine but also research and AI modelling.

The application is based on PyQT 5.15 and allows for creating annotation projects where you can:

  1. import your own images
  2. assign patient names or IDs
  3. mark areas in the image and assign labels to them

Demo 2

Demo 3

Demo 4

Over time, it is therefore possible to create extensive databases of annotated medical images, which may lay the foundation for information exchange or machine learning applications.

The framework is inspired by labelme with improved functionality. This includes performance fixes, an altered structure and more readable code. Additionally, the drawing of shapes is refined as well as the saving.

The underlying database is realized by SQL which provides simple yet effective storing of the annotations.

Usage

First Project

After starting the software, it is possible to create an example project to get you started. Select "Macros -> Example" Project in the Menubar to do so.

Creating Projects

Select "New Project" in the Menubar to open up the project manager. There, you can select a project directory and add your first images. To open this project in your next session, click "Open Project" and navigate to your project directory. After selecting the database file, the project will open up again.

Annotations

  1. Open up the Toolbar on the left side
  2. Select the desired drawing tool
  3. Draw an area inside the image
  4. Assign a label

Database

Every time you save your changes, the annotations will be stored in the database. Click "Macros -> Preview Database" to preview the current version of the database and see how it fills up with every new annotation.

Functionality

Implemented Features

  • tight SQL integration
  • efficient labeling
  • context menu

To-Do and requested features

  • export options for COCO/VOC Segmentation
  • undo/redo buttons to revert to previous states

Requirements

  • Ubuntu / macOS / Windows
  • Python3
  • PyQt5

Installation

something with setup.py ? I don't really know

Acknowledgement

This project was ported from its original creation by Nico Lösch at segmentation_utils, which was inspired by labelme.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%