Image filters implemented in python