Comments (22)
Thanks for your source code ,which is important for me to learn image stitching. Besides, I have compiled and run this code in Windows 10 successfully with VS2013.
from niswgsp.
I am sorry for the unclear description. As I mentioned in "Usage", It has 3 dependencies (Eigen, VLFeat, and OpenCV). After installing them and compile the code with them. Could you tell me what problems did you meet? In addition, you can find more details of my compilation environment in project.pbxproj under the *.xcodeproj. Thanks.
from niswgsp.
I didn't compile the code in Windows or Linux before, but I think it should be ok. Could you tell me which variables are found undefined? Thanks.
from niswgsp.
MAXFLOAT M_PI M_PI_2 are not defined
from niswgsp.
You can define Pi and Pi^2 by yourself. Thanks.
from niswgsp.
Did you compiled the code in Linux successfully? @hust0zzcc , I met some problem just like you ever met , could you tell me you process and how do you fix it ?
from niswgsp.
I'm so sorry I missed your reply.My problem is as follows:'make_unique' was not declared in this scope in ImageData.cpp
from niswgsp.
Hi, I think you should check my compile information as below to make sure you can use some of the functions supported by the new version of C++.
My GCC_VRSION is Apple LLVM 6.0
GCC_C_LANGUAGE_STANDARD = GNU99 [-std=gnu99]
CLANG_CXX_LANGUAGE_STANDARD = GNU++14 [-std=gnu++14]
CLANG_CXX_LIBRARY = libc++ (LLVM C++ standard library with C++11 support)
Thanks.
from niswgsp.
sorry, I checked it . But I do not have MacOS , so I trying to set up your compile environment in my Ubuntu 16.04,now I met some problem in setting up the compile environment , so I need someone's help who compiled succeed the code.
from niswgsp.
Hi!
I think maybe there is an error in your code at APAP_Stitching.cpp. V(j,V.rows()-1) should be V(j,cols()-1).Besides,Can you give me the download link of your Eigen version ?I can't find it.I can't use "LeastSquaresConjugateGradient" class successfully in Eigen 3.3.3,either.
Thanks!
from niswgsp.
Hi,
Indeed, it should be better to use cols(). I noticed it because the section of the code is followed by the APAP's author. I didn't change it because I think if it throws out the index error, it means your feature points are not enough (< 5).
The Eigen's main page has the newest version download link of the development branch. You can try it.
Thanks.
from niswgsp.
I have tried this version,but it still met the same error:
niswgsp: /usr/include/eigen3/Eigen/src/IterativeLinearSolvers/BasicPreconditioners.h:99: const Eigen::Solve<Eigen::DiagonalPreconditioner<_Scalar>, Rhs> Eigen::DiagonalPreconditioner<_Scalar>::solve(const Eigen::MatrixBase&) const [with Rhs = Eigen::Matrix<double, -1, 1>; _Scalar = double]: Assertion `m_invdiag.size()==b.rows() && "DiagonalPreconditioner::solve(): invalid number of rows of the right hand side matrix b"' failed.
I have no idea about how to solve this problem up to now.
from niswgsp.
Hi,
Could you tell me this is a compile error or a runtime error?
Thanks.
from niswgsp.
It's a runtime error.
from niswgsp.
Hi, Could you give me more information like which file and which line did you get the error?
Thanks.
from niswgsp.
@zyf12389
hi, may I know your choices for MAXFLOAT?
from niswgsp.
What's your choices for MAXFLOAT? In math.h, the M_PI_2 means one-half pi, so in your code, the M_PI_2 means square of pi, or one-half pi?
from niswgsp.
@tlliao M_PI_2 == pi/2
Thanks.
from niswgsp.
Hi, I find that the MAXFLOAT was used many times, so what's your choices for MAXFLOAT and what's the meaning?
from niswgsp.
It seems MAXFLOAT is not a standard parameter. You can change it as follow: https://stackoverflow.com/questions/28980541/error-identifier-maxfloat-is-undefined
In this project, it is used for initialization when finding the minimum number.
from niswgsp.
I am glad to get this news. If you have available time, maybe you can help me to reply some issues which fail to run the code? I will be really thankful to you!
from niswgsp.
Thanks to @Yannnnnnnnnnnn!
This is Ubuntu version:
https://github.com/Yannnnnnnnnnnn/NISwGSP
from niswgsp.
Related Issues (20)
- Test examples bug HOT 6
- svd matrix assignment bug
- How to config the VLFEAT_LIBRARY HOT 4
- test
- Where to get the matching information of apap matching points?
- Unsatisfactory results of UAV images
- nThreads=1? HOT 1
- input-42- data.zip HOT 26
- nan appears in vector b
- How to run this repo HOT 17
- Speed If you want to speed up, MATLAB solver is significantly faster than Eigen. HOT 1
- Run error--Assertion failed HOT 1
- No results HOT 2
- How to stitch in disorder
- No resulting image is output
- what is the meaning of rect?
- How to prepare the file of *STITCH-GRAPH.txt for my datas HOT 1
- Could you prepare a colab notebook?
- Image Stitching fails for larger no of images HOT 1
- How to output the original image size
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from niswgsp.