You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(17) |
Nov
(4) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Pinelle, D. <dav...@us...> - 2010-02-08 14:57:14
|
Hi Sarel, Thanks for the information and for taking the time to reply. I was hoping to avoid making changes to the ImageJA source. I am using ImageJA as part of another open source project, and wanted to make it easy for people to benefit from future ImageJA releases. I will implement your static variable suggestion. This seems like the easiest way to get the data into a plugin, with minimal hassle on trying to pass it through the OO hierarchy. Best regards, David -----Original Message----- From: Sarel Botha [mailto:sar...@do...] Sent: February 4, 2010 10:53 PM To: Pinelle, David; ima...@li... Subject: RE: [Imageja-devel] Passing macro arguments to ImageJA Hi, David, It doesn't look like this is currently possible, but it shouldn't be hard to implement. You'll have to download the source code to make these modifications. If you pass a parameter to the applet with a param tag you can retrieve the value by calling getParameter("key") on the ij.ImageJApplet class. I would make a static instance variable in the ImageJApplet class, then in the init() method set the instance variable to 'this', also add a public method getInstance() to retrieve the ImageJApplet instance object. This should allow you to retrieve the parameters. Hope this helps. Regards, Sarel -----Original Message----- From: Pinelle, David [mailto:dav...@us...] Sent: Wednesday, February 03, 2010 3:07 PM To: ima...@li... Subject: [Imageja-devel] Passing macro arguments to ImageJA I am using ImageJA as a viewer for a radiological teaching file system. So far, so good, but I have a question about passing arguments (using the HTML PARAM tag) to the applet. I am able to pass the URLs for images to the applet without any problem, and people are able to interactively select images in my system, and then the images are displayed in the ImageJA viewer. My goal now is to be able to pass several variables to the applet and then to be able to write an ImageJ macro or plug-in that can manipulate the variables. I noticed that the ImageJApplet class has been modified in ImageJA, and it accepts macro expressions or macros posted in URLs. It seems like this should solve my problem, but I have not been able to get this feature to work properly. I have passed in my variables as macro expressions, and I have also passed in a short macro as an expression. I have tried several variations on this: I have passed in the variables as separate eval parameters, and I have tried interacting with the variables in macros launched through StartupMacros.txt, etc., but without much luck. Nothing seems to happen when I run my code, and when I try to access the variables in other macros, they are not recognized. This code runs in a Java servlet that is deployed in Tomcat. Everything works and has been tested extensively...except the arguments that are being passed in using the eval1 parameter. The part that is included in the eval1 PARAM is a simple test macro that is supposed to print the variables to the screen so that I can make sure they reach the applet okay. When I run this code, the ImageJA applet does not acknowledge the eval1 PARAM. My main question is whether this functionality is fully implemented at this point (passing in macros) and whether I am doing this correctly. I also would like to know how the variables passed in through the eval parameter are scoped. If, for example, I pass in a variable like this: applet.append("<PARAM NAME=eval1 VALUE=\"var host=\""+req.getHeader("host")+"\";\" >"); How/where can I access it once it reaches the applet (using macros or plugins)? Thanks and regards, David String reqURL = req.getRequestURL().toString(); int k = reqURL.indexOf("://") + 3; //get past the protocol k = reqURL.indexOf("/",k) + 1; //get to the beginning of the servlet name k = reqURL.indexOf("/",k) + 1; //get to the end of the servlet name, plus the slash StringBuffer applet = new StringBuffer(); applet.append("<HTML><BODY>"); applet.append("<APPLET "); String codebase = reqURL.substring(0,k) + "dicomviewer/imagej"; applet.append("CODEBASE=\""+codebase+"\" "); applet.append("ARCHIVE=\"ij.jar\" "); applet.append("CODE=\"ij.ImageJApplet.class\" "); applet.append("NAME=\"Viewer.java\" "); applet.append("WIDTH=\"100% \" "); applet.append("HEIGHT=\"100%\" "); applet.append("HSPACE=\"0\" "); applet.append("VSPACE=\"0\" "); applet.append("ALIGN=\"top\" "); applet.append(">"); applet.append("<PARAM name=\"java_arguments\" value=\"-Xmx256m\">"); applet.append("<PARAM NAME=url1 VALUE=\""+reqURL+"\">"); //THIS IS WHERE I AM HAVING PROBLEMS applet.append("<PARAM NAME=eval1 VALUE=\""+ "var host=\""+req.getHeader("host")+"\";"+System.getProperty("line.separator" )+ "var authorization=\""+req.getHeader("authorization")+"\";"+System.getPropert y("line.separator")+ "var useragent=\""+req.getHeader("user-agent")+"\";"+System.getProperty("line .separator")+ "var accept=\""+req.getHeader("accept")+"\";"+System.getProperty("line.separa tor")+ "var keepalive=\""+req.getHeader("keep-alive")+"\";"+System.getProperty("line .separator")+ "var referer=\""+req.getHeader("referer")+"\";"+System.getProperty("line.sepa rator")+ "print (\"The arguments are:\");"+System.getProperty("line.separator")+ "print (\"host \" + host);"+System.getProperty("line.separator")+ "print (\"authorization \" + authorization);"+System.getProperty("line.separator")+ "print (\"useragent \" + useragent);"+System.getProperty("line.separator")+ "print (\"accept \" + accept);"+System.getProperty("line.separator")+ "print (\"keepalive \" + keepalive);"+System.getProperty("line.separator")+ "print (\"referer \" + referer);"+System.getProperty("line.separator")+ "print (\"--\"); \" >"); applet.append("</APPLET>"); applet.append("</BODY></HTML>"); ------------------------------------------------------------------------ ------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Imageja-devel mailing list Ima...@li... https://lists.sourceforge.net/lists/listinfo/imageja-devel |
From: Sarel B. <sar...@do...> - 2010-02-05 05:17:06
|
Hi, David, It doesn't look like this is currently possible, but it shouldn't be hard to implement. You'll have to download the source code to make these modifications. If you pass a parameter to the applet with a param tag you can retrieve the value by calling getParameter("key") on the ij.ImageJApplet class. I would make a static instance variable in the ImageJApplet class, then in the init() method set the instance variable to 'this', also add a public method getInstance() to retrieve the ImageJApplet instance object. This should allow you to retrieve the parameters. Hope this helps. Regards, Sarel -----Original Message----- From: Pinelle, David [mailto:dav...@us...] Sent: Wednesday, February 03, 2010 3:07 PM To: ima...@li... Subject: [Imageja-devel] Passing macro arguments to ImageJA I am using ImageJA as a viewer for a radiological teaching file system. So far, so good, but I have a question about passing arguments (using the HTML PARAM tag) to the applet. I am able to pass the URLs for images to the applet without any problem, and people are able to interactively select images in my system, and then the images are displayed in the ImageJA viewer. My goal now is to be able to pass several variables to the applet and then to be able to write an ImageJ macro or plug-in that can manipulate the variables. I noticed that the ImageJApplet class has been modified in ImageJA, and it accepts macro expressions or macros posted in URLs. It seems like this should solve my problem, but I have not been able to get this feature to work properly. I have passed in my variables as macro expressions, and I have also passed in a short macro as an expression. I have tried several variations on this: I have passed in the variables as separate eval parameters, and I have tried interacting with the variables in macros launched through StartupMacros.txt, etc., but without much luck. Nothing seems to happen when I run my code, and when I try to access the variables in other macros, they are not recognized. This code runs in a Java servlet that is deployed in Tomcat. Everything works and has been tested extensively...except the arguments that are being passed in using the eval1 parameter. The part that is included in the eval1 PARAM is a simple test macro that is supposed to print the variables to the screen so that I can make sure they reach the applet okay. When I run this code, the ImageJA applet does not acknowledge the eval1 PARAM. My main question is whether this functionality is fully implemented at this point (passing in macros) and whether I am doing this correctly. I also would like to know how the variables passed in through the eval parameter are scoped. If, for example, I pass in a variable like this: applet.append("<PARAM NAME=eval1 VALUE=\"var host=\""+req.getHeader("host")+"\";\" >"); How/where can I access it once it reaches the applet (using macros or plugins)? Thanks and regards, David String reqURL = req.getRequestURL().toString(); int k = reqURL.indexOf("://") + 3; //get past the protocol k = reqURL.indexOf("/",k) + 1; //get to the beginning of the servlet name k = reqURL.indexOf("/",k) + 1; //get to the end of the servlet name, plus the slash StringBuffer applet = new StringBuffer(); applet.append("<HTML><BODY>"); applet.append("<APPLET "); String codebase = reqURL.substring(0,k) + "dicomviewer/imagej"; applet.append("CODEBASE=\""+codebase+"\" "); applet.append("ARCHIVE=\"ij.jar\" "); applet.append("CODE=\"ij.ImageJApplet.class\" "); applet.append("NAME=\"Viewer.java\" "); applet.append("WIDTH=\"100% \" "); applet.append("HEIGHT=\"100%\" "); applet.append("HSPACE=\"0\" "); applet.append("VSPACE=\"0\" "); applet.append("ALIGN=\"top\" "); applet.append(">"); applet.append("<PARAM name=\"java_arguments\" value=\"-Xmx256m\">"); applet.append("<PARAM NAME=url1 VALUE=\""+reqURL+"\">"); //THIS IS WHERE I AM HAVING PROBLEMS applet.append("<PARAM NAME=eval1 VALUE=\""+ "var host=\""+req.getHeader("host")+"\";"+System.getProperty("line.separator" )+ "var authorization=\""+req.getHeader("authorization")+"\";"+System.getPropert y("line.separator")+ "var useragent=\""+req.getHeader("user-agent")+"\";"+System.getProperty("line .separator")+ "var accept=\""+req.getHeader("accept")+"\";"+System.getProperty("line.separa tor")+ "var keepalive=\""+req.getHeader("keep-alive")+"\";"+System.getProperty("line .separator")+ "var referer=\""+req.getHeader("referer")+"\";"+System.getProperty("line.sepa rator")+ "print (\"The arguments are:\");"+System.getProperty("line.separator")+ "print (\"host \" + host);"+System.getProperty("line.separator")+ "print (\"authorization \" + authorization);"+System.getProperty("line.separator")+ "print (\"useragent \" + useragent);"+System.getProperty("line.separator")+ "print (\"accept \" + accept);"+System.getProperty("line.separator")+ "print (\"keepalive \" + keepalive);"+System.getProperty("line.separator")+ "print (\"referer \" + referer);"+System.getProperty("line.separator")+ "print (\"--\"); \" >"); applet.append("</APPLET>"); applet.append("</BODY></HTML>"); ------------------------------------------------------------------------ ------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Imageja-devel mailing list Ima...@li... https://lists.sourceforge.net/lists/listinfo/imageja-devel |
From: Pinelle, D. <dav...@us...> - 2010-02-03 20:07:18
|
I am using ImageJA as a viewer for a radiological teaching file system. So far, so good, but I have a question about passing arguments (using the HTML PARAM tag) to the applet. I am able to pass the URLs for images to the applet without any problem, and people are able to interactively select images in my system, and then the images are displayed in the ImageJA viewer. My goal now is to be able to pass several variables to the applet and then to be able to write an ImageJ macro or plug-in that can manipulate the variables. I noticed that the ImageJApplet class has been modified in ImageJA, and it accepts macro expressions or macros posted in URLs. It seems like this should solve my problem, but I have not been able to get this feature to work properly. I have passed in my variables as macro expressions, and I have also passed in a short macro as an expression. I have tried several variations on this: I have passed in the variables as separate eval parameters, and I have tried interacting with the variables in macros launched through StartupMacros.txt, etc., but without much luck. Nothing seems to happen when I run my code, and when I try to access the variables in other macros, they are not recognized. This code runs in a Java servlet that is deployed in Tomcat. Everything works and has been tested extensively...except the arguments that are being passed in using the eval1 parameter. The part that is included in the eval1 PARAM is a simple test macro that is supposed to print the variables to the screen so that I can make sure they reach the applet okay. When I run this code, the ImageJA applet does not acknowledge the eval1 PARAM. My main question is whether this functionality is fully implemented at this point (passing in macros) and whether I am doing this correctly. I also would like to know how the variables passed in through the eval parameter are scoped. If, for example, I pass in a variable like this: applet.append("<PARAM NAME=eval1 VALUE=\"var host=\""+req.getHeader("host")+"\";\" >"); How/where can I access it once it reaches the applet (using macros or plugins)? Thanks and regards, David String reqURL = req.getRequestURL().toString(); int k = reqURL.indexOf("://") + 3; //get past the protocol k = reqURL.indexOf("/",k) + 1; //get to the beginning of the servlet name k = reqURL.indexOf("/",k) + 1; //get to the end of the servlet name, plus the slash StringBuffer applet = new StringBuffer(); applet.append("<HTML><BODY>"); applet.append("<APPLET "); String codebase = reqURL.substring(0,k) + "dicomviewer/imagej"; applet.append("CODEBASE=\""+codebase+"\" "); applet.append("ARCHIVE=\"ij.jar\" "); applet.append("CODE=\"ij.ImageJApplet.class\" "); applet.append("NAME=\"Viewer.java\" "); applet.append("WIDTH=\"100% \" "); applet.append("HEIGHT=\"100%\" "); applet.append("HSPACE=\"0\" "); applet.append("VSPACE=\"0\" "); applet.append("ALIGN=\"top\" "); applet.append(">"); applet.append("<PARAM name=\"java_arguments\" value=\"-Xmx256m\">"); applet.append("<PARAM NAME=url1 VALUE=\""+reqURL+"\">"); //THIS IS WHERE I AM HAVING PROBLEMS applet.append("<PARAM NAME=eval1 VALUE=\""+ "var host=\""+req.getHeader("host")+"\";"+System.getProperty("line.separator")+ "var authorization=\""+req.getHeader("authorization")+"\";"+System.getProperty("line.separator")+ "var useragent=\""+req.getHeader("user-agent")+"\";"+System.getProperty("line.separator")+ "var accept=\""+req.getHeader("accept")+"\";"+System.getProperty("line.separator")+ "var keepalive=\""+req.getHeader("keep-alive")+"\";"+System.getProperty("line.separator")+ "var referer=\""+req.getHeader("referer")+"\";"+System.getProperty("line.separator")+ "print (\"The arguments are:\");"+System.getProperty("line.separator")+ "print (\"host \" + host);"+System.getProperty("line.separator")+ "print (\"authorization \" + authorization);"+System.getProperty("line.separator")+ "print (\"useragent \" + useragent);"+System.getProperty("line.separator")+ "print (\"accept \" + accept);"+System.getProperty("line.separator")+ "print (\"keepalive \" + keepalive);"+System.getProperty("line.separator")+ "print (\"referer \" + referer);"+System.getProperty("line.separator")+ "print (\"--\"); \" >"); applet.append("</APPLET>"); applet.append("</BODY></HTML>"); |
From: Johannes S. <Joh...@gm...> - 2008-07-02 17:16:03
|
Hi, On Wed, 2 Jul 2008, Sarel Botha wrote: > Hi Charo, > > I'm not familiar with Dicom images myself. > > Try the ImageJ mailing list. It's what ImageJA is based on. So far there > are not really any big changes from ImageJ. Well, I commented already on the ImageJ list, and was actually quite surprised to see - no answer to it, and - a repeat of the question here. Ciao, Dscho |
From: Sarel B. <sar...@do...> - 2008-07-02 16:52:40
|
Hi Charo, I'm not familiar with Dicom images myself. Try the ImageJ mailing list. It's what ImageJA is based on. So far there are not really any big changes from ImageJ. Regards, Sarel -----Original Message----- From: ima...@li... [mailto:ima...@li...] On Behalf Of charo Sent: Tuesday, July 01, 2008 4:44 AM To: ima...@li... Subject: [Imageja-devel] Error loading a dicom image using ImageJ as anapplet in a webpage Hi, I have a question about ImageJ applet. I'm trying to run ImageJ as an applet in a webpage like this example: http://imageja.sourceforge.net/applet.html with a dicom image rather than a jpg image, but it doesn't work. I get this error: java.lang.OutOfMemoryError: Java heap space at ij.plugin.DicomDecoder.getString(DICOM.java:271) at ij.plugin.DicomDecoder.getHeaderInfo(DICOM.java:752) at ij.plugin.DicomDecoder.addInfo(DICOM.java:677) at ij.plugin.DicomDecoder.getFileInfo(DICOM.java:623) at ij.plugin.DICOM.run(DICOM.java:89) at ij.IJ.runPlugIn(IJ.java:144) at ij.IJ.runPlugIn(IJ.java:126) at ij.io.Opener.openURL(Opener.java:279) at ij.ImagePlus.<init>(ImagePlus.java:123) at ij.ImageJApplet.init(ImageJApplet.java:93) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) How can i load a dicom image in an ImageJ applet as a web page? I've try to increase JVM memory but it doesn't work. Thanks very much for your help. Regards ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Imageja-devel mailing list Ima...@li... https://lists.sourceforge.net/lists/listinfo/imageja-devel |
From: charo <ch...@sp...> - 2008-07-01 08:42:35
|
Hi, I have a question about ImageJ applet. I'm trying to run ImageJ as an applet in a webpage like this example: http://imageja.sourceforge.net/applet.html with a dicom image rather than a jpg image, but it doesn't work. I get this error: java.lang.OutOfMemoryError: Java heap space at ij.plugin.DicomDecoder.getString(DICOM.java:271) at ij.plugin.DicomDecoder.getHeaderInfo(DICOM.java:752) at ij.plugin.DicomDecoder.addInfo(DICOM.java:677) at ij.plugin.DicomDecoder.getFileInfo(DICOM.java:623) at ij.plugin.DICOM.run(DICOM.java:89) at ij.IJ.runPlugIn(IJ.java:144) at ij.IJ.runPlugIn(IJ.java:126) at ij.io.Opener.openURL(Opener.java:279) at ij.ImagePlus.<init>(ImagePlus.java:123) at ij.ImageJApplet.init(ImageJApplet.java:93) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) How can i load a dicom image in an ImageJ applet as a web page? I've try to increase JVM memory but it doesn't work. Thanks very much for your help. Regards |
From: Johannes S. <Joh...@gm...> - 2007-06-05 16:05:57
|
Hi, On Tue, 5 Jun 2007, James Cooper wrote: > I would like to use ImageJA to display an image in ANALYZE format. > Where do I put the Analyze_Reader plugin? > I think I tried the usual places inside the jar file and externally. I am not quite sure if that is the problem. What does the Java console say? I suspect there is some kind of permission problem loading the file. Ciao, Dscho |
From: James C. <jw...@us...> - 2007-06-05 14:37:21
|
I would like to use ImageJA to display an image in ANALYZE format. Where do I put the Analyze_Reader plugin? I think I tried the usual places inside the jar file and externally. James W. Cooper Text Analytics IBM T J Watson Research Center jw...@wa... 914-784-7285 http://flahdo.watson.ibm.com/ http://www.research.ibm.com/people/j/jwcnmr/ |
From: Sarel B. <sar...@do...> - 2005-11-13 00:31:53
|
Great. Thanks Johannes. Sarel > -----Original Message----- > From: ima...@li... [mailto:imageja-devel- > ad...@li...] On Behalf Of Johannes Schindelin > Sent: Saturday, November 12, 2005 2:29 PM > To: Ima...@li... > Subject: [Imageja-devel] CVS updated to ImageJ 1.35h >=20 > Hi list, >=20 > I just merged the differences between ImageJ 1.35g and 1.35h, and if > nobody objects will try to keep ImageJA updated to the newest ImageJ > version. >=20 > Ciao, > Dscho >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Imageja-devel mailing list > Ima...@li... > https://lists.sourceforge.net/lists/listinfo/imageja-devel |
From: Johannes S. <Joh...@gm...> - 2005-11-12 19:29:20
|
Hi list, I just merged the differences between ImageJ 1.35g and 1.35h, and if nobody objects will try to keep ImageJA updated to the newest ImageJ version. Ciao, Dscho |
From: Sarel B. <sar...@do...> - 2005-11-05 22:58:50
|
Hi Johannes That sounds good to me. Thanks, Sarel > -----Original Message----- > From: ima...@li... [mailto:imageja-devel- > ad...@li...] On Behalf Of Johannes Schindelin > Sent: Saturday, November 05, 2005 7:44 AM > To: ima...@li... > Subject: [Imageja-devel] DOS line endings and 1.35g >=20 > Hi list, >=20 > I would like to remove DOS style line endings (CR/LF instead of LF) in the > repository. Any good editor should work with either line ending. A lot of > the ImageJ source code is in Unix style line ending, so diff'ing with > anything else is a pain. >=20 > Also I would like to merge the differences between ImageJ 1.35d and 1.35g > into ImageJA. >=20 > I did both of these locally already. Are there objections to committing > the two patch sets into the repository on sourceforge? >=20 > Ciao, > Dscho >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download > it for free - -and be entered to win a 42" plasma tv or your very own > Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Imageja-devel mailing list > Ima...@li... > https://lists.sourceforge.net/lists/listinfo/imageja-devel |
From: Johannes S. <Joh...@gm...> - 2005-11-05 12:43:57
|
Hi list, I would like to remove DOS style line endings (CR/LF instead of LF) in the repository. Any good editor should work with either line ending. A lot of the ImageJ source code is in Unix style line ending, so diff'ing with anything else is a pain. Also I would like to merge the differences between ImageJ 1.35d and 1.35g into ImageJA. I did both of these locally already. Are there objections to committing the two patch sets into the repository on sourceforge? Ciao, Dscho |
From: Steve M. <Ste...@do...> - 2005-10-21 14:23:17
|
ImageJA now sports a different about image as well as flag logo. =20 Steve |
From: Steve M. <Ste...@do...> - 2005-10-20 15:32:06
|
I agree. I just changed them into standard POSIX line files instead of = old Mac-Style. Steve > -----Original Message----- > From: ima...@li... > [mailto:ima...@li...]On Behalf=20 > Of Johannes > Schindelin > Sent: Thursday, October 20, 2005 11:25 AM > To: ima...@li... > Subject: [Imageja-devel] Diff friendly code? >=20 >=20 > Hi, >=20 > I realized that some files use Mac-Style newlines. These are: >=20 > ij/gui/ColorChooser.java > ij/io/RoiEncoder.java > ij/macro/MacroConstants.java > ij/macro/Program.java > ij/macro/ReturnException.java > ij/macro/Symbol.java > ij/macro/Tokenizer.java > ij/macro/Variable.java > ij/measure/SplineFitter.java > ij/plugin/BrowserLauncher.java > ij/plugin/Compiler.java > ij/plugin/TextWriter.java > ij/plugin/filter/EDM.java > ij/plugin/filter/LutApplier.java > ij/plugin/filter/Projector.java > ij/plugin/filter/UnsharpMask.java > ij/process/EllipseFitter.java >=20 > Unfortunately, all diff/patch programs I have choke on these=20 > newlines.=20 > No matter what Wayne says (he does not use diffs), I'd like to have=20 > uniform UNIX-style line endings for clean patches. >=20 > Ciao, > Dscho >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads,=20 > discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Imageja-devel mailing list > Ima...@li... > https://lists.sourceforge.net/lists/listinfo/imageja-devel >=20 |
From: Johannes S. <Joh...@gm...> - 2005-10-20 15:25:10
|
Hi, I realized that some files use Mac-Style newlines. These are: ij/gui/ColorChooser.java ij/io/RoiEncoder.java ij/macro/MacroConstants.java ij/macro/Program.java ij/macro/ReturnException.java ij/macro/Symbol.java ij/macro/Tokenizer.java ij/macro/Variable.java ij/measure/SplineFitter.java ij/plugin/BrowserLauncher.java ij/plugin/Compiler.java ij/plugin/TextWriter.java ij/plugin/filter/EDM.java ij/plugin/filter/LutApplier.java ij/plugin/filter/Projector.java ij/plugin/filter/UnsharpMask.java ij/process/EllipseFitter.java Unfortunately, all diff/patch programs I have choke on these newlines. No matter what Wayne says (he does not use diffs), I'd like to have uniform UNIX-style line endings for clean patches. Ciao, Dscho |
From: Steve M. <Ste...@do...> - 2005-10-20 14:58:04
|
Applied ij135e-fix-progress-bar-after-macros.patch with the following = changes: =20 + private static boolean macroMode; =20 Steve |
From: Steve M. <Ste...@do...> - 2005-10-20 14:33:43
|
Accepted: ij135e-record-dropped-files.patch ij135e-Return-closes-MessageDialog.patch ij135e-abort-macro-on-exception.patch=20 ij135e-call-java-functions-from-macros.patch ij135e-fix-selectWindow-recording.patch ij135e-MacroRecorder-should-replace-spaces-in-attributeNames-with-underli= nes.patch ij135e-record-saveas.patch =20 =20 The only patch not applied is ij135e-pass-commands-as-arguments.patch = due to rejects and problems manually getting it to import. This patch = might be included later. =20 All changes are in CVS. The last commit message about = ij135e-pass-commands-as-arguments.patch should read = ij135e-record-saveas.patch instead. =20 Thanks, Steve Milner |
From: Steve M. <Ste...@do...> - 2005-10-20 13:39:40
|
ij135e-escape-cancels-GenericDialog.patch =20 ij135e-local-variables-from-plugins.patch =20 =20 ij135e-nogui.patch with the following change in ImageJ.java (about line = 420) + try { if(args!=3Dnull && args[0].equals("-nogui")) { IJ.noGUI =3D true; String[] newArgs =3D new = String[args.length-1]; = System.arraycopy(args,1,newArgs,0,args.length-1); args =3D newArgs; } + } catch (Exception e) { + System.out.println("No command line = arguments."); + } =20 =20 =20 |
From: Steve M. <Ste...@do...> - 2005-10-20 13:26:00
|
I added the following with the patch so that ImageJA will not spit out = exceptions if no file is selected. =20 =20 OpenDialog od =3D new OpenDialog("Install PlugIn...", = null); String dir =3D od.getDirectory(); String file =3D od.getFileName(); =20 + if(file =3D=3D null) { + // We can't use it if there is no filename + return; + } =20 String className; if(file.endsWith(".java")) =20 Cheers, Steve |
From: Johannes S. <Joh...@gm...> - 2005-10-19 18:36:36
|
Hi, On Wed, 19 Oct 2005, Steve Milner wrote: > I noticed some of the other patches are fixes. Do the patches you listed > make the same fixes? (ie: progressbar, menu, etc..). Those other patches which were fixes... Wayne decided to go another way to fix the problem. The patches I listed are not yet in the official ImageJ. Ciao, Dscho |
From: Steve M. <Ste...@do...> - 2005-10-19 18:18:49
|
I noticed some of the other patches are fixes. Do the patches you listed = make the same fixes? (ie: progressbar, menu, etc..). Thanks, Steve Milner |
From: Steve M. <Ste...@do...> - 2005-10-19 18:01:44
|
Very cool stuff! Thanks! Steve Milner > -----Original Message----- > From: ima...@li... > [mailto:ima...@li...]On Behalf Of Dscho > Sent: Wednesday, October 19, 2005 1:54 PM > To: ima...@li... > Subject: [Imageja-devel] Some patches >=20 >=20 > Hi, >=20 > I wrote some patches a while ago, which I just updated to=20 > ImageJ 1.35e.=20 > You can find them at >=20 > http://wbgn013.biozentrum.uni-wuerzburg.de/ImageJ/ >=20 > In particular, they are: >=20 > -=20 > MacroRecorder-should-replace-spaces-in-attributeNames-with-underlines >=20 > Since the attributes must not contain spaces in order to be usable in=20 > macros, they should be replaced by underscores. >=20 > - Return-closes-MessageDialog >=20 > If a message box pops open, I want to close it with the return key. >=20 > - abort-macro-on-exception >=20 > When there's an exception in some plugin called from a macro,=20 > it should=20 > stop. >=20 > - add-Install-PlugIn >=20 > It is annoying that you cannot install a plugin from within=20 > ImageJ. It is=20 > even further annoying that ImageJ needs to be restarted to=20 > use it. This=20 > patch fixes both issues. >=20 > - call-java-functions-from-macros >=20 > I actually have a need to call a static method from a Java=20 > class. This=20 > patch makes this possible: >=20 > result =3D runJava("SomeClass.aStaticMethod","param1","param2"); >=20 > The corresponding Java code looks like this: >=20 > public class SomeClass { > public String aStaticMethod(String param1,=20 > String param2){ > return "Hello, World!"; > } > } >=20 > - escape-cancels-GenericDialog >=20 > Some plugins pop up dialogs, which have a "Cancel" button. If=20 > I hit the=20 > escape key, I expect it to have the same effect as hitting the cancel=20 > button. >=20 > - fix-progress-bar-after-macros >=20 > The progress should be shown when a macro is executed=20 > *unless* batch mode=20 > is set. >=20 > - fix-selectWindow-recording >=20 > If you focus a window (not by the window menu), the macro=20 > recorder would=20 > loose that event. With this patch, no longer! >=20 > - local-variables-from-plugins >=20 > With this patch, a plugin which is called from a macro may=20 > set a variable=20 > local to that macro by calling >=20 > IJ.setLocalVariable("theVariable", "theValue"); >=20 > If the plugin was called interactively, this is ignored. >=20 > - nogui >=20 > When calling ImageJ with a .txt file, it assumes that this=20 > file contains a=20 > macro which is executed at once. With this patch, a command=20 > line parameter=20 > "-nogui" is introduced, which makes ImageJ hide all GUI and=20 > exit after the=20 > macro has finished. >=20 > - pass-commands-as-arguments >=20 > With this patch, a macro function can be specified on the=20 > command line via=20 > the "-e" switch, which then is executed at once. >=20 > - record-dropped-files >=20 > It is possible to load files by drag-n-drop'ping them on the=20 > ImageJ icon.=20 > However, they do not show up in the "Recent Files" menu.=20 > Until you apply=20 > this patch. >=20 > - record-saveas >=20 > If you have installed a custom saveAs plugin, such as for=20 > PNGs, the saving=20 > of these files is not recorded by the macro recorder (without=20 > this patch). >=20 >=20 >=20 > There are other patches also, but you can safely ignore them. >=20 > Ciao, > Dscho >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads,=20 > discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Imageja-devel mailing list > Ima...@li... > https://lists.sourceforge.net/lists/listinfo/imageja-devel >=20 |
From: Dscho <ds...@us...> - 2005-10-19 17:53:45
|
Hi, I wrote some patches a while ago, which I just updated to ImageJ 1.35e. You can find them at http://wbgn013.biozentrum.uni-wuerzburg.de/ImageJ/ In particular, they are: - MacroRecorder-should-replace-spaces-in-attributeNames-with-underlines Since the attributes must not contain spaces in order to be usable in macros, they should be replaced by underscores. - Return-closes-MessageDialog If a message box pops open, I want to close it with the return key. - abort-macro-on-exception When there's an exception in some plugin called from a macro, it should stop. - add-Install-PlugIn It is annoying that you cannot install a plugin from within ImageJ. It is even further annoying that ImageJ needs to be restarted to use it. This patch fixes both issues. - call-java-functions-from-macros I actually have a need to call a static method from a Java class. This patch makes this possible: result = runJava("SomeClass.aStaticMethod","param1","param2"); The corresponding Java code looks like this: public class SomeClass { public String aStaticMethod(String param1, String param2){ return "Hello, World!"; } } - escape-cancels-GenericDialog Some plugins pop up dialogs, which have a "Cancel" button. If I hit the escape key, I expect it to have the same effect as hitting the cancel button. - fix-progress-bar-after-macros The progress should be shown when a macro is executed *unless* batch mode is set. - fix-selectWindow-recording If you focus a window (not by the window menu), the macro recorder would loose that event. With this patch, no longer! - local-variables-from-plugins With this patch, a plugin which is called from a macro may set a variable local to that macro by calling IJ.setLocalVariable("theVariable", "theValue"); If the plugin was called interactively, this is ignored. - nogui When calling ImageJ with a .txt file, it assumes that this file contains a macro which is executed at once. With this patch, a command line parameter "-nogui" is introduced, which makes ImageJ hide all GUI and exit after the macro has finished. - pass-commands-as-arguments With this patch, a macro function can be specified on the command line via the "-e" switch, which then is executed at once. - record-dropped-files It is possible to load files by drag-n-drop'ping them on the ImageJ icon. However, they do not show up in the "Recent Files" menu. Until you apply this patch. - record-saveas If you have installed a custom saveAs plugin, such as for PNGs, the saving of these files is not recorded by the macro recorder (without this patch). There are other patches also, but you can safely ignore them. Ciao, Dscho |
From: Steve M. <Ste...@do...> - 2005-10-18 13:15:34
|
1.4 Change for source fix will be sent back to ImageJ as a patch. =20 revision 1.4 date: 2005/10/18 13:11:57; author: stevemilner; state: Exp; lines: +5 = -1 Fixed warning about source not being the same as target. Also added in = jar build which builds nicely to dist/ ---------------------------- revision 1.3 date: 2005/10/18 10:54:19; author: stevemilner; state: Exp; lines: = +77 -64 Updated build to use dist folder. ---------------------------- revision 1.2 date: 2005/10/16 00:28:39; author: stevemilner; state: Exp; lines: = +11 -10 Now builds to dist instead of build. Also copies over new about image. ---------------------------- revision 1.1 date: 2005/10/14 18:30:46; author: stevemilner; state: Exp; branches: 1.1.1; Initial revision |
From: Steve M. <Ste...@do...> - 2005-10-17 17:53:53
|
Good Day Lists, =20 I figured I should introduce myself a bit. My name is Steve Milner. I am = a software engineer in Tampa, Florida. I've been involved in a number of = open source projects all ranging in license (from BSD to GPL to Public = Domain). I've done quite a bit of Python, Perl, and PHP programming and = a good deal of Java development in the past. I'm currently working on = updating the source tree for use of in NetBeans (netbeans.org). If your = a developer and can lend a hand let me know! :-) =20 Cheers, Steve =20 |