How do I write the matlab function for image bases calculation?

14 views (last 30 days)
What is the MATLAB function that projects an image u onto a basis (e_1, e_2, e_3, e_4) and returns the projection u_p and error norm r (r=|u - u_p|)?
How do I write the script that tests all of the 400 test images in a test set and returns the mean of the error norms?

Answers (1)

Yogesh Khurana
Yogesh Khurana on 19 Dec 2019
It looks like an assignment problem. I am attaching some reference links that can help you in understanding some basic image handling, import export of images, some script writing ways in MATLAB etc. You can simply search for more information regarding means and error norms in MATLAB documentation. Please refer to following links for more information regarding all these:
Hope all these links help!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!