Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi snavely. recently i add new datasets to test,and it has Focal length,but it does not Extracting keypoints .why? #48

Open
ReverseSystem001 opened this issue Mar 4, 2017 · 5 comments

Comments

@ReverseSystem001
Copy link

I am a new bird,please help me. Thanks a lot.
I used other datesets to run,there has Focal length,before running <bundler list.txt --options_file options.txt> it shows the errors like thoes below.

[Extracting exif tags from image ../examples/qinghuashengkelou/IMG_5974.jpg]
[Focal length = 28.000mm]
[CCD width = 35.800mm]
[Resolution = 4368 x 2912]
[Focal length (pixels) = 3416.313
[Found 102 good images]
[- Extracting keypoints -]
sift.txt: 行 1: 23392 Segmentation fault /cygdrive/d/bundler/bin/siftWin32.exe < ../examples/qinghuashengkelou/IMG_5871.pgm > ../examples/qinghuashengkelou/IMG_5871.key
sift.txt: 行 2: 23524 Segmentation fault /cygdrive/d/bundler/bin/siftWin32.exe < ../examples/qinghuashengkelou/IMG_5872.pgm > ../examples/qinghuashengkelou/IMG_5872.key
sift.txt: 行 3: 22696 Segmentation fault /cygdrive/d/bundler/bin/siftWin32.exe < ../examples/qinghuashengkelou/IMG_5873.pgm > ../examples/qinghuashengkelou/IMG_5873.key

[- Matching keypoints (this can take a while) -]
/cygdrive/d/bundler/bin/KeyMatchFull.exe list_keys.txt matches.init.txt
Invalid keypoint file.
Invalid keypoint file.
Invalid keypoint file.

Invalid keypoint file.
Invalid keypoint file.
[KeyMatchFull] Reading keys took 0.061s
[- Running Bundler -]
assertion "p.first != p.second" failed: file "BaseApp.h", line 273, function: std::vector& MatchTable::GetMatchList(MatchIndex)
../RunBundler.sh: 行 93: 27316 Aborted (核心已转储)$BUNDLER list.txt --options_file options.txt > bundle/out
[- Done -]

I use the cygwin run it .After I edit the list.txt(there have two list.txt(one is in result file,the other is in prepare file) and I edit both of them).
How does this code (bundler list.txt --options_file options.txt) run???-- --

@snavely
Copy link
Owner

snavely commented Mar 12, 2017 via email

@michaelczhou
Copy link

so how to fix that?and how to change the resolution of images?thank you.

@wufeim
Copy link

wufeim commented Jul 26, 2020

Try to run the sift binary on the provided examples, such as ./examples/kermit. If the program executes successfully, then probably something wrong with your images. Otherwise, the sift binary is not working properly on your machine.

Run file sift and uname -a to see if the binary exec is compatible with your system. If sift is not working properly (on images such as book.pgm), try this fix:

sudo apt-get install --reinstall libc6-i386
sudo apt-get install libgl1-mesa-glx:i386 lab-core

Source:
[1] https://bugs.launchpad.net/ubuntu/+source/ia32-libs/+bug/852101?comments=all
[2] https://askubuntu.com/questions/100031/running-a-32bit-executable

@wufeim
Copy link

wufeim commented Jul 26, 2020

It looks like sift is not running correctly and giving segmentation faults. Any idea why that might be happening? One possibility is that if your images are very high resolution, I think sift might not be happy. Noah

Yes. From sift:

sift: util.c:330: ConvHorizontal: Assertion `cols + ksize < 8000' failed.

There is a limit on the image resolution.

@citystrawman
Copy link

citystrawman commented Aug 10, 2022

It looks like sift is not running correctly and giving segmentation faults. Any idea why that might be happening? One possibility is that if your images are very high resolution, I think sift might not be happy. Noah

Yes. From sift:

sift: util.c:330: ConvHorizontal: Assertion `cols + ksize < 8000' failed.

There is a limit on the image resolution.

I had the same problem when I ran very big jpg files (no problem for /kermit). May I know how to fix it? BTW I use Cygwin to run the code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants