From: Michael Allmayer on
"Adam Bird" <a(a)a.com> wrote in message <hkbk45$bno$1(a)fred.mathworks.com>...
> Hi max,
> I would be very interested to see the code that you are working on, i am still struggling to get matlab to talk to the camera, what version of matlab are you using?
>
> Cheers
>
> "Max " <mxb7642(a)rit.edu> wrote in message <hjsnls$7cs$1(a)fred.mathworks.com>...
> > I am also trying to do something similar. I have already written working c code to capture successive images from the camera but am not sure how to actually display them in matlab. I've tried using imshow but it only updates with the last image, not for every frame. I'm curious to learn how you accomplished this? Thank you very much!!
From: Michael Allmayer on
Can you post your code? Maybe i can help you.
I'll send you all my code as soon as I've access to the camera at my University (next week I think).


"Adam Bird" <a(a)a.com> wrote in message <hkbk45$bno$1(a)fred.mathworks.com>...
> Hi max,
> I would be very interested to see the code that you are working on, i am still struggling to get matlab to talk to the camera, what version of matlab are you using?
>
> Cheers
>
> "Max " <mxb7642(a)rit.edu> wrote in message <hjsnls$7cs$1(a)fred.mathworks.com>...
> > I am also trying to do something similar. I have already written working c code to capture successive images from the camera but am not sure how to actually display them in matlab. I've tried using imshow but it only updates with the last image, not for every frame. I'm curious to learn how you accomplished this? Thank you very much!!
From: Mark Jones on
Hi Max,

There are two ways that might work more easily for you.

1. Create an IMAGE object on a figure and update the CDATA as needed

2. Create an Image Acquisition Toolbox adaptor. To learn more about
the adaptor kit, see:

http://www.mathworks.com/access/helpdesk/help/pdf_doc/imaq/adaptorkit.pdf

Capture and display will be very easy then.

Mark


Max wrote:
> I am also trying to do something similar. I have already written working
> c code to capture successive images from the camera but am not sure how
> to actually display them in matlab. I've tried using imshow but it only
> updates with the last image, not for every frame. I'm curious to learn
> how you accomplished this? Thank you very much!!
>
> "Michael Allmayer" <i-net.accounts(a)anexia.at> wrote in message
> <hif2dc$9im$1(a)fred.mathworks.com>...
>> Yes, i have.
>> I the new Matlab 2009 and with its possibility to load a .NET DLL file.
>> I've written a small DLL in C# which is able to set some parameters
>> and to make an image.
>> You can easily use the functions in the DLL in Matlab then.
>> A negative effect of that method is, that it requires a little bit of
>> time to call the function in the dll and to hand over the imagedata.
>> I've made a "liveview" in the way that i capture an image in a loop.
>> But there are only 15fps possible instead of the 30 which the cam
>> supports.
>>
>> If you want to have more information, feel free to contact me.
>>
>> "Adam Bird" <a(a)a.com> wrote in message
>> <hif0qi$23s$1(a)fred.mathworks.com>...
>> > Hello Michael
>> > > Did you ever manage to get the jAi ethernet camera working with
>> matlab? Im having similar problems and would like to know if its
>> possible. > > "Michael Allmayer" <i-net.accounts(a)anexia.at> wrote in
>> message <hcsdkv$7vq$1(a)fred.mathworks.com>...
>> > > I'm currently trying to aquire an image of an ethernet camera of
>> the company "jAi". The camera applies to the GigE Vision standard.
>> > > > > Has anyone implemented such a camera and can give me a few
>> hints please?
>> > > Which way is the best and easiest? To import de DLL files from de
>> SDK of jAi? Or to try it with MEX files? Or directly accessing the
>> ethernet?
>> > > > > I've tried load the DLL files from jAi, but with "loadlibrary"
>> I'm always getting errors.
>> > > > > Hope someone can help me :)
>> > > > > Thanks in advance!