Describes a GenICam Pixel Format Naming Convention (PFNC) compatible image memory buffer. More...
Inherited by ChunkImageBufferDescription.
Public Member Functions | |
cvb.gevserver.ImageBufferDescription | create_image_buffer_description (cvb.Size2D size, int color_model, cvb.DataType data_type) |
Creates a default image buffer description. | |
cvb.gevserver.ImageBufferDescription | create_image_buffer_description_pfnc (cvb.Size2D size, int pixel_format) |
Creates a default image buffer description. | |
Properties | |
line_padding = property | |
int: Gets or sets the line padding. | |
offset = property | |
cvb.Point2D: Gets or sets the image's offset on the sensor. | |
pixel_format = property | |
int: Gets or sets the image pixel format (see cvb.PfncFormat). | |
size = property | |
cvb.Size2D: Gets or sets the image size. | |
Describes a GenICam Pixel Format Naming Convention (PFNC) compatible image memory buffer.
This buffer needn't be CVB Image compatible. You can use all PFNC values even packed ones.
cvb.gevserver.ImageBufferDescription create_image_buffer_description | ( | cvb.Size2D | size, |
int | color_model, | ||
cvb.DataType | data_type ) |
Creates a default image buffer description.
Tries to map the given color_model and data_type to a PfncFormat.
size : cvb.Size2D Width and height in pixels.
color_model : int Color model of the image to send (see cvb.ColorModel).
data_type : cvb.DataType CVB data type of the image to send.
cvb.gevserver.ImageBufferDescription The default image buffer description.
cvb.gevserver.ImageBufferDescription create_image_buffer_description_pfnc | ( | cvb.Size2D | size, |
int | pixel_format ) |
Creates a default image buffer description.
Tries to map the given color_model and data_type to a PfncFormat.
size : cvb.Size2D GenICam PFNC format value.
pixel_format : int CVB data type of the image to send.
cvb.gevserver.ImageBufferDescription The default image buffer description.
|
static |
int: Gets or sets the line padding.
Line padding is a contiguous block at the end of each line that holds no meaningful data. This is normally used to align lines.
|
static |
cvb.Point2D: Gets or sets the image's offset on the sensor.
The server always sends an image with the given Size. The offset is only for information.
We use cookies to improve your experience. By using this documentation, you agree to our use of cookies.