megvii-research / TransMVSNet

(CVPR 2022) TransMVSNet: Global Context-aware Multi-view Stereo Network with Transformers.
MIT License
262 stars 25 forks source link

Tanks and Temples Cams_1/ file data #25

Open j-sripad opened 1 year ago

j-sripad commented 1 year ago

The 00000000_cam.txt camera file for the Family scene in the tanks and temples intermediate test set is as follows:

extrinsic 0.999914 -0.000314413 -0.0130934 -0.0371895 6.96597e-06 0.999724 -0.0234745 -0.127538 0.0130972 0.0234724 0.999639 0.570572 0.0 0.0 0.0 1.0

intrinsic 1167.35 0.0 962.678 0.0 1167.35 541.296 0.0 0.0 1.0

0.394995 0.874995

The last line has the depth_min value = 0.394995 and the depth_max value is 0.394995 How was the depth_max value calculated given I already know the depth_min value?

Thanks

wtyuan96 commented 1 year ago

The depth range in 00000000_cam.txt comes from the output of COLMAP SfM, please refer to MVSNet input from SfM output and the corresponding script for more information.

j-sripad commented 1 year ago

I ran colmap on one of the scenes from the intermediate test set of tanks and temples. After which I ran the script. The resultant cams file has different depth_min, depth_interval values. The extrinsics are also varying widely.

extrinsic -0.5881633085624604 -0.16835001444728442 0.7910260394553769 -0.2083889597104861 -0.03307577633315584 0.9822831302399821 0.1844609581074039 -0.9169789870213997 -0.8080655390999046 0.0823293670663239 -0.58331120325058 4.010675698779487 0.0 0.0 0.0 1.0

intrinsic 1160.1059371040562 0.0 978.5 0.0 1160.1059371040562 542.5 0.0 0.0 1.0

2.807188 0.439042 192.000000 86.664167

The above is an example 000000_cam.txt that I generated for the Family scene in tanks and temples intermediate test set.