Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
for_each_pixel

for_each_pixel More...

Collaboration diagram for for_each_pixel:

Functions

template<typename V , typename F >
boost::gil::for_each_pixel (const V &img, F fun)
 

Detailed Description

for_each_pixel

std::for_each for image views

For contiguous images (i.e. images that have no alignment gap at the end of each row) it is more efficient to use the underlying pixel iterator that does not check for the end of rows. For non-contiguous images for_each_pixel resolves to for_each of each row using the underlying pixel iterator, which is still faster

Function Documentation

template<typename V , typename F >
F boost::gil::for_each_pixel ( const V &  img,
fun 
)