Question: **In python using OpenCV, numpy and matplotlib** Please Help with these questions g) Convert the image into grayscale and apply the following functions to pixel

**In python using OpenCV, numpy and matplotlib**

Please Help with these questions

g) Convert the image into grayscale and apply the following functions to pixel values and present the result f(v)= log(1+v) f(v)= 1+cos(x) Note: You can rescale the resulting pixel values into the right range [0..1] or [0 255] for better visibility h) Apply the following perspective transformations to image pixels

(augmented vector: [ 1])

and obtain new pixel positions

[ x' ]

from [ ] = * [ 1] Display the resulting image. 1 = [ 2 0 0 0 1 0 0 0 1 ]

2 = [ 2 2 0 2 2 0 0 0 1] 3 = [1 0.2 0 0.2 1 0 0 0 1]

4 = [1.1 0.1 0 0.2 0.9 0 0.1 0.2 1]

Explain what does each transformation do?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!