dot-weight_channels: .weight_channels

.weight_channelsR Documentation

.weight_channels

Description

Weighted average of the values of the three color channels (Rec. 601 weights), written so that equal values return their value exactly.

Usage

.weight_channels(red, green, blue)

Arguments

red, green, blue

Numeric vectors with the values of the red, green, and blue channel.

Value

a numeric vector


imagefluency documentation built on Nov. 28, 2026, 1:06 a.m.