GithubHelp home page GithubHelp logo

robertgawron / supper-resolution Goto Github PK

View Code? Open in Web Editor NEW
113.0 113.0 26.0 2.7 MB

Super-resolution (SR) is a method of creating images with higher resolution from a set of low resolution images.

Python 96.65% Gnuplot 3.35%
image-processing python super-resolution

supper-resolution's People

Contributors

moustafa2121 avatar robertgawron avatar vinicius-8 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

supper-resolution's Issues

Clarification of PSF role during SR restoration

Some sources (unfortunately links stay on my broken computer) indicates that other function that PSF may be used in SR algorithm. PSF is stored as array, it can be array multiplied by scalar, or invertible PSF matrix. Could this be use here to obtain better results? My previous tests gave miserable results, but it's worth to check once again.

list out of index

Traceback (most recent call last):
File "SRRestorer.py", line 153, in
origSizeX = samples[0][1].size[1] * scale
IndexError: list index out of range
5

Replace numpy library.

It's extremely painful to install numpy on Windows 7 and in addition API of this library is hard to use. A C library should be used instead.

Calculate PSF for samples.

It's needed to be able to start checking results of SR implementation on real word pictures.

IIRC some people made it by scanning dot marked on paper, then scanned image of this dot was representation of PSF. It looks simple, but could this be use also for cameras?

Replace Pillow library.

Switch to C library. SRImage should take care of the interface stuff, so no need to change implementation of other components. Probably Imagemagic (MagickCore API) should be used.

This is part of moving project out to a C library and providing only bindings for other languages.

Estimation error

python3 ./SRRestorer.py /Users/pro16/Dropbox/Terminal/supper-resolution-master/input/
Estimate Motion Between Sample And Original Image
Restore SR Image
Creating Camera Model
Size Of Estimated Original: 420x520
 0: estimation error: 14.838214
 1: estimation error: 14.335206
 2: estimation error: 13.815206

Every time after running I have the same problem, please add some more information for this error describing.

Source image in /input folder is this.

What goes wrong when it's png files instead of tif ?

I'm quite new to image processing and I am doing a project based on super-resolution and was tinkering with your code.
I noticed that it fails with a code when using png files instead of tiff files.
Camera.py", line 48, in take
odata[:,:,0] = self.doOffset(odata[:,:,0], offset)
IndexError: too many indices for array
is there any formatting difference between the two?

Default input samples directory for SRRestorer.

To make the project more user friendly, a default directory name for input sample should be selected if it wasn't passed as an argument from command line.

This was already done for SampleCreator, should be done in similar way for SRRestorer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.