Skip to content

Converts an image into 3 Matrices for Red, Green and Blue values and then applies the single value decomposition to each of them.

Notifications You must be signed in to change notification settings

BrainBoxBrown/SVD-image-compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

SVD-image-compression

  • Converts an image into 3 Matrices for Red, Green and Blue pixel values
  • Applies the single value decomposition to each of them.
  • Reassembles them iteratively using increasingly more of the single values into a folder called animation

Run the following to make a pretty gif

python con.py # run the python program
convert -delay 20 -loop 0 animation/*.jpg svd.gif # convert the frames to a gif

About

Converts an image into 3 Matrices for Red, Green and Blue values and then applies the single value decomposition to each of them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages