tum-vision / mono_dataset_code

Code for Monocular Visual Odometry Dataset - https://vision.cs.tum.edu/data/datasets/mono-dataset
BSD 3-Clause "New" or "Revised" License
284 stars 119 forks source link

Vignette calibration problem #5

Open fairf4x opened 7 years ago

fairf4x commented 7 years ago

I am running vignetteCalib on my own dataset - just 30 images to test the approach. The program produces only black vignette and following output:

Load Dataset samples_vignette3/: found 30 files in folder /images; assuming that all images are there.
Input resolution: 856 480
Input Calibration (fx fy cx cy): 338.125397 194.108505 269.381378 83.858086 1.000000
NO RECTIFICATION
Reading Photometric Calibration from file samples_vignette3/pcalib.txt
Reading Vignette Image from samples_vignette3/vignette.png
PhotometricUndistorter: Invalid vignette image size! got 0 x 0, expected 856 x 480. Set vignette to 1.
Dataset samples_vignette3/: Got 30 files!
SEQUENCE NAME: samples_vignette3/!
plane image values 10000000000.000000 - -10000000000.000000!
0.000000 residual terms => -nan
0.000000 residual terms => -nan
plane image values 10000000000.000000 - -10000000000.000000!
0.000000 residual terms => -nan
0.000000 residual terms => -nan
...

the output is in the same fashion until the end.

Any idea what might be wrong with my dataset? Is it possible that it does not work because it is not composed from video capture? (I can only get exposure times for the third column of times.txt when shooting images one by one with the camera)

chapa17 commented 3 years ago

@anilprasadmn @vannem95 I am getting plane image values 10000000000.000000 - -10000000000.000000! 0.000000 residual terms => -nan 0.000000 residual terms => -nan even when aruco is installed in the thirdparty folder. I am able to generate pcalib.txt although it is not in increasing order from 0...255. Can you please help me with vignette.png generation?

Thank you!

flyover-26 commented 2 years ago

hi! I am using realsense d435i to test dso_ros.And I can only get a rosbag. Could you please tell me how to get time.txt or images with rosbag? thank you guys so much.

shallowlife commented 6 months ago

@fairf4x I have the same result,do you know how to solve it? Markers.size() != 1 is always true on my dataset.