TuttleOFX  1
terry::algorithm Namespace Reference

Namespaces

namespace  ext_detail

Data Structures

struct  transform_pixel_by_channel_t
 Allows to use a per channel fonctor. More...

Functions

template<typename Iterator1 , typename Iterator2 , typename BinaryFunction >
GIL_FORCEINLINE BinaryFunction for_each (Iterator1 first1, Iterator1 last1, Iterator2 first2, BinaryFunction f)
 std::for_each for a pair of iterators
template<typename P1 , typename P2 , typename P3 , typename P4 , typename Op >
GIL_FORCEINLINE Op static_for_each (P1 &p1, P2 &p2, P3 &p3, const P4 &p4, Op op)
template<typename P1 , typename P2 , typename P3 , typename P4 , typename Op >
GIL_FORCEINLINE Op static_for_each (P1 &p1, P2 &p2, const P3 &p3, const P4 &p4, Op op)
template<typename P1 , typename P2 , typename P3 , typename P4 , typename Op >
GIL_FORCEINLINE Op static_for_each (P1 &p1, const P2 &p2, P3 &p3, const P4 &p4, Op op)
template<typename P1 , typename P2 , typename P3 , typename P4 , typename Op >
GIL_FORCEINLINE Op static_for_each (P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, Op op)
template<typename P1 , typename P2 , typename P3 , typename P4 , typename Op >
GIL_FORCEINLINE Op static_for_each (const P1 &p1, P2 &p2, P3 &p3, const P4 &p4, Op op)
template<typename P1 , typename P2 , typename P3 , typename P4 , typename Op >
GIL_FORCEINLINE Op static_for_each (const P1 &p1, P2 &p2, const P3 &p3, const P4 &p4, Op op)
template<typename P1 , typename P2 , typename P3 , typename P4 , typename Op >
GIL_FORCEINLINE Op static_for_each (const P1 &p1, const P2 &p2, P3 &p3, const P4 &p4, Op op)
template<typename P1 , typename P2 , typename P3 , typename P4 , typename Op >
GIL_FORCEINLINE Op static_for_each (const P1 &p1, const P2 &p2, const P3 &p3, const P4 &p4, Op op)
template<typename P1 , typename P2 , typename P3 , typename P4 , typename Op >
GIL_FORCEINLINE Op static_for_each (P1 &p1, P2 &p2, P3 &p3, P4 &p4, Op op)
template<typename P1 , typename P2 , typename P3 , typename P4 , typename Op >
GIL_FORCEINLINE Op static_for_each (P1 &p1, P2 &p2, const P3 &p3, P4 &p4, Op op)
template<typename P1 , typename P2 , typename P3 , typename P4 , typename Op >
GIL_FORCEINLINE Op static_for_each (P1 &p1, const P2 &p2, P3 &p3, P4 &p4, Op op)
template<typename P1 , typename P2 , typename P3 , typename P4 , typename Op >
GIL_FORCEINLINE Op static_for_each (P1 &p1, const P2 &p2, const P3 &p3, P4 &p4, Op op)
template<typename P1 , typename P2 , typename P3 , typename P4 , typename Op >
GIL_FORCEINLINE Op static_for_each (const P1 &p1, P2 &p2, P3 &p3, P4 &p4, Op op)
template<typename P1 , typename P2 , typename P3 , typename P4 , typename Op >
GIL_FORCEINLINE Op static_for_each (const P1 &p1, P2 &p2, const P3 &p3, P4 &p4, Op op)
template<typename P1 , typename P2 , typename P3 , typename P4 , typename Op >
GIL_FORCEINLINE Op static_for_each (const P1 &p1, const P2 &p2, P3 &p3, P4 &p4, Op op)
template<typename P1 , typename P2 , typename P3 , typename P4 , typename Op >
GIL_FORCEINLINE Op static_for_each (const P1 &p1, const P2 &p2, const P3 &p3, P4 &p4, Op op)
template<typename View , typename F >
GIL_FORCEINLINE F transform_pixels (const View &dst, F &fun)
 std::transform for image views
template<typename View , typename F >
GIL_FORCEINLINE F transform_pixels (const View &dst, const F &fun)
 std::transform for image views
template<typename View , typename F >
GIL_FORCEINLINE F transform_pixels_locator (const View &dst, F &fun)
 std::transform for image views
template<typename View , typename F >
GIL_FORCEINLINE F transform_pixels_locator (const View &dst, const F &fun)
 std::transform for image views
template<typename View , typename F >
GIL_FORCEINLINE F transform_pixels_locator (const View &dst, const Rect< std::ptrdiff_t > &dstRod, const Rect< std::ptrdiff_t > &renderWin, F &fun)
 std::transform for image views
