ATMI
Annotation Tool for Medical Image
Install / Use
/learn @tommy-qichang/ATMIREADME
ATMI - Annotation Tool for Medical Image
The ATMI (Annotation Tool for Medical Image) provides a user friendly and comprehensive tool for medical image annotation especially for machine learning purpose.
The following features will be implemented in this system:
- Easy to install Install: Install ATMI just one click without install database, config environments etc.
- Multi-tasks capability: Create multiple instance(annotation tasks) under the same system. So, you don’t need to install multiple times.
- Audit process embeded<under construction>: Audit process embedded. Different annotators could contour one case multiple times and arbitrate by the auditors.
- Support comprehensive annotation methods: Provide multiple annotation methods to meet the requirements of any medical annotation tasks, especially for machine learning settings.
- Support medical operations: Provide medical professional operations to help annotators view medical images correctly and efficiently. For instance, modify window width/ window level. Could extract multiple series/phases.
- Support iPad and finger gestures : Able to annotate using iPad and pencils. Finger gestures friendly.
- Easy to navigate between different slices/series/cases/tasks: Able to play medical images frame by frame and paste annotations from the last frame to the current frame.
- Natually integrate with Machine learning tasks: Easy to import the masks predicted by any machine learning algorithms. Easy to export the masks as Hdf5 files for future use.
Demo
How to install ATMI.
You need to install Python3 and Nodejs(v10) first.
- <option> Setup an virtual environment for python 3 like [conda](https://docs.conda.io/en/latest/miniconda.html), and activate.
- Unzip/clone the ATMI code folder.
pip install -r requirements.txt#under ATMI folder.cd atmi; npm install;npx webpack#build JS filessh run_flask.sh#start flask server.
Steps to setup development environment.
-
Install Python3 and Nodejs.
-
In China, please install cnpm for a better performance :
npm install -g cnpm --registry=https://registry.npm.taobao.org -
CD root folder of ATMI project, run
pip install tox -
run
tox -rto install virtual environment and libraries. (include Python,Flask lib, python test related lib etc)4.1 If you are using IDE, please use the python interpreter under tox path:
./.tox/py37/bin/python.4.2 If you are using Command line, please direct activate py3 environment:
cd ./.tox/py37/bin/ && source ./activate && cd - -
CD atmi folder:
cd atmiand install packages, runnpm install(orcnpm install). -
RUN the project in debug model:
6.1 open another terminal, and run
npm run watchto launch webpack.6.2 run
python __init__.py

