Correcting Color Defects Using Channels And Curves