boost::gil::extend_boundary

adds new row and column at all sides. Image padding introduces new pixels around the edges of an image. The border provides space for annotations or acts as a boundary when using advanced filtering techniques.

Synopsis

Declared in <boost/gil/algorithm.hpp>

template<typename SrcView>
gil::image<SrcView::value_type>
extend_boundary(
    SrcView const& src_view,
    std::size_t extend_count,
    boundary_option option);

Return Value

container interface over image view. Models ImageConcept, PixelBasedConcept

Template Parameters

Name

Description

SrcView

Models ImageViewConcept

Parameters

Name

Description

extend_count

number of rows/column to be added each side

option

‐ TODO

Created with MrDocs