← AVIATION GLOSSARY
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Aviation glossary

What is Computer Vision?

Computer vision · Inspection 8 languages
Definition
Computer vision is a field of computing in which a computer works out what an image or video shows.

Computer vision is a field of computing in which a computer works out what an image or video shows. A model turns pixel values into labels, boxes or masks.

How a computer sees an image

A computer sees an image as one large three-dimensional array of numbers. Each number is an integer from 0 (black) to 255 (white). A colour image has three channels: red, green and blue.

Take a photo 248 pixels wide and 400 pixels tall. It holds 248 x 400 x 3 = 297,600 numbers. The computer has no idea what the photo shows until a model turns these numbers into a result.

The main tasks

Stanford course material names image classification, localization and detection as core visual recognition tasks. Segmentation extends them to single pixels.

TaskWhat the model returnsExample result
Image classificationOne label from a fixed set for the whole image“cat”
Localization and detectionA bounding box and a class for each objectTwo boxes, each with a class
Semantic segmentationA class label for each pixelEvery pixel tagged “crack” or “not crack”
Instance segmentationA mask for each separate objectOne mask for each object

A classifier may output one label. It may also output a distribution over labels that shows its confidence. A detector such as You Only Look Once (YOLO) frames detection as one regression problem. It predicts boxes and class probabilities in a single pass. Its base model processes images at 45 frames per second.

The glossary has pages for object detection , semantic segmentation and instance segmentation . The score that compares a predicted region with a true region is intersection over union .

How a convolutional neural network works

Most modern vision models are convolutional neural networks. A convolutional layer has small filters, for example 5 x 5 pixels. Each filter spans the full input depth and slides across the width and height of the image. At each position it computes a dot product. The result is one two-dimensional activation map for each filter.

Two ideas keep the layer small. Local connectivity means that each neuron looks at a small region only. Parameter sharing means that all neurons in one map use the same weights. A filter can then find a feature, such as an edge, wherever it appears.

A network stacks layer types:

  • Input holds the raw pixel values.
  • Convolution computes the output of neurons that connect to local regions.
  • ReLU applies max(0, x) to each value and does not change the size.
  • Pooling shrinks width and height, usually with 2 x 2 max pooling at stride 2.
  • Fully connected computes the class scores.

The output size of a convolutional layer follows (W - F + 2P) / S + 1. W is the input width, F the filter size, P the padding and S the stride. Take a 227 x 227 x 3 input, 96 filters of 11 x 11 x 3, stride 4 and no padding. The width is (227 - 11 + 0) / 4 + 1 = 55, so the output is 55 x 55 x 96.

Without parameter sharing, this layer would need about 105.7 million parameters. With sharing, it needs 96 x 363 weights plus 96 biases, which is 34,944 parameters.

Why computer vision is hard

The same object produces very different pixel values from one image to the next. The Stanford notes list these challenges:

  • Viewpoint: an object can face the camera in many ways.
  • Scale: the object size changes in the world and in the image.
  • Deformation: a non-rigid object can change shape.
  • Occlusion: part of the object may be hidden.
  • Illumination: a change of light changes every pixel.
  • Background clutter: the object can blend into its surroundings.
  • Variation within a class: a chair can look like many things.

A good model must ignore these changes and still react to the difference between classes.

Common mistakes

  • Treating a model output as a measurement. A model returns a label, a box or a mask. A person must check it before anyone relies on it.
  • Testing a model on images that are not like the images in use. A change of light, angle or surface changes the pixel values.
  • Taking a research result as a standard. A paper that detects cracks does not create a requirement for an airport.

Computer vision at an airfield

Aerodrome rules mention the technology only in passing. European Union Aviation Safety Agency (EASA) guidance on foreign object debris lists the proper use of detection technologies, where they apply, in staff training. The rules do not name a method.

Researchers apply computer vision to pavement. Zhu, Phung and Ha use convolutional neural networks to detect cracks in images that unmanned aerial vehicles collect. The method is a research result. See AI-based crack detection for how a mask gives crack width and length.

