C# Класс Accord.Imaging.UnsafeTools

Static tool functions for imaging.
Показать файл Открыть проект

Открытые методы

Метод Описание
Mean ( byte src, int width, int height, int stride ) : double

Computes the mean pixel value within a given image region.

Scatter ( byte src, int width, int height, int stride, double mean ) : double

Computes the pixel scatter within a given image region.

Sum ( byte src, int width, int height, int stride ) : int

Computes the sum of all pixels within a given image region.

Variance ( byte src, int width, int height, int stride, double mean ) : double

Computes the pixel variance within a given image region.

Описание методов

Mean() публичный статический Метод

Computes the mean pixel value within a given image region.
public static Mean ( byte src, int width, int height, int stride ) : double
src byte The image region.
width int The region width.
height int The region height.
stride int The image stride.
Результат double

Scatter() публичный статический Метод

Computes the pixel scatter within a given image region.
public static Scatter ( byte src, int width, int height, int stride, double mean ) : double
src byte The image region.
width int The region width.
height int The region height.
stride int The image stride.
mean double The region pixel mean.
Результат double

Sum() публичный статический Метод

Computes the sum of all pixels within a given image region.
public static Sum ( byte src, int width, int height, int stride ) : int
src byte The image region.
width int The region width.
height int The region height.
stride int The image stride.
Результат int

Variance() публичный статический Метод

Computes the pixel variance within a given image region.
public static Variance ( byte src, int width, int height, int stride, double mean ) : double
src byte The image region.
width int The region width.
height int The region height.
stride int The image stride.
mean double The region pixel mean.
Результат double