Re: suggestion needed: macros or plugins?
Posted by Gabriel Landini on Jun 06, 2011; 10:35am
URL: http://imagej.273.s1.nabble.com/suggestion-needed-macros-or-plugins-tp3684355p3684357.html
On Monday 06 Jun 2011 10:04:12 Mario Faretta wrote:
> I have written a macro code to perform image analysis (particle counting
> and measurement, foci identification, measurement and assignment to
> single cells,..) on images in batch. It worked fine till 1.43 ImageJ
> release but then troubles started. The feeling is that the strange
> behaviour is associated to the setBatchMode mode of operation in some way.
Why don't you switch batch mode off and run the plugin. It might be slower,
but you will be able to see if there are any errors reported.
One candidate for macros behaving bad is that the wrong image gets processed.
Can you go through the macro checking that the right image is being used?
> plugin...is it correct? I also noticed that macros language can present
> different results when run on different platforms (e.g. Mac Os X versus
> Windows), is it correct in your experience?
Do you have a simple macro example to show this?
I would start:
Are the various platforms using the same version of the ij.jar?
Are the Options settings the same (specially the Black background in the
Binary Options?)
Cheers
Gabriel