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
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
pystereogram-0.0.16.tar.gz
(116.8 kB
view hashes)
Built Distribution
Close
Hashes for pystereogram-0.0.16-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40347d2d88747bc5df39e0b14520e68ae261bf306dcc80120036f604309eb859 |
|
MD5 | 1497ae15f9e4d06c19888aa8d47a7004 |
|
BLAKE2b-256 | 94537f50b917a7eac1f24521bfac91fc4dfd2806bb9c6c00ef1200a9e68bf728 |