PSeye Integration

Help
Anonymous
2012-05-25
2013-05-09

  • Anonymous
    2012-05-25

    Hi i have been using Opencv with CLEyeMulticam SDk to integrate PSEye toy cameras, for that pourpose i get acces of raw image data wit cvGetimagerawdata  from a PBYTE buffer that is filledwith a CLEYE funtion call :

    cvGetImageRawData(Image, &Buffer);
    CLEyeCameraGetFrame(Cam), Buffer , time);

    I need to know how to perform something similiar in IVT sdk with CByteImage.
    Thank you

     
  • Pedram Azad
    Pedram Azad
    2012-05-29

    Hi,

    I think cvGetImageRawData does more than you need here: I would assume it copies the image contents to your buffer, while you only need the pointer.

    Anyways, in IVT, you can create an image e.g. like this:

    CByteImage image(640, 480, CByteImage::eRGB24);

    And then you can access the pointer with image.pixels, e.g. I would guess you could call:

    CLEyeCameraGetFrame(Cam, image.pixels, time);

    but I am not familiar with CLEYE…

    Pedram

     

  • Anonymous
    2012-05-30

    Thank you worked perferct.

    Now, i am working in detecting retroflective blobs with a IR filter stereo camera rig  , and those blobs are  attached to an object so i can determine accurally rotation and translation of a rigid body.
    I have read the tracking algorithm  from de IVT book but i am not sure if i need to use the blob detection algorith or i need cvBlob , 
    thank you again