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
    About the element14 Community
  • 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 684 subscribers
  • Views 1383 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
Parents
  • 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
Reply
  • 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
Children
  • 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
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