Satellite Stereo Pipeline学习

1.在Anaconda某个环境中安装s2p

pip install s2p

2.在Ubuntu系统中安装s2p源代码

git clone https://github.com/centreborelli/s2p.git --recursive
cd s2p
pip install -e ".[test]"

3.在s2p中进行make all处理

中间会有很多情况,基本上哪个包出问题就重新pip那个包就行

4.进行make test处理

 会在testoutput文件夹中生成output_pair和output_triplet

里面有生成的dsm和各个tile对应的dsm和点云cloud.ply文件

先按照row分行,每个row再有几个col

5.运行测试文件

s2p tests/data/input_pair/config.json

config.json

{
  "out_dir" : "../../testoutput/output_pair2",
  "images" : [
    {"img" : "img_01.tif"},
    {"img" : "img_02.tif"}
    ],
  "roi" : {
      "x" : 150,
      "y" : 150,
      "w" : 700,
      "h" : 700
  },
  "full_img": true, 
  "horizontal_margin": 20,
  "vertical_margin": 5,
  "tile_size" : 300,
  "disp_range_method" : "sift",
  "msk_erosion": 0,
  "dsm_resolution": 0.5,
  "3d_filtering_r": 5,
  "3d_filtering_n": 50
}

 里面的参数在s2p/config.py中有详细解释

Notice that each input image must have RPC coefficients, either in its GeoTIFF tags or in a companion .xml or .txt file.

readme里面有这么一句话,我怎么没找到他说的RPC文件在哪

6.cloud.ply

dsm 

问题:

  1. 这个初始图像的rpc文件在哪?
  2. 初始左右视图像完全匹配不上怎么回事?
  3. 生成的dsm文件和初始左右视图像完全匹配不上?

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值