boost::gil::any_image

Represents a run‐time specified image. Note it does NOT model ImageConcept

Synopsis

template<typename... Images>
class any_image
    : public variant2::variant<Images...>

Description

/////////////////////////////////////////////////////////////////////////////////////

Represents an image whose type (color space, layout, planar/interleaved organization, etc) can be specified at run time. It is the runtime equivalent of image. Some of the requirements of ImageConcept, such as the value_type alias cannot be fulfilled, since the language does not allow runtime type specification. Other requirements, such as access to the pixels, would be inefficient to provide. Thus any_image does not fully model ImageConcept. In particular, its view and const_view methods return any_image_view, which does not fully model ImageViewConcept. See any_image_view for more./////////////////////////////////////////////////////////////////////////////////////

Base Classes

Name

Description

variant2::variant<Images...>

Member Functions

Non-Member Functions

Name

Description

const_view

Returns the constant‐pixel view of any image. The returned view is any view.

view

Returns the non‐constant‐pixel view of any image. The returned view is any view.

Created with MrDocs