Skip to content

socool1003/SVD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Abstract: This project provides a concise Python script (SVD.py) demonstrating how to load an image using the Pillow library, convert it to a grayscale image, and then further convert it into a NumPy array for processing. Finally, the processed grayscale image is displayed using the Matplotlib library.

Project Overview

This script defines a load_image function that opens an image file from a specified path, uniformly converts it to grayscale mode, and then returns the image data as a NumPy array. The script then prints the shape of the image matrix and displays the grayscale image using Matplotlib.

Appendix: love.py uses Python's classic Turtle graphics to draw a heart, for entertainment or for that special someone.

About

SVD-based low-rank image compression algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages