Skip to main content

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

  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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

itk-pocus-0.1.0.tar.gz (11.8 MB view details)

Uploaded Source

Built Distribution

itk_pocus-0.1.0-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file itk-pocus-0.1.0.tar.gz.

File metadata

  • Download URL: itk-pocus-0.1.0.tar.gz
  • Upload date:
  • Size: 11.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for itk-pocus-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4413207e7186fd88f77e166f612cd940578cb81457e156d0a4de93c6bafdbc54
MD5 1223f9702be1f0bf89029a4c547298c8
BLAKE2b-256 fed62e7f521ea083fc5812459842e6a0db5b5bf860aa0c70e10f9e7db7433c4a

See more details on using hashes here.

File details

Details for the file itk_pocus-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: itk_pocus-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for itk_pocus-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9dfbbc9f8a1eb85cacf453c0f1dfde73f66d8a4100a796bb81320cfc4d41a5af
MD5 8ca37e5cadea38fe7416ff4cf8e1664a
BLAKE2b-256 8cd6d469437498b35b3f25e1613c9f13cdf7b62f6e0d91e1d3addf42bf2ab21e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page