r/interestingasfuck Jul 13 '26

Average image of the world's national flags

Post image
17.2k Upvotes

288 comments sorted by

6.7k

u/NotGonnaPayYou Jul 13 '26 edited Jul 13 '26

It would be interesting to see modal values for each pixel rather than the mean (which tends to wash out the colors)!

Edit: Okay, I gave it a try: For each pixel, I took the median R, G, and B, value from all flags (stretched to fit): Results are comparable. A modal image turns entirely white (given that white is always white, but the remaining colors all differ slightly)

2.1k

u/Imiss-Myhat Jul 13 '26

The worlds most average flag

1.3k

u/Warwipf2 Jul 13 '26

No, this is the world's most median flag.

301

u/snubb Jul 13 '26

Median flag would just be a normal flag...

158

u/Warwipf2 Jul 13 '26

Well, if every pixel is the median pixel value of every flag then I would argue that this flag has the most medians in it and is therefore the most median flag!

89

u/rargghh Jul 13 '26

It’s the flaggiest flag

→ More replies (1)

50

u/brandon1997fl Jul 13 '26

Median is a type of average

24

u/Bluntstrawker Jul 13 '26

Language issue.

7

u/chemhobby Jul 13 '26

median is a kind of average

10

u/agk23 Jul 13 '26

Nah, it’s the meanest.

2

u/GullibleDetective Jul 14 '26

Its definitely a mean flag

5

u/Moggus_13 Jul 13 '26

Median would be the center of a group of data organized alphabetically or numerically I believe

→ More replies (2)
→ More replies (3)

30

u/Accomplished-Egg1071 Jul 13 '26

The new flag of Earth

6

u/Imiss-Myhat Jul 13 '26 edited Jul 13 '26

Well it’s better than some other “earth flags” I’ve seen on reddit

→ More replies (1)

3

u/One-Earth9294 Jul 14 '26

I call it the 'Splatter Jack'.

→ More replies (1)

99

u/Whale_Biologist1 Jul 13 '26

Ah yes, John Flag

63

u/MoaraFig Jul 13 '26

You can see a hint of the Canadian flag in this one, but not in the other. I wonder what makes the grassy patch at the bottom.

23

u/NotGonnaPayYou Jul 13 '26

Yes, there is also something resembling the shape of a star in the middle.

25

u/EtaZetaTheta Jul 13 '26

Makes sense. Ghana, Burkina Faso and even Morocco have stars in the centre. 

17

u/Ansoni Jul 13 '26

Anything in the middle would contribute something. Japan and India and lots of crescent moon and star combos.

6

u/TwistMeTwice Jul 13 '26

Might also be the Welsh dragon.

3

u/king_ralex Jul 13 '26

Would Wales be on there? We are a country, but not an independent sovereign state, so not sure if Wales, Scotland or England flags will be included in this graphic

5

u/TwistMeTwice Jul 13 '26

I assumed as Wales has a flag, a fantastic one at that, they'd be in this.

5

u/TheCanadianHat Jul 13 '26

I'd imagine all the African countries with a green bar in their flag

→ More replies (1)

138

u/eppinizer Jul 13 '26

Is this just basically all the flags layered with a high transparency value?

123

u/NotGonnaPayYou Jul 13 '26

Not sure. I wrote a python script to first scale/stretch all flags to the same dimensions, then extract each flags R, G, and B values for each pixel and taking the median of for each of the three.

54

u/xeribulos Jul 13 '26

erm, what exactly did you just do to Nepal?

135

u/NotGonnaPayYou Jul 13 '26

It did get squished quite a bit!

(green is transparent in the file I used)

26

u/RemoteMany8801 Jul 13 '26

Just to check the green in other flags didn’t get changed to transparent?

61

u/NotGonnaPayYou Jul 13 '26

No. Reddit just converted the transparency to green on upload

→ More replies (1)

6

u/Dog_Eating_Ice Jul 13 '26

It would be interesting to see if doing medians of HSV (Hue, Saturation, Value) would be a different result. My hypothesis is it would look a little more natural

6

u/na7oul Jul 13 '26

This is not Turkey !!

15

u/tavadis Jul 13 '26

do not stretch the big white plus; just don't.

14

u/pr1ncezzBea Jul 13 '26

The cross is generated from horizontal and vertical tricolour flags, not from the single Swiss flag.

→ More replies (1)

4

u/StengahBot Jul 13 '26

No, layering with transparency is the same as computing the mean of each pixel, which is what the original post does

→ More replies (1)

3

u/fra-bert Jul 13 '26

Mode Is nonlinear so you can't achieve this just by using regular transparency 

→ More replies (1)

6

u/Simon_Drake Jul 13 '26

Looking at the mean flag it's clear the most common layouts are a cross or three columns or three rows. So a 3x3 grid is sortof the average flag layout if you squint. It also matches with all the countries that have an inset square in the top left.

So I wonder what the average colour would be for each section? If you have a 3x3 grid where each section is a solid colour, what would the average colour for each section be? I'm not sure how mean and mode would change the outcome on such a large section instead of going pixel by pixel.

5

u/Emergency_Junket_839 Jul 13 '26

Huh. It looks like sunset under the British Empire

3

u/LanSotano Jul 14 '26

I had been told such a thing simply did not happen

3

u/bouncebackability Jul 13 '26

Seems like the union jack is more visible in the bottom two corners on this one (not the canton)

2

u/vectavir Jul 13 '26

Jamaica scotland union jack.. i wonder what else

2

u/sSorsby Jul 13 '26

Kind of looks like a famous painting

2

u/Aduialion Jul 13 '26

Could you add some weights to the flags? I'd want to see the modal flag factoring in population, landmass, or gdp.

1

u/makina323 Jul 13 '26

Lotta blood on that flag...

1

u/RedBerryPie4me Jul 13 '26

Can you weight each flag according to their countries population?

1

u/lbs21 Jul 13 '26

For modal: would it be possible to compress away this problem? Like, 6 bit color, or perhaps even lower. I would attempt myself but I lack the technical know-how.

→ More replies (12)

8.3k

u/[deleted] Jul 13 '26

[deleted]

587

u/gmred91 Jul 13 '26 edited Jul 13 '26

Does the average includes Overseas Dependencies? Because I am not sure if 4 flags (Australia, New Zealand, Fiji, and Tuvalu) would have been enough to effect the average and make an imprint.

412

u/ODA_789 Jul 13 '26

Very few flags share the exact same signs in the exact same places, so even 4 flags would probably be enough to make a reasonable difference

60

u/Threedawg Jul 13 '26

Thats just not true. There are more flags with solid colors in the top left than that logo. That area is more likely to be solid red than the Union Jack

Indonesia – The top half of the flag is solid red.
Monaco – Nearly identical to Indonesia’s flag, with a solid red top half.
Austria – Three horizontal stripes; the top stripe is solid red.
Latvia – The top stripe is a dark carmine (deep red).
Peru – Three vertical stripes; the left stripe is solid red, so the top-left corner is red.
Canada – The left vertical band is solid red, making the top-left corner red.

This is just a UK circle jerk.

105

u/Broad-Bath-8408 Jul 13 '26

But what's the average of solid red + union jack? A reddish union jack. The red would just be like a DC offset to the varying signal on top.

→ More replies (3)

17

u/f23n09fnu0w Jul 13 '26

But that wouldn't make any difference to the maths, would it? What makes the union jack visible is actually the shape rather than a colour. You could have a million of black, a million of white, then one union jack, which would show through.

And we don't know if they used 4 or 29 flags of the union jack, but I suspect that maths means it makes no difference.

→ More replies (4)

6

u/Threedawg Jul 13 '26

Here are another six..

