adjective
relating to or denoting a process by which two photographs of the same object taken at slightly different angles are viewed together, creating an impression of depth and solidity.
The stereoscopic
project combines low-cost high-quality commercially
available hardware and open source software enabling a point-and-shoot
digital stereoscopic camera experience.
Think digital Nimslo 3D to animated gif!
Additionally, this rig could also be used for scanning books with some mounting modifications.
Finally, UV and IR light sources and possible camera hot mirror modifications could allow for capturing full spectrum photos.
The stereoscopic
project has currently been prototyped and initial results demonstrated.
Category | Requirement | Bonus |
---|---|---|
Cost | Between $150~$250 USD | All new hardware |
Sensors | Two (2) | Expandable to four (4) sensors |
Baseline | ~6cm | Adjustable up to 30cm |
Size | 10MP per sensor | 16 MP per sensor |
Format | JPG | RAW (e.g. DNG) |
Capture | Synchronised external capture trigger dongle | WiFi trigger |
Wavelengths | Standard RGB | UV and IR full spectrum |
Processing | Offline via scripts | Uploads finished images via WiFi |
Qty | Component | Description | Price ea | Total |
---|---|---|---|---|
2 | Camera | Canon Powershot A3300 IS | ~$40 used | ~$80 |
2 | SD Card | SDSDUNC-016G-GN6IN | $9 | $18 |
1 | Battery Charger Kit | Powerextra 2x NB-8L Battery and Charger | $12 | $12 |
2 | USB Cables | Type A Male - Mini Type B Male | $5 | $10 |
1 | USB in-line switch | JBtek Type A Male to Female | $6 | $6 |
1 | USB Y Charge Splitter | Onvian Male to 2x Female Type A | $6 | $6 |
1 | USB Power Bank | Bonai Dual USB Charger | $11 | $11 |
1 | Tripod | Amazon Basics 50" | $13 | $13 |
1 | Mount Bracket | Neewer 8" Dual Camera Tripod Mount Bracket | $8 | $8 |
1 | L-Brackets | Limo 2x L Shape Bracket | $10 | $10 |
1 | Misc Hardware | ??? | ??? | ??? |
1 | Lighting | ??? | ??? | ??? |
-- | -- | -- | TOTAL | <=~$175 |
For v1
I decided to go with the Canon Powershot A3300 IS plus CHDK
firmware due to low cost, feature set, availability, and prior art using
these cameras. For a higher budget version, I would opt for a DSLR camera
fully supported by gphoto2
and a manual remote switch so no need to fuss
around with used equipment and potential firmware compatibility issues.
It may be possible to extend into UV and IR ranges by:
- Remove camera Hot Filter and use neutral Full Spectrum glass
- Purchase some filters
Or for such a cheap camera it may be possible to:
- Use a dark room with long exposures
- Expose to UV or IR light sources
Still ideating and need to experiment here.
To install CHDK on the Canon Powershot A3300 IS camera
- Mount SDcard in computer and create an empty file in the root i.e.
touch /mnt/SDcard/ver.req
. - Insert SDcard, unplug USB cables, power on camera using
Playback
arrow button not the on/off switch. - Push and hold
Func Set
and then simultenouslyDisp
to show firmware version e.g. GM1.00C
- Download CHDK matching your model and firmware e.g. a3300-100c-1.4.1-4918-full.zip
- Make sure the SDcard is formatted FAT32 in unlock position and unzip the CHDK firmware and dirs into the root directory using computer.
- Insert SDcard, unplug USB cables, power on camera using
Playback
arrow button not the on/off switch. Menu
->Playback
->Firmware Update...
->OK
- Now pres
Play
arrow button for like a quarter second, don't long press it, and you'll get the CHDK menu. - From CHDK Menu go to
Miscellaneous stuff
->SD Card
->Make Card Bootable
instantly returning anOK
message. - Power off camera, remove SDcard, flip it to locked, and put it in again. CHDK ignores this and will write photos okay.
Reference of few useful commands:
gphoto2 --list-ports
gphoto2 --auto-detect
gphoto2 --summary
gphoto2 --list-config
gphoto2 --list-files
gphoto2 --get-all-files
A few useful bash one liners which can be used to script processing.
# raname left and right camera files
ls b-*.JPG | cat -n | while read n f; do mv $f $(printf "b-%04d.jpg" "$n"); done
# auto convert them
convert -loop 0 -delay 15 -auto-orient -auto-level -resize "360x480>" ../mix/left-0001.jpg ../mix/right-0001.jpg output.gif
# animate a sub section of original
convert -loop 0 -delay 15 -auto-orient -auto-level -crop 1280x1280+800+1000 +repage -resize "640x640>" left-0040.jpg right-0040.jpg test.gif
~81 image pairs taken at 16MP ea created about ~737 MB of JPG data which convereted to ~23MB of animted GIFS at 360x480.
A mix of results both cropped and full frame all shot using this rig.
The stereoscopic
part of this project has been demonstrated as shown above. A low cost rig can be constructed and modified with CHDK for under $175.
- Address camera misalignment difficulties
- DNG raw file camera calibrations (LCP & DCP profiles)
- Book imaging configuration
- UV and IR techniques for book imaging
- CHDKPTP tethered control and automation