EasyManuals Logo

Basler GigE SERIES User Manual

Basler GigE SERIES
376 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #323 background imageLoading...
Page #323 background image
AW00089317000 Chunk Features
Basler ace GigE 313
To retrieve data from the extended image data chunk appended to an image that has been received
by your PC, you must first run the image and its appended chunks through the chunk parser
included in the pylon API. Once the chunk parser has been used, you can retrieve the extended
image data by doing the following:
Read the value of the
Chunk Offset X parameter.
Chunk Offset Y parameter.
Chunk Width parameter.
Chunk Height parameter.
Chunk Pixel Format parameter.
Chunk Dynamic Range Min.
Chunk Dynamic Range Max.
The following code snippet illustrates using the pylon API to run the parser and retrieve the
extended image data:
// retrieve date from the extended image data chunk
IChunkParser &ChunkParser = *Camera.CreateChunkParser();
GrabResult Result;
StreamGrabber.RetrieveResult( Result );
ChunkParser.AttachBuffer( (unsigned char*) Result.Buffer(),
Result.GetPayloadSize() );
int64_t offsetX = Camera.ChunkOffsetX.GetValue();
int64_t offsetY = Camera.ChunkOffsetY.GetValue();
int64_t width = Camera.ChunkWidth.GetValue();
int64_t height = Camera.ChunkHeight.GetValue();
int64_t dynamicRangeMin = Camera.ChunkDynamicRangeMin.GetValue();
int64_t dynamicRangeMax = Camera.ChunkDynamicRangeMax.GetValue();
ChunkPixelFormatEnums pixelFormat = Camera.ChunkPixelFormat.GetValue();
For more information about using the chunk parser, see the sample code that is included with the
Basler pylon Software Development Kit (SDK).

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Basler GigE SERIES and is the answer not in the manual?

Basler GigE SERIES Specifications

General IconGeneral
InterfaceGigE
Lens MountC-Mount, CS-Mount
SensorCMOS
MountC-mount, CS-mount
Power SupplyPower over Ethernet (PoE)
DimensionsVaries by model
WeightVaries by model
Operating TemperatureVaries by model

Related product manuals