GetPixelFormatString
|
|
[out] unsigned int channelIndex
|
Index of the associated stream channel. Possible values are 0 or 1.
|
|
String containing the name of the current pixel format.
|
|
|
|
static CGevCamera* m_pCamera;
|
m_pCamera = createCamera();
|
|
m_pCamera->SetImageSize (1024, 768);
|
m_pCamera->AddPixelFormat("Mono16");
|
m_pCamera->AddPixelFormat("RGB8Packed");
|
m_pCamera->SetPixelFormat("Mono16");
|
CString Fmt=m_pCamera->GetPixelFormatString();
|
|