HYPJUDY / panorama-image-stitching

Automatically stiching several individual images to generate a panorama image. Writing from scratch in C++.
https://hypjudy.github.io/2017/05/10/panorama-image-stitching/
MIT License
164 stars 50 forks source link

Errors running in Visual studio #4

Closed IamBharaniKrishnan closed 5 years ago

IamBharaniKrishnan commented 6 years ago

Hi HYPJUDY, I have downloaded your Image stitching project and run it through Visual Studio 2015. I get a bunch of errors.

Those errors showing like

HYPJUDY commented 6 years ago

It's hard to check errors with little info. Can you look for help from your nearby friends?

IamBharaniKrishnan commented 6 years ago

Does the Target platform version right to run or do we need to change to 10. Please check the screenshot. We want clarity on whether we are setting the platform right or not. I am in needful of your help to complete my project. Please help me.

1

IamBharaniKrishnan commented 6 years ago

When I try to run throws exceptions. Please help me with this.

1

HYPJUDY commented 6 years ago

Hi, I run this code again. Here are my process. I selected a custom install for VS15 and add C/C++ feature. Then I followed the instructions in readme. I also use the default .NET framework 4.5.2. Apart from configuring the dependencies mentioned in readme, I didn't do other things. Then I built successfully. But I encountered the problem of missing vcomp100.dll when running (it can be solved by download one). I also encountered errors like index out of range in a function but not the same as yours. It seems that this code is not robust and will throw different exceptions in different situations (it works well for me a year ago but not now). I haven't figure out your problem yet and if you works out please pull request to help me improve this project. Thanks!

IamBharaniKrishnan commented 6 years ago

Hi @HYPJUDY I have managed to run your code after a lot trial and error. Actually I tried to get 16 bit grayscale images stitched and given as an output from your code. But it's a tough luck, I can't stitch 16 bit grayscale image using your code.

As I am from c# background I find your code hard to run but somehow managed. It has some issues when I try to give image as an input as the function only picks up the first file and ignores other files. So one by one I tried to fix the issue. So that's it and finally I can't work with 16 bit grayscale images.

Can you please give any suggestions of any library that handle 16 bit images or any idea to make your code work for 16 bit grayscale images.

Thanks

jingwu8023 commented 5 years ago

When I try to run throws exceptions. Please help me with this.

1

Hello, I have encountered the same situation as you, may I ask whether you have solved it?Can you help me solve it? image

HYPJUDY commented 5 years ago

See #5.