title: invert colors in image
body: <p>Can i invert each color and generate a inverted RGB image by matlab code? and how?
  i want to invert each color then calculate the sum which is the new value for the pixel
  somehow like this ((255-R)+(255-B)+(255-G))
  thnx</p>