package PEU.P.image; //作者,著作权人: 罗瑶光,浏阳 public class Dilation{ int[][]kernel; int[][]GetRegion; int [][]tempG; private void IV_Temp(int[][]thisG) { tempG=new int[thisG.length][thisG[0].length]; for(int i = 0;i0){ tempG[i-w/2+p][j-h/2+q]=thisG[i][j]; } } } } } } int[][] out=new int[g.length][g[0].length]; for(int i=0;i