Red shifted region

Red shifted region#

### Based on the description of the problem statement given in the previous reading, which of the following is the correct output? Given an image which is represented as a 2D list as follows: ``` img = [[(240, 240, 200), (200, 200, 100), (240, 240, 150), (200, 200, 125)], [(160, 240, 120), (120, 200, 140), (160, 240, 240), (120, 200, 120)], [(240, 240, 220), (200, 200, 210), (240, 240, 130), (200, 200, 140)], [(160, 240, 110), (120, 200, 120), (160, 240, 120), (120, 200, 130)]] ``` What will be the new pixel values of ```img``` on applying the red filter at the region specified by these values: ``` top_left = (2,1) height = 2 width = 3 ``` 1. [ ] New pixel values are as given below: [[(240, 240, 200), (200, 200, 100), (240, 240, 150), (200, 200, 125)], [(160, 0, 0), (120, 0, 0), (160, 0, 0), (120, 200, 120)], [(240, 0, 0), (200, 0, 0), (240, 0, 0), (200, 200, 140)], [(160, 240, 110), (120, 200, 120), (160, 240, 120), (120, 200, 130)]]. 2. [ ] New pixel values are as given below: [[(240, 240, 200), (200, 200, 100), (240, 240, 150), (200, 200, 125)], [(160, 0, 120), (120, 0, 140), (160, 0, 240), (120, 200, 120)], [(240, 0, 220), (200, 0, 210), (240, 0, 130), (200, 200, 140)], [(160, 240, 110), (120, 200, 120), (160, 240, 120), (120, 200, 130)]] 3. [x] New pixel values are as given below: [[(240, 240, 200), (200, 200, 100), (240, 240, 150), (200, 200, 125)], [(160, 240, 120), (120, 200, 140), (160, 240, 240), (120, 200, 120)], [(240, 240, 220), (200, 0, 0), (240, 0, 0), (200, 0, 0)], [(160, 240, 110), (120, 0, 0), (160, 0, 0), (120, 0, 0)]] 4. [ ] New pixel values are as given below: [[(240, 240, 200), (200, 200, 100), (240, 240, 150), (200, 200, 125)], [(160, 240, 120), (120, 200, 140), (160, 240, 240), (120, 200, 120)], [(240, 240, 220), (0, 200, 210), (0, 240, 130), (0, 200, 140)], [(160, 240, 110), (0, 200, 120), (0, 240, 120), (0, 200, 130)]] 5. [ ] New pixel values are as given below: [[(240, 240, 200), (200, 200, 100), (240, 240, 150), (200, 200, 125)], [(160, 0, 0), (120, 0, 0), (160, 240, 240), (120, 200, 120)], [(240, 0, 0), (200, 0, 0), (240, 240, 130), (200, 200, 140)], [(160, 0, 0), (120, 0, 0), (160, 240, 120), (120, 200, 130)]]