Skip to main content

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

  1. Install https://www.ffmpeg.org/
  2. Add ffmpeg binary directory to your PATH
    1. Note: errors in this step will result in exceptions from skvideo
  3. Activate your virtual environment
  4. pip install itk-pocus

Metadata

Release files for itk-pocus 0.3.2

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

Source distribution (sdist)

Source distribution for itk-pocus 0.3.2
File Size Uploaded
itk-pocus-0.3.2.tar.gz 64.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for itk-pocus 0.3.2
File Interpreter ABI Platform
itk_pocus-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 64.3 MB

Release files / itk-pocus-0.3.2.tar.gz

Download URL itk-pocus-0.3.2.tar.gz
Size 64.3 MB
Tags Source
SHA-256 checksum
How to use checksums
54b9442d8244d47c233170650b9edb06d0b4262893b2d7659d3b2c122d711e33
BLAKE2b-256 checksum
How to use checksums
1c3d9bcd4f2c3d27fdc88ddd80002358ca3c84015dd0136192d79ef0d122b398
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Release files / itk_pocus-0.3.2-py3-none-any.whl

Download URL itk_pocus-0.3.2-py3-none-any.whl
Size 24.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed43448144447976c23d50a216d5a21652a2d39c64272995b3411e8bdb9f5c67
BLAKE2b-256 checksum
How to use checksums
3f62c89e51ec26f21b927848b4ab08fc0891f4951b0e2bc01bc9dc7330202b28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

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