Unwrapping images of cylindrical objects

unwrapping-images-of-cylindrical-objects

Here’s an automated setup that lets you create flat images of cylindrical objects. The example shown above takes a creamer and lets you see what the painted pattern looks like when viewed continuously.

The image capture rig is similar to turntable photography setups that allow you to construct animated GIF files or 3D models of objects. The subject is places on a stepper motor which allows precise control when rotating the object between frames. The EiBotBoard (which we’ve seen in at least one other project) is designed for the EggBot printer. But it is used here to interface the motor and capture equipment with the Raspberry Pi.

We’re a little uncertain if the RPi actually handles the image manipulation. The project uses ImageMagick, which will certainly run on the RPi. There is a mention of the Raspberry Pi camera joing the rig as a future improvement so we do expect to see a fully-automatic revision at some point.

[via Adafruit via EMSL]

Comments

  1. roboman2444 says:

    Taking a video and roating the stepper at a constant speed would make it look better

  2. roboman2444 says:

    Taking a video and roating the stepper at a constant speed would make it look better

  3. John says:

    A video record would be better indeed.

    Not to mention rotaring the cylindrical object on a scanner.

  4. S says:
  5. roboman2444 says:

    By the way, HAD. Your comment system tends to duplicate my comments.

  6. wowme@wtf.com says:

    “There is a mention of the Raspberry Pi camera joing the rig as a future improvement so we do expect to see a fully-automatic revision at some point.”

    Joing! Urban Dictionary, anyone?

  7. borgar says:

    I did something very similar last year. a stepper and an arduino(yeah i know, but if i revisit it i’ll put it on a attiny) and a servo that i sat on the camera with something called greenstuff. epoxy putty really.

    its function was to make 360 gifs for displaying warhammer models. i ended up sticking to electronics and disregarding wargaming.. go figure..

    http://i6.photobucket.com/albums/y238/noppe/pistolier2.gif
    http://i6.photobucket.com/albums/y238/noppe/20120618_182504.jpg?t=1340038332

  8. JB says:

    Reversed hardware texture mapping :P

  9. echodelta says:

    At Nat Geo, someone did this in the 60’s for Grecian and Mayan artifacts.
    The best hack is to use a line at a time flatbed scanner and hook the motor up to the turntable. No photo stitching is needed, and very high res. People hack scanners to do 360 degree space cameras. Look it up. Again very high res, just no motion is allowed during shoot unless you want weird scenes.

  10. EFH says:

    The lighting here is just god-awful — this would look a million times better if there wasn’t a shadow gradient across the image window!

  11. MrX says:

    Nice idea! Now to make it perfect, just implement a coordinate remaping algorithm to take in account the distortion of each segment, caused by the cylindrical surface.

  12. bty says:

    David Laser scanner would be perfect for this. Scan the model and unwrap the texture.

  13. Whatnot says:

    Don’t mention animated GIFs, 2013 and we still deal with blasted GIF files, all because several main browsers like chrome as well as the PNG group refuse to recognize animated PNG’s.. I wish someone would be able to sue them over it, I really do.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 91,244 other followers