Adaptive probability filter for removing salt and pepper noises. Issue 6 (1st June 2018)