Thu Aug 9 04:02:03 CDT 2012
I looked into the functions you're interested, although I'm not an expert
but as far as I understand it - the watershed_ift() function is implemented
in C, since the _nd_image module is a binary package. If you download the
SciPy source code (http://sourceforge.net/projects/scipy/files/scipy/) you
can find the C source of the function you're interested in the
scipy/ndimage/src/ni_measure.c file. The function is called NI_WatershedIFT.
I hope this helps,
2012/8/8 firstname.lastname@example.org <email@example.com>
> Hi all,
> My question is a digest code question, so that I post on scipy-user,
> please tell me if I should no more do that.
> I would like to see source code for watershed algorithm. Code in
> scipy.ndimage.measurements for watershed is a wrapper for method
> watershed_ift in _nd_image. Module is imported in measurements.py, but I
> cannot find it in parent repository.
> Sorry for naive question: does _nd_image refers to C implementation of
> watershed_ift() method?
> SciPy-User mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User