Login  Register

Re: Calculator Plus

Posted by Gabriel Landini on Mar 30, 2017; 1:19am
URL: http://imagej.273.s1.nabble.com/Calculator-Plus-tp5018377p5018419.html

 On Mon, Mar 27, 2017 at 6:50 AM, Thomas Eschner <[hidden email]>
> I am trying to illustrate artefacts introduced by storing files as jpg
> by  showing the difference of two identical 16-bit images, one stored as
> jpg and one as tiff.

First of all, are there 16bit jpegs?? I do not seem to be able to create one
in IJ.

> With Calculator Plus, setting e.g. Subtract with k1 = 1 and k2 = 16, I
> end up with files having their values set to 65535 exclusively.

The subtraction in that plugin is scaled by k1 and offset by k2. I do not
understand what is that you are tring to achieve.
Why not use just the Image Calculator (not the "Plus" one) with the result as
32 bit?

I do not think I am the maintainer of the plugin. I added the support for RGB
images, plane-wise, long ago but that was about it. I think the plugin works
fine as it is. If it doesn't, please post a macro that shows the problem.

Cheers

Gabriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html