Skip to main content

pystereogram: a python library to compute auto-stereogram

pystereogram is a library that can help you compute stereogram from depth image efficiently. The performance goal of this library is to support real-time stereogram computation on small devices like raspberry pi.

The algorithm implemented in this package is the abSIRD algorithm, which is then accelerated with cython.

Usage

from autostereogram.converter import StereogramConverter
from skimage import color
import matplotlib.image as mpimg

source_image = mpimg.imread('cube.jpg')
image_data = np.array(source_image * 255, dtype=int)

converter = StereogramConverter()
result = converter.convert_depth_to_stereogram(image_data).astype(np.uint8)

Reference

https://www.mathworks.com/matlabcentral/fileexchange/27649-absird-for-matlab

https://www.cs.waikato.ac.nz/~ihw/papers/94-HWT-SI-IHW-SIRDS-paper.pdf

Metadata

Release files for pystereogram 0.0.20

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

Source distribution (sdist)

Source distribution for pystereogram 0.0.20
File Size Uploaded Provenance Actions
pystereogram-0.0.20.tar.gz 118.2 kB Without provenance Details for pystereogram-0.0.20.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pystereogram 0.0.20
File Interpreter ABI Platform Actions
pystereogram-0.0.20-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details for pystereogram-0.0.20-cp38-cp38-macosx_10_9_x86_64.whl

Total release size: 199.6 kB

Release files / pystereogram-0.0.20.tar.gz

Download URL pystereogram-0.0.20.tar.gz
Size 118.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cfd500c4e952cc918da780098ef87aade2abaf7e3293acb13280539249b38cc4
BLAKE2b-256 checksum
How to use checksums
57eeaa39acb2230f2e3dba96e8cb8f146ccd8a258d86c7fcccd0289458553cde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.5

Release files / pystereogram-0.0.20-cp38-cp38-macosx_10_9_x86_64.whl

Download URL pystereogram-0.0.20-cp38-cp38-macosx_10_9_x86_64.whl
Size 81.4 kB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
e0ea8b1328e09d0e5aec5d18d6387cfe5b1a51e34336e8998344ab6b4814fec8
BLAKE2b-256 checksum
How to use checksums
c2d179ad98cff25c93985cb7028dc3aa53bcf2ebadbd34f6d1655e5e0ee8e2f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.5

Security for pystereogram 0.0.20

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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