I am running a prosilica gx 1050 camera for fast image acquisition. So far I can achieve the max frame rate of 112 fps at full image size (1024 by 1024), but I would like to increase this rate further by decreasing the frame size. AVT (the camera manufacturer) says that by decreasing the height of the image to 512 pixels, I should be able to attain a frame rate of about 170 fps. I did reduce the frame height to 512, but matlab still thinks the max frame rate is 112 and will not let me set anything faster. Here is my code:
disp('creating video object')
vid = videoinput('gige',1,datatype);
src = getselectedsource(vid);
vid.ROIPosition = [0 0 512 512];
disp('ready for capture')
data = getdata(vid);
disp([num2str(numframes) ' frames acquired'])
When I set numframes=170, I get a warning that the frame rate cannot exceed 112. When I check the value of AcquisitionFrameRateAbs, I see that Matlab has set it to 33 fps.
How do I get Matlab to increase the frame rate accordingly? Any help or tips are appreciated.
Thank you very much, Laurie