EasyImage::WeightedMoments

Computes the zero-th, first, second, third or fourth order weighted moments on the gray-level image. The weight of a pixel is its gray-level value.

Namespace: Euresys::Open_eVision

[C++]

void WeightedMoments(
   const EROIBW8* sourceImage,
   float& M,
   float& Mx,
   float& My
)

void WeightedMoments(
   const EROIBW16* sourceImage,
   float& M,
   float& Mx,
   float& My
)

void WeightedMoments(
   const EROIBW8* sourceImage,
   const ERegion& region,
   float& M,
   float& Mx,
   float& My
)

void WeightedMoments(
   const EROIBW16* sourceImage,
   const ERegion& region,
   float& M,
   float& Mx,
   float& My
)

void WeightedMoments(
   const EROIBW8* sourceImage,
   float& M,
   float& Mx,
   float& My,
   float& Mxx,
   float& Mxy,
   float& Myy
)

void WeightedMoments(
   const EROIBW16* sourceImage,
   float& M,
   float& Mx,
   float& My,
   float& Mxx,
   float& Mxy,
   float& Myy
)

void WeightedMoments(
   const EROIBW8* sourceImage,
   const ERegion& region,
   float& M,
   float& Mx,
   float& My,
   float& Mxx,
   float& Mxy,
   float& Myy
)

void WeightedMoments(
   const EROIBW16* sourceImage,
   const ERegion& region,
   float& M,
   float& Mx,
   float& My,
   float& Mxx,
   float& Mxy,
   float& Myy
)

void WeightedMoments(
   const EROIBW8* sourceImage,
   float& M,
   float& Mx,
   float& My,
   float& Mxx,
   float& Mxy,
   float& Myy,
   float& Mxxx,
   float& Mxxy,
   float& Mxyy,
   float& Myyy
)

void WeightedMoments(
   const EROIBW16* sourceImage,
   float& M,
   float& Mx,
   float& My,
   float& Mxx,
   float& Mxy,
   float& Myy,
   float& Mxxx,
   float& Mxxy,
   float& Mxyy,
   float& Myyy
)

void WeightedMoments(
   const EROIBW8* sourceImage,
   const ERegion& region,
   float& M,
   float& Mx,
   float& My,
   float& Mxx,
   float& Mxy,
   float& Myy,
   float& Mxxx,
   float& Mxxy,
   float& Mxyy,
   float& Myyy
)

void WeightedMoments(
   const EROIBW16* sourceImage,
   const ERegion& region,
   float& M,
   float& Mx,
   float& My,
   float& Mxx,
   float& Mxy,
   float& Myy,
   float& Mxxx,
   float& Mxxy,
   float& Mxyy,
   float& Myyy
)

void WeightedMoments(
   const EROIBW8* sourceImage,
   float& M,
   float& Mx,
   float& My,
   float& Mxx,
   float& Mxy,
   float& Myy,
   float& Mxxx,
   float& Mxxy,
   float& Mxyy,
   float& Myyy,
   float& Mxxxx,
   float& Mxxxy,
   float& Mxxyy,
   float& Mxyyy,
   float& Myyyy
)

void WeightedMoments(
   const EROIBW16* sourceImage,
   float& M,
   float& Mx,
   float& My,
   float& Mxx,
   float& Mxy,
   float& Myy,
   float& Mxxx,
   float& Mxxy,
   float& Mxyy,
   float& Myyy,
   float& Mxxxx,
   float& Mxxxy,
   float& Mxxyy,
   float& Mxyyy,
   float& Myyyy
)

void WeightedMoments(
   const EROIBW8* sourceImage,
   const ERegion& region,
   float& M,
   float& Mx,
   float& My,
   float& Mxx,
   float& Mxy,
   float& Myy,
   float& Mxxx,
   float& Mxxy,
   float& Mxyy,
   float& Myyy,
   float& Mxxxx,
   float& Mxxxy,
   float& Mxxyy,
   float& Mxyyy,
   float& Myyyy
)

void WeightedMoments(
   const EROIBW16* sourceImage,
   const ERegion& region,
   float& M,
   float& Mx,
   float& My,
   float& Mxx,
   float& Mxy,
   float& Myy,
   float& Mxxx,
   float& Mxxy,
   float& Mxyy,
   float& Myyy,
   float& Mxxxx,
   float& Mxxxy,
   float& Mxxyy,
   float& Mxyyy,
   float& Myyyy
)

void WeightedMoments(
   const EROIBW8* sourceImage,
   const EROIBW8* mask,
   float& M,
   float& Mx,
   float& My
)

void WeightedMoments(
   const EROIBW16* sourceImage,
   const EROIBW8* mask,
   float& M,
   float& Mx,
   float& My
)

