GIL Algorithms


Detailed Description

Some basic STL-style algorithms when applied to images (as opposed to ranges).


Modules

 copy_pixels
 std::copy for image views
 STL optimizations
 overloads of STL algorithms allowing more efficient implementation when used with GIL constructs
 copy_and_convert_pixels
 copies src view into dst view, color converting if necessary
 fill_pixels
 std::fill for image views
 for_each_pixel
 std::for_each for image views
 equal_pixels
 std::equal for image views
 transform_pixels
 std::transform for image views

Classes

struct  binary_operation_obj
 A generic binary operation on views

Use this class as a convenience superclass when defining an operation for any image views. Many operations have different behavior when the two views are compatible. This class checks for compatibility and invokes apply_compatible(V1,V2) or apply_incompatible(V1,V2) of the subclass. You must provide apply_compatible(V1,V2) method in your subclass, but apply_incompatible(V1,V2) is not required and the default throws std::bad_cast. More...


Functions

template<typename V, typename F>
ADOBE_GIL_NAMESPACE_END ADOBE_GIL_NAMESPACE_BEGIN
generate_pixels (const V &img, F fun)
 std::generate for image views

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