boost::gil::any_image_view

Represents a run‐time specified image view. Models HasDynamicXStepTypeConcept, HasDynamicYStepTypeConcept, Note that this class does NOT model ImageViewConcept

Synopsis

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);/////////////////////////////////////////////////////////////////////////////////////

Base Classes

Name

Description

variant2::variant<Views...>

Member Functions

Non-Member Functions

Name

Description

any_color_converted_view

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)

any_color_converted_view

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)

color_converted_view

overload of generic color_converted_view with user defined color‐converter

color_converted_view

overload of generic color_converted_view with the default color‐converter

copy_and_convert_pixels

copy_and_convert_pixels

copy_and_convert_pixels

copy_and_convert_pixels

copy_pixels

copy_pixels

equal_pixels

equal_pixels

fill_pixels

fill_pixels for any image view. The pixel to fill with must be compatible with the current view

flipped_left_right_view

flipped_up_down_view

for_each_pixel

std::for_each for any image views

nth_channel_view

rotated180_view

rotated90ccw_view

rotated90cw_view

subimage_view

subimage_view

subsampled_view

subsampled_view

transposed_view

Created with MrDocs