voxelmentations


Namevoxelmentations JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://github.com/rostepifanov/voxelmentations
SummaryA PyTorch library for augmentations of 3d data.
upload_time2024-08-02 17:41:35
maintainerNone
docs_urlNone
authorRostislav Epifanov
requires_python>=3.7.0
licenseMIT
keywords voxelmentations augmentation deep learning three dimensional data
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Voxelmentations

![Python version support](https://img.shields.io/pypi/pyversions/voxelmentations)
[![PyPI version](https://badge.fury.io/py/exgment.svg)](https://badge.fury.io/py/voxelmentations)
[![Downloads](https://pepy.tech/badge/exgment/month)](https://pepy.tech/project/voxelmentations?versions=0.0.*)

Voxelmentations is a Python library for 3d image (voxel) augmentation. Voxel augmentation is used in deep learning to increase the quality of trained models. The purpose of voxel augmentation is to create new training samples from the existing data.

Here is an example of how you can apply some augmentations from voxelmentations to create new voxel from the original one:

## Table of contents
- [Authors](#authors)
- [Installation](#installation)
- [A simple example](#a-simple-example)
- [List of augmentations](#list-of-augmentations)
- [Citing](#citing)

## Authors
[**Rostislav Epifanov** — Researcher in Novosibirsk]()

## Installation
Installation from PyPI:

```
pip install voxelmentations
```

Installation from GitHub:

```
pip install git+https://github.com/rostepifanov/voxelmentations
```

## A simple example
```python
import numpy as np
import voxelmentations as V

# Declare an augmentation pipeline
transform = V.Sequential([
    V.Flip(p=0.5),
])

# Create example 3d image (height, width, depth, nchannels)
input = np.ones((32, 32, 32, 1))

# Augment exg
transformed = transform(voxel=input)
output = transformed['voxel']
```

## List of augmentations

The list of transforms:

- [Flip]()
- [AxialFlip]()
- [AxialPlaneFlip]()
- [AxialPlaneDropout]()
- [AxialPlaneRotate]()
- [AxialPlaneScale]()
- [AxialPlaneAffine]()

## Citing

If you find this library useful for your research, please consider citing:

```
@misc{epifanov2024exgment,
  Author = {Rostislav Epifanov},
  Title = {voxelmentations},
  Year = {2024},
  Publisher = {GitHub},
  Journal = {GitHub repository},
  Howpublished = {\url{https://github.com/rostepifanov/voxelmentations}}
}
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/rostepifanov/voxelmentations",
    "name": "voxelmentations",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7.0",
    "maintainer_email": null,
    "keywords": "voxelmentations, augmentation, deep learning, three dimensional data",
    "author": "Rostislav Epifanov",
    "author_email": "rostepifanov@gmail.com",
    "download_url": "https://github.com/rostepifanov/voxelmentations/tags",
    "platform": null,
    "description": "# Voxelmentations\n\n![Python version support](https://img.shields.io/pypi/pyversions/voxelmentations)\n[![PyPI version](https://badge.fury.io/py/exgment.svg)](https://badge.fury.io/py/voxelmentations)\n[![Downloads](https://pepy.tech/badge/exgment/month)](https://pepy.tech/project/voxelmentations?versions=0.0.*)\n\nVoxelmentations is a Python library for 3d image (voxel) augmentation. Voxel augmentation is used in deep learning to increase the quality of trained models. The purpose of voxel augmentation is to create new training samples from the existing data.\n\nHere is an example of how you can apply some augmentations from voxelmentations to create new voxel from the original one:\n\n## Table of contents\n- [Authors](#authors)\n- [Installation](#installation)\n- [A simple example](#a-simple-example)\n- [List of augmentations](#list-of-augmentations)\n- [Citing](#citing)\n\n## Authors\n[**Rostislav Epifanov** \u2014 Researcher in Novosibirsk]()\n\n## Installation\nInstallation from PyPI:\n\n```\npip install voxelmentations\n```\n\nInstallation from GitHub:\n\n```\npip install git+https://github.com/rostepifanov/voxelmentations\n```\n\n## A simple example\n```python\nimport numpy as np\nimport voxelmentations as V\n\n# Declare an augmentation pipeline\ntransform = V.Sequential([\n    V.Flip(p=0.5),\n])\n\n# Create example 3d image (height, width, depth, nchannels)\ninput = np.ones((32, 32, 32, 1))\n\n# Augment exg\ntransformed = transform(voxel=input)\noutput = transformed['voxel']\n```\n\n## List of augmentations\n\nThe list of transforms:\n\n- [Flip]()\n- [AxialFlip]()\n- [AxialPlaneFlip]()\n- [AxialPlaneDropout]()\n- [AxialPlaneRotate]()\n- [AxialPlaneScale]()\n- [AxialPlaneAffine]()\n\n## Citing\n\nIf you find this library useful for your research, please consider citing:\n\n```\n@misc{epifanov2024exgment,\n  Author = {Rostislav Epifanov},\n  Title = {voxelmentations},\n  Year = {2024},\n  Publisher = {GitHub},\n  Journal = {GitHub repository},\n  Howpublished = {\\url{https://github.com/rostepifanov/voxelmentations}}\n}\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A PyTorch library for augmentations of 3d data.",
    "version": "0.0.1",
    "project_urls": {
        "Download": "https://github.com/rostepifanov/voxelmentations/tags",
        "Homepage": "https://github.com/rostepifanov/voxelmentations"
    },
    "split_keywords": [
        "voxelmentations",
        " augmentation",
        " deep learning",
        " three dimensional data"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d64770863354dacb13bac423ed70ca0c2a1fbf295fa88bfd098251894d6560e7",
                "md5": "6429624cc29aa493f2d92daac826b32d",
                "sha256": "d65af928e68387c56c92870e7c343e0e761b5030f65252e42c5fec82e4fb20ae"
            },
            "downloads": -1,
            "filename": "voxelmentations-0.0.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6429624cc29aa493f2d92daac826b32d",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7.0",
            "size": 38017,
            "upload_time": "2024-08-02T17:41:35",
            "upload_time_iso_8601": "2024-08-02T17:41:35.962181Z",
            "url": "https://files.pythonhosted.org/packages/d6/47/70863354dacb13bac423ed70ca0c2a1fbf295fa88bfd098251894d6560e7/voxelmentations-0.0.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-02 17:41:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "rostepifanov",
    "github_project": "voxelmentations",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "voxelmentations"
}
        
Elapsed time: 0.34754s