샤프닝..!!
double mVal = 1.0 / 1024.0; double[,] mask = new double[32,32]; for (int i = 0; i < 32; i++) { mask[i,0] = mVal; for(int j=0; j < 32; j++) mask[i,j] = mVal; } int [,] ResultArray = convolve(grayArray, image.Width, image.Height, mask, 32,32,0); displayResultArray(ResultArray, image.Width, image.Height);
2007. 1. 23.