Implementing preprocessing. Currently, it only applies a median blur.