Skip to content
Permalink
Browse files

2019.06.06 (1.52p46; Gamma in headless mode)

  • Loading branch information...
rasband committed Jun 6, 2019
1 parent be6d72b commit 0ab717bdea2ae1c846ecb4d74e942666b62007d3
Showing with 11 additions and 5 deletions.
  1. +1 −1 ij/ImageJ.java
  2. +4 −1 ij/plugin/filter/ImageMath.java
  3. +6 −3 release-notes.html
@@ -78,7 +78,7 @@ Runs a macro or script (JavaScript, BeanShell or Python) in

/** Plugins should call IJ.getVersion() or IJ.getFullVersion() to get the version string. */
public static final String VERSION = "1.52p";
public static final String BUILD = "43";
public static final String BUILD = "44";
public static Color backgroundColor = new Color(237,237,237);
/** SansSerif, 12-point, plain font. */
public static final Font SansSerif12 = new Font("SansSerif", Font.PLAIN, 12);
@@ -159,7 +159,10 @@ void getBinaryValue (String title, String prompt, String defaultValue) {

void getGammaValue (double defaultValue) {
gd = new GenericDialog("Gamma");
gd.addSlider("Value:", 0.0, 5.0, defaultValue, 0.02);
if (GraphicsEnvironment.isHeadless())
gd.addNumericField("Value:", defaultValue, 2);
else
gd.addSlider("Value:", 0.0, 5.0, defaultValue, 0.02);
gd.addPreviewCheckbox(pfr);
gd.addDialogListener(this);
gd.showDialog();
@@ -5,7 +5,7 @@
</head>
<body>
Maximized image windows no longer revert to the main screen.
<li> <u>1.52p43 5 June 2019</u>
<li> <u>1.52p44 6 June 2019</u>
<ul>
<li> Thanks to Uwe Schmidt, improved the support for multiple screen setups:
<ul>
@@ -33,12 +33,13 @@
<li> Thanks to Somsubhro Chaudhuri, added the getValue("selection.angle")
macro function and the Rotator.getAngle() method.
<li> Added the getValue("selection.size") macro function.
<li> Added the setOption("CopyHeadings",boolean) macro function.
<li> Thanks to Wilhelm Burger, added the Menus.add(menuPath,class)
method.
<li> Thanks to Philippe Carl, added the RoiManager.getErrorMessage() method.
<li> Thanks to Laurent Thomas, updated the Javadoc of the MaximumFinder.getMaxima()
methods to make it clearer that the npoints field of the returned Polygon is the
number of maxima found, not the length of the xpoints field.
methods to make it clearer that the npoints variable of the returned Polygon is the
number of maxima found, not the length of the xpoints variable.
<li> Thanks to Mikael Eriksson, fixed a bug that caused the
particle analyzer's "Summary" table to not be accessible in macros
run from the command line using the -batch option.
@@ -69,6 +70,8 @@
the Overlay.drawLine() macro function to not work
correctly when used in conjuction with Overlay.setColor()
and/or Overlay.setPosition().
<li> Thanks to 'Niederle', worked around a bug that caused the
run("Gamma...", "value=...") macro function to fail in Fiji headless mode.
</ul>

<li> <u>1.52o 23 April 2019</u>

0 comments on commit 0ab717b

Please sign in to comment.
You can’t perform that action at this time.