JiatianWu / stereo-dso

Stereo DSO
GNU General Public License v3.0
214 stars 85 forks source link

ERROR: dont't have photometric calibation. #4

Closed hansrajpabbati closed 6 years ago

hansrajpabbati commented 6 years ago

hansrajpabbati@hansrajpabbati-Inspiron-5537:~/Desktop/DSO/Work/Dso_Sparse/dso/build$ bin/dso_dataset files=/home/hansrajpabbati/Data_Odometry/dataset/sequences/01.zip calib=/home/hansrajpabbati/Desktop/DSO/Work/camera_2.txt preset=0 mode=0 loading data from /home/hansrajpabbati/Data_Odometry/dataset/sequences/01.zip! loading calibration from /home/hansrajpabbati/Desktop/DSO/Work/camera_2.txt!

=============== PRESET Settings: =============== DEFAULT settings:

Found fx=0.751875, fy=1.000000, cx=0.500000, cy=0.500000. I'm assuming this is the "relative" calibration file format,and will rescale this by image width / height to fx=481.200000, fy=480.000000, cx=319.500000, cy=239.500000.

Out: No Rectification Output resolution: 640 480

Rectified Kamera Matrix: 481.2 0 319.5 0 480 239.5 0 0 1

NO PHOTOMETRIC Calibration! Reading Photometric Calibration from file PhotometricUndistorter: Could not open file! set timestamps and exposures to zero! set EXPOSURES to zero! got 2207 images and 0 timestamps and 0 exposures.! ImageFolderReader: got 2207 files in /home/hansrajpabbati/Data_Odometry/dataset/sequences/01.zip! using pyramid levels 0 to 3. coarsest resolution: 80 x 60! ERROR: dont't have photometric calibation. Need to use commandline options mode=1 or mode=2 hansrajpabbati@hansrajpabbati-Inspiron-5537:~/Desktop/DSO/Work/Dso_Sparse/dso/build$

When running with mode=1 or mode=2 it gives segmentation fault (core dumped)

JiatianWu commented 6 years ago

Yeah it happens. Set mode == 0 to avoid this.