ArticleslgStudy

computer science

Visual Word

Visual Word 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 Visual Word rather than just read about it. In short: Visual words, as used in image retrieval systems, refer to small parts of an image that carry some kind of information related to the features (such as the color, shape, or texture) or changes occurring in the pixels such as the filtering, low-level feature descriptors (SIFT or SURF). History The approaches of text retrieval system (or information retrieval IR system) which were developed over 40 years, are based on…

Visual Word — main illustration
Visual Word — illustration

Key takeaways

  • Visual Word 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 Visual Word to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Visual Word from memory before moving on to harder problems.

Reference excerpt

Visual words, as used in image retrieval systems, refer to small parts of an image that carry some kind of information related to the features (such as the color, shape, or texture) or changes occurring in the pixels such as the filtering, low-level feature descriptors (SIFT or SURF).

History The approaches of text retrieval system (or information retrieval IR system) which were developed over 40 years, are based on keywords or Term. The advantage of these approaches is that they are effective and fast. Text-search engines are able to quickly find documents from hundreds or millions (by using a vector space model). At the same time, text retrieval systems have huge successes, whereas the standard image retrieval systems (like simple search by colors or shapes) have a large number of limitations. Consequently, researchers try to take advantage of text retrieval techniques to apply them to image retrieval. That can be accomplished by a new kind of vision to understand images as textual documents, which is the visual words approach.

Analogy text-image Consider that the pixels of an image, which are the smallest parts of a digital image and cannot be divided into smaller ones, are like the letters of an alphabetical language. Then, a set of pixels in an image (a patch or arrays of pixels) is a word. Each word can then be reprocessed into a morphological system to extract a term related to that word. Then, several words can share the same meaning, each one will refer to the same term (like in any language). Multiple words share the same meaning and belong to the same term (have the same information). By this view, researchers can take advantage from text retrieval techniques to apply them to image retrieval system.

Visual definitions

This principle can be applied to games to find what words and terms will be in our images. The idea is to try to understand the images with a collection of "visual words".

Definition 1: Visual word Source: A small patch on the image which can carry any information in any feature space, such as color changes or texture changes. In general visual words (VWs) exist in a feature space of continuous values implying a huge number of words and therefore a huge language. Since image retrieval systems need to use text retrieval techniques that are dependent on natural languages, which have a limit to the number of terms and words, there is a need to reduce the number of visual words. A number of solutions exist to solve this problem, such as dividing the feature space into ranges, each having common characteristics (which can be considered as the same word). Nonetheless, this solution carries many issues, like the division strategy and the size of the range in the feature space. Another solution proposed by researchers is using a clustering mechanism to classify and merge words carrying common information in a finite number of terms.

Definition 2: Visual term The clustering result in the feature space (centers of the clusters). More than one patch can give the nearest information in feature space, so we can consider it in the same term. As the Term in a text (the infinity verb, nouns, and articles) refer to many common words having the same characteristics, the visual term (with its clustering result) will refer to all common words which shared the same information in a feature space. Lastly, if all images refer to the same set of visual terms, then all images can speak the same language (or visual language).

Definition 3: Visual language A set of visual words and visual terms. Considering the visual terms alone is the “Visual Vocabulary” which will be the reference and retrieval system that will depend on it for retrieving images. All images will be represented with this visual language as a collection of visual words, or bag of visual words.

Definition 4: Bag of visual words Source: A collection of visual words which together give information on the meaning of part or all of the image. Based on this kind of image representation, it is possible to use text retrieval techniques to design an image retrieval system. However, since all text retrieval systems depend on terms, the user's query images must be converted into a set of visual terms in the system. Then, it will compare these visual terms with all visual terms in the database.

See also Content-based Image and Video Retrieval Face Recognition Text Information Retrieval Bag-of-words model in computer vision

References

External links A tribute to visual words and how they revolutionized computer vision Bag-of-Visual-Words lecture from Carnegie Mellon University Bag of visual words model: recognizing object categories Visual Word based Location Recognition in 3D models using DistanceAugmented Weighting

Illustrations

Visual Word: Analogy text-image
Analogy text-image
Visual Word: Visual words
Visual words

Worked examples

Example 1 — a first encounter with Visual Word

Start with the simplest possible case. Write down what Visual Word 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 Visual Word 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 Visual Word 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 Visual Word

In research
Visual Word 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 Visual Word 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
Visual Word is common in secondary-school and first-year university syllabi. It links to neighbouring topics Applications of computer vision, Image search, so understanding it makes those chapters shorter.
In everyday life
Look for Visual Word 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 “Visual Word” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Visual Word in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Visual Word 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 Visual Word out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Visual Word in simple terms?

Visual words, as used in image retrieval systems, refer to small parts of an image that carry some kind of information related to the features (such as the color, shape, or texture) or changes occurring in the pixels such as the filtering, low-level feature descriptors (SIFT or SURF). History The a…

Why does Visual Word 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 Visual Word?

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 Visual Word.

Tags

  • Applications of computer vision
  • Image search

Keep exploring