}
}
if (mark[x][y] == 1) { }
pixel[x][y] = 0; bi.setRGB(x, y, 0);
} } } }
ImageIO.write(bi, \
void show() { JFrame frame=new JFrame(\细化\ JPanel panel=new JPanel(); ImageIcon img1 = new ImageIcon(\ JLabel label1=new JLabel(\细化前\ panel.add(label1); ImageIcon img2 = new ImageIcon( \ JLabel label2=new JLabel(\细化后\ panel.add(label2); frame.setSize(700, 700); frame.add(panel); frame.setVisible(true); } /**
* @param args
* @throws IOException */
public static void main(String[] args) throws IOException { // TODO Auto-generated method stub Image temp= new Image(); temp.ZhangThinning(); temp.show(); }
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库Zhang快速并行细化算法Java实现(2)在线全文阅读。
相关推荐: