# Can we estimate the total number of unique still images that are perceivable? [closed]

How many unique images are mathematically possible given the perceptive ability of the human eye?

• Fix the image size to 512x512 pixels, and assume full 24-bit color. Each pixel can have 2²⁴ colors - how many images is that? Is the question, "Can one discern between a single white pixel on (100,100) and (100,101) on an entire black image"? Mar 1 '15 at 16:58
• @Dom The question applies to security and image-recognition based certification along with anti-phishing schemes. Also image/video compression strategies. Mar 1 '15 at 20:22
• @Jongware In that case there are 16777216^262144 distinct images. The question is more general than that: If we put every combination of two images side-by-side, what percentage of those images would we recognize as duplicates, even though they are not? Mar 1 '15 at 20:36
• I'm voting to close this question as off-topic because it's not a graphic design question.
– DA01
Mar 2 '15 at 4:04

If you have a combination lock like this

you have 4 spaces (r) and 10 possible options on each of those spaces (n). The formula to get this is called a permutation with repetition, in this case nr

104=10,000

Let's say we have a big 4k monitor 4096x2160 displaying 24bit images.

(16,777,216)8,847,360

Let's say the total number of rods is 110,000,000 but some people say that the human eye cannot distinguish more than 30-40 shades of gray, so this would be:

(50)110,000,000 for black and white images.

and (100,000,000) 6,400,000 for colour images. (100 shades of r, g, b, and 6,400,000 cones.)

I'm not an anathomist, so I don't know if all the cells are taking into account when seeing an image, or details like that. But you can do your own math with the medical references you choose.

Another method would be taking into account the angular resolution of the human vision and what is the neccesary coverage angle to see all the presented image as an environmental surrounding, density, psychology, etc.

I'm sure the images are less than those numbers because when you see a face with 1 pixel variation, it is the same face.

When people see pictures of similar photos of persons of a race different from their own or that they are not used to it is hard to distinguish from one to another.

### Some references

• 50 shades of grey, huh? Mar 3 '15 at 15:53
• I could not find a better reference. Mar 3 '15 at 18:10

Defining "uniquely discernable" is not possible. If I show you an all-black 512x512 image, how much white do I need to add until 10 people say "it's different"? If I use Lena instead, and shift the feathers from purple to bluish-purple, where is the change line? If it's a gamma change will viewers see it as the same image?

If I start with black and raise the luminance over an hour the threshold of "different" will be much higher than if 2 images are side-by-side.

• Claims question is unanswerable -> answers it... Mar 1 '15 at 1:08
• @ZachSaucier I wouldn’t say “answers it”, but “defines why it isn’t easy to answer”. I’m with Peter on this. It’s not really something that I think anyone here will be able to answer accurately. Mar 1 '15 at 9:35
• Its not unanswerable, the answer is just very long. Cognitive science knows quite a lot about the actual subject. Mar 1 '15 at 9:54
• If you do the infinite-monkeys image model, you will eventually get one where Lena's hat is 1 degree straighter. Is that image "different"? Mar 3 '15 at 23:46

The human sensory system is a bit complicated to summarize in a Q&A format. But here goes:

First you have to realize that there's quite a lot of variation in humans. Hell some people can actually see four colors (see this, for a light explanation), while others only one or two. So to answer the question properly you would have to define what is a human you want to mathematically model.

Second human senses are relative to change. This means essentially that sometimes humans can sense a change while sometimes not. The sensory apparatus is also prone to interpretation error. A good example is the blue or white dress, discussion.

Third human eyes and optic are extremely sophisticated information processing units (yes that's right processing starts immediately on the retina). So while you could say that the human can discern a bit over 300 PPI* that's not exactly a true measure of the sensitivity. Because human eye has cell groupings that sense straight lines so the kind of matrix grid we use is sometimes seen even if it over exceeds our resolution target.

Once you can answer these and many more questions your ready to answer your question. Some estimates exist, but in general this is a topic that's worth a PHD or two.

* somebody had a great answer with exact breakdown of ranges, dpi and human vusal resolution on GD.SE can you find it?