title: Change color weight of raw image file
body: <p>I am working on a telescope project and we are testing the CCD.  Whenever we take pictures things are slightly pink-tinted and we need true color to correctly image galactic objects.  I am planning on writing a small program in python or java to change the color weights but how can I access the weight of the color in a raw data file (it is rgb.bin)?</p>
  
  <p>We are using a bayer matrix algorithm to convert monochromatic files to color files and I would imagine the problem is coming from there but I would like to fix it with a small color correcting program.</p>
  
  <p>Thanks!</p>