|
GEV_STATUS GevGetImageParameters |
(GEV_CAMERA_HANDLE handle, PUINT32 width, |
|
GEV_STATUS GevSetImageParameters |
(GEV_CAMERA_HANDLE handle, UINT32 width, |
|
Description |
|||
|
Gets/sets
image parameters from the camera. The current height, width, x/y origin, and
image data format can be manipulated with these functions. (Note : Some
cameras allow the format of the image data to be changed whereas others do
not.) |
|||
|
Parameters |
|||
|
width |
Image
width setting (in pixels). |
||
|
height |
Image
height setting (in lines). |
||
|
x_offset |
Image X
(pixel) origin (in pixels). |
||
|
y_offset |
Image Y
(line) origin (in lines). |
||
|
format |
Enumerated
value for image format. The value depend on the camera model. Possible values
are: |
||
|
|
fmtMono8 |
0x01080001 |
8 Bit
Monochrome Unsigned |
|
|
fmtMono8Signed |
0x01080002 |
8 Bit
Monochrome Signed |
|
|
fmtMono10 |
0x01100003 |
10 Bit
Monochrome Unsigned |
|
|
fmtMono10Packed |
0x010C0004 |
10 Bit
Monochrome Packed |
|
|
fmtMono12 |
0x01100005 |
12 Bit
Monochrome Unsigned |
|
|
fmtMono12Packed |
0x010C0006 |
8 Bit
Monochrome Packed |
|
|
fmtMono14 |
0x01100025 |
14 Bit
Monochrome Unsigned |
|
|
fmtMono16 |
0x01100007 |
16 Bit
Monochrome Unsigned |
|
|
fMtBayerGR8 |
0x01080008 |
8-bit
Bayer |
|
|
fMtBayerRG8 |
0x01080009 |
8-bit
Bayer |
|
|
fMtBayerGB8 |
0x0108000A |
8-bit
Bayer |
|
|
fMtBayerBG8 |
0x0108000B |
8-bit
Bayer |
|
|
fMtBayerGR10 |
0x0110000C |
10-bit
Bayer |
|
|
fMtBayerRG10 |
0x0110000D |
10-bit
Bayer |
|
|
fMtBayerGB10 |
0x0110000E |
10-bit
Bayer |
|
|
fMtBayerBG10 |
0x0110000F |
10-bit
Bayer |
|
|
fMtBayerGR12 |
0x01100010 |
12-bit
Bayer |
|
|
fMtBayerRG12 |
0x01100011 |
12-bit
Bayer |
|
|
fMtBayerGB12 |
0x01100012 |
12-bit
Bayer |
|
|
fMtBayerBG12 |
0x01100013 |
12-bit
Bayer |
|
|
fmtRGB8Packed |
0x02180014 |
8 Bit
RGB Unsigned in 24bits |
|
|
fmtBGR8Packed |
0x02180015 |
8 Bit
BGR Unsigned in 24bits |
|
|
fmtRGBA8Packed |
0x02200016 |
8 Bit
RGB Unsigned |
|
|
fmtBGRA8Packed |
0x02200017 |
8 Bit
BGR Unsigned |
|
|
fmtRGB10Packed |
0x02300018 |
10 Bit
RGB Unsigned |
|
|
fmtBGR10Packed |
0x02300019 |
10 Bit
BGR Unsigned |
|
|
fmtRGB12Packed |
0x0230001A |
12 Bit
RGB Unsigned |
|
|
fmtBGR12Packed |
0x0230001B |
12 Bit
BGR Unsigned |
|
|
fmtRGB10V1Packed |
0x0220001C |
10 Bit
RGB custom V1 (32bits) |
|
|
fmtRGB10V2Packed |
0x0220001D |
10 Bit
RGB custom V2 (32bits) |
|
|
fmtYUV411packed |
0x020C001E |
YUV411
(composite color) |
|
|
fmtYUV422packed |
0x0210001F |
YUV422
(composite color) |
|
|
fmtYUV444packed |
0x02180020 |
YUV444
(composite color) |
|
|
fmtRGB8Planar |
0x02180021 |
RGB8
Planar buffers |
|
|
fmtRGB10Planar |
0x02300022 |
RGB10
Planar buffers |
|
|
fmtRGB12Planar |
0x02300023 |
RGB12
Planar buffers |
|
|
fmtRGB16Planar |
0x02300024 |
RGB16 Planar buffers |
|
Return Value |
|||
|
GEV_STATUS |
Possible
values are: GEVLIB_OK |
||
|
Replacement
Function |
|||
Related Topics