creating custom adaptors -凯发k8网页登录
use the image acquisition toolbox™ adaptor
kit to create an adaptor
the adaptor kit is a c framework that you use to create an adaptor to support new hardware. the kit is not necessary to use image acquisition toolbox. use it only if you are writing a custom adaptor.
functions
information about available image acquisition hardware | |
create video input object | |
disconnect and delete all image acquisition objects | |
register third-party custom adaptor |
topics
setting up your build environment
describes what an adaptor is and why you would build one.
describes the design decisions required to create an adaptor and specifies a recommended procedure for creating an adaptor.
describes the test procedure and automated tests for third-party adaptor developers and camera vendors to test adaptors and hardware against the toolbox.
provides a quick introduction to adaptor development by examining the demo adaptor that is included with the adaptor kit.
provides a summary of the header files and libraries required to create an adaptor on windows® systems.
provides a summary of the header files and libraries required to create an adaptor on linux® and macintosh systems.
providing hardware information
provides an overview of the five required functions that every adaptor must export, including a flow-of-control diagram.
describes how to create a stub implementation of your adaptor.
describes how to verify that the stub adaptor shows up in matlab®.
describes how to perform any initialization required by your adaptor or by your device's sdk.
describes how to write the function that provides the toolbox with information about the devices currently available on the user's system.
describes an optional method for storing additional device-specific information.
describes how to write the function that can perform any cleanup required when your adaptor dll is unloaded.
describes how to return errors and warnings that are consistent with the matlab error format.
defining your adaptor class
provides an overview of the user tasks your adaptor implements in its adaptor class.
lists the pure virtual functions in the iadaptor abstract class.
provides a step-by-step approach to creating a stub implementation of your adaptor class.
describes how to identify a video source.
describes how to create your adaptor class constructor.
acquiring image data
provides an overview of how your adaptor acquires image frames.
describes how to specify the format of the acquired image data.
describes how to test specifying the format of the image data.
describes how to open a connection with a device.
describes how to start a video input object.
describes how to implement the main image acquisition function.
describes how to test the acquisition thread function.
describes how to support the specification of a region-of-interest (roi) in software and in hardware.
describes how to test region of interest (roi).
describes how to support hardware triggers.
describes how to create and use critical section objects.
describes how to provide device driver information.
describes how to verify the device driver identification information.
defining device-specific properties
provides an overview of the process of defining device-specific properties.
describes how to create device-specific properties.
describes how to create hardware trigger configurations.
describes how to set up listeners to detect when users change the value of a property or request the current value.
storing adaptor information in an imdf file
provides an overview of the imdf property information mechanism.
describes the basic elements in an imdf file.
describes how to create help text entries in an imdf file.
describes how to store device information in an imdf file.
describes how to store property information in an imdf file.
describes how to store video format information in an imdf file.
describes how to store hardware trigger information.
describes how to store video source information.
describes how to group imdf elements together in collections called sections and reference sections from other elements.
using the test suite for adaptor writers or hardware vendors
describes the test procedure and automated tests for third-party adaptor developers and camera vendors to test adaptors and hardware against the toolbox.
describes how to verify that the stub adaptor shows up in matlab.
describes how to test specifying the format of the image data.
describes how to test the acquisition thread function.
describes how to test region of interest (roi).
describes how to verify the device driver identification information.
describes the properties and functions that can be used in the test suite.