template<typename View , typename F >
GIL_FORCEINLINE F transform_pixels_locator (const View &dst, const Rect< std::ptrdiff_t > &dstRod, const Rect< std::ptrdiff_t > &renderWin, const F &fun)
 std::transform for image views
template<typename View , typename ViewDst , typename F >
GIL_FORCEINLINE F transform_pixels_locator (const View &src, const Rect< std::ptrdiff_t > &srcRod, const ViewDst &dst, const Rect< std::ptrdiff_t > &dstRod, const Rect< std::ptrdiff_t > &renderWin, F &fun)
 std::transform for image views
template<typename View , typename ViewDst , typename F >
GIL_FORCEINLINE F transform_pixels_locator (const View &src, const Rect< std::ptrdiff_t > &srcRod, const ViewDst &dst, const Rect< std::ptrdiff_t > &dstRod, const Rect< std::ptrdiff_t > &renderWin, const F &fun)
 std::transform for image views
template<typename View1 , typename View2 , typename ViewDst , typename F >
GIL_FORCEINLINE F transform_pixels_locator (const View1 &src1, const Rect< std::ptrdiff_t > &src1Rod, const View2 &src2, const Rect< std::ptrdiff_t > &src2Rod, const ViewDst &dst, const Rect< std::ptrdiff_t > &dstRod, const Rect< std::ptrdiff_t > &renderWin, F &fun)
 std::transform for image views
template<typename View1 , typename View2 , typename ViewDst , typename F >
GIL_FORCEINLINE F transform_pixels_locator (const View1 &src1, const Rect< std::ptrdiff_t > &src1Rod, const View2 &src2, const Rect< std::ptrdiff_t > &src2Rod, const ViewDst &dst, const Rect< std::ptrdiff_t > &dstRod, const Rect< std::ptrdiff_t > &renderWin, const F &fun)
 std::transform for image views
template<typename View1 , typename View2 , typename View3 , typename ViewDst , typename F >
GIL_FORCEINLINE F transform_pixels_locator (const View1 &src1, const Rect< std::ptrdiff_t > &src1Rod, const View2 &src2, const Rect< std::ptrdiff_t > &src2Rod, const View2 &src3, const Rect< std::ptrdiff_t > &src3Rod, const ViewDst &dst, const Rect< std::ptrdiff_t > &dstRod, const Rect< std::ptrdiff_t > &renderWin, F &fun)
 std::transform for image views
template<typename View1 , typename View2 , typename View3 , typename ViewDst , typename F >
GIL_FORCEINLINE F transform_pixels_locator (const View1 &src1, const Rect< std::ptrdiff_t > &src1Rod, const View2 &src2, const Rect< std::ptrdiff_t > &src2Rod, const View2 &src3, const Rect< std::ptrdiff_t > &src3Rod, const ViewDst &dst, const Rect< std::ptrdiff_t > &dstRod, const Rect< std::ptrdiff_t > &renderWin, const F &fun)
 std::transform for image views
template<typename View , typename F , typename Progress >
GIL_FORCEINLINE F transform_pixels_progress (const View &dst, F &fun, Progress &p)
 std::transform for image views
template<typename View , typename F , typename Progress >
GIL_FORCEINLINE F transform_pixels_progress (const View &dst, const F &fun, Progress &p)
template<typename View1 , typename View2 , typename F , typename Progress >
GIL_FORCEINLINE F transform_pixels_progress (const View1 &src, const View2 &dst, F &fun, Progress &p)
 std::transform for image views
template<typename View1 , typename View2 , typename F , typename Progress >
GIL_FORCEINLINE F transform_pixels_progress (const View1 &src, const View2 &dst, const F &fun, Progress &p)
template<typename View1 , typename View2 , typename View3 , typename F , typename Progress >
GIL_FORCEINLINE F transform_pixels_progress (const View1 &src1, const View2 &src2, const View3 &dst, F &fun, Progress &p)
 transform_pixels with two sources
template<typename View1 , typename View2 , typename View3 , typename F , typename Progress >
GIL_FORCEINLINE F transform_pixels_progress (const View1 &src1, const View2 &src2, const View3 &dst, const F &fun, Progress &p)
template<typename View1 , typename View2 , typename View3 , typename View4 , typename F , typename Progress >
GIL_FORCEINLINE F transform_pixels_progress (const View1 &src1, const View2 &src2, const View3 &src3, const View4 &dst, F &fun, Progress &p)
 transform_pixels with two sources
template<typename View1 , typename View2 , typename View3 , typename View4 , typename F , typename Progress >
GIL_FORCEINLINE F transform_pixels_progress (const View1 &src1, const View2 &src2, const View3 &src3, const View4 &dst, const F &fun, Progress &p)
template<typename View , typename F , typename Progress >
GIL_FORCEINLINE F transform_pixels_locator_progress (const View &dst, const Rect< std::ssize_t > &dstRod, const Rect< std::ssize_t > &renderWin, F &fun, Progress &p)
 std::transform for image views