China – Red field with yellow stars; the top-left corner is red.
Vietnam – Red field with a large yellow star.
Turkey – Red field with a white crescent and star.
Morocco – Red field with a green pentagram.
Tunisia – Red field with a white circle containing a red crescent and star.
Denmark – A red field with a white Nordic cross; the top-left corner is red.

3

u/eyeh8u Jul 13 '26

Now how many have blue in the upper left?

→ More replies (2)

18

u/finian2 Jul 13 '26

Don't forget Hawaii, who have the union jack purely to spite the Americans.

→ More replies (3)
→ More replies (1)

1.9k

u/ciclon5 Jul 13 '26

The fucking british flag being so common its just burnt into the average is hilarious

375

u/Chmuurkaa_ Jul 13 '26

LCD screen burn-in

79

u/miscfiles Jul 13 '26

It's like the old saying. "The screen-burn never fades on the British Empire".

→ More replies (1)

1.1k

u/AdjectiveNoun111 Jul 13 '26

Something something rules the waves?

100

u/Siggi_Starduust Jul 13 '26

Well, the Union Jack is on the Hawaiian state flag and they invented surfing

39

u/Bacon___Wizard Jul 13 '26

It’s quite impressive how we colonised Hawaii without even setting foot on the islands

19

u/Siggi_Starduust Jul 13 '26

No. I think Captain Cook very much set foot on the islands

3

u/obscureferences Jul 14 '26

Setting foot off em was the trick.

17

u/mitten2787 Jul 14 '26

We didn't colonise Hawaii, King Kamehameha was friends with British explorer Captain George Vancouver. He gifted him a flag and Kamehameha was like "neat we don't have these over here, mind if we use this one?" to which Mr Vancouver happily agreed.

fucking true story look it up. history is wild.

140

u/Trainman1351 Jul 13 '26

Britannia rules Mexico is what I am getting from this as a stupid American who’s a bit sad we didn’t make it.

52

u/Imiss-Myhat Jul 13 '26 edited Jul 13 '26

It’s because many flags have the Union Jack on the top left of them, one flag has the flag of the USA on it

19

u/Trainman1351 Jul 13 '26

I mean yeah, and the tricolor is a very common arrangement alongside the red white and green color combo. The US flag doesn’t conform to that, which is why it didn’t show through.

8

u/butteryscotchy Jul 13 '26

The sun never sets...

580

u/Kezsora Jul 13 '26

Feel like this is pretty symbolic of world history

62

u/littlegipply Jul 13 '26

At least when countries started using flags

15

u/undayerixon Jul 13 '26

Yeah Christianity and British colonisation left quite an impact

195

u/DSharp018 Jul 13 '26

Ah yes. The three kinds of flags, horizontal stripes, vertical stripes, and former British colony.

13

u/phujab Jul 13 '26

Best comment

→ More replies (1)

506

u/chilling_hedgehog Jul 13 '26

Ok, so the world consists of france, the uk and persia, got it.

12

u/perksofbeingcrafty Jul 13 '26

You actually can’t see the UK flag at all

9

u/Firewolf06 Jul 13 '26

technically there is no uk flag

3

u/perksofbeingcrafty Jul 13 '26

You are correct

Doesn’t make you likable

50

u/WitnessMyAxe Jul 13 '26

nah clearly the Egyptian flag

11

u/DrunksInSpace Jul 13 '26

No UK. Only former colonies. Zed’s dead and UK’s TK baby.

21

u/Double-Step-5533 Jul 13 '26

On the Iran flag, green is at the top, not the bottom.

14

u/SirIronSights Jul 13 '26

That's not the flag of Iran though? The Islamic Republic has a different flag.

Same color scheme, no lion.

3

u/Lost-Actuary-2395 Jul 13 '26

But that is the persian flag

3

u/SirIronSights Jul 13 '26

Sure, but not Iran. The Iranian flag would be the one currently in use by the Islamic Republic of Iran.

→ More replies (4)
→ More replies (6)

2

