Common Vision Blox 15.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Friends Modules Pages
What Is a CVB Image?

An image can be considered as a vertical stack of image planes. Each plane represents a color channel (e.g., 1 plane for grayscale images, 3 for RGB color images, etc.).


C++ .NET Python
Cvb::Image Stemmer.Cvb.Image cvb.Image


CVB supports various data formats that adhere to the Pixel Format Naming Convention (PFNC). The CVB DataType encompasses these formats, providing support for:

  • 8-, 10-, 12-, 16-, 32- and 64-bit integer (signed and unsigned)
  • 32-bit floating point

The data type of the first image plane can be retrieved with:

auto dataType = image->Plane(0).DataType();

var dataType = image.Planes[0].DataType;

data_type = image.planes[0].data_type

For more details, refer to the function documentation of DataType for C++, .NET and Python. Note, that some CVB functions do not support all data types.