boost::gil::extend_row

adds new row at top and bottom. 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_row(
    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 to be added each side

option

‐ TODO

Created with MrDocs