You may follow this ticket: https://github.com/scikit-image/scikit-image/pull/673 
Even if nothing is decided, I think using rank filter would ease the maintenance. 
@emmanuelle What's your opinion?