Gradient filter the Sun