DCMIRead
DCMIRead is a Python package designed to facilitate the reading and normalization of DICOM images. It provides two primary functions that return a normalized image array, making it an invaluable tool for those working with DICOM images.
Primary Functions
Read_Dicom_From_File(path: str, size: int=224, rescale: bool=True): This function reads a DICOM image from a file. Thepathparameter specifies the file path of the DICOM image. Thesizeparameter sets the size of the output image, and defaults to 224. Therescaleparameter determines whether the image should be rescaled, and defaults to True.Read_Dicom_From_Buffer(buffer: str, size: int=224, rescale: bool=True): This function reads a DICOM image from a buffer. Thebufferparameter specifies the buffer containing the DICOM image data. Thesizeandrescaleparameters function as described above.
Usage
Whether you’re reading from a file or a buffer, DCMIRead makes it easy to obtain a normalized image array from your DICOM data. This can be particularly useful in medical imaging applications where DICOM is commonly used.
Please note that both functions return a normalized image array, ensuring consistency in your image data.
With DCMIRead, handling DICOM images has never been easier!
Metadata
Release files for DCMIRead 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| DCMIRead-0.2.tar.gz | 2.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| DCMIRead-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / DCMIRead-0.2.tar.gz
| Download URL | DCMIRead-0.2.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e25a59b33a48bbf76776e0c752543cdf577c38e81a6c030d8789c24bb0df8a8
|
|
BLAKE2b-256 checksum How to use checksums |
3950b95a4aef686b5e64a764175c44db157022b8bd3c78ab6da7a41a0a0b5d68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / DCMIRead-0.2-py3-none-any.whl
| Download URL | DCMIRead-0.2-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2587a511c5acdfebab1018a07349d7218355091df35084f98ae434b705f7ded5
|
|
BLAKE2b-256 checksum How to use checksums |
be8e15111288a2d3caa5e203490fd67b9528451737e32b7e6181abccf85f3153
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Security for DCMIRead 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.