diff --git a/exfiltrate.py b/exfiltrate.py index a3572f1..958a0cb 100755 --- a/exfiltrate.py +++ b/exfiltrate.py @@ -179,7 +179,7 @@ if __name__ == '__main__': mask = np.any(tile_data == 0, axis=-1) & np.any(tile_data != 0, axis=-1) # Identify pixels where not all bands are zero and at least one band is zero. for i in range(3): # Iterate over each band. # For these pixels, set zero bands to one. - tile_data[mask & (tile_data[:, :, i] == 0), i] = 0.1 + tile_data[mask & (tile_data[:, :, i] == 0), i] = 1 # Calculate the position of the tile in the image data array. row_pos = (row - min_row) * tile_size