A library supporting efficient stereogram image computation.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pystereogram-0.0.20.tar.gz.
File metadata
- Download URL: pystereogram-0.0.20.tar.gz
- Upload date:
- Size: 118.2 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cfd500c4e952cc918da780098ef87aade2abaf7e3293acb13280539249b38cc4
|
|
| MD5 |
7ece25f0206486a36d3192766078e8a5
|
|
| BLAKE2b-256 |
57eeaa39acb2230f2e3dba96e8cb8f146ccd8a258d86c7fcccd0289458553cde
|
File details
Details for the file pystereogram-0.0.20-cp38-cp38-macosx_10_9_x86_64.whl.
File metadata
- Download URL: pystereogram-0.0.20-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 81.4 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0ea8b1328e09d0e5aec5d18d6387cfe5b1a51e34336e8998344ab6b4814fec8
|
|
| MD5 |
9b0790ee7806dda568b00034aa44e17b
|
|
| BLAKE2b-256 |
c2d179ad98cff25c93985cb7028dc3aa53bcf2ebadbd34f6d1655e5e0ee8e2f9
|