imagestabilizer

  • 所有者: naver/imagestabilizer
  • 平台:
  • 许可证: Apache License 2.0
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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.

主要指标

概览
名称与所有者naver/imagestabilizer
主编程语言C++
编程语言Objective-C (语言数: 6)
平台
许可证Apache License 2.0
所有者活动
创建于2015-10-02 06:28:43
推送于2016-03-27 03:22:46
最后一次提交2016-03-27 12:09:16
发布数4
最新版本名称0.5 (发布于 2015-11-16 10:28:53)
第一版名称0.2 (发布于 2015-10-04 13:38:35)
用户参与
星数79
关注者数16
派生数21
提交数92
已启用问题?
问题数2
打开的问题数0
拉请求数0
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?