AI Glossary / Computer vision and multimodal AI / Beginner
Image
Definition
In computer vision, an image is a spatially organized representation of visual or other measured information. A digital raster image stores sampled values at pixel locations, with one or more channels that may describe brightness, color, depth or another quantity according to the image's encoding.
What it means
A photograph looks like a continuous scene to a viewer, but software usually receives a structured array of numbers. The numbers are not meaningful in isolation: dimensions, channel definitions, numeric type, color encoding and other metadata determine how they should be interpreted. Images can come from cameras, scanners, scientific instruments or computer generation. Not every image is a direct record of a real scene, and not every image channel represents visible light. Understanding the representation is the first step before asking an AI system to classify, edit or measure its content.
How it works
An imaging process samples information across spatial coordinates and quantizes measurements into representable values. A grayscale image may have one channel, an RGB image three color channels, and an RGBA image an additional alpha channel for compositing. Other images can contain depth or many spectral bands. A file format stores these values along with relevant structure and metadata, possibly using compression.
Loading a file decodes it into a representation that an application can process. Displaying it may require color conversion, scaling or mapping values into the screen's capabilities. The displayed appearance therefore depends on more than the raw array. Orientation metadata, channel order and numerical range can all change the interpretation.
Three practical examples
- A document service receives a scanned page as an image, then extracts text and layout rather than treating the file as already containing editable words.
- A warehouse camera provides frames for object detection, with acquisition settings influencing what the model can observe.
- A scientific workflow stores a depth image whose pixel values represent distance, requiring a different interpretation from ordinary grayscale brightness.
Think of it this way
Think of an image as a grid of labeled measurements. The grid tells you where each value belongs, while the labels tell you what the values mean. The analogy is limited because real image formats can contain complex metadata, multiple resolutions or non-raster representations, and a grid alone does not explain the scene that produced it.
Worked example
An RGB image with width 640 and height 480 has 307,200 pixel locations. With three 8-bit channels, its uncompressed sample array contains 921,600 bytes, ignoring metadata and storage overhead. A one-channel 16-bit depth image of the same dimensions contains 614,400 bytes of sample data.
The smaller or larger byte count does not directly indicate greater visual quality or more useful task information. A compressed file can be much smaller than its decoded array, and two files with identical dimensions can have different color encodings or content. These calculations describe a particular raster representation, not every possible image format.
Illustrative case study
Fictional example: Alder Vision receives images from two camera libraries. One supplies RGB arrays and the other BGR arrays. Treating both identically swaps red and blue in part of the dataset, affecting a color-based inspection rule. The team documents channel order and adds a known-color reference check at ingestion. It also preserves source metadata. The case illustrates that a valid numeric array can still be interpreted incorrectly before any advanced AI processing begins.
Common misconceptions and mistakes
An image file is not identical to its decoded pixel array. More pixels do not automatically mean more genuine scene detail, especially after enlargement or heavy blur. A displayed black value can mean different things in different encodings. Alpha is not another visible color primary. An image can be synthetic or edited, so realism does not establish provenance. Finally, numerical similarity between arrays does not necessarily correspond to semantic similarity or equal perceived appearance.
Business use
Businesses should define image requirements at the point of use: dimensions, file formats, color handling, metadata and acceptable compression. For AI workflows, keep preprocessing consistent and record transformations that can affect labels or measurements. Preserve originals when later review or reprocessing may be needed. Evaluate capture conditions as part of system quality, since poor input cannot always be repaired downstream. A dependable image pipeline begins with correct interpretation and traceability, not only a powerful recognition or editing model.
People also ask
Is every image a photograph?
No. Images can be scanned, rendered, synthesized or derived from measurements such as depth and spectral data.
Does one pixel always contain three values?
No. The channel count and meaning depend on the representation; grayscale, RGB, RGBA and scientific images differ.
Can a small file contain a large image?
Yes. Compression can reduce stored size, while decoding expands the data into the required in-memory representation.
Check your understanding
Two arrays both have shape 480×640×3. Does that guarantee their channels have the same meaning?
Answer: No. They may differ in channel order, color space, numerical range or other conventions. Shape alone does not specify interpretation.
Related terms
- Color space
- Computer vision
- pixel
- raster image
- image channel
- bit depth
- image compression
Learn next
Learn pixel coordinates, channels and numerical types, then inspect a file's decoded dimensions and metadata. Compare grayscale, RGB and depth images before applying transformations or interpreting model outputs.
More in Computer vision and multimodal AI
- Hyperspectral image - A hyperspectral image records a spectrum across many narrow, typically contiguous wavelength bands at each spatial location.
- I-frame - An I-frame is an intra-coded picture in a compressed video sequence: its picture content is encoded without relying on motion-compensated prediction from...
- Ill-conditioning - Ill-conditioning means that small changes in a problem's inputs can cause comparatively large changes in its solution.
- Image Analogies - Image Analogies is an example-based image-processing framework that uses a pair of images showing an input and its transformed appearance to guide a similar...
- Image-based lighting - Image-based lighting uses an image representing environmental illumination to light a rendered scene.
- Image-based rendering - Image-based rendering generates views of a scene using captured or previously rendered images as a central representation.
Sources
Pillow, image concepts including bands and modes: https://pillow.readthedocs.io/en/stable/handbook/concepts.html AIMA glossary, source-list context: https://github.com/aimacode/aima-glossary/blob/master/glossary.md Primary documentation and source-context excerpts consulted; full format-specific and editorial review remain pending. Storage examples and the fictional case are original.
Previous: Ill-conditioning Next: Image Analogies