useful filters implemented by Seung-hwa Song