boost::gil::any_image_view
Represents a run‐time specified image view. Models HasDynamicXStepTypeConcept, HasDynamicYStepTypeConcept, Note that this class does NOT model ImageViewConcept
Synopsis
Declared in <boost/gil/extension/dynamic_image/any_image_view.hpp>
template<typename... Views>
class any_image_view
: public variant2::variant<Views...>
Description
///////////////////////////////////////////////////////////////////////////////////// CLASS any_image_view
Represents a view whose type (color space, layout, planar/interleaved organization, etc) can be specified at run time. It is the runtime equivalent of image_view. Some of the requirements of ImageViewConcept, 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_view does not fully model ImageViewConcept. However, many algorithms provide overloads taking runtime specified views and thus in many cases any_image_view can be used in places taking a view.
To perform an algorithm on any_image_view, put the algorithm in a function object and invoke it by calling variant2::visit(algorithm_fn, runtime_view);/////////////////////////////////////////////////////////////////////////////////////
Non-Member Functions
Name |
Description |
overload of generic color_converted_view with the default color‐converter These are workarounds for GCC 3.4, which thinks color_converted_view is ambiguous with the same method for templated views (in gil/image_view_factory.hpp) |
|
overload of generic color_converted_view with user defined color‐converter These are workarounds for GCC 3.4, which thinks color_converted_view is ambiguous with the same method for templated views (in gil/image_view_factory.hpp) |
|
overload of generic color_converted_view with user defined color‐converter |
|
overload of generic color_converted_view with the default color‐converter |
|
fill_pixels for any image view. The pixel to fill with must be compatible with the current view |
|
std::for_each for any image views |
|
Created with MrDocs