Commit 5db2183d authored by Gaetano Raffaele's avatar Gaetano Raffaele
Browse files

ENH: add superimpose prior to stitching rtc scenes

parent 9dde67b1
No related merge requests found
Showing with 11 additions and 0 deletions
+11 -0
......@@ -213,6 +213,17 @@ class S1GRDPipeline:
ty = self.TMP_TYPE
self.append(ortho, fn, ty, 'io.out', is_output=True)
def superimpose(self):
proc_idx = self.out_idx.copy()
self.out_idx = []
for t in proc_idx:
si = otb.Registry.CreateApplication('Superimpose')
si.SetParameterString('inr', self.roi)
si.SetParameterInputImage('inm', self.pipe[t].GetParameterOutputImage(self.out_p[t]))
si.Execute()
fn = self.files[t].replace('.tiff', '_roi.tiff')
self.append(si, fn, self.TMP_TYPE, 'out', is_output=True)
def stitch(self):
proc_idx = self.out_idx.copy()
self.out_idx = []
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment