ITKPOCUS - an open source library for image processing and AI of point-of-care ultrasound, based on ITK (https://pypi-hypernode.com/project/itk/)
Project description
ITKPOCUS (ITK Point-of-Care Ultrasound) Python Library
ITK Point-of-Care Ultrasound (ITKPOCUS) is an open source (Apache 2.0) collection of software libraries for the preprocessing and streaming of point-of-care ultrasound (POCUS) devices in order to support image processing and AI. It currently has levels of support for Clarius, Butterfly, Sonivate, Sonoque, and Interson probes.
The itkpocus Python package supports removing overlays, automatic cropping, and determining the physical dimensions of ultrasound video and images.
See the ITKPOCUS Github repo for source code, examples of streaming ultrasound video (Clarius, Interson, Sonivate) using OpenIGTLink, and our Roadmap.
ITKPOCUS is developed by Kitware, Inc. in collaboration with Duke University. This effort was sponsored by the U.S. Government under Other Transactions Number W81XWH-15-9-0001/W81XWH-19-9-0015 (MTEC 19-08-MuLTI-0079).
Documentation
https://itkpocus.readthedocs.io/en/latest/
Usage
The scripts provided convert manufacturer image and video files to ITK Image objects. They may also remove overlays from the ultrasound image and set the physical dimension of the image by processing the overlay ruler (when applicable).
import itk
import matplotlib.pyplot as plt
import itkpocus.sonoque as sonoque
import numpy as np
fp = '../tests/data/sonoque_axial-lateral-resolution-2020.dcm'
orig_img = itk.imread(fp)
new_img, meta = sonoque.load_and_preprocess_image(fp)
Installation
- Install https://www.ffmpeg.org/
- Add ffmpeg binary directory to your PATH
- Note: errors in this step will result in exceptions from skvideo
- Activate your virtual environment
pip install itk-pocus
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file itk-pocus-0.3.1.tar.gz
.
File metadata
- Download URL: itk-pocus-0.3.1.tar.gz
- Upload date:
- Size: 64.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42ffd92bd1da0d241e7a7d212ca9b923fb19e086965b13ddb8a92e22ed8680b3 |
|
MD5 | 33bcb8ba8bd5e66f495124c300c12932 |
|
BLAKE2b-256 | b3cccbbb4672fcafbcd3bdc109956fc0840977644ba095c59da70549d83c8a38 |
File details
Details for the file itk_pocus-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: itk_pocus-0.3.1-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.28.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 077b44ef126fde04032511cf64b9986bd9563245a2aaba434d5fc61151b0ea54 |
|
MD5 | 2203d8f81b68ab697b34390cd03adc07 |
|
BLAKE2b-256 | 7ade6c565cc3c12e158745cba21361e56104bb37c7a8819201d62f50cb3571a2 |