Skip to content
GATEiit

GATE CE · Geomatics Engineering

Digital photogrammetry

Digital CCD/CMOS sensor geometry, Ground Sample Distance, interior affine image transformations, epipolar line constraint reducing stereo search to 1D, NCC and Least-Squares matching, and DSM/DTM orthorectification power modern photogrammetry.

Before you start

This topic comes before: Camera calibration, Parallax equations

Concept notes

1. Digital Sensors, Ground Sample Distance (GSD), and Interior Affine Transform

Modern frame/UAV CCD and CMOS sensors sample focal plane radiance across uniform square pixels (pixel pitch ps≈3–6 μm), replacing wet darkroom films and analog optical comparators. Spatial ground detail resolves via Ground Sample Distance (GSD=ps×Hf=ps Mscale), requiring GSD≤5–10 cm for cadastral/curb mapping.

Connecting discrete image indices (c,r) (column rightward, row downward from top-left pixel) into right-handed camera fiducial coordinates (x,y) calibrated to Principal Point requires a 6-parameter 2D Affine Interior Transformation: x=a0+a1 c+a2 r,y=b0+b1 c+b2 r handling anisotropic row/col scaling, origin offset, rotation, and sensor non-orthogonality skew simultaneously (using ≥3 non-collinear fiducials or known digital array principal dimensions).

GSD Footprint and Epipolar PlaneGSD = (Pixel Size * H) / fEpipolar Plane cuts search from 2D to 1DDEM vs DSM vs OrthophotoDTM/DEM: Bare Earth | DSM: Tops/RoofsTrue Orthophoto cancels building roof leanResample: Bilinear / Nearest / Bicubic
Pixel GSD ground footprint, 1D epipolar line constraint, and differential orthophoto rectification from DSM.

2. Epipolar Geometry, Automated Image Matching (NCC vs Feature/LSM), and SfM

Two overlapping camera perspective centers O1,O2 and any 3D terrain target P span a unique Epipolar Plane slicing both photo planes along conjugate Epipolar Lines. Resampling stereo pairs into normalized epipolar images reduces dense correspondence search from an expensive 2D window grid directly down to a fast 1D scan along matching pixel rows (y′=y, zero y-parallax).

Software extracts conjugate matches via: (1) Area-Based Matching (Normalized Cross-Correlation NCC∈[−1,+1], invariant to linear sun brightness/contrast shifts; and sub-pixel Least-Squares Matching LSM down to 0.05 pixel); (2) Feature-Based Matching (FBM, including SIFT/SURF/ORB keypoints invariant to large rotation/scale jumps inside Drone Structure-from-Motion SfM pipelines) paired with RANSAC outlier rejection.

3. DEM vs DSM, True Orthophoto Differential Rectification, and Gray Resampling

Digital Surface Model (DSM) grids raw canopy and roof-top heights returned directly by stereo matching or first-return LiDAR, whereas filtering buildings/trees down to bare earth produces a Digital Terrain Model (DTM / DEM).

Differential Rectification (Orthorectification) shifts every raw pixel backward through inverse collinearity using underlying elevation Z(X,Y) to strip both tilt and radial relief distortion, yielding a planimetrically true Orthophoto (True Orthophoto specifically uses the DSM instead of bare-earth DEM so tall skyscraper roofs no longer lean sideways over streets). Resampling onto regular Easting-Northing grid centers interpolates radiometry via Nearest Neighbor (preserves exact discrete class labels), Bilinear (4-neighbor smooth), or Bicubic (16-neighbor crisp edges).

Formulas to remember

Ground Sample Distance (GSD)Keep pixel size p_pixel and focal length f in matching length units (both mm or um) when multiplying H in meters.
GSD=ppixel Hf=ppixel⋅Mscale
2D Interior Affine Pixel-to-Photo6 unknown coefficients need minimum 3 non-collinear fiducial points (6 coordinate equations).
x=a0+a1 c+a2 r,y=b0+b1 c+b2 r
Normalized Cross-Correlation (NCC)Invariant to uniform illumination bias and linear exposure gain between overlapping frames.
ρNCC=∑(gL−gˉL)(gR−gˉR)∑(gL−gˉL)2∑(gR−gˉR)2∈[−1,+1]
Epipolar Coplanarity ConstraintForces conjugate ray pairs and Air Base vector b to intersect inside one plane, locking search onto 1D epipolar lines.
b⋅(r1×r2)=0  ⟺  x′TE x=0
Radiometric Bits & Uncompressed Image Size12-bit or 16-bit multispectral sensors preserve shadow detail inside deep urban canyons.
Size (bytes)=Nrows×Ncols×Nbands×(bit depth8)

Common mistakes

  • Confusing DTM/DEM (bare ground) with DSM (roofs and trees included) when ordering a True Orthophoto.
  • Using Bilinear / Bicubic interpolation on classified integer Land-Use maps, inventing corrupted hybrid class pixels.
  • Mixing micrometers (μm) and millimeters (mm) inside GSD=p H/f.
  • Assuming 2 points suffice for a 6-parameter Affine transformation (4 equations < 6 unknowns; 2 points only solve 4-parameter 2D Similarity/Conformal, not Affine).
  • Running epipolar stereo matching directly on unrectified tilted images instead of resampling onto aligned epipolar rows.

Worked examples

Try each step yourself, then reveal the working.

Example 1: Drone Mission Flying Height Sizing for Target Ground Sample Distance

numerical

A survey UAV carries a CMOS camera (f=24.0 mm, 6000×4000 pixels, square pixel size p=4.0 μm=0.0040 mm). Compute maximum flying height H above ground achieving GSD=2.50 cm/pixel and ground footprint width of one image.

  1. Step 1: Solve GSD = p * H / f for flying height H

    Try it on paper first.

Example 2: Normalizing Left vs Right Patch Intensities via Cross-Correlation

numerical

A 2×2 left image template reads [10,20;30,40] (gˉL=25), while sun cloud shifts the matching right patch to [30,50;70,90] (gR=2 gL+10). Evaluate ρNCC.

  1. Step 1: Subtract patch means to form zero-mean deviations

    Try it on paper first.

Example 3: Why Bare-Earth DEM Leaves Building Ghosting on Urban Orthophotos

conceptual

On an urban city Orthophoto generated solely over a bare-earth DTM/DEM (Z=street elevation), skyscrapers appear tilted outward across adjacent roads. Contrast this against a True Orthophoto.

  1. Step 1: Diagnose missing roof Z in bare-earth DEM orthorectification

    Try it on paper first.

Example 4: Least-Squares Matching vs Normalized Cross-Correlation

conceptual

Why does modern analytical stereo refinement finish with Least-Squares Matching (LSM) after coarse integer-pixel NCC alignment?

  1. Step 1: Recognize rigid rectangular pixel limit of standard NCC

    Try it on paper first.

Previous year questions

No official GATE CE question is tagged with this topic yet. The topic test below uses practice questions.

Topic test

8 questions: original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.

Mark as mastered

Loading your progress…

My revision notes

Notes written by the GATEiit team against the official GATE CE syllabus; being checked by a reviewer. Updated 2026-12-02. Spotted a mistake? Use Report an issue on any question, or contact us.