Re: Making algorithms at least 3D, preferably nD
Hi Juan, +1 for having 3-D support whenever it's easy to implement. I'm processing mostly 3-D images (from X-ray tomography), so I have a strong interest in algorithms compatible with 3-D images. Adding a paragraph to the contribute section sounds like a good idea. Cheers, Emmanuelle On Fri, Nov 30, 2012 at 03:45:49PM +1100, Juan Nunez-Iglesias wrote:
Hey Guys, I mentioned this briefly at SciPy, but I would like to reiterate: a lot of data is 3D images these days, and more and more data is being generated that is multi-channel, 3D+t. Therefore, it would be awesome if scikit-image started making more of an effort to support these. In the best case, the dimension of the underlying array can be abstracted away � see [1]here for example, the functions juicy_center (which extracts the centre of an array, along all dimensions), surfaces (grabs the "border" arrays along each dimension), hollowed (zeroes-out the centre), and more. Otherwise, writing a 3D function that gracefully degrades to 2D when one of the dimensions is 1 is also possible. In general, the amount of additional effort to make code 3-, 4- or n- dimensional is relatively low when you write the algorithm initially, relative to refactoring a whole bunch of functions later. I'll try to fiddle with whichever code I need, but in the meantime, what do you think about adding a paragraph or a sentence about this issue in the scikit-image [2]contribute section, so that people at least have this in mind when they are thinking of writing something new? Thanks, Juan.
Hi all, I have implemented the (2D) Gaussian peak detection method described in Segré et al. Nature Methods *5*, 8 (2008) <http://dx.doi.org/10.1038/nmeth.1233>. In short it is a patch based detection where a likelihood ratio (Gaussian peak vs background noise) is computed on a moving window over an image. The originality (and interest for my kind of fluorescence microscopy problems) is that this is followed by a /deflation/ step, where detected peaks are subtracted from the original image and a new detection is performed on the so called deflated image. Also it is noise resistant and there are not so many knobs to adjust (only window size, sensibility and peak radius). Is there an interest to include this in skimage? The code is available on github there <https://github.com/glyg/peak_detection>. I imagine there's room for improvements, and more compatibility with skimage standards. Cheers, Guillaume
participants (2)
-
Emmanuelle Gouillart
-
Guillaume Gay