## T

Figure 13.9 Although it has the same endpoints shown in the linearly-scaled image in Figure 13.8, gamma scaling (with gamma = 2) brightens the middle tones that contain the image of the nebula. Gamma scaling is effective for relatively gentle enhancement of deep-sky objects.

/'black <P < Avh„e ^f(p) = (P ~P^V^' ^ ^ 13'6>

P max

7? ^Pwhite->/(/>) =JPmax where /?hlatk is the black endpoint, /;whl[e is the white endpoint, and pmax is the top of the range of pixel values. To evaluate a linear look-up table between endpoints, the computer carries out the following procedure:

PROCEDURE LINEAR (pvblack, pvwhite, LUT()) slope = (pvwhite - pvblack) / pvraax FOR pv = 0 TO pvmax SELECT CASE pv

CASE pv <= pvblack

LUT(i) = ((pv - pvblack) / slope) CASE pv >= pvwhite LUT(i) = pvmax

END SELECT NEXT pv

Was this article helpful?

Through this ebook, you are going to learn what you will need to know all about the telescopes that can provide a fun and rewarding hobby for you and your family!

Get My Free Ebook

## Post a comment