title: Averaging pixel data from array
body: <p>I'm trying to tackle a problem where an image is read. I need to exclude the Blue channel in the pixel so the it will result in an RG image.</p>
  
  <p>This is what I have so far and not working D;</p>
  
  <p>Would I need to create a new BufferedImage and apply each averaged pixel (Without the blue channel) to it? I'm not sure how to do it though.</p>