TuttleOFX  1
terry::numeric::channel_scalar_pow_t< Channel, Scalar, ChannelR > Struct Template Reference

#include <pow.hpp>

Public Member Functions

GIL_FORCEINLINE ChannelR operator() (typename channel_traits< Channel >::const_reference ch, const Scalar &s) const

Detailed Description

template<typename Channel, typename Scalar, typename ChannelR>
struct terry::numeric::channel_scalar_pow_t< Channel, Scalar, ChannelR >

structure to compute pow of a scalar by the pixel value this is a generic implementation; user should specialize it for better performance

Definition at line 46 of file pow.hpp.


Member Function Documentation

template<typename Channel , typename Scalar , typename ChannelR >
GIL_FORCEINLINE ChannelR terry::numeric::channel_scalar_pow_t< Channel, Scalar, ChannelR >::operator() ( typename channel_traits< Channel >::const_reference  ch,
const Scalar &  s 
) const [inline]

Definition at line 48 of file pow.hpp.


The documentation for this struct was generated from the following file: