FrameFilter is the class provides the interface to a filter that was loaded from a filter module. It contains methods to access the filter's parameters, display a configuration dialog and save filter settings.
To create a frame filter, use ICImagingControl.FrameFilterCreate or ICImagingControl.FrameFilterCreateString.
The following example illustrates how to create an instance of the first available frame filter and set it as device frame filter:
' Retrieve the first FrameFilterInfo object. Dim info As FrameFilterInfo Set info = ICImagingControl1.FrameFilterInfos(1) ' Create the frame filter to which the info object refers. Dim filter As FrameFilter Set filter = ICImagingControl1.FrameFilterCreate(info) ' Set the frame filter as the device frame filter. ICImagingControl1.DeviceFrameFilters.Add filter ' Start live mode. ICImagingControl1.LiveStart
Introduced in IC Imaging Control 3.0
Property | Description | ||
AvailableParameters |
Returns a list, containing the names of the available frame filter parameters. |
||
Data |
Returns or sets a blob of raw data. |
||
DataSize |
Returns the size of the array returned by FrameFilter.Data. |
||
FilterData |
This property returns an XML formatted string, containing the current values of all parameters of this filter. |
||
FilterInfo |
Returns the FrameFilterInfo describing this filter. |
||
HasDialog |
Returns whether this frame filter has a built-in dialog that allows the user to modify the filter's parameters. |
||
Name |
Returns the name of this frame filter. |
||
Parameter |
Sets or gets the value of a parameter. |
||
Method | Description | ||
BeginParameterTransfer |
BeginParameterTransfer and EndParameterTransfer synchronize the access to a frame filter's parameters. |
||
EndParameterTransfer |
BeginParameterTransfer and EndParameterTransfer synchronize the access to a frame filter's parameters. |
||
LoadFilterData |
Loads filter settings from a file. |
||
SaveFilterData |
Saves the current values of all parameters of this filter in a file. |
||
ShowDialog |
Displays a dialog that lets the user configure the filter. |
||
⋯
⋯ ⋯
Established in 1990, The Imaging Source is one of the leading manufacturers of industrial cameras, frame grabbers and video converters for production automation, quality assurance, logistics, medicine, science and security.
Our comprehensive range of cameras with USB 3.1, USB 3.0, USB 2.0, GigE interfaces and other innovative machine vision products are renowned for their high quality and ability to meet the performance requirements of demanding applications.