EasyImage::PixelStdDev
Computes the average gray-level or color value in an image, the standard deviation of the color components, and the correlation between the color components (in the case of color images).
Namespace: Euresys::Open_eVision_2_10
[C++]
void PixelStdDev(
const EROIBW8* sourceImage,
float& standardDeviation,
float& mean
)
void PixelStdDev(
const EROIBW16* sourceImage,
float& standardDeviation,
float& mean
)
void PixelStdDev(
const EROIC24* sourceImage,
float& standardDeviation0,
float& standardDeviation1,
float& standardDeviation2,
float& correlation01,
float& correlation12,
float& correlation20,
float& mean0,
float& mean1,
float& mean2
)
void PixelStdDev(
const EROIBW8* sourceImage,
const ERegion& region,
float& standardDeviation,
float& mean
)
void PixelStdDev(
const EROIBW16* sourceImage,
const ERegion& region,
float& standardDeviation,
float& mean
)
void PixelStdDev(
const EROIC24* sourceImage,
const ERegion& region,
float& standardDeviation0,
float& standardDeviation1,
float& standardDeviation2,
float& correlation01,
float& correlation12,
float& correlation20,
float& mean0,
float& mean1,
float& mean2
)
void PixelStdDev(
const EROIBW8* sourceImage,
const EROIBW8* mask,
float& standardDeviation,
float& mean
)
void PixelStdDev(
const EROIBW16* sourceImage,
const EROIBW8* mask,
float& standardDeviation,
float& mean
)
void PixelStdDev(
const EROIC24* sourceImage,
const EROIBW8* mask,
float& standardDeviation0,
float& standardDeviation1,
float& standardDeviation2,
float& correlation01,
float& correlation12,
float& correlation20,
float& mean0,
float& mean1,
float& mean2
)
Parameters
sourceImage
Pointer to the source image/ROI.
standardDeviation
Reference to a variable in which the standard deviation of the pixel values is to be stored (for gray-level images).
mean
Reference to a variable in which the average value of the pixels is to be stored (for gray-level images).
standardDeviation0
Reference to a variable in which the standard deviation of the values of the first color component is to be stored (for color images).
standardDeviation1
Reference to a variable in which the standard deviation of the values of the second color component is to be stored (for color images).
standardDeviation2
Reference to a variable in which the standard deviation of the values of the third color component is to be stored (for color images).
correlation01
Reference to a variable in which the correlation between the values of the first color component and the second color component is to be stored (for color images).
correlation12
Reference to a variable in which the correlation between the values of the second color component and the third color component is to be stored (for color images).
correlation20
-
mean0
Reference to a variable in which the average value of the first color component is to be stored (for color images).
mean1
Reference to a variable in which the average value of the second color component is to be stored (for color images).
mean2
Reference to a variable in which the average value of the third color component is to be stored (for color images).
region
Pointer to a region to apply the function only on a particular region in the image.
mask
Pointer to a mask to apply the function only on a particular region in the image. Note: the mask must have the same size as the source image.
Remarks
The variance can be obtained from the standard deviation by squaring it.
EasyImage.PixelStdDev
Computes the average gray-level or color value in an image, the standard deviation of the color components, and the correlation between the color components (in the case of color images).
Namespace: Euresys.Open_eVision_2_10
[C#]
void PixelStdDev(
Euresys.Open_eVision_2_10.EROIBW8 sourceImage,
out float standardDeviation,
out float mean
)
void PixelStdDev(
Euresys.Open_eVision_2_10.EROIBW16 sourceImage,
out float standardDeviation,
out float mean
)
void PixelStdDev(
Euresys.Open_eVision_2_10.EROIC24 sourceImage,
out float standardDeviation0,
out float standardDeviation1,
out float standardDeviation2,
out float correlation01,
out float correlation12,
ref float correlation20,
out float mean0,
out float mean1,
out float mean2
)
void PixelStdDev(
Euresys.Open_eVision_2_10.EROIBW8 sourceImage,
Euresys.Open_eVision_2_10.ERegion region,
out float standardDeviation,
out float mean
)
void PixelStdDev(
Euresys.Open_eVision_2_10.EROIBW16 sourceImage,
Euresys.Open_eVision_2_10.ERegion region,
out float standardDeviation,
out float mean
)
void PixelStdDev(
Euresys.Open_eVision_2_10.EROIC24 sourceImage,
Euresys.Open_eVision_2_10.ERegion region,
out float standardDeviation0,
out float standardDeviation1,
out float standardDeviation2,
out float correlation01,
out float correlation12,
ref float correlation20,
out float mean0,
out float mean1,
out float mean2
)
void PixelStdDev(
Euresys.Open_eVision_2_10.EROIBW8 sourceImage,
Euresys.Open_eVision_2_10.EROIBW8 mask,
out float standardDeviation,
out float mean
)
void PixelStdDev(
Euresys.Open_eVision_2_10.EROIBW16 sourceImage,
Euresys.Open_eVision_2_10.EROIBW8 mask,
out float standardDeviation,
out float mean
)
void PixelStdDev(
Euresys.Open_eVision_2_10.EROIC24 sourceImage,
Euresys.Open_eVision_2_10.EROIBW8 mask,
out float standardDeviation0,
out float standardDeviation1,
out float standardDeviation2,
out float correlation01,
out float correlation12,
ref float correlation20,
out float mean0,
out float mean1,
out float mean2
)
Parameters
sourceImage
Pointer to the source image/ROI.
standardDeviation
Reference to a variable in which the standard deviation of the pixel values is to be stored (for gray-level images).
mean
Reference to a variable in which the average value of the pixels is to be stored (for gray-level images).
standardDeviation0
Reference to a variable in which the standard deviation of the values of the first color component is to be stored (for color images).
standardDeviation1
Reference to a variable in which the standard deviation of the values of the second color component is to be stored (for color images).
standardDeviation2
Reference to a variable in which the standard deviation of the values of the third color component is to be stored (for color images).
correlation01
Reference to a variable in which the correlation between the values of the first color component and the second color component is to be stored (for color images).
correlation12
Reference to a variable in which the correlation between the values of the second color component and the third color component is to be stored (for color images).
correlation20
-
mean0
Reference to a variable in which the average value of the first color component is to be stored (for color images).
mean1
Reference to a variable in which the average value of the second color component is to be stored (for color images).
mean2
Reference to a variable in which the average value of the third color component is to be stored (for color images).
region
Pointer to a region to apply the function only on a particular region in the image.
mask
Pointer to a mask to apply the function only on a particular region in the image. Note: the mask must have the same size as the source image.
Remarks
The variance can be obtained from the standard deviation by squaring it.