Method | 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.
|
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. |
return | double |
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. |
return | double |
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. |
return | int |
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. |
return | double |