Basler raL2048-48gm User Manual Page 209

  • Download
  • Add to my manuals
  • Print
  • Page
    / 238
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 208
AW00118302000 Chunk Features
Basler racer GigE 199
The following code snippet illustrates using the pylon API to run the parser and retrieve the
extended image data:
// retrieve data from the extended frame 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 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).
For more information about the pylon Viewer, see Section 3.1 on page 23.
Page view 208
1 2 ... 204 205 206 207 208 209 210 211 212 213 214 ... 237 238

Comments to this Manuals

No comments