A package to segmentation tumor on CT and MRI
Project description
MEDSEGLIB
This package designed for segmentation of oncology by CT and MRI images.
Models
Currently, the models DeepLabV3(bb: resnet50), DeepLabV3(bb: resnet101) are used. During the training, these models were used, as well as UNet and TransUnet, but DeepLabV3 showed the best results (dice and iou).
Supported types of research
- Brain
- Liver
How to use
import numpy as np
from megseglib.sdk import Model
ct = np.zeros((1, 3, 512, 512), dtype=np.single)
model = Model(model_name="deeplab_v3_resnet101", model_type="liver")
result = model.forward(ct)
# or
result = model(ct)
print(type(result), result.shape) # <class 'numpy.ndarray'> (1, 1, 512, 512) - segmentation mask
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file medseglib-1.0.0-py3-none-any.whl.
File metadata
- Download URL: medseglib-1.0.0-py3-none-any.whl
- Upload date:
- Size: 1.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
124bf5d6026aea016c283de649a495dfab3998ab87a355c700437873b6e5d825
|
|
| MD5 |
46d13e7f61ad94874668632a191fe8b9
|
|
| BLAKE2b-256 |
f2af47a138f3fa22d9d2d3f844c49ceafded8ef8bef17106f08fbed4b749372f
|