The Logarithm Function

====================
The Logarithm function takes the logarithm of the pixel value in Buffer A and puts it into Buffer B. The formula used is PixB = 13606*Log(PixA) so that a PixA value of 65535 yields a PixB value of 65535. All smaller values are scaled according to the logarithm. The following table illustrates the effect.

PixA Value       PixB Value

65535 65535 06000 51407 00600 37801 00060 24194 00006 10588 00001 00000

M51
UnprocessedLogarithm Function
Image of M51 Image  of   M51  With  Logarithm
    function

You may want to adjust the Stretch before applying this function, although the images above were 'natural.'