Inspection standards still name the damage that a person looks for. EASA guidance for the inspection of paved areas lists cracking and spall of concrete, and cracking and looseness of aggregate in asphalt surfaces. The US Federal Aviation Administration (FAA) describes the pavement condition index (PCI) survey, ASTM D5340, as a visual survey. It also says that a visual inspection alone cannot show the structural condition of a pavement.

TarmacView uses a drone to inspect airfield lighting. It does not offer pavement crack detection or foreign object debris detection today.

Frequently Asked Questions

What is computer vision?
Computer vision is a field of computing in which a computer works out what an image or video shows. The input is an array of pixel numbers. The output is a label, a box, a mask or another description of the scene. Typical tasks are image classification, localization and detection.
How does a computer see an image?
A computer sees an image as a large three-dimensional array of numbers. Each number is an integer from 0 (black) to 255 (white). A colour image 248 pixels wide and 400 pixels tall has 248 x 400 x 3 = 297,600 numbers. Each pixel has one number per colour channel.
What are the main tasks of computer vision?
The main tasks are image classification, localization, detection and segmentation. Classification gives a whole image one label from a fixed set. Detection gives each object a box and a class. Semantic segmentation gives every pixel a class label. Instance segmentation also separates each object.
What is a computer vision system?
A computer vision system takes images from a camera and uses a model to turn the pixel values into labels, boxes or masks. The model is often a convolutional neural network. The next step, such as a check by a person, is a design choice of the owner of the system.
Why is computer vision hard?
The same object looks different in each image. Stanford course notes list viewpoint, scale, deformation, occlusion, lighting, background clutter and variation within a class. A good model must stay unchanged by these changes and still tell the classes apart.
Is computer vision used in aviation?
Yes. Aerodrome rules mention foreign object debris detection technologies, and research applies neural networks to cracks in drone images of pavement. The sources we opened give no accuracy figure for airfield use. A computer vision result is not a rule or a requirement of an aerodrome standard.
Does computer vision replace a pavement condition survey?
The sources we opened do not say that it does. The FAA names the PCI method in ASTM D5340 as the procedure for the pavement condition index. The FAA also says that the structural condition of a pavement cannot be found from a visual inspection alone.

References

cs231n-classification
Image Classification (CS231n course notes) Stanford University, course CS231n
cs231n-convnets
Convolutional Neural Networks (CS231n course notes) Stanford University, course CS231n
redmon-2015-yolo
You Only Look Once: Unified, Real-Time Object Detection (arXiv:1506.02640) Redmon, Divvala, Girshick and Farhadi
panoptic-2018
Panoptic Segmentation (arXiv:1801.00868) Kirillov, He, Girshick, Rother and Dollar
zhu-2019-hcnn
Crack Detection Using Enhanced Hierarchical Convolutional Neural Networks (arXiv:1912.12139) Zhu, Phung and Ha, University of Technology Sydney

This is a reference entry. TarmacView provides drone inspection services and doesn't sell the equipment or materials described in this glossary.

Get Started Need your airfield lighting verified? TarmacView inspects approach, runway and taxiway lights and the runway surface by drone, during full airport operation. The lighting protocol comes the same day.
Keep reading

Learn more

03 PAGES
Semantic Segmentation for Infrastructure Inspection: Pixel Labels
glossary

Semantic Segmentation for Infrastructure Inspection: Pixel Labels

Semantic segmentation is a computer vision task that labels every pixel of an image with a class. How it differs from object detection and instance segmentation, the main models, how to score it, and what it gives an airfield inspection.

Object Detection for Infrastructure Defects: Bounding Boxes and Classes
glossary

Object Detection for Infrastructure Defects: Bounding Boxes and Classes

Object detection is a computer vision task that finds objects in an image and gives each a bounding box and a class. The main detector types, how detectors are scored, and the rules for foreign object debris on an airfield.

Instance Segmentation for Individual Defect Identification in Images
glossary

Instance Segmentation for Individual Defect Identification in Images

Instance segmentation gives each object in an image its own class label and pixel mask. How it differs from object detection, semantic and panoptic segmentation, how models work and are scored, and its use on airfield pavement.