This package includes inference codes supporting Super-resolution image and mask interpolations.
Project description
Designed for medical imaging data preprocesing, two types of normalization are implemented:
- Medical imaging mask inerpolation.
- SR image interpolation through Z directions (i.e., thick-slices to thin-slices) with arbitrary user-selected sampling ratios.
from KevinSR import mask_interpolation, SOUP_GAN
for mask interp
new_masks = mask_interpolation(masks, factor)
for SR image interp
thin_slices = SOUP_GAN(thick_slices, factor, prep_type)
#prep_type = 0 or 1 for different preprocessing types (thick-to-thin or thin-to-thin).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
KevinSR-0.1.20.tar.gz
(2.4 MB
view details)
File details
Details for the file KevinSR-0.1.20.tar.gz.
File metadata
- Download URL: KevinSR-0.1.20.tar.gz
- Upload date:
- Size: 2.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8efd1b47912c1d5c882767b5d73bc3f2d06d4f1cada021d314e724063a369628
|
|
| MD5 |
9e70d3574e50f8ca0ff507320ef062c3
|
|
| BLAKE2b-256 |
c2587bc0aeaffa826139c18d81474dc41dc76202be46beb97c6c62559fa4e5bf
|