Open LinghuiXia opened 3 years ago
Hello, I have a question. I want to correct and dB the image after denoising (output.tif). How do I write the specific code of Docker?
Hi!
I am not very familiar with Docker but regarding the first part of your question can suggest the following:
from s1denoise import Sentinel1Image
import matplotlib.pyplot as plt
# open access to file with S1 data
s1 = Sentinel1Image('/path/to/data/S1B_EW_GRDM_1SDH_INPUTFILE.zip')
# run thermal noise correction in HV polarisation with the NERSC algorithm
s0_hv = s1.remove_thermal_noise('HV')
# convert to dB
s0_hv = 10*np.log10(s0_hv)
# plot result
plt.imshow(s0_hv , cmap='gray')
Hello, I have a question. I want to correct and dB the image after denoising (output.tif). How do I write the specific code of Docker?