Skip to main content

A command line tool for converting optical coherence tomography angiography (OCTA) data.

Project description

oct-to-tiff

A command line tool for converting optical coherence tomography angiography (OCTA) data.

Installation

pip install oct-to-tiff

Getting started

oct-to-tiff /path/to/image.OCT

will read an OCT volume and write to a single OME-TIFF file, including voxel size in the metadata.

By default, the output file will be written with the same name as the input file and to the same directory:

tree /path/to/images
    ├── image.OCT
    └── image.ome.tif

To specify a custom output directory, see Optional arguments.

Supported scan patterns

This tool has been developed by reverse engineering data from the Optovue RTVue XR Avanti System.

Due to limited test data, only the following scan patterns are currently supported:

OCT

  • 3D Cornea
  • 3D Disc
  • 3D Retina
  • 3D Widefield
  • 3D Widefield MCT
  • Angle
  • Cornea Cross Line
  • Cornea Line
  • Cross Line
  • Enhanced HD Line
  • GCC
  • Grid
  • Line
  • Pachymetry Wide
  • Radial Lines
  • Raster

OCTA

  • Angio Disc
  • Angio Retina
  • HD Angio Disc
  • HD Angio Retina

Optional arguments

To view these options at any time, run oct-to-tiff --help.

--output OUTPUT

Description: specify a custom output directory.

If the path to the output directory does not exist, a new directory (and parent directories) will be created.

Usage:

oct-to-tiff /path/to/image.OCT --output /path/to/output/directory

--overwrite

Description: overwrite output file if it exists.

Usage:

oct-to-tiff /path/to/image.OCT --overwrite

--size SIZE

Description: scan size in mm.

Sets the correct voxel size for scan patterns with adjustable length.

Usage:

oct-to-tiff /path/to/image.OCT --size 4.5

--version

Description: show program's version number and exit.

Usage:

oct-to-tiff --version

The following options are currently experimental:

--angio

Description: convert extracted OCTA data.

Requires --size SIZE.

Usage:

oct-to-tiff /path/to/data --angio --size 4.5

--en-face

Description: convert extracted en face data.

Usage:

oct-to-tiff /path/to/data --en-face

--seg-curve

Description: convert extracted segmentation data.

Usage:

oct-to-tiff /path/to/data --seg-curve

Contributing

This project uses black for formatting and isort for sorting imports.

Requirements

Requires Python 3.7 or higher.

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

oct_to_tiff-0.2.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

oct_to_tiff-0.2.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file oct_to_tiff-0.2.0.tar.gz.

File metadata

  • Download URL: oct_to_tiff-0.2.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.5

File hashes

Hashes for oct_to_tiff-0.2.0.tar.gz
Algorithm Hash digest
SHA256 58622a6011ad3359e446f2428076e8bb62d374b71e948f34756adab392d69413
MD5 99a5b3db12471fdfb808345280b98c02
BLAKE2b-256 02d3c3f6fc3128f29c0b33319d9740e4d8afaf5d52a730fc02b76fbf00a71bfa

See more details on using hashes here.

File details

Details for the file oct_to_tiff-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: oct_to_tiff-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.5

File hashes

Hashes for oct_to_tiff-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 88ffb2f5a0fbd1af427c63057a09a8405d7d3beaef16ea3b568a309ca477ca46
MD5 53b6b8a7f0fe6b30713291c975976c0c
BLAKE2b-256 9b78c69cd981a4993872e2525976503a6adb11fa8c9d6ccb53b216b03783fc68

See more details on using hashes here.

Supported by

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