Why do I receive an error when I try to use my Matrox morphis with the Image Acquisition Toolbox?

3 ビュー (過去 30 日間)
imaqhwinfo
ans =
InstalledAdaptors: {'dcam' 'gige' 'matrox' 'pointgrey' 'qimaging' 'winvideo'}
MATLABVersion: '8.3 (R2014a)'
ToolboxName: 'Image Acquisition Toolbox'
ToolboxVersion: '4.7 (R2014a)'
>> info=imaqhwinfo('winvideo')
info =
AdaptorDllName: 'C:\MATLAB\SupportPackages\R2014a\genericvideo\adaptor\win64\mwwinvideoimaq.dll'
AdaptorDllVersion: '4.7 (R2014a)'
AdaptorName: 'winvideo'
DeviceIDs: {[1]}
DeviceInfo: [1x1 struct]
>> dev_info=imaqhwinfo('winvideo',1)
dev_info =
DefaultFormat: 'RGB32_-1442840129x1515803904'
DeviceFileSupported: 0
DeviceName: 'Matrox Capture'
DeviceID: 1
VideoInputConstructor: 'videoinput('winvideo', 1)'
VideoDeviceConstructor: 'imaq.VideoDevice('winvideo', 1)'
SupportedFormats: {1x4 cell}
>> vid=videoinput('winvideo') error:
<<
>>
videoinput (line 391)
ROIPosition: X offset value must be less than the width specified by VideoResolution.

回答 (1 件)

Khalid Mahmood
Khalid Mahmood 2021 年 3 月 15 日
編集済み: Khalid Mahmood 2021 年 4 月 7 日
Clearly format : RGB32_-1442840129x1515803904 is invalid
It must be like RGB32_720x480. But 1442840129x1515803904 is huge Resolution and beyond ROIPosition limits. Contact matlab support team for invalid supported formats.
  1 件のコメント
Khalid Mahmood
Khalid Mahmood 2021 年 4 月 7 日
Moreover... There can be problem with frame grabber communication because of:
1) Frame grabber is not for windows (winvideo)
2) The driver of frme graber is not for (specific) windows
3) Error in driver code

サインインしてコメントする。

製品

Community Treasure Hunt

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

Start Hunting!