Frame Filter

  1. 可直接針對影像串流(image stream)進行影像處理, 不需要額外複製一份至ring buffer然後才進行影像處理, 加快速度
  2. 可以定義影像串流(image stream)之影片格式(video format), 以便儲存成不同格式

With frame filters, a versatile and powerful way to manipulate image data has been introduced. Frame filters can be used to do:

  • control which frames will be removed (dropped) from the image stream
  • read and write image data to/from frames of the image stream without having to copy the image data to a ring buffer. In other words: the frame filter allows image processing directly on buffers of the image stream (DirectShow buffers).
  • to change the video format (pixel format and/or width and height) of the image stream
  • implement image processing

 

  1. 可以定義ROI, 只擷取部分感興趣區域影像
  2. 提供直接轉換影像格式, 如 Bayer to RGB, 使用者不必自行轉換
  3. 提供翻轉及旋轉影像功能
  4. 除雜訊功能

Frame filters can be applied to the video stream at 3 locations: directly behind the video capture device, in front of the display and in front of the sink. This concept allows various functions to be implemented, such as a gate filter that passes only specific frames to a media file and drops the other ones. Frame filters can be implemented as part of an application or may reside in a filter container module. IC Imaging Control 3.0 comes with a few often used frame filters that can be loaded from the filter container module stdfilters.ftf:

  • ROI filter: changes the width and height of the image stream
  • DeBayer filter: transforms color raw data in Bayer format into an RGB color format.
  • Flip and rotation filter: Allows the image stream to be rotated (90°, 180° and 270°) and flipped (vertically and horizontally)
  • Denoise Filter: sums up a specified number of frames and divides the result by the number.

 

New Sink Concept

IC Imaging Control 3.0 introduces a new sink concept. For an overview of sinks and image streams, please refer to Concepts and Components. Up to this version, sinks were used and managed internally to provide the functionality of accessing image buffers, using FrameReady Events and writing AVI files. There are two new sink objects:

  • FrameHandlerSink: This sink provides asynchronous grabbing of a specific number of images to the ring buffer and allows frame filters to be used in order to manipulate image data and control the copy process to the ring buffer collection. Using a frame filter, it is possible to create a ring buffer with a user defined pixel organization or omit the ring buffer collection totally by doing image processing directly on the buffers of the image stream (DirectShow buffers)
  • MediaStreamSink: This sink allows other stream containers than AVI to be used. For a description of the currently supported stream containers, please refer to MediaStreamContainer. In addition, the MediaStreamSink allows frame filters to be used in order to manipulate image data and control which frames are written to the stream file. This allows, for example, real time lapse functionality to be implemented.

 

Advanced Overlay Concept

Instead of having one overlay in the image stream just behind the device, IC Imaging Control 3.0 now allows up to 3 overlay objects to be used. The 3 possible locations are:

  • Behind the device: this overlay will appear in the display as well as in the sink (ring buffer, stream file).
  • In front of the display: this overlay will appear in the display only.
  • In front of the sink: this overlay will appear in the sink (ring buffer, stream file) only.

This new concept, for example, allows you to have an overlay on the display, while doing image processing on the original image data or having different overlays on the display and on the sink (ring buffer and stream file).

Support for Raw Color Data in Bayer Format

Using IC Imaging Conrol 3.0, it is possible to apply color interpolation to raw image data in Bayer format. The color interpolation is called debayering and may be applied to the display, as well as to the data that goes to the sink (ring buffer and stream file). For details, please refer to the chapter Debayering.

Support for 16 bit Monochrome Formats

IC Imaging Control 3.0 now supports high resolution monochrome and raw color (Bayer) formats with a pixel depth of up to 16 bit. A suitable display mode for all these formats is provided.

New Features Reference

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 me1237guy 的頭像
    me1237guy

    天天向上

    me1237guy 發表在 痞客邦 留言(0) 人氣()