All Projects → rootpine → Bicubic-interpolation

rootpine / Bicubic-interpolation

Licence: Apache-2.0 License
Bicubic interpolation for images (Python)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Bicubic-interpolation

tensorflow-bicubic-downsample
tf.image.resize_images has aliasing when downsampling and does not have gradients for bicubic mode. This implementation fixes those problems.
Stars: ✭ 23 (-73.86%)
Mutual labels:  images, resize-images, super-resolution, image-resizing, bicubic
Lilliput
Resize images and animated GIFs in Go
Stars: ✭ 1,690 (+1820.45%)
Mutual labels:  images, resize-images
Super Resolution cnn
Implementation of 'Image Super-Resolution using Deep Convolutional Network'
Stars: ✭ 27 (-69.32%)
Mutual labels:  interpolation, super-resolution
Toflow
TOFlow: Video Enhancement with Task-Oriented Flow
Stars: ✭ 314 (+256.82%)
Mutual labels:  interpolation, super-resolution
Pytoflow
The py version of toflow → https://github.com/anchen1011/toflow
Stars: ✭ 83 (-5.68%)
Mutual labels:  interpolation, super-resolution
coronavirus-mask-image-dataset
Image dataset from Instagram of people wearing medical masks, no mask, or a non-medical (DIY) mask
Stars: ✭ 57 (-35.23%)
Mutual labels:  images
hakyll-images
Hakyll utilities to work with images
Stars: ✭ 13 (-85.23%)
Mutual labels:  images
jekyll-imgix
A plugin for integrating imgix into Jekyll sites
Stars: ✭ 49 (-44.32%)
Mutual labels:  images
HCFlow
Official PyTorch code for Hierarchical Conditional Flow: A Unified Framework for Image Super-Resolution and Image Rescaling (HCFlow, ICCV2021)
Stars: ✭ 140 (+59.09%)
Mutual labels:  super-resolution
gettyimages-api nodejs
Getty Images API SDK for Node.js
Stars: ✭ 17 (-80.68%)
Mutual labels:  images
vue-inner-image-zoom
laurenashpole.github.io/vue-inner-image-zoom
Stars: ✭ 90 (+2.27%)
Mutual labels:  images
srgan
Pytorch implementation of "Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network"
Stars: ✭ 39 (-55.68%)
Mutual labels:  super-resolution
MIRNet-Keras
Keras Implementation of MIRNet - SoTA in Image Denoising, Super Resolution and Image Enhancement - CVPR 2020
Stars: ✭ 21 (-76.14%)
Mutual labels:  super-resolution
yamipa
Yet Another Minecraft Image Placing Addon
Stars: ✭ 19 (-78.41%)
Mutual labels:  images
fl-image-resize
A library to quickly resize images with Azure Functions
Stars: ✭ 15 (-82.95%)
Mutual labels:  images
rx-ease
Spring animation operator for rxjs 🦚✨
Stars: ✭ 16 (-81.82%)
Mutual labels:  interpolation
bitmapflow
A tool to generate inbetweens for animated sprites, written in godot-rust
Stars: ✭ 388 (+340.91%)
Mutual labels:  interpolation
commons-math-interpolation
A partial TypeScript port of the Apache Commons Math Interpolation package, including Akima cubic spline interpolation and LOESS/LOWESS local regression.
Stars: ✭ 18 (-79.55%)
Mutual labels:  interpolation
Flask-Resize
Flask extension for resizing, cropping and caching images.
Stars: ✭ 47 (-46.59%)
Mutual labels:  resize-images
SESR
SESR: Single Image Super Resolution with Recursive Squeeze and Excitation Networks
Stars: ✭ 26 (-70.45%)
Mutual labels:  super-resolution

Bicubic-interpolation

This repository is for simple implementation of 'Bicubic-interpolation for images' (Python3).

Table of contents

Formulation

  • Interpolation kernel [1]
    Formulation

  • Interpolation
    Use the values of 16 pixels around the new pixel dst(x,y) [1][2]. (x,y) shows the location of pixels. Formulation2
    Here, f means the values of pixels. x1, x2, x3, x4 are the distance of x direction from new pixel to near 16 pixels. y1, ... are the distance of y direction.

Example

  • Upscale input image 2 times (ratio = 2)
    The 'butterfly' image is from [3].
    Input image
    ↑ Input image (256x256)
    Output image
    ↑ Output image (512x512)

Requirement

  • Python 3.5.2 or more

Installation

$ git clone https://github.com/rootpine/Bicubic-interpolation.git

Usage

  1. $ python3 bicubic.py

Reference

  1. R. Keys, "Cubic convolution interpolation for digital image processing," in IEEE Transactions on Acoustics, Speech, and Signal Processing, vol. 29, no. 6, pp. 1153-1160, December 1981. URL: http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=1163711&isnumber=26156
  2. 奥富正敏ら, "ディジタル画像処理[改定新版]", CG-ARTS協会, pp. 170-171, 2016.
  3. M. Bevilacqua, A. Roumy, C. Guillemot and ML. Alberi, "Low-Complexity Single-Image Super-Resolution based on Nonnegative Neighbor Embedding",BMVC 2012.
  4. https://github.com/yunabe/codelab/blob/master/misc/terminal_progressbar/progress.py to show the progress.

Author

@rootpine

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].