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
Release files for segmentUSD 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| segmentusd-0.1.1.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| segmentUSD-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / segmentusd-0.1.1.tar.gz
| Download URL | segmentusd-0.1.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9be0d1b86758ba876cc8da21538e734ddd2110b0ca35c9af3ed4fb1e35df09f2
|
|
BLAKE2b-256 checksum How to use checksums |
05215546ec7d0b327498e7419e37ad624a92d1fad9c13d10d2bb315cb68558f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / segmentUSD-0.1.1-py3-none-any.whl
| Download URL | segmentUSD-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1538ca88686b35972d41758379c9cec97d8a277505ad25c39fb483c4f17e725e
|
|
BLAKE2b-256 checksum How to use checksums |
46f4ed8ebf6505c742e4550d8c13dfe6c26a0ab89ae9a6a6ad7da1bffc453888
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|