Login  Register

Experimental stack.drawSphere() observations

Posted by John Dunsmuir on Jun 07, 2013; 8:40pm
URL: http://imagej.273.s1.nabble.com/Experimental-stack-drawSphere-observations-tp5003287.html

I realize this is experimental code so please don't think I'm complaining.  I call a drawSphere routine a lot in my own codes that I'm porting to plugins. I called this routine instead to see how it works and have a few observations.  The first is that the fill value for the sphere cannot be specified, I suspect this is just for the experimental stage.  The second is that a few spheres I tested were not quite spheres, radius = 1.8 draws an example peculiar shape. I also suspect the spheres are slightly too large (maybe filled at distances <= R rather than just <R).  This is based on restoring thresholded exact Euclidean maps (Danielsson's algorithm) and I obtain a larger volume than my original.  Maybe adding an option for <R and <=R wolde be useful. I hope this is helpful.

Kind Regards

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