I have an image with seven stripes on it (or three stripes on a dark background), and the goal is to estimate the probability of whether they are distinguishable from one another.
If the values of luminance $C_1, C_2, \ldots, C_7$ of those stripes are given, then the event $E$ formulates that the difference in luminance between neighboring areas is at least 1: $$ E:\ (C_2 - C_1\geq 1) \ \& \ (C_2 - C_3\geq 1) \ \& \ \ldots \ \& \ (C_6 - C_7\geq 1) $$ Suppose now that the luminance of $i$-th stripe is a random value with probability density function $p_i(x)$ and expected value $C_i$. How in this case should I compute $P(E)$—the probability of the event $E$?
