scikits-image/scikits-image — pull request #282 by JDWarner (2012-08-27 18:56:47+00:00)
Title: Multispectral random walker

This pull request implements multispectral capability to the random_walker() algorithm, and an optional depth=float kwarg which permits scaling for non-isotropic voxel depths in 3-D volumes. The implementation is fully backwards-compatible with prior usage and tests. I have also added a test to test_random_walker.py covering the trivial multispectral case (identical spectra passed).

I also fixed a minor bug which would cause a crash if pyamg was not installed but mode='cg_mg' was requested; the fallback _solve_cg() call did not have the new "return_full_prob" kwarg added.