public void doOpercity(){
		BufferedImage bi = ip.getBufferedImage();
		int w = bi.getWidth();
		int h = bi.getHeight();
		img = new BufferedImage(w, h ,
			    BufferedImage.TYPE_INT_ARGB);
		for(int x = 0 ; x < w ; x ++) {
			for (int y = 0 ; y < h ; y ++) {
				int rgb[] = new int[3];
				ipin.getPixel(x, y, rgb);
//				if( range(x,y ,rgb,10)) {
				if( rgb[0] > 250 &&  rgb[1] > 250 && rgb[2] > 250) {
					img.setRGB(x, y, bi.getRGB(x, y) );
				} else {
					img.setRGB(x, y, (1 << 24) );
				}
				
			}
		}
		
		
	}