Boost GIL


Public Types | Public Member Functions | List of all members
channel_minus_t< Channel1, Channel2, ChannelResult > Struct Template Reference

Arithmetic operation of subtraction of two channel values. More...

#include <channel_numeric_operations.hpp>

Public Types

using ChannelRef1 = typename channel_traits< Channel1 >::const_reference
 
using ChannelRef2 = typename channel_traits< Channel2 >::const_reference
 

Public Member Functions

auto operator() (ChannelRef1 ch1, ChannelRef2 ch2) const -> ChannelResult
 

Detailed Description

template<typename Channel1, typename Channel2, typename ChannelResult>
struct boost::gil::channel_minus_t< Channel1, Channel2, ChannelResult >

Arithmetic operation of subtraction of two channel values.

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

Member Function Documentation

◆ operator()()

auto operator() ( ChannelRef1  ch1,
ChannelRef2  ch2 
) const -> ChannelResult
inline
Parameters
ch1- minuend operand of the subtraction.
ch2- subtrahend operand of the subtraction.

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