Skip to main content

Content-adaptive image processing using the Adaptive Particle Representation

Project description

pyapr

build and deploy License Python Version PyPI PowerShell Gallery

Documentation can be found here.

Content-adaptive storage and processing of large volumetric microscopy data using the Adaptive Particle Representation (APR).

The APR is an adaptive image representation designed primarily for large 3D fluorescence microscopy datasets. By replacing pixels with particles positioned according to the image content, it enables orders-of-magnitude compression of sparse image data while maintaining image quality. However, unlike most compression formats, the APR can be used directly in a wide range of processing tasks - even on the GPU!

For more detailed information about the APR and its use, see:

pyapr is built on top of the C++ library LibAPR using pybind11.

Installation

For Windows 10, OSX, and Linux and Python versions 3.7-3.9 direct installation with OpenMP support should work via pip:

pip install pyapr

Note: Due to the use of OpenMP, it is encouraged to install as part of a virtualenv.

See INSTALL for manual build instructions.

Exclusive features

In addition to providing wrappers for most of the functionality of LibAPR, we provide a number of new features that simplify the generation and handling of the APR. For example:

For further examples see the demo scripts.

Also be sure to check out our (experimental) napari plugin: napari-apr-viewer.

License

pyapr is distributed under the terms of the Apache Software License 2.0.

Issues

If you encounter any problems, please file an issue with a short description.

Contact us

If you have a project or algorithm in which you would like to try using the APR, don't hesitate to get in touch with us. We would be happy to assist you!

Project details


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 Distributions

pyapr-1.0.0rc1-cp39-cp39-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.9 Windows x86-64

pyapr-1.0.0rc1-cp39-cp39-manylinux_2_24_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.24+ x86-64

pyapr-1.0.0rc1-cp39-cp39-macosx_10_9_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

pyapr-1.0.0rc1-cp38-cp38-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.8 Windows x86-64

pyapr-1.0.0rc1-cp38-cp38-manylinux_2_24_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.24+ x86-64

pyapr-1.0.0rc1-cp38-cp38-macosx_10_9_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

pyapr-1.0.0rc1-cp37-cp37m-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.7m Windows x86-64

pyapr-1.0.0rc1-cp37-cp37m-manylinux_2_24_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.24+ x86-64

pyapr-1.0.0rc1-cp37-cp37m-macosx_10_9_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

pyapr-1.0.0rc1-cp36-cp36m-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.6m Windows x86-64

pyapr-1.0.0rc1-cp36-cp36m-manylinux_2_24_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.6m manylinux: glibc 2.24+ x86-64

pyapr-1.0.0rc1-cp36-cp36m-macosx_10_9_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.6m macOS 10.9+ x86-64

File details

Details for the file pyapr-1.0.0rc1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pyapr-1.0.0rc1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.13

File hashes

Hashes for pyapr-1.0.0rc1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 406c8331ac949aeef9802e904e4cc660262a94cd0bc7c20501bd90e03e7db3f8
MD5 e14ea3eed590ededdc0722d62506f1f0
BLAKE2b-256 dd27d799e506245f522b1d8951452a9a2d70d1a0514cc284855088763fc7411d

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0rc1-cp39-cp39-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for pyapr-1.0.0rc1-cp39-cp39-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 7edc38cd51434d46d667437fee1471e1499e586900a8bb197d7b4854ecc758fb
MD5 c00223d926124bb15c6b989be123ec86
BLAKE2b-256 88eac20082eb8807d96cc996e46028f26cb83ce24f6c79cf162d69989e4f9488

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0rc1-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyapr-1.0.0rc1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fc187aaa2f64757fd3c261bde2acf30ea83af1a13bbd8b62b88d5302006ae4bf
MD5 1d8cdda3ccf790f84e39b8904a2efce8
BLAKE2b-256 f81ad1c8822134103fe158b13db78be726175a5b2df043cf5a72c14d1e4fe9d7

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0rc1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pyapr-1.0.0rc1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.13

File hashes

Hashes for pyapr-1.0.0rc1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 fb134cbecdfdefe038a8d60d7d9feaba4b2e0487b0a16035a46f2d4eb23f7e1a
MD5 9f053f384d3633ef51bb7da80bbed6b3
BLAKE2b-256 3cf2761962c3a80374d581261c772732aea92946636aa7f874988ce4a75a8b39

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0rc1-cp38-cp38-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for pyapr-1.0.0rc1-cp38-cp38-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 20291ded0dc40c8627e45214db03c356fd3d14eb8495f7cde48b3e171287d7d7
MD5 0354b25ea13c3ce519bfaaf9e4187a0c
BLAKE2b-256 0bfb39c02872904a98e573ca767ad59e3b823b4cdcafa6c413fbc7da4ea8270a

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0rc1-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyapr-1.0.0rc1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 24bb91fdaa75b57a0ea4ccefc53aa8acb56cd2495df35f8f24bd968cfd2faa67
MD5 794826e03bad32a6c2a159b55f9301cf
BLAKE2b-256 80e18e545a96eb8c29bf274361e97c62e496d7a512db16f13bfdb43732b8e9cb

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0rc1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pyapr-1.0.0rc1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.13

File hashes

Hashes for pyapr-1.0.0rc1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 53bb0c719b445fb579d0a31821e093549cefd3af5b489b0de0e5a691c369da5e
MD5 431401d682fbadf3e8d78ed02c09ad57
BLAKE2b-256 1cbb5d9c870d7aa6c74945dd7583bd198e580c3ad8cfb537dfd173a387cf95eb

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0rc1-cp37-cp37m-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for pyapr-1.0.0rc1-cp37-cp37m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 983a6807a8ae700d58d5cab6f82c384714f9dff3ab67c87724e0f596f3254177
MD5 d05806d7c76019fc55be523065a51d34
BLAKE2b-256 112fa2fc1aadf64c1f51e4ba4a687761aeddb68f780f4d8a1122e6a2b6d3cbff

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0rc1-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyapr-1.0.0rc1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5034bd0d72096809bccc3089e1b9770f4b894781a41a0fec7907630a7503199d
MD5 a35b50986001e1c7eb7580aafe41b0d1
BLAKE2b-256 ce8461b86192416897267bfa782db686ab7913ff7834ea9eca19c7f3e54b31ac

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0rc1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: pyapr-1.0.0rc1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.7.13

File hashes

Hashes for pyapr-1.0.0rc1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 f008838ca9f7c24914298498567ae46d3765cb1d00003ae9898f8fa0cd5b53a8
MD5 3534c46b2cf5711206f9555538c9418a
BLAKE2b-256 2dd4ef7466344c5594a7d9136b7484f6f88bbb800f596a670002a15f5e14dd58

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0rc1-cp36-cp36m-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for pyapr-1.0.0rc1-cp36-cp36m-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 8589f44070e540dcc34276319b94e2c86f320b6363cb86cad708ae8756a7c9d6
MD5 add53bf2c54ee1e10485b4666bb01a67
BLAKE2b-256 d71418d4c7ff276b3d188765397b4f8d5c6086ae57f80629471aedf3a05419d4

See more details on using hashes here.

File details

Details for the file pyapr-1.0.0rc1-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyapr-1.0.0rc1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c889ac5a3489cc732ddb8e0c39eea6d7eb490f32f3acd565cbccd726dcf6a4aa
MD5 3e43e61f6813ed739cab13f27cc7c274
BLAKE2b-256 c1620cf4c1d588872b7741bce5b582bbd6ce48c74c885e387dd50dd71fc707ec

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