




已阅读5页,还剩4页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
imaqInfo = imaqhwinfoimaqInfo = InstalledAdaptors: winvideo MATLABVersion: 7.10 (R2010a) ToolboxName: Image Acquisition Toolbox ToolboxVersion: 3.5 (R2010a) imaqInfo.InstalledAdaptorsans = winvideo winvideoinfo = imaqhwinfo(winvideo)winvideoinfo = AdaptorDllName: 1x81 char AdaptorDllVersion: 3.5 (R2010a) AdaptorName: winvideo DeviceIDs: 1 DeviceInfo: 1x1 struct winvideoinfo.DeviceInfoans = DefaultFormat: YUY2_1280x720 DeviceFileSupported: 0 DeviceName: FaceTime HD Camera (Built-in) DeviceID: 1 ObjectConstructor: videoinput(winvideo, 1) SupportedFormats: 1x6 cell device1 = winvideoinfo.DeviceInfo(1)device1 = DefaultFormat: YUY2_1280x720 DeviceFileSupported: 0 DeviceName: FaceTime HD Camera (Built-in) DeviceID: 1 ObjectConstructor: videoinput(winvideo, 1) SupportedFormats: 1x6 cell device1.DeviceNameans =FaceTime HD Camera (Built-in) device1.DeviceIDans = 1 device1.DefaultFormatans =YUY2_1280x720 device1.SupportedFormatsans = Columns 1 through 4 YUY2_1280x720 YUY2_160x120 YUY2_176x144 YUY2_320x240 Columns 5 through 6YUY2_352x288 YUY2_640x480obj= videoinput (winvideo)Summary of Video Input Object Using FaceTime HD Camera (Built-in). Acquisition Source(s): input1 is available. Acquisition Parameters: input1 is the current selected source. 10 frames per trigger using the selected source. YUY2_1280x720 video data to be logged upon START. Grabbing first of every 1 frame(s). Log data to memory on trigger. Trigger Parameters: 1 immediate trigger(s) on START. Status: Waiting for START. 0 frames acquired since starting. 0 frames available for GETDATA. get (obj) General Settings: DeviceID = 1 DiskLogger = DiskLoggerFrameCount = 0 EventLog = 1x0 struct FrameGrabInterval = 1 FramesAcquired = 0 FramesAvailable = 0 FramesPerTrigger = 10 Logging = off LoggingMode = memory Name = YUY2_1280x720-winvideo-1 NumberOfBands = 3 Previewing = off ROIPosition = 0 0 1280 720 Running = off Tag = Timeout = 10 Type = videoinput UserData = VideoFormat = YUY2_1280x720 VideoResolution = 1280 720 Color Space Settings: BayerSensorAlignment = grbg ReturnedColorSpace = YCbCr Callback Function Settings: ErrorFcn = imaqcallback FramesAcquiredFcn = FramesAcquiredFcnCount = 0 StartFcn = StopFcn = TimerFcn = TimerPeriod = 1 TriggerFcn = Trigger Settings: InitialTriggerTime = TriggerCondition = none TriggerFrameDelay = 0 TriggerRepeat = 0 TriggersExecuted = 0 TriggerSource = none TriggerType = immediate Acquisition Sources: SelectedSourceName = input1Source = 1x1 videosource imaqhelp videoinput VIDEOINPUT Functions and Properties. VIDEOINPUT Construction. videoinput - Construct a video input object. Configuration. get - Get value of image acquisition object property. inspect - Open property inspector and configure image acquisition object properties. set - Set value of image acquisition object property. Execution. getselectedsource - Return the video source object currently selected for acquisition. start - Initiate video input object to start running. stop - Stop object running and logging. wait - Wait for video input object to stop running. Trigger Functions. trigger - Manually initiate logging for running object. triggerconfig - Configure video input object to a trigger configuration. triggerinfo - Return all valid trigger configurations. Data Functions. flushdata - Remove buffered image frames from memory. getdata - Return acquired image frames from buffer. getsnapshot - Immediately acquire a single image frame. peekdata - Return most recently acquired image frames. Tools. closepreview - Close image preview windows. imaqmem - Limit or display memory used for acquiring frames. imaqmontage - Display acquired image frames as a montage. preview - Activate a live image preview window. General. delete - Remove video input object from memory. imaqcallback - Display event information for an acquisition event. imaqfind - Find image acquisition objects with specified property values. imaqreset - Delete and unload all image acquisition objects and adaptors. isvalid - True for image acquisition objects that can be associated with hardware. Information And Help. imaqhelp - Display image acquisition object function and property help. imaqhwinfo - Return information on available hardware. propinfo - Return image acquisition object property information. Image Acquisition Tutorials. demoimaq_AccessDevices - Accessing an image acquisition device. demoimaq_Acquisition - Acquiring image data to memory. demoimaq_Callbacks - Using image acquisition callbacks. demoimaq_DiskLog - Logging image data to an AVI file. demoimaq_Events - Working with image acquisition events. demoimaq_GetSnapshot - Acquiring a single image in a loop. demoimaq_IdentifyDevices - Determining available image acquisition hardware. demoimaq_Objects - Managing image acquisition objects. demoimaq_Properties - Working with image acquisition properties. demoimaq_Triggers - Working with image acquisition triggers. Application Demos. demoimaq_AcquisitionRate - Calculating the acquisition rate. demoimaq_AlphaBlending - Alpha blending image data as it is acquired. demoimaq_AlphaBlendingIPT - Alpha blending image data as it is acquired, using the Image Processing Toolbox. demoimaq_Averaging - Averaging image data as it is acquired and saving results to disk. demoimaq_IntervalLogging - Acquiring image data at a constant interval. demoimaq_Pendulum - Calculating the gravitational constant using a pendulum. demoimaq_NI_RTSI_IMAQ_IMAQ - Synchronizing two National Instruments frame grabbers via RTSI. demoimaq_NI_RTSI_IMAQ_DAQ - Synchronizing a National Instruments frame grabber and data acquisition board via RTSI. VIDEOINPUT Properties. DeviceID - Hardware device identifier. DiskLogger - Specify the MATLAB AVIFILE object used to log data. ErrorFcn - Callback function to execute when a runtime error occurs. EventLog - Information relating to specific events. FrameGrabInterval - Specify the frame buffering interval. FramesAvailable - Number of buffered frames available per source. FramesAcquired - Total number of frames acquired per source. FramesAcquiredFcn - Callback to execute every time a predefined number of frames is acquired. FramesAcquiredFcnCount - Number of frames to acquire before a frames acquired event is generated. FramesPerTrigger - Number of frames to acquire for each trigger. Logging - Indicate whether data is being logged or not. LoggingMode - Specify the destination for acquired image data. Name - Descriptive name of the video input object. ROIPosition - Specify the region of interest acquisition window. Running - Indicates if the video input object is in an acquisition state. SelectedSourceName - Currently selected video source to be used for acquisition. Source - Video source objects contained by a video input object. StartFcn - Callback function to execute just before the video input object and hardware device start executing. StopFcn - Callback function to execute just after the video input object and hardware device stop executing. Tag - Label for object. Timeout - Waiting time to extract image data. TimerFcn - Callback function to execute whenever a predefined period of time passes. TimerPeriod - Period of time between timer events. TriggerCondition - Condition on which a trigger is issued. TriggerFcn - Callback function to execute when a trigger occurs. TriggerFrameDelay - Delay value for logging image frames. TriggerRepeat - Number of additional times to repeat a trigger. TriggersExecuted - Number of triggers executed. TriggerSource - Trigger source that initiates the acquisition. TriggerType - Type of trigger to issue. Type - Object type. UserData - User data for object. VideoFormat - Video input format from the hardware. VideoResolution - Vector indicating the image width and height for the incoming video signal. VIDEOSOURCE Properties. Parent - Indicates the video source object parent. Selected - Indicates if the video source object is currently selected. SourceName - Indicates the name of a video source. Tag - User defined string for the video source object. Type - Object type. Note: Additional device-specific video source properties may also be available. See also videoinput, imaqhelp, imaqdevice/propinfo. Reference page in Help browser doc videoinput/Contents VIDEOINPUT Create video input object. OBJ = VIDEOINPUT(ADAPTORNAME) OBJ = VIDEOINPUT(ADAPTORNAME,DEVICEID) OBJ = VIDEOINPUT(ADAPTORNAME,DEVICEID,FORMAT) OBJ = VIDEOINPUT(ADAPTORNAME,DEVICEID,FORMAT,P1,V1,.) OBJ = VIDEOINPUT(ADAPTORNAME) constructs the video input object, OBJ. A video input object represents the connection between MATLAB and a particular image acquisition device. ADAPTORNAME is a text string that specifies the name of the adaptor used to communicate with the device. Use the IMAQHWINFO function to determine the adaptors available on your system. OBJ = VIDEOINPUT(ADAPTORNAME,DEVICEID) constructs a video input object OBJ, where DEVICEID is a numeric scalar value that identifies a particular device available through the specified adaptor, ADAPTORNAME. Use the IMAQHWINFO(ADAPTORNAME) syntax to determine the devices available through the specified adaptor. If DEVICEID is not specified, the first available device ID is used. As a convenience, a devices name can be used in place of the DEVICEID. If multiple devices have the same name, the first available device is used. OBJ = VIDEOINPUT(ADAPTORNAME,DEVICEID,FORMAT) constructs a video input object, where FORMAT is a text string that specifies a particular video format supported by the device or the full path of a device configuration file (also known as a camera file). To get a list of the formats supported by a particular device, view the DEVICEINFO structure for the device that is returned by the IMAQHWINFO function. Each DEVICEINFO structure contains a SUPPORTEDFORMATS field. If FORMAT is not specified, the devices default format is used. When the video input object is created, its VIDEOFORMAT field contains the format name or device configuration file that you specify. OBJ = VIDEOINPUT(ADAPTORNAME,DEVICEID,FORMAT,P1,V1,.) creates a video input object OBJ with the specified property values. If an invalid property name or property value is specified, the object is not created. The property name and property value pairs
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025湖南郴州市招聘1人笔试历年参考题库附带答案详解
- 2025年福建三明市某央企招聘1人笔试历年参考题库附带答案详解
- 2025年开封产城融合投资集团有限公司及下属子公司公开招聘18人笔试历年参考题库附带答案详解
- 2025安康市至诚人力资源服务有限公司招聘见习生笔试历年参考题库附带答案详解
- 2025广西河池市金城江区人民法院招聘3人模拟试卷附答案详解(典型题)
- 2025河北农业大学选聘50人模拟试卷附答案详解
- 2025湖南郴州桂东县城市管理和综合执法局辅助执法临聘人员招聘模拟试卷及参考答案详解1套
- 2025黑龙江哈尔滨市巴彦县公安局招聘警务辅助人员32人考前自测高频考点模拟试题带答案详解
- 2025年六安市人民医院公开招聘69人模拟试卷及答案详解(全优)
- 2025年临沂市工业学校公开招聘教师(40名)考前自测高频考点模拟试题有完整答案详解
- 幕墙清洗安全培训
- 术后常见并发症及处理
- 几何公差培训课件
- 腾讯公司培训管理制度
- 徒步队安全管理制度
- 2025公需课《人工智能赋能制造业高质量发展》试题及答案
- 店铺转让分期协议书
- 呼吸机撤离与拔管流程标准化指南
- 国家职业技能标准 保育师
- 消防法律知识培训课件
- 小学生防电信诈骗课件
评论
0/150
提交评论