I am trying to create a method that will get all of the red values in an image and display only the red values. I am having trouble with my getRedImage() method. I am new to thi
Looping in 2d array is easy But i don't think this is the right way.
private int[][] red = new int[1000][1000]; for (int i = 0; i < 1000; i++) { for(int j = 0; j < 1000; j++) { System.out.println(red[i][j]); } }