mean_n — 多个通道的平均灰度值。
算子 mean_n generates the pixel-by-pixel mean
value of all channels . For each coordinate point the sum of all
gray values at this coordinate is calculated. The result is the
mean of the gray values (sum divided by the number of channels).
The output image has one channel.
有关平滑滤波器概念的说明,请参阅 滤波器 / 平滑 一章的引言。
请注意,若使用域缩减后的图像作为输入,滤波器算子可能会返回意外结果。请参阅 滤波器 一章
Image (输入对象) (multichannel-)image(-array) → object (byte / int2 / uint2 / int4 / real)
Multichannel gray image.
ImageMean (输出对象) singlechannelimage(-array) → object (byte / int2 / uint2 / int4 / real)
Result of averaging.
compose3(Channel1,Channel2,Channel3,&MultiChannel); mean_n(MultiChannel,&Mean);
compose2,
compose3,
compose4,
compose5,
add_channels
基础