Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
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.

Réponses (1)

Khalid Mahmood
Khalid Mahmood le 15 Mar 2021
Modifié(e) : Khalid Mahmood le 7 Avr 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 commentaire
Khalid Mahmood
Khalid Mahmood le 7 Avr 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

Connectez-vous pour commenter.

Produits

Community Treasure Hunt

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

Start Hunting!