Coder Social home page Coder Social logo

tlliao / single-perspective-warps Goto Github PK

View Code? Open in Web Editor NEW
32.0 1.0 12.0 43.15 MB

Our code for the paper "Single-Perspective Warps in Natural Image Stitching"

License: MIT License

CMake 1.07% C++ 14.67% M 0.09% MATLAB 45.13% C 39.05%
image-stitching image-warping image-alignment

single-perspective-warps's Introduction

Single-Perspective Warps in Natural Image Stitching

This repository is our implementation of the IEEE TIP 2019 paper, Single-Perspective Warps in Natural Image Stitching. If you use any code or data from our work, please cite our paper.

The codes are designed for two-image stitching, for multiple images, please refer to Single-perspective-warps-multiple.

Usage

  1. Download code, add images in the folder "Imgs" in the main path and run the "main.m".

  2. This code has been tested on 64bit Windows; for other platforms, you'll need to compile your own mex files in folder "LSD_matlab" and "texture_mapping";

Citation

@article{liao2019single,
title={Single-Perspective Warps in Natural Image Stitching},
author={Liao, Tianli and Li, Nan},
journal={IEEE Transactions on Image Processing},
volume={29},
number={},
pages={724--735},
year={2020},
doi={10.1109/TIP.2019.2934344},
publisher={IEEE}
}

Contact

If you have any comments, suggestions, or questions, please feel free to contact me ([email protected]).

single-perspective-warps's People

Contributors

tlliao 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

Watchers

 avatar

single-perspective-warps's Issues

Stitching result has something wrong make it looks so bad.

I tried to run the project with matlab R2022b in Windows 10 x64.
i changed the line 9 of "addNeedPaths.m" to locate my VLFeat lib, and line 95 of "main.m" to
"optimized_V = reshape(V_star, [], 2); clear V_star;"

because vec2mat() is not recommended by matlab, so i change it to reshape according to the document
(https://ww2.mathworks.cn/help/comm/ref/vec2mat.html#d126e86110)

then the program execution result was so weird, and i don't know what's wrong.
linear-5-50-5-5

step

hello ,respect teacher.
can you give some additional step?
according this step i can not to achieve this goal.
thank you

部分图像拼接失败

在拼接自己的数据集的时候,会遇到某些场景拼接失败,
Our SPW warp and blending...错误使用 levenbergMarquardt (line 16)
Objective function is returning undefined values at initial point. lsqnonlin cannot continue.

出错 lsqncommon (line 174)
levenbergMarquardt(funfcn,xC,flags.verbosity,options,defaultopt,initVals.F,initVals.J, ...

出错 lsqnonlin (line 240)
lsqncommon(funfcn,xCurrent,lb,ub,options,defaultopt,caller,...

出错 calcHomoPointLine (line 22)
x = lsqnonlin(@(x)myfun(x, pts2, tmp_line2), x0,[],[],options);%

出错 main1 (line 53)
[h, ~, T1, T2] = calcHomoPointLine( matches_1, matches_2, line_match1, line_match2 );

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.