Using SVD to compress an image in MATLAB

前端 未结 4 1910
我寻月下人不归
我寻月下人不归 2020-12-24 00:31

I am brand new to MATLAB but am trying to do some image compression code for grayscale images.

Questions

How can I use SVD to trim off low-v

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-24 01:15

    taking the first n max number of eigenvalues and their corresponding eigenvectors may solve your problem.For PCA, the original data multiplied by the first ascending eigenvectors will construct your image by n x d where d represents the number of eigenvectors.

提交回复
热议问题