In the field of computer vision, velocity moments are weighted averages of the intensities of pixels in a sequence of images, similar to image moments but in addition to describing an object's shape also describe its motion through the sequence of images. Velocity moments can be used to aid automated identification of a shape in an image when information about the motion is significant in its description. There are currently two established versions of velocity moments: Cartesian[1] and Zernike.[2]
A Cartesian moment of a single image is calculated by
mpq=
M | |
\sum | |
x=1 |
N | |
\sum | |
y=1 |
xpyqPxy
where
M
N
Pxy
(x,y)
xpyq
Cartesian velocity moments are based on these Cartesian moments. A Cartesian velocity moment
vmpq\mu\gamma
vmpq\mu\gamma=
images | |
\sum | |
i=2 |
M | |
\sum | |
x=1 |
N | |
\sum | |
y=1 |
U(i,\mu,\gamma)C(i,p,g)
P | |
ixy |
where
M
N
images
P | |
ixy |
(x,y)
i
C(i,p,q)
C(i,p,q)=
p | |
(x-\overline{x | |
i}) |
q | |
(y-\overline{y | |
i}) |
where
\overline{xi}
x
i
y
U(i,\mu,\gamma)
U(i,\mu,\gamma)=(\overline{xi}-\overline{xi-1
where
\overline{xi-1
x
i-1
y
After the Cartesian velocity moment is calculated, it can be normalised by
\overline{vmpq\mu\gamma
where
A
I
As Cartesian moments are non-orthogonal, so are Cartesian velocity moments, so different moments can be closely correlated. These velocity moments do however provide translation and scale invariance (unless the scale changes within the sequence of images).
A Zernike moment of a single image is calculated by
Amn=
m+1 | |
\pi |
\sumx\sumy[Vmn(r,\theta)]*Pxy
where
*
m
0
infty
n
m-|n|
|n|<m
Pxy
(x,y)
x2+y2\le1
x
y
r
\theta
(x,y)
Vmn(r,\theta)
Vmn(r,\theta)=Rmn(r)ejn\theta
Rmn(r)=
| ||||
\sum | ||||
s=0 |
(-1)sF(m,n,s,r)
F(m,n,s,r)=
(m-s)! | ||||||||
|
rm-2s
Zernike velocity moments are based on these Zernike moments. A Zernike velocity moment
Amn\mu\gamma
Amn\mu\gamma=
m+1 | |
\pi |
images | |
\sum | |
i=2 |
\sumx=1\sumy=1U(i,\mu,\gamma)[Vmn(r,\theta)]*
P | |
ixy |
where
images
P | |
ixy |
(x,y)
i
U(i,\mu,\gamma)
[Vmn(r,\theta)]*
Like the Cartesian velocity moments, Zernike velocity moments can be normalised by
\overline{Amn\mu\gamma
where
A
I
As Zernike velocity moments are based on the orthogonal Zernike moments, they produce less correlated and more compact descriptions than Cartesian velocity moments. Zernike velocity moments also provide translation and scale invariance (even when the scale changes within the sequence).
Velocity moment type | Translation invariance | Scale invariance | Orthogonal | |
---|---|---|---|---|
Cartesian | Yes | Yes (if the object does not change scale within the sequence) | No | |
Zernike | Yes | Yes | Yes |