Login  Register

Re: Candidate for MaximumFinder.java update

Posted by Gabriel Landini on Jun 18, 2014; 1:41pm
URL: http://imagej.273.s1.nabble.com/Candidate-for-MaximumFinder-java-update-tp5008256p5008282.html

On Wednesday 18 Jun 2014 16:14:55 you wrote:
> Thank  you for your reply. First thing I did was try out the domes
> plugin. Unfortunately, it appears to be broken in the latest Fij
> distribution. I reported it with the Fiji bug reporter, but I figured
> you might want to check it. I put it on the list because I am sure that
> lots of people use your morphology plugins (they are the first thing
> that I add to any new installation...)
>
> GrayScaleReconstruct also seems broken. Most of the others work -- I did
> not have a chance to test them all.

Hm... Have you tried removing the *.java files from the folder? I.e. just
leave the class files in /Morphology

By the way, I realised that it is no needed to process the result with
particles8 to do what I suggested earlier. This macro would do:

//-------------------------8<--------------------------
//DomesH40.txt
//This processes domes and keeps those strictly with h=40
// G. Landini at bham. ac. uk
// 28 June 2014
//
//run("Blobs (25K)");
//run("Invert"); // to make bright blobs.
h=40
setBatchMode(true);
run("Duplicate...", "title=domes");
run("Domes ", "height="+h);
setOption("BlackBackground", true);
run("Duplicate...", "title=mask");
setThreshold(1, 255);
run("Convert to Mask");

selectWindow("domes");
setThreshold(h, h);
run("Convert to Mask");

run("BinaryReconstruct ", "mask=mask seed=domes white");
rename("domes="+h);
//selectWindow("mask");
//close();
setBatchMode(false);
//-------------------------8<--------------------------

Cheers

Gabriel

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html