Login  Register

Re: changeValues

Posted by Michael Schmid on Oct 16, 2015; 12:24pm
URL: http://imagej.273.s1.nabble.com/changeValues-tp5014659p5014661.html

Hi Stein,

currently, changeValues is a pure macro function; the code is at
  https://github.com/imagej/imagej1/blob/master/ij/macro/Functions.java#l1016
You can easily have the same functionality with Process>Math>Macro, e.g.
  if (v>=10 && v<=20) v=99;
If you have extremely large images or stacks, this will be slightly slower than changeValues, however.

Michael
________________________________________________________________
On Oct 16, 2015, at 12:04, Stein Rørvik wrote:

> Simple question:
>
> We have the macro command changeValues(v1, v2, v3) in ImageJ.
> Is there an equivalent to this in the menus / user interface?
> I can't find any.
>
> Stein

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