-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
point_triangulator step always stuck after I use known camera poses as priori info #2537
Comments
My wild guess is probably the images are too huge. 5000x3500 may be too huge, which provides too many keypoints to colmap and hence it takes too much time/out of memory. Has your run reached this function, or not?
|
Hi @jytime , thank you very much for the reply, I didn't reach this step. Honestly, I didn't even reach the bundle adjustment step. So I used to make a mistake (not relevant to the issues raised above), I fed Colmap with a set of wrong camera poses, the translation is correct but the rotation is wrong, like below: 14668 patch_match.cc:383] Ignoring reference image Image_004.jpg, because it has no source images.
14668 patch_match.cc:383] Ignoring reference image Image_013.jpg, because it has no source images.
14668 patch_match.cc:383] Ignoring reference image Image_016.jpg, because it has no source images. if the wrong parallel camera poses can somehow pass through the point_triangulator step, I don't understand why the correct camera pose is stuck. For the image resolution problem, I used 5184 x 3456 for reconstruction in a previous test (without using any calibrated camera intrinsic and extrinsic info to rewrite cameras.txt/images.txt). The un-scale-calibrated sparse cloud and related uncalibrated camera position look perfect: |
Hey given this it may be not due to the image size. You can use LOG(INFO) to print the logs inside COLMAP, so that you can know which function gets you stuck. |
Thank you for this amazing work, I have read the manual and related issues, but really cannot solve the following problems:
My hardware setup is a static DSLR camera with a rotational stage to place the object, the stage will turn 360° and the camera will shoot every 6°, so 60 images are taken in total. I use a high-accurate checkerboard to calibrate the intrinsic parameters and 60 extrinsic matrixes (camera poses at each shot) with Matlab, visualization plot out:
(determine the fixed position of the camera in the world coordinate system for each shot so that the reconstructed point cloud is unscaled and coincides with the size of the actual object)
Image shooting step: place the object on the stage and 60 pictures are taken in the same way (the camera position at each shot is the same as the calibration step). e.g. :
I prepared the cameras.txt, images.txt and points3D.txt(empty) shown below:
cameras.txt:
images.txt:
if I convert this three .txt files into .bin and make it visable in GUI, it will shows like below, all cameras are in the correct position and their FoV are overlapping:
I can successfully run the 'feature_extractor' and 'exhaustive_matcher' like this:
but when I came to point_triangulator, the error occurs:
I've tried several times and it always stuck at here, don't know why this happening. I have checked image/camera ID in GUI and they all correct, and modified the camera model and params with my calibrated data:
May I ask if there is any other step I forget?
your kindly help will be highly appreciated, thanks again 🙏
The text was updated successfully, but these errors were encountered: