C# Class Accord.Imaging.UnsafeTools

Static tool functions for imaging.
Afficher le fichier Open project: accord-net/framework

Méthodes publiques

Méthode Description
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.

Method Details

Mean() public static méthode

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.
Résultat double

Scatter() public static méthode

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.
Résultat double

Sum() public static méthode

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.
Résultat int

Variance() public static méthode

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.
Résultat double