An efficient algorithm to calculate sample and rank selection probabilities for weighted median filters. - Aldo W. Morales; Eugene Boman; Sung-Jea Ko (IEEE Signal Process. Lett., 2002)