s2p icon indicating copy to clipboard operation
s2p copied to clipboard

Resulting DSM has black tiles

Open PratyushTripathy opened this issue 4 years ago • 2 comments

Processed a pair of Cartosat-1 stereo pair (2.5m) using the Python module. Completed without any error.

config.json

{
    "out_dir" : "output",
  "images" : [
    {"img" : "152904411_A.tif",
     "rpc" : "152904411_A_RPC_ORG.TXT"},
    {"img" : "152904411_F.tif",
     "rpc" : "152904411_F_RPC_ORG.TXT"}
    ],
  "roi" : {
      "x" : 500,
      "y" : 500,
      "w" : 11500,
      "h" : 11500
  },
  "full_img" : false,
  "matching_algorithm" : "mgm",
  "sift_match_thresh" : 0.6,
  "disp_range_extra_margin" : 0.2,
  "n_gcp_per_axis" : 5,
  "epipolar_thresh" : 0.5,
  "debug" : false,
  "temporary_dir" : "/tmp",
  "tile_size" : 500,
  "clean_tmp" : true,
  "fusion_thresh" : 3,
  "disp_range_method" : "sift",
  "dsm_resolution": 5,
  "horizontal_margin": 0,
  "vertical_margin": 0,
  "msk_erosion": 0
}

The generated DSM has a lot of black tiles, as shown below: new

However, the same two stereo scenes were processed a few years back using the s2p available at the MISS3D repository. The resulting DSM was fine, shown below: old

PratyushTripathy avatar Apr 12 '20 10:04 PratyushTripathy

Thank you @PratyushTripathy for reporting this issue. I'll reproduce the problem (I have these two Cartosat images) to see what's happening.

carlodef avatar Apr 12 '20 11:04 carlodef

Hi @carlodef, just wanted to check if you had a chance to look at this. I processed it recently with the newer version of S2P and got the same issue.

PratyushTripathy avatar Feb 04 '22 20:02 PratyushTripathy