title: Java- How to remove background color from an image
body: <p>First off I am new to this and also coding.  I apologize in advance for anything that is misleading.</p>
  
  <p>I am currently writing a Java program that uses an image as input.  What I have currently is scanning each pixel by the width and height of the image saving the HSB in an array and then outputting the percentage of each color in the image.  I now want to omit the background from that calculation.  To start off lets just say the background is white.  There are also pixels in the image that are not in the background that is white though.</p>
  
  <p>thank you,</p>