- imaqhwinfo: https://www.mathworks.com/help/imaq/imaqhwinfo.html
- videoinput: https://www.mathworks.com/help/imaq/videoinput.html
- Original MathWorks staff post: https://www.mathworks.com/matlabcentral/answers/95397-how-can-i-change-the-resolution-of-images-i-acquire-with-the-image-acquisition-toolbox
How can I downsample image to increase FPS using Image Acquisition Toolbox?
1 view (last 30 days)
Show older comments
Hello, I am currently trying to use the Image Acquisition Toolbox/Explorer with a Ximea camera (MC023MG-SY-UB). I have downloaded all necessary service packages, connection works and the camera repsonds. The key element of the camera for me are the FPS. It can do 164.5 fps in full resolution, but it can also downsample the resolution to half while doubling its fps. I have tested this feature in the Ximea app and it functions correctly. There is, however, no setting available in the IAE capable of doing that. Since I need to use Matlab with this camera (other devices controlled at the same time), this functionality missing is a big problem. Is there any workaround to the downsampling, so that I could use full fps of the sensor? Thank you in advance for your help
0 Comments
Answers (1)
Moksh
on 13 Dec 2023
Hi Lukas,
I understand that you are trying to reduce the resolution for the camera, to increase the FPS.
The resolution for the images acquired by camera depends upon the hardware of the device.
You can try using the “imaqhwinfo” function in MATLAB to get more information about device hardware that you are using.
From there, supported video formats can be listed and set as per the requirements.
Here is a pseudo code for this:
info = imaqhwinfo('Adaptor Name for the Hardware Device');
list = info.DeviceInfo.SupportedFormats;
% You then need to select the required video format and pass it in the
% videoinput function
obj = videoinput('Adapter Name', 'VideoFormat', 'Required Video Format');
Please note that this is a non-executable code template and you will need to install the required adapters for the camera and use their appropriate names in the above code.
Refer to the following documentation, for more information about the above functions:
Hope this information helps resolve the problem.
Best Regards,
Moksh Aggarwal
0 Comments
See Also
Categories
Find more on Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!