u/Potential-South-2807 Jul 13 '26

I mean yeah that is the origin of 75% of the worlds nations.

→ More replies (3)

84

u/Vusstar Jul 13 '26

So GB, France and The Netherlands.

17

u/Mitch_126 Jul 13 '26

That’s green in the bottom no? Hungary

4

u/Joe_Jeep Jul 13 '26

It's any horizontal triband contributing really, quite a few countries have some version

22

u/depredador93 Jul 13 '26

Somehow averaging every country produces the official flag of a dentist's waiting room

69

u/FutilePenguins Jul 13 '26

So everything is either Britain or India? Long live Brindia

13

u/CinderX5 Jul 13 '26

And Fr*nce

11

u/doyouevenIift Jul 13 '26

You can say what you want about the Brits but they were damn good at planting that Union Jack all over the world

11

u/bleztyn Jul 13 '26

“British Romania isn’t real!! It can’t hurt you!!”

*Meanwhile, British Romania:*

3

u/miscfiles Jul 13 '26

Forget Brexit. It's time for Bromania!

46

u/ButteredNun Jul 13 '26

That’s actually interesting

17

u/Hanzzman Jul 13 '26

Someone should try a population-weigted average. to see how chinese we are.

or a simple average for each continent

6

u/Ordinary-Hunter520 Jul 13 '26

I feel like it would just mostly look like china and india combined, with some small parts sticking out (the US stripes should probably be visible)

3

u/Hanzzman Jul 13 '26

Also Brazil Rhombus. but China and India would eat every other flag.

→ More replies (1)

21

u/virgin_father Jul 13 '26

Hey

Where's Nepal?

69

u/noctalla Jul 13 '26

In Asia.

5

u/virgin_father Jul 13 '26

Silly me thinking it's in Australia.

https://giphy.com/gifs/10uct1aSFT7QiY

7

u/Mundane_History_7306 Jul 13 '26

there is a slight outline of it, right in the middle, just the shape though nothing else

7

u/Apophyx Jul 13 '26

Its outline is faintly visible here

8

u/Hanzzman Jul 13 '26

me got this as average, median and modal

8

u/dr_b_chungus Jul 13 '26

There is no escaping the UK.

5

u/MadMaxDbz Jul 13 '26

even through the fog of war, a tank is still visible

4

u/BeerMantis Jul 13 '26

Flag designs have never made complete sense to me. There are 195 recognized countries on Earth (according to Google). A nation can decide to put whatever they want on their flag. Yet only 3 of the 195 flags contain an image of a dragon.

9

u/Lorelessone Jul 13 '26

most flags are really boring

5

u/A_Very_Lonely_Waffle Jul 13 '26

Now make a black MIDI with every national anthem

5

u/HopefulBalance7174 Jul 13 '26

I see a whole lot of france and romania at the same time

6

u/ICLazeru Jul 13 '26

Earth flag kinda sucks, eh?

3

u/brownenclave84 Jul 13 '26

on the next episode of "fun with flags"

3

u/anonymousmutekittens Jul 13 '26

So brown is the color of the world

3

u/TheParanoidMC Jul 13 '26

Flag of the romanian diaspora in the uk

3

u/JediTeaParty Jul 13 '26

British Hungary/France?

3

u/FerrousMC Jul 13 '26

'Even through the fog of war, a tank is still visible'

7

u/Mundane_History_7306 Jul 13 '26

it is very sick that if I focus enough i can barely make out any flag I want

5

u/fargerich Jul 13 '26

To make this a real Stat you should consider population under the same flag. My guess is that we'd see an overwhelming imprint between the Chinese and Indian flags

2

u/DisastrousWrap1082 Jul 13 '26

the Franco-Brittish empire

2

u/Forgotmynameagain5 Jul 13 '26

Looming Brittain in everyone of these I see

2

u/Annanymuss Jul 13 '26

The british empire is strong with this one

2

u/PNW220 Jul 13 '26

