AI Glossary / Graphs and symbolic AI / Beginner
Foreshortening
Definition
Foreshortening is the apparent reduction of a length or surface dimension when it is viewed at an angle. A feature extending partly toward or away from the viewer occupies less of the image than it would in a suitable face-on view. The object itself has not shortened; its projection has changed.
What it means
A circular plate can look elliptical when tilted. A long handle pointing toward a camera can appear much shorter than the same handle viewed from the side. These are familiar consequences of representing three-dimensional geometry in a two-dimensional image.
For AI systems that recognize, measure, or reconstruct objects, foreshortening matters because image dimensions are not automatically physical dimensions. Two identical objects can produce different outlines when their orientations differ. Conversely, different objects can produce similar outlines. A system needs information about viewpoint, camera geometry, or the object's shape to interpret those appearances reliably.
How it works
Projection maps three-dimensional points onto an image plane. In orthographic projection, depth is discarded along parallel viewing directions. A line parallel to the image plane retains its full projected length at the chosen scale. Tilting that line out of the plane reduces its projected length.
For a line of length L making angle theta with the image plane, the orthographic projected length is L × cos(theta). The angle convention matters: measuring from the viewing direction instead gives a sine expression.
Perspective projection adds depth-dependent scaling, so different points of an object can have different magnifications. A simple cosine correction is therefore not a universal recipe for ordinary photographs. Surface-area projection also involves a cosine, but its angle is measured between the surface normal and viewing direction. Keep length, area, and their respective angle definitions distinct.
Three practical examples
1. An inspection camera sees a metal tab obliquely. Its image length cannot be compared directly with a face-on length threshold without accounting for pose and scale.
2. A document-capture system photographs a page at an angle. Correcting the page's perspective can make text easier to process, provided the page geometry and image detail support the correction.
3. A product-recognition model encounters a mug handle directed toward the camera. Training and evaluation images should include such orientations, rather than assuming the familiar side-view outline will always be visible.
Think of it this way
Think of holding a ruler horizontally in front of you, then turning one end toward your eye. The ruler takes up less horizontal space in your view even though its markings and physical length remain unchanged.
This demonstration captures the key idea, but a real eye or camera uses perspective. The nearer end can appear larger, and parts can overlap. An orthographic calculation simplifies those effects; it is a chosen model, not an exact description of every ruler photograph.
Worked example
Suppose an ideal orthographic imaging setup represents one centimeter in the image plane with 10 pixels. A straight 20-centimetre rod initially lies parallel to that plane. Its projected image length is 20 × 10 = 200 pixels.
Now tilt the rod 60 degrees out of the image plane without changing the setup's scale. The projected length becomes 20 × cos(60 degrees) = 10 centimeters, corresponding to 100 pixels. Reading that image with the face-on scale alone would incorrectly suggest that the rod is only 10 centimeters long.
If the angle is known, the model gives actual length = 100/(10 × 0.5) = 20 centimeters. Near an edge-on orientation, however, the cosine approaches zero and small measurement or angle errors can cause large reconstruction errors. This idealized calculation excludes perspective, lens distortion, occlusion, and uncertainty in the rod's endpoints.
Illustrative case study
Fictional case: Cedar Components evaluates an image-based check for bracket lengths. Early test images show shorter apparent lengths when brackets rotate on the conveyor. The team initially suspects manufacturing variation, then compares the images with controlled measurements and orientations.
Engineers consider fixing the presentation angle, estimating pose, or adding another camera view. They test whichever arrangement they choose using representative rotations and independently measured parts. The decision concerns both geometry and operational consistency. This fictional account illustrates an investigation; it does not report a real inspection accuracy, cost saving, or production result.
Common misconceptions and mistakes
Do not confuse foreshortening with an object physically shrinking. Also distinguish orientation effects from the smaller image produced by moving an object farther from a perspective camera. Both can occur together, but they are different geometric causes.
Do not assume that stretching an image restores all lost information. A nearly edge-on surface may occupy very few pixels, and hidden regions were never observed. Resampling cannot reveal their actual detail.
Finally, apparent darkness is not itself proof of geometric foreshortening. Lighting and reflectance affect image brightness, although projected surface area also appears in radiometric calculations.
Business use
Businesses using visual measurement should specify allowed viewpoints alongside resolution and accuracy requirements. A high-resolution camera does not remove ambiguity about pose or hidden dimensions.
Use calibration objects and independently known measurements when testing a correction method. Report performance across orientations, including the most oblique views expected in service. If a system rejects uncertain images or requests another view, include that behavior in workflow planning. For product photography and model datasets, deliberate viewpoint coverage can be as important as the total number of images collected.
People also ask
Can foreshortening occur without perspective projection?
Yes. Orthographic projection still shortens features tilted out of the image plane, even though it does not apply distance-dependent scaling.
Can a single photograph always reveal the original length?
No. The same apparent length can arise from different physical lengths, orientations, and distances unless additional information constrains the geometry.
Does correcting perspective guarantee a readable image?
No. Correction may help, but blur, inadequate sampling, glare, and occlusion can still prevent recovery of useful detail.
Check your understanding
In the worked example, did the rod lose half its physical length when its image changed from 200 to 100 pixels?
Answer: No. Its orientation changed the projection. Under the specified orthographic model, the 60-degree tilt multiplies projected length by one half while physical length remains 20 centimeters.
Related terms
- Perspective projection
- Orthographic projection
- Image rectification
- camera calibration
- pose estimation
- occlusion
- surface normal
Learn next
Study orthographic and perspective camera models, then compare the same simple object across known orientations. Practice stating which measurements concern image pixels and which concern physical dimensions before applying any correction formula.
More in Graphs and symbolic AI
- Fluent - A fluent is a property or quantity whose truth or value can vary between situations or over time in an action model.
- Fluid Communities - Fluid Communities is a graph community-detection algorithm that divides a network into a chosen number of groups.
- Focus of expansion - The focus of expansion is the image location from which motion vectors appear to spread outward when a camera translates toward a stationary scene without...
- Formal logic - Formal logic is the study and use of precisely defined languages and rules for reasoning.
- Forward-backward algorithm - The forward-backward algorithm computes the probability distribution of each hidden state in a sequence after considering observations from the whole sequence.
- Forward-chaining - Forward-chaining is a reasoning strategy that starts from known facts and repeatedly applies rules whose conditions are satisfied, adding their conclusions.
Sources
California State University, Sacramento, engineering graphics chapter on parallel projection and foreshortened views: https://athena.ecs.csus.edu/~ysuh/EGTextbook/Ch4-Parallel-Projection.html
UC San Diego, image formation notes, projected surface area and radiometry: https://cseweb.ucsd.edu/classes/sp18/cse152-a/lec3.pdf
The supplied category is retained; the explanation concerns visual geometry. The rod calculation and fictional case are original teaching examples.
Previous: Forensics Next: Forget gate