An ImageBuffer object contains the image data of one frame. IC Imaging Control's internal ring buffer consists of ImageBuffers .
All image buffers of the ring buffer can be retrieved from the ImageBuffers collection.
This example illustrates how to obtain the first available image buffer:
[C#]
ImageBuffer Buf = ICImagingControl1.ImageActiveBuffer;
Namespace: TIS.Imaging
Introduced in version 1.x
This class is deprecated since version 3.5.
Use a newer sink like FrameQueueSink or FrameSnapSink
IFrame
ImageBuffer
| Property | Description | ||
| Bitmap | Returns a bitmap object representing the image data of this ImageBuffer. |
||
| BitsPerPixel | Retrieves the bits per pixel in this ImageBuffer. |
||
| BytesPerLine | Returns the number of Bytes in each line of this ImageBuffer. |
||
| FrameType | Returns a FrameType object describing the image format of this ImageBuffer. |
||
| Index | Returns the index of this buffer in the ring buffer. |
||
| Lines | Returns the number of lines in this ImageBuffer. |
||
| Locked | Returns True if the ImageBuffer is locked. |
||
| PixelPerLine | Returns the number of pixels in each line of this ImageBuffer. |
||
| SampleEndTime | Returns the reference end time of the sample in the image buffer. |
||
| SampleStartTime | Returns the reference start time of the sample in the image buffer. |
||
| WasLockedFlag | Returns the WasLockedFlag. |
||
| Method | Description | ||
| ForceUnlock | Reduces the lock count immediately to 0. Therefore, an image buffer is unlocked, enabling IC Imaging Control to copy an image to it. |
||
| GetByteData | Gets the Bytedata at an specific index of an imagebuffer. |
||
| Lock | Locks the buffer |
||
| SaveAsBitmap | Saves the contents of the buffer to a bitmap file on disk. |
||
| SaveAsJpeg | Saves the contents of the buffer to a JPEG compressed file to disk. |
||
| SaveAsTiff | Saves the contents of the image buffer as a TIFF file. |
||
| SaveImage | Saves the contents of the buffer to disk. |
||
| SetByteData | Sets the Bytedata at an specific index of an imagebuffer. |
||
| Unlock | Unlocks the buffer |
||