TuttleOFX  1
transform_pixels

std::transform for image views More...

Functions

template<typename View , typename F >
GIL_FORCEINLINE F terry::algorithm::transform_pixels (const View &dst, F &fun)
 std::transform for image views
template<typename View , typename F >
GIL_FORCEINLINE F terry::algorithm::transform_pixels (const View &dst, const F &fun)
 std::transform for image views
template<typename View , typename F >
GIL_FORCEINLINE F terry::algorithm::transform_pixels_locator (const View &dst, F &fun)
 std::transform for image views
template<typename View , typename F >
GIL_FORCEINLINE F terry::algorithm::transform_pixels_locator (const View &dst, const F &fun)
 std::transform for image views
template<typename View , typename F >
GIL_FORCEINLINE F terry::algorithm::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 terry::algorithm::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 terry::algorithm::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 terry::algorithm::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 terry::algorithm::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 terry::algorithm::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 terry::algorithm::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 terry::algorithm::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 terry::algorithm::transform_pixels_progress (const View &dst, F &fun, Progress &p)
 std::transform for image views
template<typename View1 , typename View2 , typename F , typename Progress >
GIL_FORCEINLINE F terry::algorithm::transform_pixels_progress (const View1 &src, const View2 &dst, F &fun, Progress &p)
 std::transform for image views
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, 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 terry::algorithm::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 View , typename F , typename Progress >
GIL_FORCEINLINE F terry::algorithm::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 terry::algorithm::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 terry::algorithm::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 terry::algorithm::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 terry::algorithm::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 terry::algorithm::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 terry::algorithm::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 terry::algorithm::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

Detailed Description

std::transform for image views

transform_pixels


Function Documentation

template<typename View , typename F >
GIL_FORCEINLINE F terry::algorithm::transform_pixels ( const View &  dst,
F fun 
)

std::transform for image views

Definition at line 15 of file transform_pixels.hpp.

Referenced by terry::color::components::addAlphaChannelOnView(), terry::filter::applyFloodFill(), terry::filter::canny(), tuttle::plugin::histogram::OverlayData::computeCurveFromSelectionData(), tuttle::plugin::histogramKeyer::OverlayData::computeCurveFromSelectionData(), tuttle::plugin::histogram::OverlayData::computeHistogramBufferData(), tuttle::plugin::histogramKeyer::OverlayData::computeHistogramBufferData(), terry::color::components::convertPremultipliedRGBAView(), terry::color::components::convertPremultipliedView(), terry::color::components::convertToGrayView(), terry::color::components::convertToRgbView(), terry::color::components::convertToRgbViewAndAddAlpha(), tuttle::plugin::colorCubeViewer::SelectionAverage::extendGeodesicForm(), tuttle::plugin::colorSpaceKeyer::SelectionAverage::extendGeodesicForm(), terry::fill_alpha_max(), terry::fill_black(), tuttle::plugin::colorCubeViewer::CloudPointData::generateAllPointsSelectionVBOData(), tuttle::plugin::colorSpaceKeyer::CloudPointData::generateAllPointsSelectionVBOData(), tuttle::plugin::colorSpaceKeyer::CloudPointData::generateAllPointsSpillVBOData(), tuttle::plugin::colorCubeViewer::CloudPointData::generateAllPointsSpillVBOData(), tuttle::plugin::colorSpaceKeyer::CloudPointData::generateAllPointsVBOData(), tuttle::plugin::colorCubeViewer::CloudPointData::generateAllPointsVBOData(), tuttle::plugin::colorCubeViewer::CloudPointData::generateDiscretizedVBOData(), tuttle::plugin::colorSpaceKeyer::CloudPointData::generateDiscretizedVBOData(), terry::color::gradation_convert_view(), terry::color::layout_convert_view(), tuttle::plugin::exr::reader::EXRReaderProcess< View >::multiThreadProcessImages(), tuttle::plugin::normalize::NormalizeProcess< View >::processChannel(), and terry::color::temperature_convert_view().

