snavely / bundler_sfm

Bundler Structure from Motion Toolkit
1.55k stars 483 forks source link

Bundler2PMVS error #39

Closed v4ven27 closed 8 years ago

v4ven27 commented 8 years ago

Hello Noah,

I'm testing Bundler with the kermit sample images. Here's what I have after running RunBundler on the examples/kermit directory (I am unsure if this what I'm supposed to be seeing):

selection_004

Next, I ran the Bundler2PMVS utility using:

list.txt in examples/kermit : list.txt bundle.out in examples/kermit/bundle.out : bundle.out.txt

Here's the terminal output:

selection_003

Am I missing something? I'd appreciate any assistance in resolving this issue.. thanks!

snavely commented 8 years ago

Hi,

First, yes, that point cloud looks as expected to me -- it is sparse but will be much sender once you run PMVS.

Second, you should run the Bundle2PMVS command from root directory of the dataset -- in this case, examples/kermit.

Hope this helps, Noah

On Aug 24, 2016 10:10 AM, "Venkataraman Ganesh" notifications@github.com wrote:

Hello Noah,

I'm testing Bundler with the kermit sample images. Here's what I have after running RunBundler on the examples/kermit directory (I am unsure if this what I'm supposed to be seeing):

[image: selection_004] https://cloud.githubusercontent.com/assets/7323040/17940016/26e67904-69fb-11e6-9f67-44803a4fc694.png

Next, I ran the Bundler2PMVS utility using:

list.txt in examples/kermit : list.txt https://github.com/snavely/bundler_sfm/files/435265/list.txt bundle.out in examples/kermit/bundle.out : bundle.out.txt https://github.com/snavely/bundler_sfm/files/435268/bundle.out.txt

Here's the terminal output:

[image: selection_003] https://cloud.githubusercontent.com/assets/7323040/17940083/738226aa-69fb-11e6-83e3-bc4257125852.png

I'd appreciate any help in solving this issue.. thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/snavely/bundler_sfm/issues/39, or mute the thread https://github.com/notifications/unsubscribe-auth/ABt6qx52l45aw21IugJ-5J2T6e3qm4Hzks5qjHsEgaJpZM4JsPQ1 .

v4ven27 commented 8 years ago

That certainly helped.. Thanks Noah!

v4ven27 commented 8 years ago

@snavely

Hi Noah, I want to use the Bundler2PMVS utility to transform a bundleFile which I provide (not generated by Bundler). In a bundle file generated by Bundler, do the rotations and translations represent a transformation from world frame to camera frame or vice-versa?

Although this question isn't entirely related to the original issue, I wasn't sure if this merited opening a new issue so I thought I'd post here. Thanks!

snavely commented 8 years ago

The rotations and translations represent a transformation from world frame to camera. I.e., to project a point x in world coordinates into a camera, you would do R * x + t (followed by the perspective projection). See the Bundler Output Format description here: https://github.com/snavely/bundler_sfm#output-format

Noah

On Thu, Sep 22, 2016 at 1:08 PM Venkat Ganesh notifications@github.com wrote:

@snavely https://github.com/snavely

Hi Noah, I want to use the Bundler2PMVS utility to transform a bundleFile which I provide (not generated by Bundler). In a bundle file generated by Bundler, do the rotations and translations represent a transformation from world frame to camera frame or vice-versa?

I wasn't sure if this merited opening a new issue so I thought I'd post here. Thanks!

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/snavely/bundler_sfm/issues/39#issuecomment-249013585, or mute the thread https://github.com/notifications/unsubscribe-auth/ABt6q1tbpLxPpR61SPJUe7-f9KeP7Fm1ks5qsuApgaJpZM4JsPQ1 .


Noah Snavely Associate Professor Email: snavely@cs.cornell.edu Dept. of Computer Science Phone: (607) 255 4280 Cornell University URL : www.cs.cornell.edu/~snavely 307 Gates Hall

Ithaca, NY 14853