'''
Created on Oct 25, 2011

@author: rcd, alexandrudutu
'''
import ImageProcessing


def remove_green(pixel):
    '''
    returns a pixel whose green channel is set to 0 (i.e., removed), 
    but the red and blue values are unchanged
    '''
    # TODO: students fill this in
    pass

def remove_blue(pixel):
    '''
    returns a pixel whose blue channel is set to 0 (i.e., removed), 
    but the red and green values are unchanged
    '''
    # TODO: students fill this in
    pass

def scale_red(pixel, factor):
    '''
    returns a pixel whose red channel is scaled by the given factor, 
    but the green and blue values are unchanged
    '''
    # TODO: students fill this in
    pass

def scale (pixel, factors):
    '''
    returns a pixel whose channels are scaled by the given factors
    note, use a factor of 1 to leave a channel unchanged
    '''
    # TODO: students fill this in
    pass

def denoise(pixel):
    '''
    return a pixel whose channels are scaled properly to reveal a hidden image
    '''
    # TODO: students fill this in
    pass


# file names to change
input_file = "iron-puzzle.png"
# load image and get data to manipulate
image = ImageProcessing.open_image(input_file)

# TODO: modify image to reveal values hidden in the noise

# show results
image.show()
