Re: Log Math Function
Posted by
Gabriel Landini on
Apr 17, 2018; 9:18pm
URL: http://imagej.273.s1.nabble.com/Log-Math-Function-tp5020510p5020518.html
On Tuesday, 17 April 2018 21:52:27 BST
[hidden email] wrote:
> Anyway, perhaps, as you imply, the term "log" could be changed in future
> process>math> menus to "ln?" It certainly would have helped avoid my
> confusion.
Well, I am not implying to change it. I guess the command is named Log because
in Java Math.log is the function that returns the natural logarithm (ln). See:
https://docs.oracle.com/javase/7/docs/api/java/lang/Math.html#log(double)
Note that there is a log10 function too, but there is no function ln. So
whichever way one looks at this, it could eventually end up being confusing to
somebody.
Jim's comment I think applies to rescaled results in 8, 16 and 24bit images,
but not to 32bit images.
Cheers
Gabriel
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html