Comments (6)
Hi,
I think you´ve simply to change the position of the cam towards the projector.
The soft expects the projector below the cam. Thjs way the projection of the
fringes show a 2D picture where
the points on the same plane (stripe) are lower in the 2D image the nearer they
are.
Turning the images bottom to top solves this, but the order of the images is
wrong now. It should give a right
result if you name phase1 as phase3 and vice versa- but its simpler to change
the positions...
The resolution of your result in 3D depends on the number of stripes in on
projection. Means the more
stripes you project, the more 3D points you can extract. But on the other hand,
the more stripes you project,
the more jumps between different stripes you´ll get in 3D if there are
discontinueties in depth.
Try to get a number of stripes that fits to your projector´s res, your
grabbing device and your object. And play
with the camsettings to get a picture that still shows the fringes as sin waves
(not an over contrasted picture
where the stripes are either white or black but grey between)
hope that helps
Gunter
Original comment by [email protected]
on 30 Jul 2009 at 12:49
from structured-light.
Is it possible to SAVE to 3d points at this time? to mesh file or something?
Also I
am having the same issue with flat scans - I made sure the camera was on top of
the
projector but still had flat images - I have attached example images - rar file
to
illustrate - maybe someone can tell me what I am doing wrong??? camera not high
enough - etc
thanks in advance nehock.
Original comment by [email protected]
on 5 Aug 2009 at 4:36
Attachments:
from structured-light.
GWebMA, I read above your comment about 'grey between' do you mean project is
slightly out of focus?? and from my images I tried my darndest to get the
projector
focus to sharpest edge possible - should I have not sharped or focused it as
well?
Original comment by [email protected]
on 5 Aug 2009 at 4:44
from structured-light.
another set of my bust - from the side
Original comment by [email protected]
on 5 Aug 2009 at 4:48
Attachments:
from structured-light.
Hi,
sorry, there seems to be something wired:
I rotated the images for I had my cam below of the projector (bottom to top).
With a cam over a projector you don´t have to flip the images. If one sees a
single stripe of the patterns, a
valley is interpreted to be convex, a peak as being concave. So if you flip the
images you´ll get a 3D negative.
But with that flipping, I forgot one important thing: You´ve to change the
order of the phases too... So
instead of 1,2,3 you have to analyze in the order 3,2,1 The simplest way to
correct that in already shot images
is to rename phase1 as phase3 and phase3 as phase1.
To get it right in the code, you´ve simply to change the way the captured
images are saved:
In XPatternGen:
if (counter == 9)
{
pp1.save(savePath (folderPath + "/phase3.png")); // instead of phase1
pp2.save(savePath (folderPath + "/phase2.png"));
pp3.save(savePath (folderPath + "/phase1.png")); // instead of phase3
pp4.save(savePath (folderPath + "/tex.png"));
mode = false;
counter = 0;
background (255);
println ("captured and saved images to " + folderPath);
decodeData();
}
Now your setup should work.
to export to obj:
while you´re in solid (untextured) viewmode hit the "q" key on your keboard.
That should export an
"output.obj" to your folder (may last a while).
Original comment by [email protected]
on 5 Aug 2009 at 9:41
- Added labels: Type-Other
- Removed labels: Type-Defect
from structured-light.
Keep in mind that you can use negative zskew and zscale values, and this will be
based on the relative camera-projector orientation.
Original comment by [email protected]
on 22 Sep 2009 at 5:11
- Changed state: Fixed
from structured-light.
Related Issues (10)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from structured-light.