nothinglo / NISwGSP

C++ implementation of the ECCV 2016 paper, Natural Image Stitching with the Global Similarity Prior.
332 stars 124 forks source link

How to prepare the file of STITCH-GRAPH.txt? #7

Open tzxiang opened 7 years ago

tzxiang commented 7 years ago

Hello, This is a good work! I am interested in your work.

I have successfully compile your code in Win7 system. But when I run with images you provided, I found there are no "***STITCH-GRAPH.txt" file. Could you give me some examples about STITCH-GRAPH file, or how to prepare this file? Thank you very much.

nothinglo commented 7 years ago

Hi, I did put all the *STITCH-GRAPH.txt file in each example image folder I provided (downlink). Maybe you can check the path or something?

Thanks.

zgyh001 commented 7 years ago

Hi, Thank you for your good work! I compiled this code in Win 7 and I meet with some troubles.

I debug this project only generated some pictures under the folder of "D:\Image Stitching\ECCV-2016-NISwGSP\New_project_NISwGSP\NISwGSP_test\input-42-data\1_debugs\AANAP-building-result",such as "feature_pairs-init-building0-building1-411.png","feature_pairs-sRANSAC-building0-building1-320.png",and "line-result-building0.png".

When the code executed in "ImageData.cpp",function of “const vector & ImageData::getLines() const {XXX}” ,the error appeared. When the code of "if(img_lines.empty()) {XX}" finished, it pop-up the error "_Ptr_user &(_BIG_ALLOCATION_ALIGNMENT - 1))= = 0"&& 0". I don't know what happened of the code , Can you give me some suggestion to solve this problem?

Moreover,the Usage: 4.Run the command: ./exe folder_namein[input-42-data]_folder. Means what??? I don't generate anything under the folder of "0_results" ,because I don't know how to run this command,can you help me? Thank you very much.

nothinglo commented 7 years ago

Hi, really thanks for your report. I am not really sure what is the exact problem. But I guess the error happened when calculating "line-result-building1.png". Could you clarify which line causes the error? You can ignore the Usage (4. Run the command), it just tells you how to execute. Moreover, you did not generate images under the folder because the program did not finish.

Thanks.

tlliao commented 7 years ago

@tzxiang You said that you have successfully compile the code in Win7 system. Could you tell me some details about how you compile it? Since I intend to compile it in Win10 with MSVC2015, but somehow I couldn't install the vlfeat library into the code.

zgyh001 commented 7 years ago

Hi, First, you can down the file "vlfeat-0.9.20-bin.tar.gz" from "http://www.vlfeat.org/". Second, UpZip it, and copy it to your project. Last configure it in MSVC2015, "Include Directories" configured like "../vlfeat-0.9.20-bin/vlfeat-0.9.20", and "Library Directories" like "../vlfeat-0.9.20-bin\vlfeat-0.9.20\bin\win64", and "Additional Dependencies" include "vl.lib". That's all, thanks.

tlliao commented 7 years ago

Thanks, I have successfully compile the code in my Win10 PC, and add input-42-data into my working directory. But when I run it, there is no results generated, the variable "argc" always equal to 1 in "main.h". How I can tell the code to read these image datasets?

nothinglo commented 7 years ago

@tlliao

You can follow the Usage

  1. Run the command:
    ./exe folder_name_in_[input-42-data]_folder
tlliao commented 7 years ago

How to run the command of Usage 4, it seems like illegal in Windows command?

nothinglo commented 7 years ago

It just means you need to set the "argv" parameter.

tlliao commented 6 years ago

