MedianFilter[Map[MeanFilter[#,20]&,ImagePartition[,12],{2}]//ImageAssemble,3]