Usable to access image properties and image buffer. More...
#include <pylon/Image.h>
Public Member Functions | |
virtual | ~IImage ()=0 |
Ensure proper destruction by using a virtual destructor. | |
virtual bool | IsValid () const =0 |
Can be used to check whether an image is valid. More... | |
virtual EPixelType | GetPixelType () const =0 |
Get the current pixel type. More... | |
virtual uint32_t | GetWidth () const =0 |
Get the current number of columns in pixels. More... | |
virtual uint32_t | GetHeight () const =0 |
Get the current number of rows. More... | |
virtual size_t | GetPaddingX () const =0 |
Get the number of extra data bytes at the end of each row. More... | |
virtual EImageOrientation | GetOrientation () const =0 |
Get the vertical orientation of the image in memory. More... | |
virtual void * | GetBuffer ()=0 |
Get the pointer to the buffer. More... | |
virtual const void * | GetBuffer () const =0 |
Get the pointer to the buffer containing the image. More... | |
virtual size_t | GetImageSize () const =0 |
Get the size of the image in bytes. More... | |
virtual bool | IsUnique () const =0 |
Indicates that the referenced buffer is only referenced by this image. More... | |
virtual bool | GetStride (size_t &strideBytes) const =0 |
Get the stride in bytes. More... | |
Usable to access image properties and image buffer.
|
pure virtual |
Get the pointer to the buffer.
Implemented in Pylon::CPylonImage, and Pylon::CGrabResultImageT< GrabResultT >.
|
pure virtual |
Get the pointer to the buffer containing the image.
The buffer is at least as large as the value returned by GetImageSize().
Implemented in Pylon::CPylonImage, and Pylon::CGrabResultImageT< GrabResultT >.
|
pure virtual |
Get the current number of rows.
Implemented in Pylon::CPylonImage, and Pylon::CGrabResultImageT< GrabResultT >.
|
pure virtual |
Get the size of the image in bytes.
Implemented in Pylon::CPylonImage, and Pylon::CGrabResultImageT< GrabResultT >.
|
pure virtual |
Get the vertical orientation of the image in memory.
Implemented in Pylon::CPylonImage, and Pylon::CGrabResultImageT< GrabResultT >.
|
pure virtual |
Get the number of extra data bytes at the end of each row.
Implemented in Pylon::CPylonImage, and Pylon::CGrabResultImageT< GrabResultT >.
|
pure virtual |
Get the current pixel type.
Implemented in Pylon::CPylonImage, and Pylon::CGrabResultImageT< GrabResultT >.
|
pure virtual |
Get the stride in bytes.
The stride in bytes can not be computed for packed image format when the stride is not byte aligned. See also Pylon::IsPacked(). The stride in bytes can not be computed if the image is invalid.
[out] | strideBytes | The stride in byte if it can be computed. |
Implemented in Pylon::CPylonImage, and Pylon::CGrabResultImageT< GrabResultT >.
|
pure virtual |
Get the current number of columns in pixels.
Implemented in Pylon::CPylonImage, and Pylon::CGrabResultImageT< GrabResultT >.
|
pure virtual |
Indicates that the referenced buffer is only referenced by this image.
Implemented in Pylon::CPylonImage, and Pylon::CGrabResultImageT< GrabResultT >.
|
pure virtual |
Can be used to check whether an image is valid.
Implemented in Pylon::CPylonImage, and Pylon::CGrabResultImageT< GrabResultT >.