element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Paired cameras for stereoscopic enhancement
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 11 replies
  • Subscribers 677 subscribers
  • Views 1281 views
  • Users 0 members are here
  • 3d
  • pi
  • raspberry_pi
  • binocular
  • stereoscopy
  • camera
  • castar
Related

Paired cameras for stereoscopic enhancement

morgaine
morgaine over 12 years ago

Has anyone reported yet their use of two Pi cameras slaved together as a binocular pair and the output being  processed in one of the many ways available for stereoscopy or 3D  imaging?

 

In addition to the above, I was pondering ways to combine such a pair of still images or video streams with those forthcoming CastAR 3D glasses that we were talking about a little while ago, hopefully produced one day by Jeri Ellsworth's Technical Illusions outfit --- HackADay has a brief description of the technology (see Youtube and The Amp Hour for a lot more).

 

Since  the retro-reflective screen happily sends back anything projected at it from each eye's vantage point, it should require no processing at all to view the output from dual cameras in full glorious 3D in CastAR, other than maybe format conversion.  Given the low price of the Pi camera, this is sure to happen the instant the glasses become available.

 

(I  was also wondering how the eye/brain combination would perceive the effect of dramatically increasing the separation between the two cameras when used with CastAR --- that's sure to be interesting, as it will allow parallax to be increased artificially beyond human range.)

 

And going even further, processing the dual images or streams for contrast enhancement or to pick out other desireable visual properties is sure to be of interest in many areas, microscopy being just one.

 

Morgaine.

  • Sign in to reply
  • Cancel
  • shabaz
    shabaz over 12 years ago

    I'm surprised it's not been prominent if someone has done it (even if it entails using two RPIs, or multiplexing in hardware), because it seems such a good use for these cams. I planned to try two lower-res cams for machine vision (so no need for HD in this case) on the BBB, but I had some issues with the amount of memory currently allocated for the PRUs.

    But seeing it done in HD would be superb.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 12 years ago in reply to shabaz

    Indeed, the new opportunities for machine vision are quite huge, possibly unlimited --- price affects everything.

     

    Even good ol' human vision may get a boost when low pricing allows it.  For example, I was initially pondering applications in microscopy because of our earlier discussion about it, and that's why I started thinking about using a pair of cameras so that I wouldn't to lose the stereoscopic benefits of my current binocular microscope.  CastAR + dual cameras would preserve the current benefits and probably improve on them.

     

    But by decoupling the camera site from the projection site, this automatically gives us remote 3D viewing, and that means remote surgery will benefit for starters.  Seeing exactly what you're doing with remote manipulators can be pretty important in that application, as in many others.

     

    And if you can do surgery remotely, then soldering or reworking SMD boards remotely must be a walk in the park. image

     

    At the other end of the size scale, how about hooking together views from cameras on opposite sides of the Earth?  Blink imaging is already hugely powerful for detecting things that change in the night sky, but long-baseline parallax with the help of CastAR would add even more capability for near-Earth object detection.  And at the low price of the Pi camera, everyone with a telescope could be providing image feeds for use by CastAR-equiped viewers.  Some may even cool their cameras for low noise with Peltiers or dry ice or even liquid nitrogen if the sensor survives --- at this price, one can afford to experiment.  I expect a lot of such applications to appear.

     

    And to bring this full circle back to your point, now imagine this parallax-aided visual data being used by machines.  This could be big, and not only for citizen science.  Pi-niche pricing changes everything.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago

    Did you see this ?

    http://www.raspberrypi.org/archives/3376

     

    as noted, likely the biggest problem will be a lack of synchronisation capability. 

     

    I think you're spot on that the low price changes things and opens up use cases you couldn't otherwise consider.  However, if you spend even five mins in the RPF forums camera subsection it's quickly clear that the lack of control over what the GPU really does is a problem as you can't guarantee the two cameras will do the same thing when looking at the same image.   There are lots of people with interesting ideas that the RPF had never thought of, which is exactly as you'd expect, but the lack of a certain level of control is making some things difficult.

     

    Some posts in another thread from 'gsh' suggests that there may be the possibility of getting direct access to the CSI from the Arm if Broadcom will let them document it. Presumably at that point you'll have much more control, even if it does become a case of simply dumping the data for processing later.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 12 years ago in reply to Former Member

    Thanks for the link.  Cool, so there is a  bit of activity ongoing with dual cameras, Gordon's MicroDB and the work done by Maximum PC magazine.  There's sure to be much more soon I think.

     

    Regarding lack of control over the CSI and the GPU, what software control do users have currently over the camera module?

     

    PS. I couldn't perceive any extra depth  on that stereo video using red/green glasses, nor any feeling of nausea.  I suspect it's just due to the terribly shaky capture though, which I find extremely annoying as I can't focus on anything.  I look forward to watching some smoothly filmed 3D content.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to morgaine

    Morgaine Dinova wrote:

     

    Regarding lack of control over the CSI and the GPU, what software control do users have currently over the camera module?

    Not as much as they'd like is probably a fair assesment.

     

    The parameters for the raspistill prog are as follows

     

    Image parameter commands

     

    -sh, --sharpness        : Set image sharpness (-100 to 100)

    -co, --contrast : Set image contrast (-100 to 100)

    -br, --brightness       : Set image brightness (0 to 100)

    -sa, --saturation       : Set image saturation (-100 to 100)

    -ISO, --ISO     : Set capture ISO

    -vs, --vstab    : Turn on video stablisation

    -ev, --ev       : Set EV compensation

    -ex, --exposure : Set exposure mode (see Notes)

    -awb, --awb     : Set AWB mode (see Notes)

    -ifx, --imxfx   : Set image effect (see Notes)

    -cfx, --colfx   : Set colour effect (U:V)

    -mm, --metering : Set metering mode (see Notes)

    -rot, --rotation        : Set image rotation (0-359)

    -hf, --hflip    : Set horizontal flip

    -vf, --vflip    : Set vertical flip

     

     

    Notes

     

    Exposure mode options :

    off,auto,night,nightpreview,backlight,spotlight,sports,snow,beach,verylong,fixedfps,antishake,fireworks

     

    AWB mode options :

    off,auto,sun,cloud,shade,tungsten,fluorescent,incandescent,flash,horizon

     

    Image Effect mode options :

    none,negative,solarise,sketch,denoise,emboss,oilpaint,hatch,gpen,pastel,watercolour,film,blur,saturation,colourswap,washedout,posterise,colourpoint,colourbalance,cartoon

     

    Metering Mode options :

    average,spot,backlit,matrix

    plus various stuff like what size, jpg/png, saved image quality etc.

     

    However some of these don't work (iso settings were only recently enabled) and some don't seem to do what's expected. For example there are reports of the GPU selecting low ISO and bright daylight like exposure times for night time images.

    Also reports that in timelapse mode the camera locks the ISO setting early and never changes it, or (and the reason I started watching the camera forum) that timelapse images of a bright outdoor scene gradually fade off to black over some minutes, but maybe only if you turn the preview mode off.

     

    Obviously still early days for the camera and things will get fixed, or new features added. However the stumbling block seems to be that jamesh is the only one with access to do any of the GPU side driver work and he doesn't seem to have time/motivation/something to work on it much. That's fair enough as he's just a volunteer doing it in his free time, but I think it's also why some people are interested in getting direct access without the GPU.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 12 years ago in reply to Former Member

    Great, thanks for the info!

     

    I've now also found the source repo for the camera utilities on Github, so I'll poke around with those when I get some time.  Time is in very short supply here just at the moment, and I haven't even powered on the model A that I want to run the camera, which is still in its anti-static bag.

     

    While BBB has leapfrogged almost all of the bullet points on Pi's features list, it's nice that Pi still has media centres (in which I'm not interested) and camera capability (in which I am, for microscopy) to enjoy as unrivalled applications.  I hope to put it to good use within a few months.

     

     

    Addendum:  So, the Pi camera interface is a bit like that for the GPU, just a thin open source but uninformative shim in the kernel which passes messages to the VideoCore which then pokes at the CSI interface?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 12 years ago

    This is mostly off-topic, except for the fact that it was microscopy that made me interested in the Pi camera.  But perhaps Jeri Ellsworth is always on-topic at E14, so here's a fairly recent video about her refurbushed Scanning Electron Microscope.

     

    I was quite involved in the nanotechnology community in the early years of the topic (before Bush and his vested interest advisers redefined the terms and handed NNI funding on a plate to Big Chem to make sunscreen), and was getting ready to build an Atomic Force Microscope, so this is pretty engrossing for me.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 12 years ago

    Further on the subject of low-cost video-aided microscopy, Chemical & Engineering News published an interesting article yesterday on "Smart Phones Snap Pictures Of Individual Virus Particles", which describes using a  laser diode and angled lenses in conjunction with a phone camera to provide cheap and portable fluorescence microscopy of particles and viruses down to 100nm in size.

     

    C&EN's article is based on the paper published in ACS Nano 10.1021/nn4037706, 9 Sep 2013, by Qingshan Wei et al, UCLA.  The full paper is available at pdf/10.1021/nn4037706.

     

    The above offers a very interesting area of experimentation with the Pi camera, needing only very inexpensive additional components that are available everywhere --- a laser diode and some lenses.  (Some experimentation with lens coatings could replace the UCLA team's long-pass thin-film interference filter.)  What's more, entirely electronic observation without an eyepiece provides useful first-order protection against eye damage, which is an ever-present danger even with very low power laser devices.  Needless to say, care is still needed, and preferably optical shielding as well.

     

    This kind of project goes far beyond IT engineering, and could encourage interest in materials and life sciences and many others as well.

     

     

    Addendum:  An offshoot from the UCLA research team, Holomic LLC, provides some very informative videos and product/technology descriptions on its website.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • fustini
    fustini over 12 years ago

    fyi - CastAR is KickStarter closes in 29 hours. the stretch goal is to add gyroscopes:

    http://www.kickstarter.com/projects/technicalillusions/castar-the-most-versatile-ar-and-vr-system/posts

     

    Woz is a backer now, too!

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • morgaine
    morgaine over 12 years ago in reply to fustini

    Whoops, thanks Drew!  The kickstarter is indeed very good news, and this $1m+ should accelerate work a lot without incurring wholesale slavery to a VC.

     

    With the site in such a mess, I didn't see this update until now, but I'm very glad that castAR's attempt succeeded.  The rewards list for backers has a curious void between $85 and $189, I wonder why that was --- maybe to tempt a few more to join the ranks of those receiving an actual pair of glasses at $189, but I suspect that it had the opposite effect and just cut down the pledge total.

     

    I guess the $189 means that the retail price of a pair of glasses + mat will be $200 + vendor margin.  I'm a bit saddened by that pricing.  Jeri & Co. are going to get only the hardcore gamers on-board in that market slot, given that castAR is an occasional-use peripheral.  Although there are certainly quite a few enthusiasts with large bank balances around, it's not really an attempt to enter the volume market.

     

    With all the troubles we've been having here, I didn't enjoy clicking this castAR link somewhere on the site.  Our periodic lament about the Software Crisis probably needs an update --- I think the downward spiral is accelerating.

     

    Morgaine.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube