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

Abnormal image position in model #349

Open
0CYH0 opened this issue Jan 17, 2024 · 1 comment
Open

Abnormal image position in model #349

0CYH0 opened this issue Jan 17, 2024 · 1 comment

Comments

@0CYH0
Copy link

0CYH0 commented Jan 17, 2024

Hello,I attempted to reconstruct several images captured with the same camera. The instructions are as follows:

feature_conf = extract_features.confs['superpoint_aachen']
matcher_conf = match_features.confs['superglue']

pairs_from_exhaustive.main(sfm_pairs, image_list=references_select)
feature_path = extract_features.main(feature_conf, images, outputs, image_list=references_select)
match_path = match_features.main(matcher_conf, sfm_pairs, feature_conf['output'], outputs)

opts = dict(camera_model='SIMPLE_RADIAL')
model = reconstruction.main(sfm_dir, images, sfm_pairs, feature_path, 
                            match_path, camera_mode=pycolmap.CameraMode.SINGLE,
                            image_list=references_select, image_options=opts,
                            verbose=True)

Sometimes there are significant errors in the positions of images reconstructed in the model, as shown in the following picture:
image
I noticed that the number of points (num_points3D) in this image is significantly fewer compared to the images in normal positions, and the positions seem to be not quite accurate, as shown in the following figures:
image
image
Could you please clarify the relationship between 'num_points3D' in the model and the characteristics of the images? How should I address this issue?
Looking forward to your reply.

@sarlinpe
Copy link
Member

This is pretty odd. How does the previous/next image in the sequence look? You could maybe visualize the correspondences extracted by SuperGlue and see why there would be so few of them.

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

2 participants