GrayRange

Type:Vector<float>
Range:[v_1, …, v_2]
Default:-/-
Appearance:simple
Excludes:ColorRange

Gray color range [g_\mathrm{min}\, g_\mathrm{max}. A gray value g is normalized so that 0.0\leq g \leq 1.0 (black is 0, white is 1).

A pixel with gray value g is selected if g_\mathrm{min} \leq g \leq g_\mathrm{max}. In case of color bitmap value the gray value is computed from the rgb color data as follows:

\begin{eqnarray*}
g =  0.2989 \cdot r +0.5870 \cdot g+0.1140 \cdot b
\end{eqnarray*}