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 |
|
Copies and color‐converts pixels between two run‐time typed image views, using the default color converter. |
|
Copies and color‐converts pixels from a run‐time typed image view into a statically‐typed view, using the given color converter. |
|
Copies and color‐converts pixels between two run‐time typed image views, using the given color converter. |
|
Copies and color‐converts pixels from a run‐time typed image view into a statically‐typed view, using the default color converter. |
|
Copies pixels from a run‐time typed image view into a statically‐typed view. |
|
Copies pixels between two run‐time typed image views. |
|
Compares two run‐time typed image views for equality. |
|
Compares a run‐time typed image view to a statically‐typed view for equality. |
|
fill_pixels for any image view. The pixel to fill with must be compatible with the current view |
|
Returns a runtime‐typed view of a runtime source image view, flipped horizontally. |
|
Returns a runtime‐typed view of a runtime source image view, flipped vertically. |
|
std::for_each for any image views |
|
Returns a runtime‐typed view over a single channel of a runtime source image view. |
|
Returns a runtime‐typed view of a runtime source image view, rotated 180 degrees. |
|
Returns a runtime‐typed view of a runtime source image view, rotated 90 degrees counterclockwise. |
|
Returns a runtime‐typed view of a runtime source image view, rotated 90 degrees clockwise. |
|
Returns a runtime‐typed view over a rectangular subimage of a runtime source image view. |
|
Returns a runtime‐typed view over a rectangular subimage of a runtime source image view. |
|
Returns a runtime‐typed subsampled view of a runtime source image view. |
|
Returns a runtime‐typed subsampled view of a runtime source image view. |
|
Returns a runtime‐typed transposed view of a runtime source image view. |
Created with MrDocs