NISwGSP icon indicating copy to clipboard operation
NISwGSP copied to clipboard

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

Open tzxiang opened this issue 7 years ago • 20 comments

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.

tzxiang avatar Jun 29 '17 13:06 tzxiang

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.

nothinglo avatar Jun 29 '17 13:06 nothinglo

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<LineData> & 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_name_in_[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.

zgyh001 avatar Jul 04 '17 03:07 zgyh001

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.

nothinglo avatar Jul 04 '17 03:07 nothinglo

@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.

tlliao avatar Sep 29 '17 14:09 tlliao

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.

zgyh001 avatar Sep 30 '17 10:09 zgyh001

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?

tlliao avatar Oct 17 '17 09:10 tlliao

@tlliao

You can follow the Usage 4. Run the command:

./exe folder_name_in_[input-42-data]_folder

nothinglo avatar Oct 17 '17 09:10 nothinglo

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

tlliao avatar Oct 17 '17 12:10 tlliao

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

nothinglo avatar Oct 17 '17 14:10 nothinglo

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.

tlliao avatar Oct 25 '17 08:10 tlliao

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

nothinglo avatar Oct 25 '17 08:10 nothinglo

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!

tzhang2014 avatar Oct 12 '19 03:10 tzhang2014

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。

echoalways avatar Oct 12 '19 12:10 echoalways

抱歉再次打扰您,当我在“ 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]没有尚未实施 我想念什么吗?图片似乎已加载,但无法生成任何结果。

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

echoalways avatar Oct 17 '19 11:10 echoalways

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

hub-wll avatar Mar 23 '20 13:03 hub-wll

@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!

littlefish-img avatar Sep 16 '20 02:09 littlefish-img

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 [email protected] Thanks!

world1992 avatar Oct 01 '20 04:10 world1992

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 [email protected] Thanks!

Hello, @world1992 Have you received the data set, if so, Could you send me a copy? My email is [email protected] Thx!

tony31118 avatar Nov 18 '20 09:11 tony31118

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

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

MathsionYang avatar Dec 22 '20 07:12 MathsionYang

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

luluio2000 avatar May 12 '22 07:05 luluio2000