Single-layered images include a single pixel map. They are defined by template class qgar::GenImage, which is instantiated using a policy (class) to check that operations on images conform to given properties. There are two predefined policies, represented by classes qgar::GenImage_NoCheck (no checking, which is the default) and qgar::GenImage_BoundCheck (pixel values must be within given bounds).
Multi-layered images include more than one pixel map and derive from class qgar::AbstractMultiImage. A gradient image is a typical example of this kind of image: It includes two pixel maps, one for x derivatives, the other for y derivatives.
Basic and bounded image type names are predefined to make it easier to write image declarations when coding.
Classes | |
| class | qgar::AbstractMultiImage |
| Root class for classes defining multi-layered images. More... | |
| class | qgar::GenImage_NoCheck< T > |
| No-check policy. More... | |
| class | qgar::GenImage_BoundCheck< T > |
| Policy to check bounds of pixel values. More... | |
| class | qgar::GenImage< T, CheckPolicy > |
| Template class for a generic image with pixels of type T. More... | |