NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 667 - results display - analyze-measure
results display - analyze-measure
Status: NEW
Product: Fiji
Classification: Unclassified
Component: Other
unspecified
PC Windows
: P5 enhancement
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2013-09-26 09:41 CDT by Marion Gröger
Modified: 2013-09-26 10:47 CDT
1 user (show)

See Also:


Attachments
this is my macro (366 bytes, application/octet-stream)
2013-09-26 09:41 CDT, Marion Gröger

Description Marion Gröger 2013-09-26 09:41:46 CDT
Created attachment 119
this is my macro

if i use my macro, values after measuring do not appear as they were measured. result table is displaying fictive values, being sometimes only 1,2,3 as mean of gray value. since i can see the values on the table during measurement, i know that the displayed values have nothing to do with the measured ones.
if i do not use my macro, but step by step, values are identical to those observed
during the measurement.
thanx
marion
Comment 1 Wayne Rasband 2013-09-26 10:47:33 CDT
The run("Close") statement may be closing the Results window. Use close() instead. The close() function closes the active image; run("Close") closes the active window. The macro should also specify what gets measured using a statement something like

   run("Set Measurements...", "area mean display redirect=None decimal=3");

which can be created by recording the Analyze>Set Measurements command. Also, the macro will run much faster if you run it in batch mode by adding setBatchMode(true) to the beginning.