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
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started