Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Capturing 3D Surfaces Simply With a Flash Camera

Posted by timothy on Wed Aug 27, 2008 02:02 PM
from the more-depth-than-I've-got dept.
MojoKid writes with this excerpt from Hot Hardware (linking to a video demonstration): "Creating 3D maps and worlds can be extremely labor intensive and time consuming. Also, the final result might not be all that accurate or realistic. A new technique developed by scientists at The University of Manchester's School of Computer Science and Dolby Canada, however, might make capturing depth and textures for 3D surfaces as simple as shooting two pictures with a digital camera — one with flash and one without. First an image of a surface is captured without flash. The problem is that the different colors of a surface also reflect light differently, making it difficult to determine if the brightness difference is a function of depth or color. By taking a second photo with flash, however, the accurate colors of all visible portions of the surface can be captured. The two captured images essentially become a reflectance map (albedo) and a depth map (height field)."
graphics inputdev hdr !new tech tech graphics story

Related Stories

[+] Science: The Nonphotorealistic Camera 233 comments
An anonymous reader writes "This article on Photo.Net describes a new type of imaging technique that finds depth discontinuities in real-world scenes with multiple flashes added to ordinary digital cameras. As depth discontinuities correspond to real 3D object boundaries, the resulting images look like line drawings. The same technique was used at this year's SIGGRAPH to create a live A-ha 'Take On Me' demo."
[+] Hardware: Homemade Digital Cameras 230 comments
Michael Golembewski writes "For the past three years, I've been taking apart cheap secondhand flatbed scanners and turning them into homemade large format digital cameras. They are well over 100 mexapixel in resolution, and produce results that are both similar to and significantly different from traditional digital and conventional cameras."
[+] IT: Duplicating Your Housekeys, From a Distance 287 comments
Roland Piquepaille writes "Some clever computer scientists at UC San Diego (UCSD) have developed a software that can perform key duplication with just a picture of the key — taken from up to 200 feet. One of the researchers said 'we built our key duplication software system to show people that their keys are not inherently secret.' He added that on sites like Flickr, you can find many photos of people's keys that can be used to easily make duplicates. Apparently, some people are blurring 'numbers on their credit cards and driver's licenses before putting those photos on-line,' but not their keys. This software project is quite interesting, but don't be too afraid. I don't think that many of you put a photo of their keys online — with their addresses." I wonder when I'll be able to order more ordinary duplicate keys by emailing in a couple of photos.
[+] Hardware: HP Restores Creased Photos With Flatbed Scanners 125 comments
An anonymous reader writes "Scientists at HP have developed a technique to detect creases in photographs using standard, unmodified flatbed scanners. Once correctly scanned into a computer, software can determine where the photograph's defect is, and artificially correct it to remove any trace of a crease or fold. The result is a spotless JPEG scan from a creased photo, with absolutely no modified hardware and no technical know-how required on the part of the user." They're using multiple light sources to do this, in a way that reminds me of last year's description of 3D image creation using an ordinary digital camera.
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Amateurs. (Score:5, Funny)

    by bigtallmofo (695287) * on Wednesday August 27 2008, @02:04PM (#24768391) Homepage Journal
    Creating 3D maps and worlds can be extremely labor intensive and time consuming.

    Bah! I completed my last project in exactly 6 days and used nothing but voice commands. It turned out so well I sat on my couch and ate Cheetos the entire next day. Today, there are over 6 billion users and we're only now starting to run into scalability issues.

    -God

    .

  • by jeffb (2.718) (1189693) on Wednesday August 27 2008, @02:05PM (#24768409)
    ...all sorts of problems become simple. I'd love to take a picture with some mirrors, some windows, maybe a reflective sign or two in the background, and see the funhouse effects that result. Oh, and don't forget emissive elements (lamps), which will appear to recede to infinity.
  • Quite old news (Score:5, Informative)

    by gardyloo (512791) on Wednesday August 27 2008, @02:05PM (#24768411)

    Slashdot (can't be bothered to find it) had a story several years ago about the (then old!) technique of capturing complicated 3D objects, such as car engines, by using two flash images, each with the flash located in slightly different locations. Threshholding the difference between the images gives very nice edge detection, along with very accurate depth information.

    A project I'm working on uses the technique to capture information about arrowheads/spearheads.

    • Re:Quite old news (Score:5, Informative)

      by jellomizer (103300) on Wednesday August 27 2008, @02:12PM (#24768495)

      But this time the camera stays fixed and there is one without flash and the other with it. Allowing for 3D Cameras to be made on the cheap by just a firmware upgrade (one click of the camera takes 2 shots 1 without flash the next with. Your way is different as it requires the camera to have 2 flash thus needed the making of new cameras.

    • Re:Quite old news (Score:5, Informative)

      by glyph42 (315631) on Wednesday August 27 2008, @02:28PM (#24768731) Homepage Journal
      NOT old news. Google for "2008 siggraph papers". Read the paper. Google for "2004 siggraph papers". Read about the old paper. Note the differences. Tim Rowley posts links to the papers from each year, so his site is recommended. Virtually all of these image-processing-related news items can be read long before they reach slashdot simply by keeping up with the latest papers from siggraph. In case you're lazy, the old paper is "Non-photorealistic Camera: Depth Edge Detection and Stylized Rendering Using a Multi-Flash Camera". Oddly, it's offline now. But I do have a copy of it on my hard drive. If you're not lazy, I HIGHLY recommend perusing all of the years' papers listed on Tim's site.
  • Warning: (Score:5, Funny)

    by Anonymous Coward on Wednesday August 27 2008, @02:14PM (#24768537)

    TFA requires Flash.

  • by sm62704 (957197) on Wednesday August 27 2008, @02:18PM (#24768587) Journal

    Why didn't you just link to the more informative New Scientist [newscientist.com] article that the blog you linked quoted?

  • by Rui del-Negro (531098) on Wednesday August 27 2008, @02:28PM (#24768717) Homepage

    This is just a way to automatically generate surface bump maps. It does not really capture depth information (like a Z-buffer).

    Conceptually it seems simple enough (take a photo with shadows from a light source not in line with the camera, take another where all the shadows are in line with the camera (making them virtually invisible), tell the software which direction the light is coming from in the first photo, and let it figure out the relative height of each pixel, by analysing the difference between it and the uniform (flash-lit) version, after averaging the brightness of the two. It's similar to the technique some film scanners use to automatically remove scratches.

    I can think of a lot of cases where it won't work at all (shiny objects, detached layers, photos with multiple "natural" light sources, photos with long shadows), but still, for stuff like rock or tree bark textures it should save a lot of time. As the video suggests, this should be very pretty useful for archaeologists.

  • Why a flash? (Score:4, Interesting)

    by phorm (591458) on Wednesday August 27 2008, @02:53PM (#24769035) Homepage Journal

    Why not cameras that use different wavelengths of light, etc? For example, one that works in visible light, and one that works in infrared?

    How about the use of different polarized lenses to block certain wavelengths of light?

  • "shooting two pictures with a digital camera -- one with flash and one without. "

    This difference has already been well-expressed across the internet for years. [imageshack.us]

    • What kind of degrees in Dolby Canada do they offer?

      Primarily "Blinding Yourself with Science", with a minor in "Sound and Signal Processing".

      Cheers

    • by sm62704 (957197) on Wednesday August 27 2008, @02:57PM (#24769069) Journal

      No, with flash (light source coming from the camera) shows the colors without shadows; i.e. without color perspective. Without flash (light source at an angle to the model/subject) shows the deeper parts in shadow (known to us former art students as "color perspective").

      You could actually fo this with two flashes, provided one was on the camera and one to the side. The fact that it flashes has nothing to do with it, it has to do with the angle of the light sources.

    • Parallax and stereoscopy both require the camera to be in two (or ideally with parallax more) positions. The ingenious thing about this idea (watch the video, it's good) is that the camera doesn't need to be moved. By taking two shots in the same spot, one with flash and one without, you can get a good depth map.

      Now it's not as good as a laser scanner, but it's much cheaper and faster and smaller (since you could use any little camera). It's a very simple but ingenious idea. I'm quite surprised by the amount of detail they are able to get this way.

      Of course it could be argued that parallax and stereoscopy are ways of viewing images with pseudo-depth as opposed to taking them (at least for the purpose of this article). Parallax has no real depth, but helps simulate the effect in the brain. Stereoscopy has no depth, but works just like the eyes to give the brain the data it needs to reconstruct the depth.