Skip to main content

No project description provided

Project description

Palestine

Static Badge Static Badge Static Badge

Medic-AI is a Keras based library designed for medical image analysis using machine learning techniques. It provides seamless compatibility with multiple backends, allowing models to run on tensorflow, torch, and jax.

Note: It is currently in its early stages and will undergo multiple iterations before reaching a stable release.

Installation

!git clone https://github.com/innat/medic-ai
%cd medic-ai
!pip install . -q
%cd ..

Guide

Features

The medicai library provides a range of features for medical image processing, model training, and inference. Below is an overview of its key functionalities.

Image Transformations

medicai includes various transformation utilities for preprocessing medical images:

  • Basic Transformations:
    • Resize – Adjusts the image dimensions.
    • ScaleIntensityRange – Normalizes intensity values within a specified range.
    • CropForeground – Crops the image to focus on the region of interest.
    • Spacing – Resamples the image to a target voxel spacing.
    • Orientation – Standardizes image orientation.
  • Augmentations for Robustness:
    • RandRotate90 – Randomly rotates images by 90 degrees.
    • RandShiftIntensity – Randomly shifts intensity values.
    • RandFlip – Randomly flips images along specified axes.
  • Pipeline Composition:
    • Compose – Chains multiple transformations into a single pipeline.

Models

Currently, medicai focuses on 3D models for classification and segmentation:

  • SwinTransformer – 3D classification task.
  • SwinUNETR – 3D segmentation task.

Inference

  • SlidingWindowInference – Processes large 3D images in smaller overlapping windows, improving performance and memory efficiency.

Acknowledgements

This project is greatly inspired by MONAI.

Citation

If you use medicai in your research, please cite it using the metadata from our CITATION.cff file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

medicai-0.0.1.tar.gz (49.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

medicai-0.0.1-py3-none-any.whl (68.8 kB view details)

Uploaded Python 3

File details

Details for the file medicai-0.0.1.tar.gz.

File metadata

  • Download URL: medicai-0.0.1.tar.gz
  • Upload date:
  • Size: 49.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for medicai-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e7cddebd06b102ac793d6e1fc0bd8813b13f39f91c72a0fa50691ca2f66a3141
MD5 4e0b0a7b7f0c38289955f60f92076f66
BLAKE2b-256 dee6f6f1a18e3214c8c481d71c244be9e78bca3757c8b15541c263d68ca05422

See more details on using hashes here.

File details

Details for the file medicai-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: medicai-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 68.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for medicai-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3713c0fd359ab6588aa4504eb9f9e2d5e451853c16f4568ccd28a22b0bf7bf9d
MD5 1979dd583e4877541c3dc49bf4c1b6a0
BLAKE2b-256 e3faf662039da6bd58dcd7e9e7eb7ce19c652878d78ffbf7bcb64ecf52754115

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page