3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

inside panoramas / cylindrical textures from real objects

inside panoramas / cylindrical textures from real objects
taking 360 degree panoramas from turning the camera to the middle, not outside.

here i have a small toy car which is standing in the middle of a slow moving turntable.
(1round / 30sec)
 
Remove these adsRemove these ads by Signing Up
 

Step 1The Object

The Object
i placed the car in the middle of a turntable which is turned slowly by a motor from a "disco mirror ball".
the video camera (mini-dv) captures the car as it turns.

with 25 Pictures/Sec and a turning-time from 30 sec i end with 750 pictures.
(copy the DV-film via firewire from the camera and splice him into single images with your favourite movie-tool)
« Previous StepDownload PDFView All StepsNext Step »
32 comments
May 25, 2011. 11:22 PMmirlen101 says:
I did this the easy way I just laid an object on my flatbed scanner and rotated the object as the light passed in sync . I even scanned my whole face , sides of my head included ;-) It was sooooo creepy ! Much worse than sitting on a copier ! ;-) A scanners stepper motor could be used to make the rotation automatic and precise . The scans are high def but limited distance . But I've done depths of about 4 inches . I've beat cameras with an old flatbed ! Here's some of the plane flat results ( sans 180 degree method ) . One image the broken squash got 25,000 hits in one week ! The album got 50,000 ! http://entertainment.webshots.com/album/562675198AQuMNr
Jul 8, 2007. 6:25 AMgfixler says:
Your results came out just great. I got the idea to simulate a slit-scan camera about 5 years ago with a regular digital camera, by taking a video, and chopping out the middle column of pixels.

At first, my idea was to hold the camera up against my car window while making the long drive up and down Sepulveda - an LA road that goes through the mountains - that took me to work and back home. I had no graphical programming experience, so after dumping the ~3 min. videos out to frames, I wrote a Photoshop batch to open each one, copy the center column, close it, and resize the other image it would refocus back to from its center point outwards width-wise by 2 pixels. This effectively built the image to the left, and a blankness to the right. There was no way to paste to the far right edge of the window, so I had to trick it this way. Then I'd just crop out the right half. It worked well, and slowly.

I also tried making several versions of the same pano from different vertical columns, evenly spaced across the image sets. When played back, it made everything in the image appear to spin, and slide a bit, as each was being viewed from different angles when it was in different parts of the frame. It was fun, and the images were monsterously wide.

Then I felt like trying it for your idea here, but had no nice rotational device, so I taped down 2 bars of something to create a V on my desk, and pushed a dead CD into that corner, and put an action figure on it (Rokkon, from He-Man), and filmed from a tripod as I tried very hard to spin the disc slowly, and evenly. I got something kind of like your spins, but very low-res (320x240 video), and very jaggedy, as I just couldn't spin it smoothly enough. It was just a test though, and it worked enough to prove the point for me, so I didn't revisit it. I tend to give up when I see that an idea works, without making anything cool out of it - I guess I'm just all about process, and not results.

Somewhat relatedly, a few years after that, I got into microcontrollers, and processing (www.processing.org), and actually made a little turntable with a platform on a stepper motor, for perfect 1.8° incremental turning (200 steps in a full 360°). I hooked it up to a processing script through a BASIC Stamp connected via serial to the PC, and had it spin the thing, and capture a picture through a miniDV cam for each position. Then I wrote a Processing script to let me spin the object - Pom Pom, a Homestar Runner figurine. You can see the setup here:

http://www.garyfixler.com/pomspin1.jpg
http://www.garyfixler.com/pomspin2.jpg

And you can play with it here:

http://www.garyfixler.com/pomspin/

