20 namespace artec { 
namespace sdk { 
namespace base
 
   86     createImage(IImage** image, 
int width, 
int height, 
PixelFormat pixelFormat, 
int align = 1, IBlob* initialData = 0);
 
  171     virtual int getSize() 
const = 0;
 
8-bit mono (grayscale) pixel format 
unsigned 24-bit pixel format in 0xRRGGBB order 
Bayer mask RGGB pixel format. 
unsigned 32-bit pixel format in 0xAABBGGRR order 
signed int 32-bit RGB pixel format 
unsigned 16-bit RGBA pixel format 
Interface for common raster image objects. 
virtual int getPitch() const =0
Return image pitch. 
ErrorCode ABASESDK_LINK_SPEC createImageByHeader(IImage **image, const ImageHeader &header, IBlob *initialData=0)
Create image. 
unsigned 16-bit pixel format in 0xGGRR order 
virtual ErrorCode clone(IImage **dst) const =0
Clone image. 
unsigned 16-bit RG pixel format 
unsigned 16-bit RGB pixel format 
virtual void * getPointer()=0
Image bytes. 
virtual int getWidth() const =0
Return image width. 
virtual ErrorCode bgr2rgb()=0
Fast in-place channel swap Convert BRG/BGRX image to RGB/RGBX. 
unsigned 16-bit mono pixel format 
virtual PixelFormat getPixelFormat() const =0
Return image pixel format. 
virtual int getSize() const =0
Return size of image. 
PixelFormat
Types of an image pixel formats. 
Bayer mask GRBG pixel format. 
virtual ImageHeader getHeader() const =0
Return image header. 
ErrorCode ABASESDK_LINK_SPEC createImage(IImage **image, int width, int height, PixelFormat pixelFormat, int align=1, IBlob *initialData=0)
Create image. 
unsigned 24-bit pixel format in 0xBBGGRR order 
signed int 32-bit RG pixel format 
Bayer mask GBRG pixel format. 
unsigned 32-bit pixel format with alpha in 0xAARRGGBB order 
signed int 32-bit mono pixel format 
virtual int getHeight() const =0
Return image height. 
virtual ErrorCode rgb2bgr()=0
Fast in-place channel swap Convert RGB/RGBX image to BGR/BGRX. 
Bayer mask BGGR pixel format. 
signed int 32-bit RGBA pixel format 
#define ABASESDK_LINK_SPEC
virtual ErrorCode mirror(Mirror direction)=0
Fast in-place mirror operation. 
Interface that implements reference counting and life-time management. 
virtual int getChannels() const =0
Return number of channels.