boost::gil::subsampled_view

Returns a runtime‐typed subsampled view of a runtime source image view.

Synopsis

template<typename... Views>
dynamic_xy_step_type<any_image_view<Views...>>::type
subsampled_view(
    any_image_view<Views...> const& src,
    std::ptrdiff_t x_step,
    std::ptrdiff_t y_step);

Return Value

a runtime‐typed subsampled view of a runtime source image view.

Template Parameters

Name

Description

Views

Models Boost.MP11‐compatible list of models of ImageViewConcept

Parameters

Name

Description

src

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

Created with MrDocs