Giter Club home page Giter Club logo

imagestabilizer's Introduction

ImageStabilizer

Image stabilization using features detector in IOS and Android

Overview

Image stabilization is a essential technique when you take images using continuous shooting. There are many approaches to solve this problem but this project use the feature extraction.

  • At first, Extract features from image using Feature extractor like SIFT, SURF. In this project, I use FAST+ORB, because it is fast and there is no patent issue.
  • Find Matching features in two images. There are many matching technique but I just use Bruteforce Matcher because it is simple and result is not bad in this project.
  • Last, Get geometric transformation matrix which is minimize error of transformed points. RANSAC is used for this process.

All this process are simply implemented using OpenCV

Screenshot

result1.gif result3.gif

Top animated image shows original images and bottom animated image is stabilized images using ImageStabilizer.

Requirement

  1. OpenCV Framework

Usage

Import ImageStabilizer

  #import "ImageStabilizer.h"
  ImageStabilizer* stabilizer = [[ImageStailizer alloc] init];

Set first image to compare with others.

  -(void) setStabilizeSourceImage:(UIImage*) sourceImage;

Get stabilized image

  -(UIImage*) stabilizeImage:(UIImage*)targetImage;

Get stabilized image in android

public ArrayList<Bitmap> stabilizedImages(ArrayList<Bitmap> originals);

Limitation

This program is based on OpenCV library. It doesn't use GPU in IOS. it is obviously more slower than library that it uses GPU. So I want to improve this code to use GPU like GPUImage.

References

License

ImageStabilizer is licensed under the Apache License, Version 2.0. See LICENSE for full license text.

    Copyright (c) 2015 Naver Corp.
    @Author Eunchul Jeon

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

            http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

imagestabilizer's People

Contributors

jsharp83 avatar beanmilk avatar

Watchers

James Cloos avatar ZomeeLee 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.