ImageDetailed DescriptionN-dimensional container.
An image is a container of N-dimensional data. GIL provides only one model, a two dimensional image whose
Images are regular types (which means they have a default constructor, a copy constructor, Also, unlike views, images propagate their constness to the data. An const-qualified image does not allow for modifying its pixels and does not provide a mutable view over its pixels.
Images provide two services: they manage ownership of their data (the pixels) and they can return a view over their pixels. Algorithms predominantly operate on views. This is analogous to the STL: In the STL containers (like
|