IC Imaging Control C++

FrameGrabberSink [Deprecated]

FrameGrabberSink [Deprecated]

The FrameGrabberSink is the SinkType used to grab (copy) frames from the image stream to the buffers of the currently active MemBufferCollection. Frames are copied one after another, starting with the first buffer of MemBufferCollection. When a frame is copied into the last buffer, the next frame is copied to the first buffer and so on.

There is a grab mode and a snap mode for grabbing frames. This mode has to be specified in the constructor of FrameGrabberSink. In grab mode, frames are continuously copied to MemBufferCollection as soon as Grabber::startLive is called. A call to Grabber::stopLive ends the copy process. On the other hand, in snap mode, every call to Grabber::snapImages copies the specified number of frames to the MemBufferCollection. Grabber::startLive has to be called before any call to Grabber::snapImages.

Remarks

Since the FrameGrabberSink will not be available in future versions of the library, code that uses this sink should be ported to use the new FrameHandlerSink. You should consider the following when you port code:

Information

Header File: tisudshl.h
Namespace: DShowLib
This class is deprecated since version 3.0.
Please use the new FrameHandlerSink instead.

Inheritance

GrabberSinkType
FrameGrabberSink

Methods

Method Description
FrameGrabberSink

Constructs a new FrameGrabberSink object.

getColorformat

Returns the color format (bit depth and organization of a pixel) of the associated image buffers.

getMode

Returns the currently active mode.

getSinkType

Returns the type of this sink.

newMemBufferCollection

Creates a new MemBufferCollection, which fits to this sink.

operator=

Assigns a FrameGrabberSink to this object.

Enumerations

Enumeration Description
tFrameGrabberMode

tFrameGrabberMode enumerates the possible modes in which frames can be grabbed to the memory buffer.

Type Definitions

Type Description
tMemBufferCollectionPtr

A pointer to a MemBufferCollection.

<< Classes

Get in touch with us


About The Imaging Source

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.

Automated Imaging Association ISO 9001:2015 certified

Contact us