可以的。int*** SmoothImage(int ***XImage ,int width, int height, int channel){double sigma = 1.85; //(n/2 -1)*0.3 +0.8 { n = 9 ,no. of elements}double conv[3][3];double hg = 0;//Convolution kernelfor(i=0; i0 & j+10 ){val += conv[1][0] * XImage[i][j-1][k];valw += conv[1][0];}val += conv[1][1] * XImage[i][j][k];valw += conv[1][1];if(j+10 & i+1