All Projects → movehand → Raisr

movehand / Raisr

Licence: mit
A Python implementation of RAISR

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Raisr

Zoom Learn Zoom
computational zoom from raw sensor data
Stars: ✭ 224 (-53.33%)
Mutual labels:  super-resolution, image-processing
Cfsrcnn
Coarse-to-Fine CNN for Image Super-Resolution (IEEE Transactions on Multimedia,2020)
Stars: ✭ 84 (-82.5%)
Mutual labels:  super-resolution, image-processing
Image Super Resolution
🔎 Super-scale your images and run experiments with Residual Dense and Adversarial Networks.
Stars: ✭ 3,293 (+586.04%)
Mutual labels:  super-resolution, image-processing
Supper Resolution
Super-resolution (SR) is a method of creating images with higher resolution from a set of low resolution images.
Stars: ✭ 105 (-78.12%)
Mutual labels:  super-resolution, image-processing
Sewar
All image quality metrics you need in one package.
Stars: ✭ 299 (-37.71%)
Mutual labels:  super-resolution, image-processing
Cvpr2021 Papers With Code
CVPR 2021 论文和开源项目合集
Stars: ✭ 7,138 (+1387.08%)
Mutual labels:  image-processing
Dbpn Pytorch
The project is an official implement of our CVPR2018 paper "Deep Back-Projection Networks for Super-Resolution" (Winner of NTIRE2018 and PIRM2018)
Stars: ✭ 459 (-4.37%)
Mutual labels:  super-resolution
Images.jl
An image library for Julia
Stars: ✭ 434 (-9.58%)
Mutual labels:  image-processing
Lena.js
👩 Library for image processing
Stars: ✭ 432 (-10%)
Mutual labels:  image-processing
Gaussianblur
An easy and fast library to apply gaussian blur filter on any images. 🎩
Stars: ✭ 473 (-1.46%)
Mutual labels:  image-processing
Pesdk Android Demo
A fully customizable photo editor for your app.
Stars: ✭ 464 (-3.33%)
Mutual labels:  image-processing
Scikit Image
Image processing in Python
Stars: ✭ 4,688 (+876.67%)
Mutual labels:  image-processing
Govips
A lightning fast image processing and resizing library for Go
Stars: ✭ 442 (-7.92%)
Mutual labels:  image-processing
Simpleitk
SimpleITK: a layer built on top of the Insight Toolkit (ITK), intended to simplify and facilitate ITK's use in rapid prototyping, education and interpreted languages.
Stars: ✭ 458 (-4.58%)
Mutual labels:  image-processing
Teaching
Teaching Materials for Dr. Waleed A. Yousef
Stars: ✭ 435 (-9.37%)
Mutual labels:  image-processing
Imgproxy
Fast and secure standalone server for resizing and converting remote images
Stars: ✭ 5,688 (+1085%)
Mutual labels:  image-processing
Framework
Machine learning, computer vision, statistics and general scientific computing for .NET
Stars: ✭ 4,177 (+770.21%)
Mutual labels:  image-processing
Caer
High-performance Vision library in Python. Scale your research, not boilerplate.
Stars: ✭ 452 (-5.83%)
Mutual labels:  image-processing
Photo Editor Android
Photo Editor SDK contains a lot of features like edit, scale, rotate and draw on images like Instagram stories.
Stars: ✭ 463 (-3.54%)
Mutual labels:  image-processing
Waifu2x
Image Super-Resolution for Anime-Style Art
Stars: ✭ 22,741 (+4637.71%)
Mutual labels:  super-resolution

RAISR

A Python implementation of RAISR

How To Use

Prerequisites

You can install most of the following packages using pip.

Training

Put your training images in the train directory. The training images are the high resolution (HR) ones. Run the following command to start training.

python train.py

In the training stage, the program virtually downscales the high resolution images. The program then trains the model using the downscaled version images and the original HR images. The learned filters filter.p will be saved in the root directory of the project. The result Q, V matrix (q.p and v.p) will also be saved for further retraining. To train an improved model with your previous Q, V, use the following command.

python train.py -q q.p -v v.p

Testing

Put your testing images in the test directory. Basically, you can use some low resolution (LR) images as your testing images. By running the following command, the program takes filter.p generated by training as your default filters.

python test.py

The result (HR version of the testing images) will be saved in the results directory. To use an alternative filter file, take using the pretrained filters/filter_BSDS500 for example, use the following command.

python test.py -f filters/filter_BSDS500

Visualization

Visualing the learned filters

python train.py -p

Visualing the process of RAISR image upscaling

python test.py -p

For more details, use the help command argument -h.

Testing Results

Comparing between original image, bilinear interpolation and RAISR:

Origin Bilinear Interpolation RAISR
origin_gray_crop bmp cheap_crop bmp raisr_gray_crop bmp

Other results using images taken from BSDS500 database and ArTe-Lab 1D Medium Barcode Dataset:

Origin RAISR
origin_crop bmp raisr_crop bmp
origin_crop bmp raisr_crop bmp
origin_crop bmp raisr_crop bmp

Contribute

We actively welcome pull requests. Learn how to contribute.

References

  • Y. Romano, J. Isidoro and P. Milanfar, "RAISR: Rapid and Accurate Image Super Resolution" in IEEE Transactions on Computational Imaging, vol. 3, no. 1, pp. 110-125, March 2017.
  • P. Arbelaez, M. Maire, C. Fowlkes and J. Malik, "Contour Detection and Hierarchical Image Segmentation", IEEE TPAMI, Vol. 33, No. 5, pp. 898-916, May 2011.
  • Alessandro Zamberletti, Ignazio Gallo and Simone Albertini, "Robust Angle Invariant 1D Barcode Detection", Proceedings of the 2nd Asian Conference on Pattern Recognition (ACPR), Okinawa, Japan, 2013

License

MIT. Copyright (c) 2017 James Chen

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].