ImageJ in Windows 7

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

ImageJ in Windows 7

Jason Bailey-2
I didn't realize how often I do this until I installed Windows 7.

If I edit an image in ImageJ (version 1.43H21, Java 1.6.0_10) and save it,
there are problems unless I close ImageJ with the following:

1) if I try to rename an image (image is closed, with ImageJ still running),
I get an error message that "The action can't be completed because the file
is open in Java(TM) Platform SE binary".

2) if I try to insert the saved image into an Office 2007 document (so far
I've tested Word, Excel, and PowerPoint), I get the same error message.

Is this a Java problem, an ImageJ problem, a Windows 7 problem, or a user
problem? These problems did not happen under XP or Vista using Office 2007.

Thanks

Jason
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ in Windows 7

Wayne Rasband
On Oct 14, 2009, at 11:16 PM, Jason Bailey wrote:

 > If I edit an image in ImageJ (version 1.43H21, Java
 > 1.6.0_10) and save it, there are problems unless I close
 > ImageJ with the following:
 >
 > 1) if I try to rename an image (image is closed, with ImageJ
 > still running), I get an error message that "The action
 > can't be completed because the file is open in Java(TM)
 > Platform SE binary".
 >
 > 2) if I try to insert the saved image into an Office 2007
 > document (so far I've tested Word, Excel, and PowerPoint), I
 > get the same error message.
 >
 > Is this a Java problem, an ImageJ problem, a Windows 7
 > problem, or a user problem? These problems did not happen
 > under XP or Vista using Office 2007.

Try the 1.43i9 daily build. It fixes a bug that caused the file stream  
used to write JPEGs to not be closed.

-wayne
Reply | Threaded
Open this post in threaded view
|

How to bring Thresholds window to front?

vischer
Hi,
I want to ask the user to set the threshold and then proceed by macro  
(see below).
However, the thresholds window is hidden behind the image.
SelectWindow("Threshold") didn't help.
Anyone who had this problem?

Norbert Vischer


newImage("demo-1", "8-bit Ramp", 1400, 1200, 1);
run("Threshold...");
waitForUser("Please adjust threshold");
getThreshold(lower, upper);
showMessage("upper ="+ upper);
Reply | Threaded
Open this post in threaded view
|

Re: ImageJ in Windows 7

i_attitude
In reply to this post by Jason Bailey-2
I know this is not the best one but its still one of the available solutions.......

.> open "Task Manager"
.> click "Process" tab
.> select the process named "javaw.exe"
.> click "End Process"
.> choose yes in response to the warning message by window......if and only if the java program(here imageJ) is not running