Giter Site home page Giter Site logo

image-super-resolution's Introduction

Project Implementation:

Method Used: k-nearest neighbors Hyperparameters: k: 1, patchsize: 4

Data Processing:

Loaded all the images one by one into the environment and converted them to numpy arrays. This is done for both low resolution and high resolution images. Each image array is now split into blocks of patchsize x patchsize. And then each block is mapped to the corresponding 2patchsize x 2patchsize block in the high resolution image array. Based on the location there will be 16000 blocks of each patch. A k-nearest neighbor classifier is fit to each of the each 16000 blocks. For example, if the patch size is 4, we would have 256 blocks and hence 256 arrays of 16000 blocks. For a given test image array, based on the location the train block at the same location which is nearest is found out. The corresponding high resolution block for the train block is chosen as the high resolution patch for the testblock. This is done for all blocks in a test image and for all test images.

Inspiration:

As x-ray images, unlike general images, don't tend to vary a lot, a lot of deep neural networks we tried didn't work out. This made us think simple and exploit the dataset properties and thus we came up with k-nearest neighbors classifier.

image-super-resolution's People

Contributors

avinashingit avatar

Watchers

James Cloos avatar  avatar

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.