Free Web Hosting by Netfirms
Web Hosting by Netfirms | Free Domain Names by Netfirms


Xpounded AnaStereo

3d Image Scripting Stereo to Anaglyph



This code is copyright Robert Spoons 2006
Want to use it - great, give credit.
Want to expand upon it - great, give credit.
Want to talk about it - great, give credit.
Not really asking for much- great, give credit.
Thanks.
Using nothing but script to manipulate images...

This example demonstrates 24-bit bmp formated image manipulation through script.

This is a working vbs script for image analysis, modification, and creation. As far as I know, it is the first publically available script of its kind.

I have looked long, far, deep, and wide for any such simmilar script including commercial and non-commercial web searchs, library searchs, and university searchs. (I have exhausted all available scripting, programming and image resources including but not limited to, photogrammeteric, stereographic, anaglyphic and their relations such as lenticular, popup, and into the picture resources) I was unable to locate even one stand-alone script that only required an image to operate on. --- Well, because I was unable to unearth such a script, I have made one ---- And here it is. (I wouldn't have made this if pre-made script existed).

The example use I give here is creating an anaglyphic image from a stereograph. (you can find stereographs on the web, or you can make your own by hand, or with a LOREO 123 or LOREO MKII)

What this script does and how to use it...


You use the script by dragging and dropping a 24-bit bmp file onto it.
First the script will examine its own parent folder looking for a subfolder with the same name as the dropped file. If it can not find such a folder, it will create one.
Second, the script will do a simple analysis on the dropped image file and report its size, width, and height.
Third, the script will start manipulating the data contained in the dropped image.
It will create 2 new images from the dropped image. (a right and left view)
Then, it will create 2 more new images from the new images previously created. (a red and cyan filter)
Last, it will combine the filter images into an anaglyph.
At each step, the script will save the imtermediate image in the folder named after the originating image.
Hope this is clearer than mud.

You can do a lot more with images through script - grey scale, Sobel edging, etc One point to remember - it is script - it's not so fast. A 512x218, 344kb image can take several seconds to complete.

One nice advantage - you can drop the image and walk away, letting the script do the work. Another advantage is no imaging software is required to do the operations - just script and the OS.

Requirements: Windows 98+, WSH 5.6+ (VBS), Stereograph Image File in 24-bit BMP format.

Tested on XP Home edition SP2, IE6 installed. (Not tested with IE7 installed)


Save this file to your system as AnaStereo.vbs

  Select All

No HTML to View

- Copyright 2006 Xpounded -
All JS code developed by Xpounded is developed in RHSCoder.
All VBS code developed by Xpounded is developed in VBS QuickDev IDE, or RHSCoder.
Privacy Statement
Feedback