Description: Principle: to be treated as the center pixel, take a nXn template select the template and the pending k-nearest pixel values of pixels, this k pixels mean replacing the original pixel value. Assuming n = 3, k = 5, call the method: b = KNNMeanFilter (a, 3, 5)
To Search:
File list (Check if you may need any files):
KNNMeanFilter.m