HW2. Light, Optics and Imaging (14th March, 23.59)
EX1 (3p) : Your ice-cream spoon can be used as a concave mirror, which forms an image half the size of the object. Then, you moved the spoon with respect to the object, to produce an image that is one third (1/3) the size of the object. If the spoon moved 2.5cm in this process, how far has the image moved? What is the focal length of the spoon concave mirror?
EX2 (3p) : A horse is 2.25 m tall, and it stands with its face 15 m away from the plane of a thin lens camera whose focal length is 3 m.
- Determine the location of the image of the nose of the horse. Assume the height of the nose to be 2.25m.
- What is the orientation of the image in the x and z direction? What is the magnification?
- How tall is the image?
- If the tail of the horse is located 17.5 m from the lens, how long is the image of the horse (from nose to the tail)?
EX3 (3p) : Your task is Image classification using Cats vs Dogs Dataset from the classifier code given below and plot model loss and model accuracy: You need to upload your plots and code.
- Convert the color images to grayscale and run the classifier on it. Compare your results with color images.
- Use Sobel and Gaussian filter and run the classifier.
- Upscaling and Downscaling processing on the image and run classifier on it.