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
File details
Details for the file KevinSR-0.1.18.tar.gz.
File metadata
- Download URL: KevinSR-0.1.18.tar.gz
- Upload date:
- Size: 2.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc6afba9ce52098a8c157af069787bcd8c8866145ea68b8f4882ddba384ab5cb
|
|
| MD5 |
b5731b8346ab23e766e548729f2980a4
|
|
| BLAKE2b-256 |
118e3883dc5ba242cc0f874eda49e6b5f5ab16b2b7e4a280930f0c9881f66999
|