Boost GIL


Public Types | Public Member Functions | List of all members
channel_plus_scalar_t< Channel, Scalar, ChannelResult > Struct Template Reference

Arithmetic operation of adding scalar to channel value. More...

#include <channel_numeric_operations.hpp>

Public Types

using ChannelRef = typename channel_traits< Channel >::const_reference
 

Public Member Functions

auto operator() (ChannelRef channel, Scalar const &scalar) const -> ChannelResult
 

Detailed Description

template<typename Channel, typename Scalar, typename ChannelResult>
struct boost::gil::channel_plus_scalar_t< Channel, Scalar, ChannelResult >

Arithmetic operation of adding scalar to channel value.

Note
This is a generic implementation; user should specialize it for better performance.

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