template<typename View , typename F >
GIL_FORCEINLINE F terry::algorithm::transform_pixels ( const View &  dst,
const F fun 
)

std::transform for image views

Definition at line 29 of file transform_pixels.hpp.

template<typename View , typename F >
GIL_FORCEINLINE F terry::algorithm::transform_pixels_locator ( const View &  dst,
F fun 
)

std::transform for image views

Definition at line 55 of file transform_pixels.hpp.

Referenced by terry::filter::applyLocalMaxima(), and terry::filter::applyThinning().

template<typename View , typename F >
GIL_FORCEINLINE F terry::algorithm::transform_pixels_locator ( const View &  dst,
const F fun 
)

std::transform for image views

Definition at line 74 of file transform_pixels.hpp.

template<typename View , typename F >
GIL_FORCEINLINE F terry::algorithm::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

Definition at line 97 of file transform_pixels.hpp.

References terry::Rect< T >::x1, terry::Rect< T >::x2, terry::Rect< T >::y1, and terry::Rect< T >::y2.

template<typename View , typename F >
GIL_FORCEINLINE F terry::algorithm::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

Definition at line 119 of file transform_pixels.hpp.

References terry::Rect< T >::x1, terry::Rect< T >::x2, terry::Rect< T >::y1, and terry::Rect< T >::y2.

template<typename View , typename ViewDst , typename F >
GIL_FORCEINLINE F terry::algorithm::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

Definition at line 144 of file transform_pixels.hpp.

References terry::Rect< T >::x1, terry::Rect< T >::x2, terry::Rect< T >::y1, and terry::Rect< T >::y2.

template<typename View , typename ViewDst , typename F >
GIL_FORCEINLINE F terry::algorithm::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

Definition at line 168 of file transform_pixels.hpp.

References terry::Rect< T >::x1, terry::Rect< T >::x2, terry::Rect< T >::y1, and terry::Rect< T >::y2.

template<typename View1 , typename View2 , typename ViewDst , typename F >
GIL_FORCEINLINE F terry::algorithm::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

Definition at line 195 of file transform_pixels.hpp.

References terry::Rect< T >::x1, terry::Rect< T >::x2, terry::Rect< T >::y1, and terry::Rect< T >::y2.

template<typename View1 , typename View2 , typename ViewDst , typename F >
GIL_FORCEINLINE F terry::algorithm::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

Definition at line 222 of file transform_pixels.hpp.

References terry::Rect< T >::x1, terry::Rect< T >::x2, terry::Rect< T >::y1, and terry::Rect< T >::y2.

template<typename View1 , typename View2 , typename View3 , typename ViewDst , typename F >
GIL_FORCEINLINE F terry::algorithm::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

Definition at line 252 of file transform_pixels.hpp.

References terry::Rect< T >::x1, terry::Rect< T >::x2, terry::Rect< T >::y1, and terry::Rect< T >::y2.

template<typename View1 , typename View2 , typename View3 , typename ViewDst , typename F >
GIL_FORCEINLINE F terry::algorithm::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

Definition at line 282 of file transform_pixels.hpp.

References terry::Rect< T >::x1, terry::Rect< T >::x2, terry::Rect< T >::y1, and terry::Rect< T >::y2.

template<typename View , typename F , typename Progress >
GIL_FORCEINLINE F terry::algorithm::transform_pixels_locator_progress ( const View &  dst,
const Rect< std::ssize_t > &  dstRod,
const Rect< std::ssize_t > &  renderWin,
F fun,
Progress &  p 
)
template<typename View , typename F , typename Progress >
GIL_FORCEINLINE F terry::algorithm::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

Definition at line 216 of file transform_pixels_progress.hpp.

References terry::Rect< T >::x1, terry::Rect< T >::x2, terry::Rect< T >::y1, and terry::Rect< T >::y2.

template<typename View , typename ViewDst , typename F , typename Progress >
GIL_FORCEINLINE F terry::algorithm::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

Definition at line 242 of file transform_pixels_progress.hpp.

