Commit 2aad290b authored by Arthur VINCENT's avatar Arthur VINCENT
Browse files

ENH : change masks interpolation method

parent 1b76e6c6
......@@ -360,6 +360,7 @@ class Landsat_5_old(Sensor):
self.generate_raster_ref(sat_mask)
dates_time_series_mask, _ = CreateSuperimposeApplication({"inr": self.ref_image,
"inm": dates_time_series_mask,
"interpolator" : "nn",
"out": times_series_mask,
"ram": str(ram)})
......
......@@ -267,6 +267,7 @@ class Landsat_8(Sensor):
# reproject using reference image
superimp, _ = CreateSuperimposeApplication({"inr": self.ref_image,
"inm": binary_mask_rule,
"interpolator" : "nn",
"out": out_mask_processing,
"pixType":"uint8",
"ram": str(ram)})
......
......@@ -362,6 +362,7 @@ class Landsat_8_old(Sensor):
self.generate_raster_ref(sat_mask)
dates_time_series_mask, _ = CreateSuperimposeApplication({"inr": self.ref_image,
"inm": dates_time_series_mask,
"interpolator" : "nn",
"out": times_series_mask,
"ram": str(ram)})
......
......@@ -267,6 +267,7 @@ class Sentinel_2(Sensor):
# reproject using reference image
superimp, _ = CreateSuperimposeApplication({"inr": self.ref_image,
"inm": binary_mask_rule,
"interpolator": "nn",
"out": out_mask_processing,
"pixType":"uint8",
"ram": str(ram)})
......
......@@ -254,6 +254,7 @@ class Sentinel_2_S2C(Sensor):
superimp, _ = CreateSuperimposeApplication({"inr": self.ref_image,
"inm": binary_mask,
"interpolator" : "nn",
"out": out_mask_processing,
"pixType":"uint8",
"ram": str(ram)})
......
Markdown is supported
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