void WeightedMoments(
   const EROIBW8* sourceImage,
   const EROIBW8* mask,
   float& M,
   float& Mx,
   float& My,
   float& Mxx,
   float& Mxy,
   float& Myy
)

void WeightedMoments(
   const EROIBW16* sourceImage,
   const EROIBW8* mask,
   float& M,
   float& Mx,
   float& My,
   float& Mxx,
   float& Mxy,
   float& Myy
)

void WeightedMoments(
   const EROIBW8* sourceImage,
   const EROIBW8* mask,
   float& M,
   float& Mx,
   float& My,
   float& Mxx,
   float& Mxy,
   float& Myy,
   float& Mxxx,
   float& Mxxy,
   float& Mxyy,
   float& Myyy
)

void WeightedMoments(
   const EROIBW16* sourceImage,
   const EROIBW8* mask,
   float& M,
   float& Mx,
   float& My,
   float& Mxx,
   float& Mxy,
   float& Myy,
   float& Mxxx,
   float& Mxxy,
   float& Mxyy,
   float& Myyy
)

void WeightedMoments(
   const EROIBW8* sourceImage,
   const EROIBW8* mask,
   float& M,
   float& Mx,
   float& My,
   float& Mxx,
   float& Mxy,
   float& Myy,
   float& Mxxx,
   float& Mxxy,
   float& Mxyy,
   float& Myyy,
   float& Mxxxx,
   float& Mxxxy,
   float& Mxxyy,
   float& Mxyyy,
   float& Myyyy
)

void WeightedMoments(
   const EROIBW16* sourceImage,
   const EROIBW8* mask,
   float& M,
   float& Mx,
   float& My,
   float& Mxx,
   float& Mxy,
   float& Myy,
   float& Mxxx,
   float& Mxxy,
   float& Mxyy,
   float& Myyy,
   float& Mxxxx,
   float& Mxxxy,
   float& Mxxyy,
   float& Mxyyy,
   float& Myyyy
)

Parameters

sourceImage

Pointer to the source image/ROI.

M

Reference to the zero-th order weighted moment (total gray value).

Mx

Reference to the first order moments (weighted sums of abscissas and ordinates).

My

Reference to the first order moments (weighted sums of abscissas and ordinates).

region

Pointer to a region to apply the function only on a particular region in the image.

Mxx

Reference to the second order uncentered moments (weighted sums of squared abscissas, cross-product and squared ordinates).

Mxy

Reference to the second order uncentered moments (weighted sums of squared abscissas, cross-product and squared ordinates).

Myy

Reference to the second order uncentered moments (weighted sums of squared abscissas, cross-product and squared ordinates).

Mxxx

Reference to the third order uncentered moments (weighted sums of third order products).

Mxxy

Reference to the third order uncentered moments (weighted sums of third order products).

Mxyy

Reference to the third order uncentered moments (weighted sums of third order products).

Myyy

Reference to the third order uncentered moments (weighted sums of third order products).

Mxxxx

Reference to the fourth order uncentered moments (weighted sums of fourth order products).

Mxxxy

Reference to the fourth order uncentered moments (weighted sums of fourth order products).

Mxxyy

Reference to the fourth order uncentered moments (weighted sums of fourth order products).

Mxyyy

Reference to the fourth order uncentered moments (weighted sums of fourth order products).

Myyyy

Reference to the fourth order uncentered moments (weighted sums of fourth order products).

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.

EasyImage.WeightedMoments

Computes the zero-th, first, second, third or fourth order weighted moments on the gray-level image. The weight of a pixel is its gray-level value.

Namespace: Euresys.Open_eVision

