next up previous index
Next: EXP: Exponentiate an Image Up: Image Arithmetic Previous: LOG: Base-10 Logarithm of   Index

LN: Natural Logarithm of an Image


\begin{command}
\item[\textbf{Form :} LN source {[INV]}\hfill]{}
\end{command}

LN replaces the pixel values in the image 'source' by their base-e logarithm values. Any pixels whose original values were less than or equal to 0 are replaced by -30 in the resulting image. If the INV keyword is specified, the inverse log is taken

Example:
\begin{example}
\item[LN 3\hfill]{take the natural log of each pixel in buffer 3.}
\end{example}



Jon Holtzman 2002-02-13