MATLAB Answers

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

1 view (last 30 days)
songmenglong on 10 Apr 2018
Edited: Khalid Mahmood on 7 Apr 2021
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.

Answers (1)

Khalid Mahmood
Khalid Mahmood on 15 Mar 2021
Edited: Khalid Mahmood on 7 Apr 2021
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 Comment
Khalid Mahmood
Khalid Mahmood on 7 Apr 2021
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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!