added log vs. linear mode using ImageJ lib