Stéfan,

I found scikits-image is using quite a different approach than my version but I think I have it mostly working now!

https://github.com/scikits-image/scikits-image/pull/286

Regards,
Tim