【Tanks and Temples】視頻幀提取-->用於三維重建

三維重建第一步:從視頻中提取若干圖像幀用於後續的三維重建,以Tanks and Temples數據集Training Set中的Ignatius場景爲例進行說明

1. Prepare Images

  • 圖像序列:直接到Step 2
  • 視頻: 需要將視頻轉爲圖像幀,具體如下步驟:

Ignatius.mp4視頻信息

  • 視頻幀率:29.97FPS
  • 圖像分辨率:3840x2160 (4K分辨率)
  • 幀數:~8000幀
Get jpg images from the video:
> ffmpeg -i Ignatius.mp4 -q:v 1 -vf fps=1 Ignatius/%06d.jpg

Resize:
> mogrify -quality 100 -resize 50% -path Ignatius2/ Ignatius/*.jpg

Write EXIF data:
> exiftool -overwrite_original -FocalLength="21" -focallengthin35mmformat="21" -make="Sony" -model="A7SM2" Ignatius2/*.jpg

2. Make a Reconstruction

3. Evaluation

optional

4. Tanks and Temples數據集

+── Tanks and Temples benchmark
│   +── training data
│   +── testing data
│   │   +── intermediate
│   │   +── advanced

參考鏈接

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章