deviation_n — 计算多个通道的标准偏差。
deviation_n(Image : ImageDeviation : : )
deviation_n generates the pixel-by-pixel standard deviation of
a multichannel gray value image. For each coordinate point p the expected
value is defined as the arithmetic mean:
where g_{c}(p) denominates the gray value at p on channel
c. n is the number of channels in the image.
The standard deviation itself is then calculated as: Note that this formula produces the sample standard deviation. The factor 2 is used to make better use of the range of values of the output image format. The output image has one channel.
请注意,若使用域缩减后的图像作为输入,滤波器算子可能会返回意外结果。请参阅 滤波器 一章
Image (输入对象) (multichannel-)image(-array) → object (byte / int2 / uint2 / int4 / real)
Multichannel gray image.
ImageDeviation (输出对象) image(-array) → object (byte / int2 / uint2 / int4 / real)
Result of calculation.
compose2,
compose3,
compose4,
compose5,
add_channels
基础