64 / 179
Copyright © 2017 TOSHIBA TELI CORPORATION, All rights reserved.
http://www.toshiba-teli.co.jp/en/
D4267042B
// 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
Select a pixel format. (
‘PixelFormat’).
Integer value and string value of Enumeration are as follows.
Integer
String
Integer
String
1
Mono8
15
BayerBG10
3
Mono10
16
BayerGR12
5
Mono12
17
BayerRG12
8
BayerGR8
18
BayerGB12
9
BayerRG8
19
BayerBG12
10
BayerGB8
20
RGB8
11
BayerBG8
21
BGR8
12
BayerGR10
30
YUV411Packed
13
BayerRG10
31
YUV422Packed
14
BayerGB10
// 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.