Click, and drag left and right to spin it, and if you make sure to let go inside the boundaries of the little movie, you can sort of throw him in either direction (let go while still dragging), and he'll spin, slowing to a stop.
Jul 5, 2007. 12:46 PMRichardBronosky says:
eric1000: "take the middel row of pixels from each of the 750 pictures" I'm totally confused as to how this is done. However, if you were to have said middle column (as in vertical slice of pixels) I can see how this might be possible. Also, what do you do with the result? I didn't catch anywhere that you share how you use these. (I am a skimmer, not a reader though.) Have you ever printed one of these and attached it to a cylinder?
Jul 6, 2007. 10:35 AMRichardBronosky says:
I printed and rolled the image of the camera. It was quite funky looking due to the lens distortion. The rubber duck looked very good when printed and rolled however. I suspect that this is because it is of [nearly] consistent "distance from center" all the way around. (or you might say cylindrical) This gave me an idea. I'm going to try to take a series of still pictures of my head with my Canon XTi and crop+join them. I think that since a human head is relatively cylindrical, this should produce good results. To eliminate lens distortion, I will use a zoom lens, shoot from a great distance, and only the center 50% of the image area. This could take me months to pull off, but I will follow up.
Jul 6, 2007. 9:47 AMRichardBronosky says:
Okay, I see the "-rotate 90" in there. That made me study your turn table image more closely. I see that your camera is rotated 90. So, it makes sense that you crop a 1 pixel high horizontal row from the video and rotate it 90 degrees to use it as a vertical column for the final image. As a Linux user, I could totally bash script mencoder/ffmpeg to pull stills from the video and imagemagick to crop and join. I just could not figure out the logistics of which pixels go where, based on your original description.
May 14, 2007. 6:04 AM5oldier says:
I'm really into panoramics at the moment and I was wondering about doing something like this, but how do you select the exact middle row of pixels?
May 10, 2007. 7:59 PMShark500 says:
deffinatly the sickest thing i'vwe seen today. completly awesome. great job
May 10, 2007. 3:04 PMroyalestel says:
I DEFINITELY think you should add the nuts and bolts for your image processing method. Mine was to crop the images and then offset each frame by 1 pixel, add all the frames together and voila! But the tools you used to manipulate the images are an integral part of a clear instructable. Cheers!
May 10, 2007. 3:00 PMroyalestel says:
Hey great! I think you should rename this as "cylindrical textures from real objects". This technique is used to create textures for 3D object doubles. My method used a shake script, but shake costs $500! I'm glad to see a cheaper alternative.
May 12, 2007. 8:28 AMroyalestel says:
Yeah, that's pretty much what my script was, but I didn't know of another image editing program I could do the same thing with. . . Thanks for posting this! Really!
May 10, 2007. 10:05 AMTaotaoba says:
This seems to be a hard part too. Did you use some kinds of special software tools or skills?
May 10, 2007. 2:23 PMninepound says:
Any chance we can get that script?
May 10, 2007. 1:18 PMTaotaoba says:
Thanks. I'm new to panoramas. Are there some software can view your product? I mean, like looking at a rotating car?
May 10, 2007. 3:28 PMTaotaoba says:
I see. I thought it might like this one Create Quicktime VR Panoramas. Yet it does look artistic. Nice job and thanks for sharing.
May 10, 2007. 12:31 PMZak says:
I've done this in the past with a video digitizer that scanned left to right. By setting someone on a swiveling chair this would produce a 'rolled-off' version of their face. Nowadays this would take a bit of processing video, taking a different vertical line from each following frame. Nice to see this done in a different way now!
May 10, 2007. 10:52 AMbeanblog says:
Wow - Is there an easy way to automate the photoshop part? I don't really want to select the middle row from 750 individual pictures. I assume there's some batching or macro's involved - ?
May 10, 2007. 12:34 PMDorkus1218 says:
I'm curious how you got that pulsing effect in the last pic of the tape. Did you take a different slice from the original pictures for each of the "frames" of the animated gif?
May 10, 2007. 12:31 PMDorkus1218 says:
Wow, very very cool.
May 10, 2007. 10:46 AMgmjhowe says:
well, you could do that in paint, if you can use paint, if not then photoshop/coral draw/ etc
May 10, 2007. 10:05 AMCementTruck says:
Ha! Step 5, Image 4 - looks like a stapler stolen from the Batcave, and image 6 looks like a utility belt.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
0
Followers
1
Author:eric1000