Arithmetic operation of dividing channel value by scalar.
More...
#include <channel_numeric_operations.hpp>
|
using | ChannelRef = typename channel_traits< Channel >::const_reference |
|
|
auto | operator() (ChannelRef channel, Scalar const &scalar) const -> ChannelResult |
|
template<typename Channel, typename Scalar, typename ChannelResult>
struct boost::gil::channel_divides_scalar_t< Channel, Scalar, ChannelResult >
Arithmetic operation of dividing channel value by scalar.
- Note
- This is a generic implementation; user should specialize it for better performance.
◆ operator()()
auto operator() |
( |
ChannelRef |
channel, |
|
|
Scalar const & |
scalar |
|
) |
| const -> ChannelResult
|
|
inline |
- Parameters
-
channel | - dividend operand of the two division operation. |
scalar | - divisor operand of the two division operation. |
The documentation for this struct was generated from the following file: