How to update the available Frame Rate range when change camera ROI using IMAQ Toolbox?

1 visualización (últimos 30 días)
Hi, I'm using IMAQ Toolbox with a PointGrey Chameleon CM3-U3-28S4M camera. This camera could achieve higher frame rate with a smaller region of interest (ROI), e.g. 13 fps at 1928×1448 px (full size), 25 fps at 1000*600 px.
In the FlyCaptureViewer ( provided by the manufacturer PointGrey), available frame rate range changed automatically just after I set the ROI.
In MATLAB, I can get the frame rate range with
propinfo(vid,'FrameRate')
However, When I run this function after I set a small ROI, it still return the original frame rate at full size ROI. It seems that propinfo doesn't query camera to update the new frame rate range.
>>propinfo(vis,'FrameRate') % Get frame rate range at full ROI
set(vid,'ROIPosition',[0 0 100 100]); % Set small ROI
propinfo(vis,'FrameRate') % Get frame rate range at small ROI
ans =
包含以下字段的 struct:
Type: 'double'
Constraint: 'bounded'
ConstraintValue: [6.2473 41.2843]
DefaultValue: 41.2806
ReadOnly: 'whileRunning'
DeviceSpecific: 1
Accessible: 1
ans =
包含以下字段的 struct:
Type: 'double'
Constraint: 'bounded'
ConstraintValue: [6.2473 41.2843]
DefaultValue: 41.2806
ReadOnly: 'whileRunning'
DeviceSpecific: 1
Accessible: 1

Respuestas (1)

Sarang Kunte
Sarang Kunte el 2 de Mayo de 2018
Editada: Sarang Kunte el 5 de Mayo de 2018
Hi Kun,
We are aware of this issue and it is under consideration for future releases.
Please contact Mathworks Technical Support for a workaround.
Thanks,
Sarang.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by