[C#]

void WeightedMoments(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   out float M,
   out float Mx,
   out float My
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   out float M,
   out float Mx,
   out float My
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.ERegion region,
   out float M,
   out float Mx,
   out float My
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.ERegion region,
   out float M,
   out float Mx,
   out float My
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   out float M,
   out float Mx,
   out float My,
   out float Mxx,
   out float Mxy,
   out float Myy
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   out float M,
   out float Mx,
   out float My,
   out float Mxx,
   out float Mxy,
   out float Myy
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.ERegion region,
   out float M,
   out float Mx,
   out float My,
   out float Mxx,
   out float Mxy,
   out float Myy
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.ERegion region,
   out float M,
   out float Mx,
   out float My,
   out float Mxx,
   out float Mxy,
   out float Myy
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   out float M,
   out float Mx,
   out float My,
   out float Mxx,
   out float Mxy,
   out float Myy,
   out float Mxxx,
   out float Mxxy,
   out float Mxyy,
   out float Myyy
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   out float M,
   out float Mx,
   out float My,
   out float Mxx,
   out float Mxy,
   out float Myy,
   out float Mxxx,
   out float Mxxy,
   out float Mxyy,
   out float Myyy
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.ERegion region,
   out float M,
   out float Mx,
   out float My,
   out float Mxx,
   out float Mxy,
   out float Myy,
   out float Mxxx,
   out float Mxxy,
   out float Mxyy,
   out float Myyy
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.ERegion region,
   out float M,
   out float Mx,
   out float My,
   out float Mxx,
   out float Mxy,
   out float Myy,
   out float Mxxx,
   out float Mxxy,
   out float Mxyy,
   out float Myyy
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   out float M,
   out float Mx,
   out float My,
   out float Mxx,
   out float Mxy,
   out float Myy,
   out float Mxxx,
   out float Mxxy,
   out float Mxyy,
   out float Myyy,
   out float Mxxxx,
   out float Mxxxy,
   out float Mxxyy,
   out float Mxyyy,
   out float Myyyy
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   out float M,
   out float Mx,
   out float My,
   out float Mxx,
   out float Mxy,
   out float Myy,
   out float Mxxx,
   out float Mxxy,
   out float Mxyy,
   out float Myyy,
   out float Mxxxx,
   out float Mxxxy,
   out float Mxxyy,
   out float Mxyyy,
   out float Myyyy
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.ERegion region,
   out float M,
   out float Mx,
   out float My,
   out float Mxx,
   out float Mxy,
   out float Myy,
   out float Mxxx,
   out float Mxxy,
   out float Mxyy,
   out float Myyy,
   out float Mxxxx,
   out float Mxxxy,
   out float Mxxyy,
   out float Mxyyy,
   out float Myyyy
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.ERegion region,
   out float M,
   out float Mx,
   out float My,
   out float Mxx,
   out float Mxy,
   out float Myy,
   out float Mxxx,
   out float Mxxy,
   out float Mxyy,
   out float Myyy,
   out float Mxxxx,
   out float Mxxxy,
   out float Mxxyy,
   out float Mxyyy,
   out float Myyyy
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   out float M,
   out float Mx,
   out float My
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   out float M,
   out float Mx,
   out float My
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   out float M,
   out float Mx,
   out float My,
   out float Mxx,
   out float Mxy,
   out float Myy
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   out float M,
   out float Mx,
   out float My,
   out float Mxx,
   out float Mxy,
   out float Myy
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   out float M,
   out float Mx,
   out float My,
   out float Mxx,
   out float Mxy,
   out float Myy,
   out float Mxxx,
   out float Mxxy,
   out float Mxyy,
   out float Myyy
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   out float M,
   out float Mx,
   out float My,
   out float Mxx,
   out float Mxy,
   out float Myy,
   out float Mxxx,
   out float Mxxy,
   out float Mxyy,
   out float Myyy
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   out float M,
   out float Mx,
   out float My,
   out float Mxx,
   out float Mxy,
   out float Myy,
   out float Mxxx,
   out float Mxxy,
   out float Mxyy,
   out float Myyy,
   out float Mxxxx,
   out float Mxxxy,
   out float Mxxyy,
   out float Mxyyy,
   out float Myyyy
)

void WeightedMoments(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.EROIBW8 mask,
   out float M,
   out float Mx,
   out float My,
   out float Mxx,
   out float Mxy,
   out float Myy,
   out float Mxxx,
   out float Mxxy,
   out float Mxyy,
   out float Myyy,
   out float Mxxxx,
   out float Mxxxy,
   out float Mxxyy,
   out float Mxyyy,
   out float Myyyy
)

Parameters

sourceImage

Pointer to the source image/ROI.

M

Reference to the zero-th order weighted moment (total gray value).

Mx

Reference to the first order moments (weighted sums of abscissas and ordinates).

My

Reference to the first order moments (weighted sums of abscissas and ordinates).

region

Pointer to a region to apply the function only on a particular region in the image.

Mxx

Reference to the second order uncentered moments (weighted sums of squared abscissas, cross-product and squared ordinates).

Mxy

Reference to the second order uncentered moments (weighted sums of squared abscissas, cross-product and squared ordinates).

Myy

Reference to the second order uncentered moments (weighted sums of squared abscissas, cross-product and squared ordinates).

Mxxx

Reference to the third order uncentered moments (weighted sums of third order products).

Mxxy

Reference to the third order uncentered moments (weighted sums of third order products).

Mxyy

Reference to the third order uncentered moments (weighted sums of third order products).

Myyy

Reference to the third order uncentered moments (weighted sums of third order products).

Mxxxx

Reference to the fourth order uncentered moments (weighted sums of fourth order products).

Mxxxy

Reference to the fourth order uncentered moments (weighted sums of fourth order products).

Mxxyy

Reference to the fourth order uncentered moments (weighted sums of fourth order products).

Mxyyy

Reference to the fourth order uncentered moments (weighted sums of fourth order products).

Myyyy

Reference to the fourth order uncentered moments (weighted sums of fourth order products).

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.