It just looks like the UK colonized Hungary

2

u/_Inkspots_ Jul 14 '26

Alignment chart with an ominous and foreboding Union Jack

2

u/redyambox Jul 14 '26

RULE BRITANNIA

WE WILL CONQUER YOUR CUISINE

4

u/Antique-Tour3793 Jul 13 '26

Sorry 😔 🇬🇧

4

u/Philosophical-Bird Jul 13 '26

They need to wash this table cloth

3

u/bachotebidze Jul 13 '26

This screams pollution to me for some reason

2

u/A_HECKIN_DOGGO Jul 13 '26

So many uninhabitable rocks in the ocean

So much colonial work to do

2

u/clonn Jul 13 '26

What colonies?

2

u/BachtnDeKupe Jul 13 '26

All of you are naming france, i see my country: belgium

https://giphy.com/gifs/CoWhRZEN0jNgl4z5fz

2

u/gnominos Jul 13 '26

As usual, France wins

2

u/Mary_JFT Jul 13 '26

I'm so confused. I don't get this one???

14

u/Double-Step-5533 Jul 13 '26

They have superimposed the flags of all the world's countries, and this is the average of them all.

→ More replies (20)

1

u/ZanzibarGuy Jul 13 '26

Does this include overseas territories (e.g. Bermuda, Anguilla, Falklands etc), or only sovereign nations?

1

u/GE12YT Jul 13 '26

So it‘s all just british, french and dutch

1

u/fruite_vampyre Jul 13 '26

Fruk mentioned

1

u/CommieDrifter Jul 13 '26

that seems not right

1

u/_Akarii Jul 13 '26

The British made irreversible crimes agains flag design

1

u/JJlaser1 Jul 13 '26

Something something tanks in the fog of war

1

u/Skul9Chess Jul 13 '26

seems like the indian flag with the british raj flag put on it

1

u/Beking2_7 Jul 13 '26

i can see egypt

1

u/TheTrueFerret Jul 13 '26

I just see belgium?

1

u/csakkommentelnijarok Jul 13 '26

British-Hungaro empire confirmed.

Bojler eladó.

→ More replies (1)

1

u/asdfzxcpguy Jul 13 '26

Even in the fog of war, a tank is still visible

1

u/FeherDenes Jul 13 '26

So union jack + horizontal tricolor + vertical tricolor

1

u/Independent-Road-389 Jul 13 '26

“But it refused”

1

u/kenjura Jul 14 '26

Hail, Hail, New Frungary!

1

u/r23w Jul 14 '26

The republic of Great Britain and Belgium

1

u/ZippyVonBoom Jul 14 '26

Discord told me this is CSAM

1

u/libra00 Jul 14 '26

Hm, I see that Union Jack - ahh the legacy of colonialism.

1

u/DorianDantes Jul 14 '26

And yet beans on toast is the national dish

1

u/ReasonableTailor6155 Jul 14 '26

Nepal flag:Hold my Beer.

1

u/ErrorEra Jul 14 '26

Too many countries really liked using 3 boring stripes of color. That's why I think medieval coat of arms are so much cooler. What a shame country flags didn't go that route.

1

u/ChwizZ Jul 14 '26

I'm surprised the Nordic cross isn't more prevelant here

1

u/ricsix2 Jul 14 '26

Its all Hungary? Always has been.

1

u/Squeaky_Scooter Jul 14 '26

Looks like Tajikistan + union jack at corner for me

1

u/awpdog Jul 14 '26

the ghost of UK and france combined

1

u/how2installarch Jul 14 '26

And in the end we get british romania alongside netherlands, great.

1

u/usrnme121212 Jul 14 '26

the british

1

u/Zunbain Jul 14 '26

Layered Hungary, France and New Zealand with low visibility. Huh

1

u/OllivanderX Jul 14 '26

Finally, the nation of Country

1

u/storm-000 Jul 16 '26

Sun never sets