Slashdot Mirror


Automatic 3D Reconstruction of Scenes

Neil Halelamien writes "New Scientist reports on a piece of software by MDRobotics called instant Scene modeler (iSM), which automatically generates 3D reconstructions of scenes, using a few hundred frames from a pair of ordinary video cameras. The software uses David Lowe's SIFT vision algorithm to quickly locate common features between sequential images, for use in the reconstruction; SIFT has also been useful for generating panoramas and object recognition. MDRobotics has a demo page showing the software being used for crime scene reconstruction, along with animated GIFs of input video and the resulting 3D model."

39 of 136 comments (clear)

  1. Coming this season... by Anti+Frozt · · Score: 3, Funny

    CSI: Crime Scene Reconstruction

    --
    In C++, friends can touch each others private parts.
    1. Re:Coming this season... by oscartheduck · · Score: 3, Interesting

      Actually, my first thought was "Let's run the Zapruder film through this thing!" Or we can hook it up with this and have some fun results flying across the torrents in no time.

      --
      How to use coral cache: http://slashdot.org.nyud.net:8090/~oscartheduck
  2. Blade Runner Scene Machine by Lioner · · Score: 4, Funny

    Finally we can do what Harrison Ford can do... :-)

  3. I wonder if... by n0dalus · · Score: 5, Funny

    Wow I bet it's just like in CSI they will be able to zoom up 10000% on the digital image, 'sharpen' it and read all sorts of interesting things off the back of things after rotating them virtually.

  4. Awesome! by ylsul · · Score: 2, Interesting

    I love taking panoramic shots with my camera, but the stinkiest part has always been stitching all the images back together. I haven't seen any package like this before...too bad its not open source :)

    1. Re:Awesome! by YrWrstNtmr · · Score: 3, Informative

      Olympus has had this functionality in their Camedia cameras for a few years now. The panorama stitching is actually pretty easy. You put it into pano mode, and the camera then uses the initial exposure/shutter setting for the entire series, and puts little bars on the sides of the LCD to tell you were to do the overlap. The (otherwise crappy) Camedia Master software recognizes that it is a series, and stitches pretty quickly and seamlessly. That function only works with original Olympus SM cards, though.

    2. Re:Awesome! by modecx · · Score: 2, Informative

      There is an open source equivalent.

      It's called Autopano, and IIRC it also uses the SIFT algorithm. Try Hugin (Windows, Linux, OS X), it's able to call it autopano, and automatically get tons of stitching points, and it does quite a good job without tweaking... Especially if you took care in taking the pictures.

      --
      Constitutional rights may be respected, repealed, or modified; but they must never be ignored.
    3. Re:Awesome! by FleaPlus · · Score: 2, Informative

      Did you happen to see the link to autopano-sift? That's GPL'd, I believe.

  5. Coral Cache by PxM · · Score: 4, Informative
  6. open source implementation? by snooo53 · · Score: 2, Insightful

    Yes, I would love to see an open source implementation of this program. Does anyone know of anything like this, or similar software?

    --
    The sending of this message pretty much inconveniences everyone involved.
    1. Re:open source implementation? by YrWrstNtmr · · Score: 3, Informative

      Here, and here. Lin/Win/Mac versions.

    2. Re:open source implementation? by imroy · · Score: 4, Informative

      Autopano and Autopano-sift. I have't had good experiences with the SIFT-based software. They always tend to pick the most inappropriate points, like trees/leaves (that move between shots) and the middle of objects (where there aren't many features). I almost always have to go through and remove the bad points, adding in my own reliable ones (corners, unique features, etc). I just don't use them anymore because I actually spend less time if I do all the points myself manually. The GUI of Hugin usually saves me plenty of time already. It does a good job of picking the matching point when I click on one photo. That's all I need anymore.

    3. Re:open source implementation? by Hast · · Score: 2, Informative

      I would recommend that you look at Hugin (http://hugin.sourceforge.net/) which is a frontend for Panorama tools. Also Autopano (http://autopano.kolor.com/) is a great tool for panorama creations. It does the stitching automatically, and Hugin can be used with it.

      Available for Linux/Win32 and OSX.

    4. Re:open source implementation? by JohnFred · · Score: 2, Informative

      Doing a bit more research you will find that the University of British Columbia has applied for a patent on the SIFT algorithm in the United States, although it's happy to allow non-commercial applications of the algorithm, and happy to use other open source projects in it's implementation.

      Although as it's from a University, and the patenter allows fre-as-in-beer non - commercial use this looks like a defensive patent to me, this immideatly puts the kibbosh on any GNU GPL/LGPL project using it

      --
      /usr/games/fortune > ~/.signature
  7. Good Use for Importing Stationary Objects by fcolari · · Score: 4, Interesting

    Educationally, people could truly "walk around" in a virtual museum. This is lightyears ahead of QuickTime VR(?) where one simply can rotate about one point and zoom in or out.

    It's only going to work on stationary scenes, as that sleeping fellow showed us. Basically, anything from the Real World you want to "import" into VR will be much easier to do.

    If anyone likes FPS, you could model a map based on real scenery.

    Most inventions and technology came into being before people found a use for it. It just seems pretty darn cool if nothing else.

    --
    "The first rule of intelligent tinkering is to save all the pieces." --Aldo Leopold (Paraphrased)
    1. Re:Good Use for Importing Stationary Objects by fcolari · · Score: 2, Interesting

      I agree nothing beats the Real Thing. "Museums" was a poor choice of word. Any space a person cannot normally get to, whether it be because of security or fragility or locality, would be an ideal canidate to be "shared". The realtor idea was a good one. Of course, Once the 3D model is generated, and once it becomes something I view, then it becomes an output system to me. My space is not interesting enough to generate a 3d model...

      --
      "The first rule of intelligent tinkering is to save all the pieces." --Aldo Leopold (Paraphrased)
    2. Re:Good Use for Importing Stationary Objects by Dashing+Leech · · Score: 3, Informative

      Actually, now I'm even less impressed. The MDRobotics iSM uses a stereo camera system. I had thought it was a 3D-from-video method (particularly since it uses SIFT). I find those much more useful because I can use it with my home video cam. Making 3D models from a stereo-cam requires special equipment and has been done by everyone and their dog. I'm not so clear on why this is new or that interesting.

    3. Re:Good Use for Importing Stationary Objects by bossykena · · Score: 2, Informative

      I agree with you that 3D from uncalibrated images (which is basically what you're looking for) would have been cooler, but science is not quite there yet. Lots of research is done on autocalibration, and lots of research is done on reconstruction based on calibrated images (I've just finished a Master thesis in 3D vision on that topic :) ), but as far as I know no one has been able to put two and two together with convincing results yet. And even because something is stereoscopy-based doesn't mean it's worthless.

      First, creating reliable stereoscopic depth maps is far from being a done deal. Researchers are still struggling with doing good stereoscopy in less-than-perfect conditions, like in presence of occlusion, specularities, large scale scenes, etc... (I'll point you to the Middlebury Stereo Page for an overview of current research in the domain).

      But even if you can generate nice stereo depth maps, stitching them together to create a fully coherent 3D scene is a big challenge too. So no, unfortunately, 3D scenes from stereo is not a done deal.

  8. Sounds Bogus by menace3society · · Score: 4, Insightful

    This reminds me of the bit in Enemy of the State where the government operatives take the lingerie store security footage, and then use their computer to "rotate the camer 90 degrees." And on top of that, they then see something in the bag that wouldn't have been at all detectable from the actual camera's angle.

    It's pretty silly to suppose that this thing will be able to generate a 3-D representation of a scene without without getting highly-detailed footage of everything from every angle. Otherwise, it would just be a completely bogus modelling system to pull a fast one on people who don't know any better. "Ladies and gentlemen of the jury, although the original crime scene evidence photos don't show it, when you look rotate the angle and look at the far side of the desk, the defendent's fingerprints are clearly visible"

    1. Re:Sounds Bogus by noidentity · · Score: 2, Insightful

      This reminds me of the bit in Enemy of the State where the government operatives take the lingerie store security footage, and then use their computer to "rotate the camer 90 degrees." And on top of that, they then see something in the bag that wouldn't have been at all detectable from the actual camera's angle.

      The technology is basically giving a computer the same information you are able to get by looking at a scene and moving slightly. Unless it's something really subtle, if you can't pick up the information the program can't either.

    2. Re:Sounds Bogus by drinkypoo · · Score: 4, Insightful

      People have been working on this particular problem for a lot longer than you'd think and there have been methods for creating 3d meshes from 2d video for quite some time now, shown at siggraph, and so on. There are at least tens of books on this and related subjects. Anyway you are exaggerating the problem. Obviously it will not be able to get information from anything it can't see, and without moving around and through a scene all you're going to have is a bunch of contour maps with empty back sides. This is still a huge improvement over having no 3d data at all. It will immediately be a gigantic boon to compositing animators, who will be able to get depth cues from 2d video.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    3. Re:Sounds Bogus by Solder+Fumes · · Score: 3, Insightful

      Actually, you're using an example which I usually think of as the least ridiculous from Hollywood. If you remember the scene correctly, you will notice that what they did was observe a small shift in the portion of the bag that was visible, and then had the computer project what kind of deformation would have caused that shift. And resolution enhancement is funny when they show it being done to a still image, but with video it is possible to analyze successive frames and use time-domain information to filter out pixelation and noise effects.

  9. i cant wait by Idimmu+Xul · · Score: 3, Funny

    until they start using this technology for porn

    --
    The problem with slashdot is that most of its users were bullied and stuffed into lockers as kids!
  10. Damn patents. by PxM · · Score: 4, Informative

    From one of the links: The SIFT algorithm is restricted by patents in the United States and hence this software is not completely free to use. For details see the LICENSE file included in the distribution, before you start to use this software.

    Hopefully, they're liberal about the patent and will let noncommercial nonresearch applications use the algorithm. Otherwise, we would have to wait for the really interesting software to come out.

    A C# implementation with support for Mono is available to play with for anyone who is interested: http://user.cs.tu-berlin.de/~nowozin/libsift/
    --
    Free iPod? Try a free Mac Mini
    Or a free Nintendo DS, GC, PS2, Xbox
    Wired article as proof

  11. Impressive by Pan+T.+Hose · · Score: 3, Informative

    I have been waiting for the results for quite some time and they surely look impressive. I might add that the underlying concept is not very hard to understand and one could even make a simple 3-D model of distant objects (like e.g. buildings in your city) using only two eyes, paper, pencil and some basic trigonometry.

    Look at this model:

    A---B
    |\ /|
    | C |
    |/ \|
    D---E

    Where D and E are your two eyes, two cameras, or two positions from which you look at the object C that appears to be eclipsing A and B respectively. The distance between any of those points and their relative 3-D positions can be calculated when you know some of the distances (e.g. DE and AD) with very high precision.

    Recommended Wikipædia reading for anyone interested: Parallax, Triangulation, Stationary point, Pythagorean theorem, Euclidean geometry, Astrometry, Binocular vision, Stereoscopy. Have fun.

    --
    Sincerely,
    Pan Tarhei Hosé, PhD.
    "Homo sum et cogito ergo odi profanum vulgus et libido."
  12. Cool applications... by catdevnull · · Score: 2, Interesting

    I can see this sort of thing being useful for space exploration.

    --

    I might know what I'm talkin' about, but then again, this is Slashdot...
  13. Set reconstruction from old movies by Anonymous Coward · · Score: 5, Interesting

    Though the technology would need some additional improvements, it might be interesting to apply it to tracking shots in old movies (like Casablanca) and in addition to reconstructing the sets one could also replay a scene from a slighly different angle.

    The other slight modification would be to combine the possible modification (getting a slightly different angle from an existing tracking shot) and build a stereo 3D image of the shot or film segment.

    1. Re:Set reconstruction from old movies by robbo · · Score: 2, Interesting

      The MDR product is a stereo camera (a PGR Bumblebee), making the reconstruction significantly easier (but not necessarily easy). Also, all the intrinsic camera parameters are constant, whereas they're dynamic in most movie footage (changing focal length, etc). So, the reconstruction from movies problem remains pretty hard. That said, lots of people are working on it...

      --
      So long, and thanks for all the Phish
    2. Re:Set reconstruction from old movies by adpowers · · Score: 2, Interesting

      Also, the sets probably changed quite a bit between shots. When they move the camera, they don't necessarily keep lighting the same, so you would get a whole different set of problems compounding each other. You are right about the focal length. Plus, a lot of times backgrounds are blurred (to put focus on the actors), so it would be hard reconstruct that.

  14. Home video by Lord_Dweomer · · Score: 3, Insightful
    You know, I've seen all these tools come out that will be a great boon to the home movie producer. This seems like the next step to letting them use more CG in their movies. As that improves, the limits on what home movie producers can create will be as big as their imagination.

    --
    Buy Steampunk Clothing Online!
  15. Re:Real Estate Sales by RichardX · · Score: 3, Funny

    For goodness sake man, that's your first though?!
    Don't you see? This could be used for porn!
    For the betterment of all mankind, it must be done!

    --
    Curiosity was framed. Ignorance killed the cat.
  16. Powerful Technology, some ideas on how to use it.. by shapr · · Score: 3, Insightful

    This is not limited to static scenes as one comment says. It could be used to reconstruct moving objects just as well, with a bit more software.
    You could very accurately construct physical models of criminals from security tapes.
    You could also construct an accurate model of how they walk. Since every person has a unique walk, that would be more difficult to disguise than physical appearance alone.
    You could discover identifying details of the cars they drive, like a small dent in the fender.
    This would be perfect for eBay, you could send them a short film of the object you're selling and they would post a 3D model of the item.
    This heralds the end of both motion capture and the existing hours long '3D scanning' of clay models used in films like LoTR. Instead of requiring a mechanical stylus to touch every point of a model, you just film it.
    Once the software has the ability to turn multiple 2D viewpoints into a single 3D image, this will be the perfect replacement for VR gloves as well. You could have a cameras on either shoulder and your hands would be your 3D mice. That sounds like a nicely intuitive interface.
    Moving companies could find this useful. They could film the objects, the moving truck, and in return get an optimal packing order. You could also film the stairway up to an apartment and the software could figure out how to get through any of the particularly tight spots, if it's possible.
    This would be good for the sort of augmented reality that washington.edu has researched. When the software can regognize the separate parts in a machine it can display directions for disassembly on a heads up display.
    Oh, I can think of lots more uses, but better to get hold of the code and try to implement some of the random ideas above.

    --

    Shae Erisson - ScannedInAvian.com
  17. Nice technology by null+etc. · · Score: 3, Funny

    I just hope they patent it before anyone else can use it. I'd hate to see them give up their ability to innovate.

  18. Special camera not needed. by shapr · · Score: 2, Interesting

    Two time-separated frames in a video and sufficiently intelligent software is a stereoscopic camera.

    --

    Shae Erisson - ScannedInAvian.com
  19. Video Game Maps by gojrocknyc · · Score: 3, Funny

    Can't wait til i can stroll thru my old high school with a pair of cameras, take that info, load it into the computer, algorithmize it, and load that data into Splinter Cell / Halo / Unreal Tournament. Ah man, think of all the cool new maps that'd be popping up every day if this system ever gets widespread!

  20. Damn. by St.+Arbirix · · Score: 2, Informative

    That is the third time an article on Slashdot has described something I had hoped I could do my masters thesis on.

    First was the decentralized bittorrent network.
    Then was the method by which angle changes in camera shots can be deduced by comparing the images (the jigsaw puzzle solver). That was probably an infantile persuit anyway.
    And now this.

    I will go ahead and spill the next idea along the same lines as the last two projects:

    What if you were to put a light collector that could detect angle and intensity of light on top of a camera. Then, when your camera is filming your scene you are also recording the manner in which ambient light is reaching your scene. Later, using you 3D scene reconstruction, you can throw in new objects such as creatures and whatnot and use the data from you light collector to apply correct lighting to the new objects you introduce.

    I would imagine someone is about to release this technology and we will see an article about it on Slashdot in a couple weeks. Look forward to it.

    --
    Direct away from face when opening.
    1. Re:Damn. by imroy · · Score: 2, Interesting

      Paul Debevec has probably already done something like that. He's done a lot of work with "image based rendering", including reconstructing scenes from photos and extracting "light probes" from photos of shiny spheres. He's got a lot of papers and demos on his home page there.
      Sorry bud. I know how you feel! I've had similar experiences myself.

  21. Re:That was amazingly cool. by wheany · · Score: 2, Insightful

    So they are not as much editors as they are approvers.

  22. Autostich impressive by foxalopex · · Score: 2, Interesting

    Wow, I actually tried out that autostitch program. It works extremely well. For carefully shot pictures, it will stitch more or less perfectly. For wrecklessly shot, less than perfect but much better than what I can do with Canon photostitch. Considering it was automatically stitching stuff better than what I was doing with Canon photostitch with a lot of manual tweaking, it's impressive. I hope this guy's development work becomes a commercial product.