Skip to main content

Medical Images Dataloader

https://img.shields.io/pypi/v/med_dataloader.svg https://img.shields.io/travis/com/mrossi93/med_dataloader?branch=master Documentation Status Updates

A general-purpose Dataloader for Tensorflow 2.x. It supports many medical image formats.

Features

  • TODO

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.16 (2022-06-15)

  • Patching is now performed with SAME padding

0.1.15 (2022-05-17)

  • img_size support also None value.

0.1.14 (2022-05-16)

  • Improved handling of img_size parameters for both 2D and 3D images.

    • User can now declare img_size as a 2- or 3-elements list.

    • Automatic zero-padding or center-based cropping is performed to adapt the size of the image to the declare img_size parameter.

  • New features: 3D volumes can be patched into smaller cubic patches. Overlapping between patches is also supported.

0.1.13 (2022-03-10)

  • New function: now dataset can be generated also by reading a json file containing list of file paths.

0.1.12 (2021-10-29)

  • Fixed minor bug in function norm_with_bounds

0.1.11 (2021-09-10)

  • Fixed support for 3D Images

  • Fixed minor bugs

0.1.10 (2021-05-11)

  • Added support one-hot encoding in case of multi-class label

0.1.9 (2021-05-11)

  • Added support for RGB Images

  • Fixed some bugs related to norm_bounds types

0.1.8 (2021-05-09)

  • Main Changes in the package structure. Now there are two main functions: generate_dataset and get_dataset, both leveraging on DataLoader class.

  • The generation of the dataset can be handled also by CLI, to simplify usage.

  • Processed data can live by themself. No more need to transfer also original file (e.g. to Drive to make use of them on Colab)

0.1.6 (2021-05-06)

  • Improved flexibility for image data types. Now cache dimension reflects the actual dataset dimension.

0.1.5 (2021-04-30)

  • Added support for 3D files: now Dataloader automatically detects whether a file is 2D or 3D and returns the properly sized dataset. Please remember that med_dataloader returns tf.data.Dataset object for 2D tasks, 3D is not yet supported.

  • Added new notebook in examples folder.

0.1.4 (2021-04-29)

  • Improved code flexibility:
    • It is possibile to choose which type of data augmentation is performed

    • Boundaries for data normalization can be set by the user

    • Images can be resized automatically by the user

  • Added basic_usage example also as a notebook

0.1.1 (2021-04-20)

  • Added code for package

  • Basic example of usage inside folder “examples”

  • Partial documentation

0.1.0 (2021-04-16)

  • First release on PyPI.

Release files for med-dataloader 0.1.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for med-dataloader 0.1.16
File Interpreter ABI Platform
med_dataloader-0.1.16-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / med_dataloader-0.1.16-py2.py3-none-any.whl

Download URL med_dataloader-0.1.16-py2.py3-none-any.whl
Size 12.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ce41e615ea0c3d10c724528318663750c353a2c5b7d124ef87bbb1b04f786aa1
BLAKE2b-256 checksum
How to use checksums
6f9e5a7b9e96542044c9ba420184f0bc4c21f0124fc7423135bf0e4077013998
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.1.16 This release

1 release file

0.1.15

1 release file

0.1.14

1 release file

0.1.13

1 release file

0.1.12

1 release file

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page