for_each_pixel
[GIL Algorithms]


Detailed Description

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


Functions

template<typename V, typename F>
ADOBE_GIL_NAMESPACE_BEGIN F for_each_pixel (const V &img, F fun)
 std::for_each for image views
template<typename View, typename F>
for_each_pixel_position (const View &img, F fun)
 like for_each_pixel, but passes to the function object pixel locators instead of pixel references

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google