Recursive two-dimensional median filtering algorithms for fast image root extraction