I am given a picture that i need to perform the following commands. any suggestions?
Use OpenCV to read the image file "image.jpg" into an appropriate two-dimensional array
Write a routine to flatten the two-dimensional array you have obtained and perform an SVD
Reconstruct and display the image using
for values N = 5, 20, 70, 100. Be sure to label each figure with the singular values represented in the image.