Why do I receive an error when I try to use my Matrox morphis with the Image Acquisition Toolbox?
2 次查看(过去 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.
0 个评论
回答(1 个)
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
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!