Average flags of the world: means, modes and medians [OC]

Image from i.redditmedia.com and submitted by Udzu
image showing Average flags of the world: means, modes and medians [OC]

Udzu on March 19th, 2018 at 16:58 UTC »

Visualization details

Flags were downloaded from Wikimedia, resized to a constant aspect ratio (sorry Switzerland!), and flatenned onto white (sorry Nepal!). Averages were calculated pixelwise. Means were calculated by first converting from sRGB to linear RGB. Modes were calculated by first quantizing to the following heraldic colors: Or, Argent, Azure, Gules, Purpure, Sable, Vert, Tenné, Orange and Bleu Celeste. Omitted heraldic colors include Murrey and Sanguine (as they are very similar to Gules and Purpure) and Cendrée and Carnation (as they are barely used). Medians were calculated by first converting to greyscale using BT.601 luma transform. Plot was generated using Python, Pandas and Pillow. Source code on github. More visualizations (including fixes to previously posted ones) on flickr.

X0AN on March 19th, 2018 at 20:37 UTC »

Would have been nice to have Nepal, ever so slightly ruining the Asian shape.

80sfaan on March 19th, 2018 at 20:40 UTC »

So you're telling me that the modal flag of Asia is (almost) the flag of Austria?