Converting Red, Green and Blue to RGB
问题 first I get Red, Green and Blue value from the following code, BufferedImage image; File input = new File("digital_image_processing.jpg"); image = ImageIO.read(input); width = image.getWidth(); height = image.getHeight(); for(int i=0; i<height; i++){ for(int j=0; j<width; j++){ Color c = new Color(image.getRGB(j, i)); int red = (int)c.getRed(); int green = (int)c.getGreen() ; int blue = (int)c.getBlue() ; Here After Getting the Red, Green and Blue value from getRGB(), I want to Do some