Skip to main content

Ultrahangos képfeldolgozó Python csomag (minimal változat)

Project description

Ultrasound Processing Package

Ultrasound image processing Python toolkit intended for the purpose of segmenting and processing raw or preprocessed ultrasound video frames or datasets.

This package provides basic tools for cleaning, masking, transforming and converting ultrasound scan images (e.g., polar-to-cartesian), either from single images or from full recordings. Custom pipelines can be built by composing the different functions and classes.


📦 Modules

  • mask
  • interp
  • transform

🧠 Description

  1. We offer tools for preprocessing the image under localization into a "flat" format. We first remove noise using contour- and intensity-aware morphological processing. Then we apply thresholding or external segmentation to mask the relevant regions. Cropping is also applied to reduce the image size. This prepares the image for geometric transformation or machine learning input.

  2. An intuitive user flow for geometric inference using band-to-plane image depth shifts. The ultrasound sector geometry is known from acquisition metadata. We provide tools to resample this sector image into a Cartesian image. This is especially useful for matching with real-world coordinates or fusing multiple images spatially.

  3. A modular structure that allows integration into processing pipelines or training workflows. The functions are pure (stateless), and each submodule can be used independently. The codebase is lightweight and free of unnecessary dependencies.


🔧 Usage

Installation

pip install ultrasound-processing-package

📚 Requirements

  • Python 3.7 or higher
  • numpy
  • matplotlib
  • opencv-python
  • Pillow
  • scipy

🧪 Example

from ultrasound_processing import mask, interp

img = load_image("input.png")
cleaned = mask.apply(img)
cartesian = interp.polar_to_cartesian(cleaned)

🔗 More info

Project home: GitHub Repository

Documentation: Read the Docs

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

ultrasound_processing_package_minimal-0.1.5.tar.gz (315.4 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file ultrasound_processing_package_minimal-0.1.5.tar.gz.

File metadata

File hashes

Hashes for ultrasound_processing_package_minimal-0.1.5.tar.gz
Algorithm Hash digest
SHA256 4ff94efaf3f90f15da0bb189c475be9b5fc1e2de1a5c6c1fd69a8284c29a5085
MD5 69a1d4536a4d4edde7f7801d5c06b71b
BLAKE2b-256 6b4b52ffe7e86bade264048c5ebd1a8a486ef61ace6edca16e4cdd97fb8ef763

See more details on using hashes here.

File details

Details for the file ultrasound_processing_package_minimal-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for ultrasound_processing_package_minimal-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 92d0d04ca274d89df2e5ca10ab1940f7c5368c37e2d6f3b2b0805245c6df6a4b
MD5 b719113af25a2d48bc3e9fd20822b837
BLAKE2b-256 f6c5ed75382c5b18c7ce0ac525ba282493cb9848dc62f923777f4b3f9d19541f

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