USBカメラをGen​ICamのアダプタで​動作させるにはどうし​たらよいでしょうか?

12 Ansichten (letzte 30 Tage)
YUTA YAMADA
YUTA YAMADA am 24 Mai 2018
Kommentiert: YUTA YAMADA am 28 Mai 2018
ご教授お願いします。
winvideoのアダプターではプレビュー、および画像の取得を行うことができました。そこでPixel Binningを行いたいため、GenICamのアダプタ(gentl)を用いてこれらのカメラを使おうと考えています。
Basler社のacA1920-155um及びacA-1920-40umを用いてImage Aquisition ToolBoxにて画像取得を試みています。
使用している環境は
  • Basler社 Pylon5 Camera Software Suite(Ver 5.0.5.8999)
  • MATLAB R2016b
  • Image Aquisition ToolBox(Ver 5.1)
  • Image Aquisition ToolBox Support Package for GenICam Interface(Ver 16.2.1)
  • Image Aquisition ToolBox Support Package for OS Generic Video Interfae(Ver 16.2.0)
  • Basler Camera Driver(Ver 1.4)
をインストール済みです。
上記のドライバ、SupportPackageをインストール済みでコードを打つと以下のようになっています。
>> imaqhwinfo
ans =
フィールドをもつ struct:
InstalledAdaptors: {'gentl' 'winvideo'}
MATLABVersion: '9.1 (R2016b)'
ToolboxName: 'Image Acquisition Toolbox'
ToolboxVersion: '5.1 (R2016b)'
>> imaqhwinfo('winvideo')
ans =
フィールドをもつ struct:
AdaptorDllName: 'C:\ProgramData\MATLAB\SupportPackages\R2016b\to…'
AdaptorDllVersion: '5.1 (R2016b)'
AdaptorName: 'winvideo'
DeviceIDs: {[1]}
DeviceInfo: [1×1 struct]
>> imaqhwinfo('gentl')
ans =
フィールドをもつ struct:
AdaptorDllName: 'C:\ProgramData\MATLAB\SupportPackages\R2016b\to…'
AdaptorDllVersion: '5.1 (R2016b)'
AdaptorName: 'gentl'
DeviceIDs: {1×0 cell}
DeviceInfo: [1×0 struct]
>> vid = videoinput('winvideo', 1); >> vid.Source
ans =
Display Summary for Video Source Object:
General Settings:
Parent = [1x1 videoinput]
Selected = on
SourceName = input1
Tag = [0x0 string]
Type = videosource
Device Specific Properties:
Brightness = 0
Exposure = -8
FrameRate = 255.2323
Gain = 0
>> vid = videoinput('gentl', 1); エラー: videoinput (line 233) There are no devices installed for the specified ADAPTORNAME. See IMAQHWINFO.

Antworten (1)

Naoya
Naoya am 28 Mai 2018
acA1920-155um, acA-1920-40um は、 usb3.0 カメラとなりますでしょうか?
該当カメラをサポートする GenICam GenTL Producer が提供されているかベンダへご確認頂けますでしょうか?それを利用することで、gentlアダプタ経由で画像を取得することができるかと思います。
  1 Kommentar
YUTA YAMADA
YUTA YAMADA am 28 Mai 2018
MATLABを2018にし、ドライバ、SupportPackageをインストールしなおしたら動作させることができました。 ありがとうございました。

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by