Open PalgunaGopireddy opened 1 month ago
Hi there :)
1) I took a simplistic approach as I was just experimenting. You need to create a random variable with that specific distribution. And multiply it with your clean images. You can find many sources on the web explaining in detail how to create a a random variable from uniform distribution. It's not difficult take a look at here And about UQI, DG you should look elsewhere I'm sure you can find detailed implementation.
2) skimage.util.random_noise can produce a wide range or noises. You just need to specify the type of noise you want as an argument. .
3) Sorry I don't have any links to those methods. You need to keep searching.
4) There is a python library called findpeaks. Look it up it has a implementation of the some of the famous despeckling filters. You can find it useful.
And for your other questions:
1) You guessed right. Its mere function is to prevent division by zero. It will not affect the the network. The convergence happens anyway. You can even use multiplication instead of division. They're the same and multiplication doesn't produce error so you won't even need that term.
2) Actually I followed the author implementation in I think an uncommon language. That was how he did it. I just followed his architecture. look up the PapersWithCode. You can find it there.
I ran
SAR Image Despeckling Using a Convolutional.ipynb
, I came across some doubts. Could you please answer them, it would make me understand CNN for descpecking. (I understand the repository used real-SAR images only, not synthetic-SAR images.)skimage.util.random_noise
function, but the paper told it used eq. 1 mentioned in the paper (though paper did not mention exact procesure). Do you know thatskimage.util.random_noise
function produces the multiplicative noise (or) you just used a function that produces noiseprobabilistic patch-based filter (PPB) [24], SAR-BM3D [25], CNN [15]
are not done. It's ok. But could you give the links for these methods repositories. I will do it. I found the link for SAR-CNN [20].Please answer above doubts. it would make me understand CNN for descpecking. I have some other doubts below, It is ok, even if you did not answer these. Just wanted to mention them.
tensorflow.keras.layers.Lambda
function to create an expressionx = x+1e-7
, which is not in the paper. I gues it is for not producing the error of divide by zero. Am I correct? If so, does that effect the learned layer, because CNN is about learning the features, which are represented by values?