Filtering the cropped image