odlgroup / odl

Operator Discretization Library https://odlgroup.github.io/odl/
Mozilla Public License 2.0
368 stars 105 forks source link

Basic segmentation routines #682

Open adler-j opened 7 years ago

adler-j commented 7 years ago

It would be nice to have some basic kind of segmentation available in the library, to start with simple thresholding would be sufficient.

aringh commented 7 years ago

Working on DART (Issue #681) we have implemented some simple segmentation like thresholding and soft thresholding. It is very crude, and not at all done yet (it won't work for ProductSpace, loops over pixels, etc.). But maybe it could be a start :)

adler-j commented 7 years ago

Can you make a pull request for these? Both the smooth and the hard thresholding would be nice to have.

ozanoktem commented 7 years ago

The scikit-image package has some nice segmentation operators, see e.g. this nice blog entry. Is it straightforward to apply these on ODL function space elements? It seems they operate on numpy-arrays, so maybe it works out of the box to apply them to ODL function space elements.

kohr-h commented 7 years ago

Those will work out of the box on ODL space elements, no need to even wrap anything. But this topic would be an ideal addition to notebook-like tutorials.