https://github.com/nanxstats/imgsvd
Shiny App for Image Compression via SVD
https://github.com/nanxstats/imgsvd
image-compression shiny-apps singular-value-decomposition
Last synced: about 1 year ago
JSON representation
Shiny App for Image Compression via SVD
- Host: GitHub
- URL: https://github.com/nanxstats/imgsvd
- Owner: nanxstats
- Created: 2014-02-11T08:21:36.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2021-02-10T07:41:39.000Z (over 5 years ago)
- Last Synced: 2023-03-14T14:30:56.246Z (about 3 years ago)
- Topics: image-compression, shiny-apps, singular-value-decomposition
- Language: R
- Homepage: https://nanx.app/imgsvd/
- Size: 271 KB
- Stars: 25
- Watchers: 8
- Forks: 41
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ImgSVD 
ImgSVD is a Shiny application for image compression via singular value decomposition (SVD). This application is inspired by Yihui Xie's comment in Yixuan Qiu's [article](https://cos.name/2014/02/svd-and-image-compression/) on image compression via singular value decomposition with the R package [rARPACK](https://cran.r-project.org/package=rARPACK).
## Play with it
To run this Shiny app locally, install the following R packages first:
```r
install.packages(c("shiny", "markdown", "rARPACK", "jpeg", "png"))
```
then use:
```r
shiny::runGitHub("nanxstats/imgsvd")
```
Currently, ImgSVD supports input images in JPEG or PNG format.