elerac / structuredlight Goto Github PK
View Code? Open in Web Editor NEWGenerate and Decode structured light. Binary, Gray, XOR, Ramp, Phase-Shifting, Stripe.
License: MIT License
Generate and Decode structured light. Binary, Gray, XOR, Ramp, Phase-Shifting, Stripe.
License: MIT License
Hi! Thank you for the awesome repo. I am a newbie in this field and do have a question as the title goes.
In my understanding, binary code should only contain binary intensities (i.e., white and black), and gray code can contain different intensities. So encoding the same spatial resolution requires fewer grad patterns than binary ones. But in your repo, I see that the number of binary code and gray code are exactly the same, and the gray code is not really gray but binary. Can you give me some hints on this?
pip install git+https://github.com/elerac/structuredlight --user
Collecting git+https://github.com/elerac/structuredlight
Cloning https://github.com/elerac/structuredlight to /tmp/pip-req-build-0uxavpp5
Running command git clone -q https://github.com/elerac/structuredlight /tmp/pip-req-build-0uxavpp5
Requirement already satisfied (use --upgrade to upgrade): structuredlight==1.0.1 from git+https://github.com/elerac/structuredlight in /usr/local/lib/python3.5/dist-packages
Building wheels for collected packages: structuredlight
Building wheel for structuredlight (setup.py) ... done
Stored in directory: /tmp/pip-ephem-wheel-cache-tulcnpfd/wheels/50/aa/93/875360f299ad1d3427d286178f48cbe0ed46c858aa0a6c32e0
Successfully built structuredlight
ModuleNotFoundError: No module named 'structuredlight'
does it export .ply or any even point cloud ?
Hey, I've noticed there is an undocumented unstructured
encoding method. I've tried it out, and it looks like it would consume a lot of memory to decode. Anything above 100 x 100 pixel does not seem practical on my machine
import structuredlight as sl
import matplotlib.pyplot as plt
us = sl.Unstructured()
imlist_pattern = us.generate((100,100), 10, 32)
res = us.decode( imlist_pattern, imlist_pattern )
plt.imshow( res[0] )
Would you share some insights if this method is useful for any real projector sizes like 1920x1080 at all? It seems the memory needed for decoding would be quite excessive.
Also, in any of the other decoding methods, what would you normally recommend?
Is there a way to decode stereo images?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.