Spoken Tutorial, IIT Bombay
[Link]
Python 3.4.3
Image manipulation using Arrays - Assignments
Assignment-1
1. Use the image [Link] available in the code file link of this tutorial and obtain the square in
the center of the image with size 150 by 150.
Assignment-2
1. The shape of the variable img is (600, 600, 4).
What will be the shape of img1 if img1 = img[::2,::4]
➢ (300, 300, 4)
➢ (150, 300, 4)
➢ (300, 150, 4)
➢ (150, 150, 4)