RawGeo Balance: Brightness and Color Balancing of Aerial Images Before the Orthomosaic

Published: · Updated:

RawGeo Balance is a Fastvideo application that evens out brightness and color across the frames of an aerial survey before the orthomosaic is built: it computes a correction for every source frame, RAW or JPEG, so that the same ground looks the same in every frame and the orthomosaic has no visible seams. On a survey of 692 JPEG frames with cloud shadows, the brightness difference of the same ground in two frames fell from 0.25 to 0.03 exposure stops, with no loss of local contrast.

Status, October 2026: in development. The results on this page were obtained with the prototype. Writing the corrected frames has already been moved to C++: on an Intel Core i7-3820 CPU (2012) the 692 JPEG frames of 3648×2736 are written in 246 s, 0.36 s per frame. Processing times on the GPU will be published after the CUDA version, which also decodes JPEG on the GPU.

RawGeo Balance product card with the Fastvideo logo

Why balance the frames, not the mosaic

An orthomosaic is assembled from hundreds or thousands of frames, and any difference in brightness or color between neighboring frames becomes a visible seam. Even with fixed camera settings, frames of one flight differ by tenths of a stop; frames from different flights and cameras differ more.

Photogrammetry software balances color on the finished mosaic, and aerial camera makers balance it for data from their own cameras. A correction made on the mosaic cannot be taken back to the source frames: it cannot be passed to a RAW converter or checked frame by frame. RawGeo Balance corrects every source frame instead, from an analysis of the images themselves.

Balancing the orthomosaic and balancing the source frames
QuestionBalancing the finished mosaicBalancing every source frame (RawGeo Balance)
Can the result be checked frame by frame?No: the correction exists only in the mosaicYes: each frame has its own correction
Can it be used with RAW?No: the mosaic is already renderedYes: the corrections are passed to the RAW converter
Which photogrammetry software?The one that built the mosaicAny: corrected frames go into any software
Which cameras?Depends on the softwareAny camera whose RAW or JPEG format we read

Result on a survey with cloud shadows

The orthomosaic on the left was built in Agisoft Metashape from the original frames; the one on the right, in Metashape from the same frames after RawGeo Balance. The dark band on the left is cloud shadow.

Orthomosaic built in Agisoft Metashape before and after brightness and color balancing of the source frames: a dark cloud-shadow band on the left, an even orthomosaic on the right
692 JPEG frames, summer survey with a compact camera. Before: orthomosaic from the original frames. After: orthomosaic from the frames corrected by RawGeo Balance. Both built in Agisoft Metashape.
Brightness difference of the same ground in two frames, exposure stops: median / 90th percentile, 692 JPEG frames
Frame pairsBeforeAfter
Pairs used to compute the corrections0.253 / 1.3370.030 / 0.131
Check pairs, not used in the computation0.247 / 1.3690.032 / 0.141

The residual on the check pairs is almost the same as on the pairs used for the computation: the corrections are not fitted to the data they were computed from.

Concrete yard in an aerial frame: greenish on the left, gray after the overall white balance on the right
Part of a corrected frame at full resolution, a concrete yard. Left: without the overall white balance; right: with it.

What data it needs

Where the geometry comes from, and what each option gives
OptionInputWhat it gives
Photogrammetry resultsframes + camera positions and orientations exported from Agisoft Metashape, Pix4D or ODM + DEMfull correction, including the sun and viewing angle
Orthomosaic without camerasframes + an orthomosaic (+ DEM)every frame registered to the orthomosaic
Photo alignment from GNSS dataframes + onboard GNSS logscamera positions and orientations, used only for the correction
GNSS + IMUframes + camera position and attitude for every framecorrection without photo alignment
Frames onlyframesframe-to-frame balancing; no correction for the sun and viewing angle

The geometry is used only to compute the correction. The orthomosaic and the DEM are built by photogrammetry software; RawGeo Balance does not replace it.

Output

Scope and limitations

Frequently asked questions

What is RawGeo Balance?

RawGeo Balance is a Fastvideo application that evens out brightness and color across the frames of an aerial survey before the orthomosaic is built: it computes a correction for every source frame, RAW or JPEG, so that the same ground looks the same in every frame and the orthomosaic has no visible seams. It prepares frames for photogrammetry software and does not build orthomosaics itself.

Does it work with my camera?

RawGeo Balance is not tied to a camera: it needs frames in a RAW or JPEG format that we read, and their metadata. Different cameras and flights can be balanced together if it is known which camera took each frame and with which white balance.

Do I need Agisoft Metashape?

No, but its camera export and DEM give the most accurate result. An orthomosaic alone, onboard GNSS data or GNSS + IMU also work; see the table above.

How is it related to RawGeo Processor?

RawGeo Processor converts RAW to 16-bit TIFF on the GPU. RawGeo Balance computes the brightness and color correction of every frame and passes it to RawGeo Processor; for JPEG it writes the corrected frames itself.

Can I try it?

Yes. Write to us through the contact form, and we will agree how to pass a set of your frames, process them and show you the result.

Roadmap for RawGeo Balance

Why you can trust these results

Fastvideo has built GPU-accelerated image processing software since 2009. Our codecs comply with the standards they implement — JPEG (ITU-T T.81 / ISO IEC 10918) and JPEG2000 (ITU-T T.800 / ISO IEC 15444) — and our tools are open source on GitHub. Every performance figure we publish is reproducible: see our benchmark methodology, download the Fastvideo SDK benchmark report (PDF), and measure it on your own GPU.

Contact Form

This form collects your name and email. See our Privacy Policy for how we handle your personal data.