Density gradient from CFD, the same field recovered from synthetic BOS images, and the error between them.
Background-oriented schlieren measures density from how a dot pattern appears to distort, which makes it hard to validate: you rarely know the true field. MIRAGE is an open-source MATLAB tool that closes that loop. A user models their own optical setup and supplies a known density field, say from a CFD simulation, and the tool generates experiment-like images by geometric ray tracing. Rays are initialized at the light source or background pattern, propagated through the optical components and the density gradient field using a fourth-order Runge-Kutta scheme, and accumulated at the sensor plane with a cosine-fourth-power law and bilinear weighting. Because the input field is known exactly, the tool supports experiment design, assessment of post-processing schemes, error analysis and uncertainty quantification models.
Moy, C. J., Rajendran, L. K., Vlachos, P. P., and Bane, S. P. M. "BOS/schlieren synthetic image generation via MIRAGE (MATLAB implementation of ray tracing for analysis of variable density Gradient Environments)." Measurement Science and Technology (2026). doi:10.1088/1361-6501/ae4f0a


Leave a Reply