Sorry to bother you again, when I run your code under the folder "AANAP-building", it generates some confusing errors: nThreads = 1 [#Images : 1] i = 1, [Images : AANAP-building] [ERROR] F(getImagesMatchGraph) image match graph verification [2] didn't be implemented yet [ERROR] F(getImagesMatchGraph) image match graph verification [2] didn't be implemented yet [ERROR] F(getImagesMatchGraph) image match graph verification [2] didn't be implemented yet [ERROR] F(getImagesMatchGraph) image match graph verification [2] didn't be implemented yet [ERROR] F(getImagesMatchGraph) image match graph verification [2] didn't be implemented yet [ERROR] F(getImagesMatchGraph) image match graph verification [2] didn't be implemented yet Do I miss something? It seems like the images have been loaded, but it can't generate any results.

nothinglo commented 6 years ago

It seems you did not provide the *STITCH-GRAPH.txt file appropriately (in a correct path).

tzhang2014 commented 5 years ago

Hello, thank you share the good work, if I want to stitch my data , how can I get the "XXXXX-STITCH-GRAPH.txt" file, thanks!

yinsong-llsc commented 5 years ago

It seems you did not provide the *STITCH-GRAPH.txt file appropriately (in a correct path).

so,what is the correct path?I meet the same problem。

yinsong-llsc commented 5 years ago

抱歉再次打扰您,当我在“ AANAP-building”文件夹下运行您的代码时,它会产生一些令人困惑的错误: nThreads = 1 [#Images:1] i = 1,[Images:AANAP-building] [ERROR] F (getImagesMatchGraph)图像匹配图验证[2]尚未实现 [ERROR] F(getImagesMatchGraph)图像匹配图验证[2]尚未实现 [ERROR] F(getImagesMatchGraph)图像匹配图验证[2]尚未实现 [ERROR] F(getImagesMatchGraph)图像匹配图验证[2]尚未实现 [ERROR] F(getImagesMatchGraph)图像匹配图验证[2]尚未实现 [ERROR] F (getImagesMatchGraph)图像匹配图验证[2]没有尚未实施 我想念什么吗?图片似乎已加载,但无法

抱歉再次打扰您,当我在“ AANAP-building”文件夹下运行您的代码时,它会产生一些令人困惑的错误: nThreads = 1 [#Images:1] i = 1,[Images:AANAP-building] [ERROR] F (getImagesMatchGraph)图像匹配图验证[2]尚未实现 [ERROR] F(getImagesMatchGraph)图像匹配图验证[2]尚未实现 [ERROR] F(getImagesMatchGraph)图像匹配图验证[2]尚未实现 [ERROR] F(getImagesMatchGraph)图像匹配图验证[2]尚未实现 [ERROR] F(getImagesMatchGraph)图像匹配图验证[2]尚未实现 [ERROR] F (getImagesMatchGraph)图像匹配图验证[2]没有尚未实施 我想念什么吗?图片似乎已加载,但无法生成任何结果。

请问这个问题您是怎么解决的呢

hub-wll commented 4 years ago

How to load images in folders provided by author, I did not know how to run the procedure.

littlefish-img commented 4 years ago

@zgyh001 ,have you solved the problem" When the code executed in "ImageData.cpp",function of “const vector & ImageData::getLines() const {XXX}” ,the error appeared. When the code of "if(img_lines.empty()) {XX}" finished, it pop-up the error "_Ptr_user &(_BIG_ALLOCATION_ALIGNMENT - 1))= = 0"&& 0". ",I meet the same error,if you have soleved,please help me,thanks a lot!

world1992 commented 4 years ago

Hi, I did put all the *STITCH-GRAPH.txt file in each example image folder I provided (downlink). Maybe you can check the path or something?

Thanks.

Could you please send me one copy of the dataset? My email is 2501646953@qq.com Thanks!

tony31118 commented 3 years ago

Hi, I did put all the *STITCH-GRAPH.txt file in each example image folder I provided (downlink). Maybe you can check the path or something? Thanks.

Could you please send me one copy of the dataset? My email is 2501646953@qq.com Thanks!

Hello, @world1992 Have you received the data set, if so, Could you send me a copy? My email is forever975145@gmail.com Thx!

MathsionYang commented 3 years ago

It seems you did not provide the *STITCH-GRAPH.txt file appropriately (in a correct path).

我也碰见这个问题呢,不知道怎么解决

luluio2000 commented 2 years ago

Hi, I did put all the *STITCH-GRAPH.txt file in each example image folder I provided (downlink). Maybe you can check the path or something? Could you please send me one copy of the dataset?

this problem is resolved by: https://blog.csdn.net/u011617090/article/details/112246727