boost::gil::subimage_view

Returns a runtime‐typed view over a rectangular subimage of a runtime source image view.

Synopsis

template<typename... Views>
any_image_view<Views...>
subimage_view(
    any_image_view<Views...> const& src,
    std::ptrdiff_t x_min,
    std::ptrdiff_t y_min,
    std::ptrdiff_t width,
    std::ptrdiff_t height);

Return Value

a runtime‐typed view over a rectangular subimage 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