Arithmetic operation of addition of two channel values.
More...
#include <channel_numeric_operations.hpp>
|
using | ChannelRef1 = typename channel_traits< Channel1 >::const_reference |
|
using | ChannelRef2 = typename channel_traits< Channel2 >::const_reference |
|
|
auto | operator() (ChannelRef1 ch1, ChannelRef2 ch2) const -> ChannelResult |
|
template<typename Channel1, typename Channel2, typename ChannelResult>
struct boost::gil::channel_plus_t< Channel1, Channel2, ChannelResult >
Arithmetic operation of addition of two channel values.
- Note
- This is a generic implementation; user should specialize it for better performance.
◆ operator()()
auto operator() |
( |
ChannelRef1 |
ch1, |
|
|
ChannelRef2 |
ch2 |
|
) |
| const -> ChannelResult
|
|
inline |
- Parameters
-
ch1 | - first of the two addends (augend). |
ch2 | - second of the two addends. |
The documentation for this struct was generated from the following file: