Daniel Reetz, the founder of the DIY Book Scanner community, has recently started making videos of prototyping and shop tips. If you are tinkering with a book scanner (or any other project) in your home shop, these tips will come in handy. https://www.youtube.com/channel/UCn0gq8 ... g_8K1nfInQ

Microsoft Kinect: infrared depth maps for dewarping?

DIY Book Scanner Skunk Works. Share your crazy ideas and novel approaches. Home of the "3D structure of a book" thread.
User avatar
rob
Posts: 773
Joined: 03 Jun 2009, 13:50
E-book readers owned: iRex iLiad, Kindle 2
Number of books owned: 4000
Country: United States
Location: Maryland, United States
Contact:

Re: Microsoft Kinect: infrared depth maps for dewarping?

Post by rob » 14 Nov 2010, 15:46

Wow, that's actually a somewhat usable depth map. It's kinda jaggedy, but I suppose that averaging multiple slices would help. Can you try that and see what happens?
The Singularity is Near. ~ http://halfbakedmaker.org ~ Follow me as I build the world's first all-mechanical steam-powered computer.

User avatar
daniel_reetz
Posts: 2785
Joined: 03 Jun 2009, 13:56
E-book readers owned: Used to have a PRS-500
Number of books owned: 600
Country: United States
Contact:

Re: Microsoft Kinect: infrared depth maps for dewarping?

Post by daniel_reetz » 14 Nov 2010, 18:09

Yeah, I will, but you can, too -- all the data I have are in those screenshots.

I'm going to start seriously analyzing the Kinect over the next few days, including explaining the tech in some serious detail. As a part of that, I will sample a bunch of books and try to provide you with some better data.

User avatar
rob
Posts: 773
Joined: 03 Jun 2009, 13:50
E-book readers owned: iRex iLiad, Kindle 2
Number of books owned: 4000
Country: United States
Location: Maryland, United States
Contact:

Re: Microsoft Kinect: infrared depth maps for dewarping?

Post by rob » 16 Nov 2010, 16:51

OK, great. Sorry I haven't been very responsive recently -- flights and work keep me away...
The Singularity is Near. ~ http://halfbakedmaker.org ~ Follow me as I build the world's first all-mechanical steam-powered computer.

User avatar
daniel_reetz
Posts: 2785
Joined: 03 Jun 2009, 13:56
E-book readers owned: Used to have a PRS-500
Number of books owned: 600
Country: United States
Contact:

Re: Microsoft Kinect: infrared depth maps for dewarping?

Post by daniel_reetz » 17 Nov 2010, 00:56

No problem, Rob. I'm also planning on getting you that Sharp sensor data we talked about. Just have to find my Arduino in this mess.

So, I posted a camera modification guide with some new images if anyone is interested... more Kinect data coming soon.

http://www.futurepicture.org/?p=97

spamsickle
Posts: 596
Joined: 06 Jun 2009, 23:57

Re: Microsoft Kinect: infrared depth maps for dewarping?

Post by spamsickle » 20 Nov 2010, 02:45

Science Friday has a segment on the Kinect this week. I left a link on their website back to this thread: http://www.sciencefriday.com/program/archives/201011196.

vitorio
Posts: 138
Joined: 30 Oct 2010, 23:56
Number of books owned: 0
Location: Austin, Texas, USA
Contact:

Re: Microsoft Kinect: infrared depth maps for dewarping?

Post by vitorio » 20 Nov 2010, 20:57

I picked up a Kinect, and have been watching the developers on Freenode #openkinect. Haven't gotten further than just testing it with my person, not even with a book yet.

User avatar
daniel_reetz
Posts: 2785
Joined: 03 Jun 2009, 13:56
E-book readers owned: Used to have a PRS-500
Number of books owned: 600
Country: United States
Contact:

Re: Microsoft Kinect: infrared depth maps for dewarping?

Post by daniel_reetz » 20 Nov 2010, 21:04

Cool!

I could use some help on the next plan. I'd like to save out the 11 bit depth data as a TIFF or maybe even some other kind of file- -rather than mapping it to colors, I just want the numbers directly. If you can help collect that data, it will help both me and Rob to make a little progress on dewarping. I'm working on another scanner this weekend and so I can't pay much attention to the Kinect for a few days.

What OS are you on?

vitorio
Posts: 138
Joined: 30 Oct 2010, 23:56
Number of books owned: 0
Location: Austin, Texas, USA
Contact:

Re: Microsoft Kinect: infrared depth maps for dewarping?

Post by vitorio » 20 Nov 2010, 23:08

Windows XP 32-bit, but it looks like the Kinect can be recognized from inside a VM as well, and I have Linux VMs handy, although I've only tried it on Windows so far.

User avatar
daniel_reetz
Posts: 2785
Joined: 03 Jun 2009, 13:56
E-book readers owned: Used to have a PRS-500
Number of books owned: 600
Country: United States
Contact:

Re: Microsoft Kinect: infrared depth maps for dewarping?

Post by daniel_reetz » 20 Nov 2010, 23:22

The Windows driver isn't far off, and it will be good to have a Windows guy on things. Rob is on Mac, I'm on Linux/Win, and you're on Win. Should be best of all three worlds. For book scanning we don't need the full frame rate of the Kinect, either.

vitorio
Posts: 138
Joined: 30 Oct 2010, 23:56
Number of books owned: 0
Location: Austin, Texas, USA
Contact:

Re: Microsoft Kinect: infrared depth maps for dewarping?

Post by vitorio » 21 Nov 2010, 05:23

Am I doing this right?

http://s3.amazonaws.com/vitorio/depthtest1.png should be a false-color RGB depth image.

http://s3.amazonaws.com/vitorio/depthtest1.tiff should be a 16-bit greyscale TIFF of the 11-bit disparity data.

The format I came across for point clouds (PLY) wants a conversion to a real-world coordinate. The DEM format looks like I could do it without that, but maybe this is enough for tonight.

Post Reply