template<typename View , typename F , typename Progress >
GIL_FORCEINLINE F transform_pixels_locator_progress (const View &dst, const Rect< std::ssize_t > &dstRod, const Rect< std::ssize_t > &renderWin, const F &fun, Progress &p)
 std::transform for image views
template<typename View , typename ViewDst , typename F , typename Progress >
GIL_FORCEINLINE F transform_pixels_locator_progress (const View &src, const Rect< std::ssize_t > &srcRod, const ViewDst &dst, const Rect< std::ssize_t > &dstRod, const Rect< std::ssize_t > &renderWin, F &fun, Progress &p)
 std::transform for image views
template<typename View , typename ViewDst , typename F , typename Progress >
GIL_FORCEINLINE F transform_pixels_locator_progress (const View &src, const Rect< std::ssize_t > &srcRod, const ViewDst &dst, const Rect< std::ssize_t > &dstRod, const Rect< std::ssize_t > &renderWin, const F &fun, Progress &p)
 std::transform for image views
template<typename View1 , typename View2 , typename ViewDst , typename F , typename Progress >
GIL_FORCEINLINE F transform_pixels_locator_progress (const View1 &src1, const Rect< std::ssize_t > &src1Rod, const View2 &src2, const Rect< std::ssize_t > &src2Rod, const ViewDst &dst, const Rect< std::ssize_t > &dstRod, const Rect< std::ssize_t > &renderWin, F &fun, Progress &p)
 std::transform for image views
template<typename View1 , typename View2 , typename ViewDst , typename F , typename Progress >
GIL_FORCEINLINE F transform_pixels_locator_progress (const View1 &src1, const Rect< std::ssize_t > &src1Rod, const View2 &src2, const Rect< std::ssize_t > &src2Rod, const ViewDst &dst, const Rect< std::ssize_t > &dstRod, const Rect< std::ssize_t > &renderWin, const F &fun, Progress &p)
 std::transform for image views
template<typename View1 , typename View2 , typename View3 , typename ViewDst , typename F , typename Progress >
GIL_FORCEINLINE F transform_pixels_locator_progress (const View1 &src1, const Rect< std::ssize_t > &src1Rod, const View2 &src2, const Rect< std::ssize_t > &src2Rod, const View2 &src3, const Rect< std::ssize_t > &src3Rod, const ViewDst &dst, const Rect< std::ssize_t > &dstRod, const Rect< std::ssize_t > &renderWin, F &fun, Progress &p)
 std::transform for image views
template<typename View1 , typename View2 , typename View3 , typename ViewDst , typename F , typename Progress >
GIL_FORCEINLINE F transform_pixels_locator_progress (const View1 &src1, const Rect< std::ssize_t > &src1Rod, const View2 &src2, const Rect< std::ssize_t > &src2Rod, const View2 &src3, const Rect< std::ssize_t > &src3Rod, const ViewDst &dst, const Rect< std::ssize_t > &dstRod, const Rect< std::ssize_t > &renderWin, const F &fun, Progress &p)
 std::transform for image views

Function Documentation

template<typename Iterator1 , typename Iterator2 , typename BinaryFunction >
GIL_FORCEINLINE BinaryFunction terry::algorithm::for_each ( Iterator1  first1,
Iterator1  last1,
Iterator2  first2,
BinaryFunction  f 
)
template<typename View , typename F , typename Progress >
GIL_FORCEINLINE F terry::algorithm::transform_pixels_progress ( const View &  dst,
const F fun,
Progress &  p 
)

Definition at line 42 of file transform_pixels_progress.hpp.

template<typename View1 , typename View2 , typename F , typename Progress >
GIL_FORCEINLINE F terry::algorithm::transform_pixels_progress ( const View1 &  src,
const View2 &  dst,
const F fun,
Progress &  p 
)

Definition at line 76 of file transform_pixels_progress.hpp.

template<typename View1 , typename View2 , typename View3 , typename F , typename Progress >
GIL_FORCEINLINE F terry::algorithm::transform_pixels_progress ( const View1 &  src1,
const View2 &  src2,
const View3 &  dst,
const F fun,
Progress &  p 
)

Definition at line 114 of file transform_pixels_progress.hpp.

template<typename View1 , typename View2 , typename View3 , typename View4 , typename F , typename Progress >
GIL_FORCEINLINE F terry::algorithm::transform_pixels_progress ( const View1 &  src1,
const View2 &  src2,
const View3 &  src3,
const View4 &  dst,
const F fun,
Progress &  p 
)

Definition at line 156 of file transform_pixels_progress.hpp.