boost::gil::equal_pixels

equal_pixels overloads

Synopses

Declared in <boost/gil/algorithm.hpp>

Compares a statically‐typed image view to a run‐time typed view for equality.

template<
    typename View,
    typename... Types>
bool
equal_pixels(
    View const& src,
    any_image_view<Types...> const& dst);

std::equal for image views

template<
    typename View1,
    typename View2>
[[__always_inline__]]
bool
equal_pixels(
    View1 const& v1,
    View2 const& v2);

Compares a run‐time typed image view to a statically‐typed view for equality.

template<
    typename... Types,
    typename View>
bool
equal_pixels(
    any_image_view<Types...> const& src,
    View const& dst);

Compares two run‐time typed image views for equality.

template<
    typename... Types1,
    typename... Types2>
bool
equal_pixels(
    any_image_view<Types1...> const& src,
    any_image_view<Types2...> const& dst);

Template Parameters

Name

Description

View

Model ImageViewConcept

Types

Model Boost.MP11‐compatible list of models of MutableImageViewConcept

Types1

Model Boost.MP11‐compatible list of models of ImageViewConcept

Types2

Model Boost.MP11‐compatible list of models of MutableImageViewConcept

Created with MrDocs