61 / 160
Copyright © 2016-2018 TOSHIBA TELI CORPORATION, All Rights Reserved.
http://www.toshiba-teli.co.jp/en/index.htm
D4259344C
2. Select a bit size of image pixel (‘PixelSize’).
Integer value and string value of Enumeration are as follows.
Integer
String
8
Bpp8
10
Bpp10
12
Bpp12
// GenICam node handle
CAM_NODE_HANDLE hCoding = NULL;
CAM_NODE_HANDLE hSize = NULL;
// Retrieve GenICam node.
Nd_GetNode(s_hCam, "PixelCoding", &hCoding);
Nd_GetNode(s_hCam, "PixelSize", &hSize);
// 1.Select a pixel coding.
Nd_SetEnumStrValue(s_hCam, hCoding, "Mono");
// 2.Select a pixel size.
Nd_SetEnumStrValue(s_hCam, hSize, "Bpp10");
PixelFormat
1. Select a pixel format. (‘PixelFormat’).
Integer value and string value of Enumeration are as follows.
Integer
String
1
Mono8
3
Mono10
5
Mono12
11
BayerBG8
15
BayerBG10
19
BayerBG12
// GenICam node handle
CAM_NODE_HANDLE hFormat = NULL;
// Retrieve GenICam node.
Nd_GetNode(s_hCam, "PixelFormat", &hFormat);
// 1.Select a pixel format.
Nd_SetEnumStrValue(s_hCam, hFormat, "Mono10");
Please refer to [INode functions], [IEnumeration node functions] in [TeliCamAPI Library manual] for
more detail.