public class VisualModel { public double[][] llh; boolean [][]llm; boolean flag; double xmean; double xwholemean; int height; int width; public void computexWholeMean() { int row=llh.length; int col=llh[1].length; int cnt=0; xwholemean=0.0; System.out.println("inside compute whole mean"); for(int i=0;iheight||d>width) continue; if(llm[i][j]==false) flag=true; xmean+=llh[c][d]; } if(flag==true) return xmean/8.0; else return xwholemean; } public double[][] getVM() { System.out.println("\ninside getVM"); int row=llh.length; int col=llh[1].length; double [][] xdash= new double[row][col]; System.out.println("inside getvm" + row+"\t"+col); for(int i=0;i