Constant Time Median and Bilateral Filtering
Bilateral filtering for gray and color images