''' Module mutate: Purpose provide support for pixel mutation Name 1: Name 2: Email id1: Email id2: ''' def same( p ) : ''' Returns a new pixel whose RGB values are (r, g, b), where r, g, and b are are the RGB values of pixel p ''' r, g, b = p result = ( r, g, b ) return result def blue( p ) : ''' Returns a new pixel whose RGB values are (0, 0, b), where b is the B value of pixel p ''' r, g, b = p result = ... return result def neg( p ) : ''' Returns a new pixel whose RGB values are the inverse of pixel p, that is (255 - r, 255 - g, 255 - b), where r, g, and b are are the RGB values of pixel p ''' r, g, b = p result = ... return result def bw( p ) : ''' Returns a new pixel whose RRB values are either (0, 0, 0) or (255, 255, 255). It returns (0, 0, 0) if the average of RGB values for pixel p is closer to 0 then 255; otherwise, it returns (255, 255, 255) ''' r, g, b = p pass return result def grey( p ) : ''' Returns a new pixel whose RGB values are (m, m, m) where m is is the integer cast of .299r + .587g + .114b, where r, g, and b are the RGB values of pixel p ''' pass def sepia( p ) : ''' Returns a new pixel whose RGB values are (sr, sg, sb ) are based on the sepia formula '''