Skip to content

Instantly share code, notes, and snippets.

@miura
Created January 23, 2012 13:15
Show Gist options
  • Save miura/1663061 to your computer and use it in GitHub Desktop.
Save miura/1663061 to your computer and use it in GitHub Desktop.
Example of getting local maxima
importClass(Packages.ij3d.image3d.IntImage3D);
imp=IJ.getImage();
ima=new IntImage3D(imp.getStack());
r=3;
ima2=ima.createLocalMaximaImage(r,r,r, true);
plus=new ImagePlus("localmaxima",ima2.getStack());
plus.show();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment