Skip to main content

A library for processing ultrasound DICOM images

Project description

Segmentation and NRRD Conversion Library

This library allows you to create segmentation masks and NRRD images from original DICOM files.

Here are the images that are processed as input:

Note. For privacy reasons, I cannot publicly post the original file titles (they have been truncated). Therefore, in some test images, the image and mask sizes may not exactly match.

Examples

us = UltrasoundSegmentation(input_path="test")
us.dicom2nrrdImage()

This code will save your converted image No. 1 in nrrd format in the directory where you are working

us = UltrasoundSegmentation(input_path="test")
us.us.dicom2nrrdMask()

This code will create a mask for image No. 2 and save it in the working directory

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

segmentusd-0.1.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

segmentUSD-0.1.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file segmentusd-0.1.1.tar.gz.

File metadata

  • Download URL: segmentusd-0.1.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for segmentusd-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9be0d1b86758ba876cc8da21538e734ddd2110b0ca35c9af3ed4fb1e35df09f2
MD5 e78ef0b7da66d5b33179893b663b5936
BLAKE2b-256 05215546ec7d0b327498e7419e37ad624a92d1fad9c13d10d2bb315cb68558f2

See more details on using hashes here.

File details

Details for the file segmentUSD-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: segmentUSD-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for segmentUSD-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1538ca88686b35972d41758379c9cec97d8a277505ad25c39fb483c4f17e725e
MD5 f3e1d50cb49cd2f93ee8d82586736c87
BLAKE2b-256 46f4ed8ebf6505c742e4550d8c13dfe6c26a0ab89ae9a6a6ad7da1bffc453888

See more details on using hashes here.

Supported by

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