Skip to main content
Up and Coming
March 27, 2015

Stereo Camera

Hello,

i want to build a stereo camera.

I choosed this camera -> https://de.ids-imaging.com/store/ui-3241le.html

But now i need to know which lens i should take. It should have a S-Mount M12 screw thread.
The lens should have 120° viewing angle or not? Becaus the vertical viewing angle of the oculus rift dk2 is 120°???
I want to see from a distance: 0,15m - 5m. Is it possible? And witch lens is good enough for my requierments?

Thanks!

    17 replies

    Up and Coming
    April 24, 2015
    Ok i solved the Problem now i want to Set the brightness is IT possible to Set IT on Auto?
    Up and Coming
    April 27, 2015
    @pixelminer

    Do you know how i can set the contrast and brightness with open cv?
    In my current stream its very bright so its impossible to see details.
    Up and Coming
    April 28, 2015
    "GermanStudent" wrote:
    @pixelminer

    Do you know how i can set the contrast and brightness with open cv?
    In my current stream its very bright so its impossible to see details.


    Hi,

    OpenCV have some functions for controlling brightness, contrast, gain and exposure:
    http://docs.opencv.org/modules/highgui/ ... apture-set

    The problem with VideoCapture properties in OpenCV is that not all are actually implemented for each camera type. So if you are unlucky setting the brightness, contrast, gain and/or exposure will have no effect. You have to try out which of these functions that work. In worst case none of them will work. Then you will have two options: Either implement your own IDSCamera->OpenCV wrapper that support the functions you need. Your other option is to use a physical image filter between your lens and the sensor:
    http://en.wikipedia.org/wiki/Neutral_density_filter
    Up and Coming
    April 29, 2015
    Okay i tried it with a filter, but it was only anoter layer over my picture and was sensless.

    Now i try to work with the IDS Api.

    With this function i can set the brightness, but it dosent effect my picture...

    double soll = 0;
    is_SetAutoParameter (0, IS_SET_AUTO_REFERENCE, &soll, 0);

    Do i forget something?
    There are no errors or warnings that means the libs are correctly implemented.

    Ok i think the exposure time is the reason that its so bright. Now i want to set him to auto with this function

    double soll = 0;
    is_SetAutoParameter (m_hCam, IS_SET_AUTO_REFERENCE, &soll, 0);
    Up and Coming
    April 30, 2015
    "GermanStudent" wrote:
    Okay i tried it with a filter, but it was only anoter layer over my picture and was sensless.

    Now i try to work with the IDS Api.

    With this function i can set the brightness, but it dosent effect my picture...


    I cannot really say why your code is not working. In my own inteface with the IDS camera I handle the setup like this:
    http://github.com/bjornblissing/osgueye ... p#L98-L197
    Up and Coming
    May 5, 2015
    hm okay i think i would take your project can you upload the whole project? because i dont understand how i can start it.
    Up and Coming
    May 5, 2015
    "GermanStudent" wrote:
    hm okay i think i would take your project can you upload the whole project? because i dont understand how i can start it.


    It already is the whole project. But the project is dependent of OpenSceneGraph, which is a OpenGL scene graph library. You can download the latest stable version from:
    http://github.com/openscenegraph/osg/tr ... raph-3.2.1