Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Point Grey Chameleon with Image Acquisition Toolbox

116 views
Skip to first unread message

Jack

unread,
Jul 13, 2011, 11:12:28 AM7/13/11
to
I am trying to capture images directly in the workspace using a Point Grey Research Chameleon USB camera with the Image Acquisition Toolbox. I know that this is possible because I have seen another individual directly interfacing with a Chameleon camera, but I don't have access to all of their configuration/files.

The computer recognizes the Chameleon camera because DeviceInfo returns:

------
DefaultFormat: 'Y800_1280x960'
DeviceFileSupported: 0
DeviceName: 'Point Grey Camera'
DeviceID: 2
ObjectConstructor: 'videoinput('winvideo', 2)'
SupportedFormats: {'Y800_1280x960' 'Y800_640x480'}
------

When I try to start the variable " video = videoinput( 'winvideo', 2, 'Y800_640x480' ) "
with " start(video) " it returns the error:

-------
??? Error using ==> imaqdevice.start at 91
The image acquisition device failed to start acquiring images.

Error in ==> snap_images at 31
start(video);

Error event occurred at 10:36:03 for video input object: Y800_640x480-winvideo-2.
winvideo: Image acquisition device is not accessible.
No combination of intermediate filters could be found to make the connection.
Make sure no other objects or applications are accessing the same device.

??? winvideo: Image acquisition device is not accessible.
No combination of intermediate filters could be found to make the connection.
Make sure no other objects or applications are accessing the same device.
------

I am currently running 64 bit MATLAB 2009 on Windows 7 Professional 64 bit. I also have Point Grey's FlyCapture2 software installed in both the 32 and 64 bit versions.

Thank you,
Jack

ImageAnalyst

unread,
Jul 13, 2011, 2:30:37 PM7/13/11
to
Most video adapters (the chunk of code that is the interface software
between MATLAB and the manufacturer's DLL's or other low level
software that communicates with the camera hardware) are written by
the camera manufacturer, so you'll have to contact Point Grey.

Jack

unread,
Jul 18, 2011, 5:28:09 PM7/18/11
to
I contacted Point Grey, and they resolved other issues I was having, but not this issue. I finally was able to get it working in Matlab though. For some reason, Matlab only seems to work with FlyCapture1.xx rather than FlyCapture2.xx. Once I reinstalled FlyCapture1 and registered the "PGRDirectShowSource.ax" and "PGRDirectShowDecoder.ax" files from the FlyCapture1 bin, Matlab recognized the camera. FlyCapture2 can still be installed and I have actually used FlyCapture2 to correctly change camera modes while Matlab is still running.

Ken Garrard

unread,
Jul 21, 2011, 2:51:09 PM7/21/11
to
"Jack" wrote in message <j028h9$avo$1...@newscl01ah.mathworks.com>...

> I contacted Point Grey, and they resolved other issues I was having, but not this issue. I finally was able to get it working in Matlab though. For some reason, Matlab only seems to work with FlyCapture1.xx rather than FlyCapture2.xx. Once I reinstalled FlyCapture1 and registered the "PGRDirectShowSource.ax" and "PGRDirectShowDecoder.ax" files from the FlyCapture1 bin, Matlab recognized the camera. FlyCapture2 can still be installed and I have actually used FlyCapture2 to correctly change camera modes while Matlab is still running.

Thanks for posting the resolution to your problem. I'm also using a Point Grey Chameleon with the image acquisition toolbox and had the same problem.

Ken

Chris

unread,
Nov 10, 2011, 4:24:13 PM11/10/11
to
Have you been able to get 16 bit images through Matlab? I tried using the PGR Flycap 2.x drivers initially but only saw RGB 1280x960 as the available mode. I have now registered the Flycap 1.8 directshow drivers and I see 'Y800_1280x960' 'Y800_640x480' as the available video modes, but I'm not sure how to get 16 bit data from those.
I'm running Win7 x64 with 64 bit Matlab
Any suggestions are helpful
Thanks!

Jack

unread,
Nov 11, 2011, 12:12:11 PM11/11/11
to
"Chris" wrote in message <j9hfdt$44k$1...@newscl01ah.mathworks.com>...
Unfortunately, I don't have the cameras in my possession anymore and I can't remember what options were available when I opened Matlab. I don't remember there being any restrictions on camera video modes although I wasn't look to closely at 16 bit images.

One thing I did notice is that you might be able to adjust video settings if you open Matlab and Flycapture simultaneously. I was able to adjust the settings of the video window in Matlab by changing the settings in Flycapture. I'm not sure if that would work for the video modes themselves since I was just adjusting brightness, etc, but it may be worth a shot.

Sorry I can't be of any more assistance.
0 new messages