References terry::Rect< T >::x1, terry::Rect< T >::x2, terry::Rect< T >::y1, and terry::Rect< T >::y2.

template<typename View , typename ViewDst , typename F , typename Progress >
GIL_FORCEINLINE F terry::algorithm::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

Definition at line 268 of file transform_pixels_progress.hpp.

References terry::Rect< T >::x1, terry::Rect< T >::x2, terry::Rect< T >::y1, and terry::Rect< T >::y2.

template<typename View1 , typename View2 , typename ViewDst , typename F , typename Progress >
GIL_FORCEINLINE F terry::algorithm::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

Definition at line 296 of file transform_pixels_progress.hpp.

References terry::Rect< T >::x1, terry::Rect< T >::x2, terry::Rect< T >::y1, and terry::Rect< T >::y2.

template<typename View1 , typename View2 , typename ViewDst , typename F , typename Progress >
GIL_FORCEINLINE F terry::algorithm::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

Definition at line 325 of file transform_pixels_progress.hpp.

References terry::Rect< T >::x1, terry::Rect< T >::x2, terry::Rect< T >::y1, and terry::Rect< T >::y2.

template<typename View1 , typename View2 , typename View3 , typename ViewDst , typename F , typename Progress >
GIL_FORCEINLINE F terry::algorithm::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

Definition at line 357 of file transform_pixels_progress.hpp.

References terry::Rect< T >::x1, terry::Rect< T >::x2, terry::Rect< T >::y1, and terry::Rect< T >::y2.

template<typename View1 , typename View2 , typename View3 , typename ViewDst , typename F , typename Progress >
GIL_FORCEINLINE F terry::algorithm::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

Definition at line 389 of file transform_pixels_progress.hpp.

References terry::Rect< T >::x1, terry::Rect< T >::x2, terry::Rect< T >::y1, and terry::Rect< T >::y2.

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

std::transform for image views

Definition at line 28 of file transform_pixels_progress.hpp.

Referenced by tuttle::plugin::normalize::analyseChannel(), tuttle::plugin::normalize::analyseInputMinMax(), tuttle::plugin::sobel::SobelProcess< SView, DView >::computeGradientDirection(), tuttle::plugin::invert::InvertProcess< View >::invertGrayPixels(), tuttle::plugin::invert::InvertProcess< View >::invertRGBAPixels(), tuttle::plugin::invert::InvertProcess< View >::invertRGBPixels(), tuttle::plugin::sobel::SobelProcess< SView, DView >::multiThreadProcessImages(), tuttle::plugin::colorTransform::ColorTransformProcess< View >::multiThreadProcessImages(), tuttle::plugin::idKeyer::IdKeyerProcess< View >::multiThreadProcessImages(), tuttle::plugin::fade::FadeProcess< View >::multiThreadProcessImages(), tuttle::plugin::warp::WarpProcess< View >::multiThreadProcessImages(), tuttle::plugin::constant::ConstantProcess< View >::multiThreadProcessImages(), tuttle::plugin::normalize::NormalizeProcess< View >::multiThreadProcessImages(), tuttle::plugin::colorTransfer::ColorTransferProcess< View >::multiThreadProcessImages(), tuttle::plugin::histogramKeyer::HistogramKeyerProcess< View >::multiThreadProcessImages(), tuttle::plugin::histogram::HistogramProcess< View >::multiThreadProcessImages(), tuttle::plugin::colorSpaceKeyer::ColorSpaceKeyerProcess< View >::multiThreadProcessImages(), tuttle::plugin::colorCubeViewer::ColorCubeViewerProcess< View >::multiThreadProcessImages(), tuttle::plugin::colorGradation::ColorGradationProcess< View >::processSwitchAlpha(), and tuttle::plugin::floodFill::FloodFillProcess< View >::setup().

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

std::transform for image views

Definition at line 59 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,
F fun,
Progress &  p 
)

transform_pixels with two sources

Definition at line 95 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,
F fun,
Progress &  p 
)

transform_pixels with two sources

Definition at line 135 of file transform_pixels_progress.hpp.