ArticleslgStudy

computer science

Velocity Moments

Velocity Moments is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Velocity Moments rather than just read about it. In short: 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.

Key takeaways

  • Velocity Moments belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Velocity Moments to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Velocity Moments from memory before moving on to harder problems.

Reference excerpt

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 and Zernike.

Cartesian velocity moments

Cartesian moments for single images A Cartesian moment of a single image is calculated by

mpq=∑x=1M∑y=1NxpyqPxy where M and N are the dimensions of the image, Pxy is the intensity of the pixel at the point (x,y) in the image, and xpyq is the basis function.

Cartesian velocity moments for sequences of images Cartesian velocity moments are based on these Cartesian moments. A Cartesian velocity moment vmpqμγ is defined by

vmpqμγ=∑i=2images∑x=1M∑y=1NU(i,μ,γ)C(i,p,g)Pixy where M and N are again the dimensions of the image, images is the number of images in the sequence, and Pixy is the intensity of the pixel at the point (x,y) in image i. C(i,p,q) is taken from Central moments, added so the equation is translation invariant, defined as

C(i,p,q)=(x−xi‾)p(y−yi‾)q where xi‾ is the x coordinate of the centre of mass for image i, and similarly for y. U(i,μ,γ) introduces velocity into the equation as

U(i,μ,γ)=(xi‾−xi−1‾)μ(yi‾−yi−1‾)γ where xi−1‾ is the x coordinate of the centre of mass for the previous image, i−1, and again similarly for y. After the Cartesian velocity moment is calculated, it can be normalised by

vmpqμγ‾=vmpqμγA∗I where A is the average area of the object, in pixels, and I is the number of images. Now the value is not affected by the number of images in the sequence or the size of the object. 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).

Zernike velocity moments

Zernike moments for single images A Zernike moment of a single image is calculated by

Amn=m+1π∑x∑y[Vmn(r,θ)]∗Pxy where ∗ denotes the complex conjugate, m is an integer between 0 and ∞, and n is an integer such that m−|n| is even and |n|<m. For calculating Zernike moments, the image, or section of the image which is of interest is mapped to the unit disc, then Pxy is the intensity of the pixel at the point (x,y) on the disc and x2+y2≤1 is a restriction on values of x and y. The coordinates are then mapped to polar coordinates, and r and θ are the polar coordinates of the point (x,y) on the unit disc map. Vmn(r,θ) is derived from Zernike polynomials and is defined by

Vmn(r,θ)=Rmn(r)ejnθ Rmn(r)=∑s=0m−|n|2(−1)sF(m,n,s,r) F(m,n,s,r)=(m−s)!s!(m+|n|2−s)!(m−|n|2−s)!rm−2s

Zernike velocity moments for sequences of images Zernike velocity moments are based on these Zernike moments. A Zernike velocity moment Amnμγ is defined by

Amnμγ=m+1π∑i=2images∑x=1∑y=1U(i,μ,γ)[Vmn(r,θ)]∗Pixy where images is again the number of images in the sequence, and Pixy is the intensity of the pixel at the point (x,y) on the unit disc mapped from image i. U(i,μ,γ) introduces velocity into the equation in the same way as in the Cartesian velocity moments and [Vmn(r,θ)]∗ is from the Zernike moments equation above. Like the Cartesian velocity moments, Zernike velocity moments can be normalised by

Amnμγ‾=AmnμγA∗I where A is the average area of the object, in pixels, and I is the number of images. 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).

Comparison of methods

References

External links CVonline Velocity Moments page

Worked examples

Example 1 — a first encounter with Velocity Moments

Start with the simplest possible case. Write down what Velocity Moments claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Velocity Moments before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Velocity Moments ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Velocity Moments

In research
Velocity Moments appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Velocity Moments in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Velocity Moments is common in secondary-school and first-year university syllabi. It links to neighbouring topics Applications of computer vision, Motion in computer vision, so understanding it makes those chapters shorter.
In everyday life
Look for Velocity Moments outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Velocity Moments” →

How to study Velocity Moments in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Velocity Moments means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Velocity Moments out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Velocity Moments in simple terms?

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 automat…

Why does Velocity Moments matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Velocity Moments?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Velocity Moments.

Tags

  • Applications of computer vision
  • Motion in computer vision

Keep exploring