I have some STFT images that look like these: STFT1 and STFT2.
I did some image processing on these images, i.e. adding a filter.
I'm wondering, is it possible to extract the STFT information from these modified images?
In other words, how is the STFT information encoded in the RGB values?
For example, I used librosa.display.specshow(Xdb, sr=sr)
to plot the spectrogram. Then, I used plt.savefig()
to save the plotted graph on my local machine. Next, I added a filter to the image to make it looks blurry. The problem here is that the spectrogram has been modified so I don't know what that Xdb is anymore. Is there any way to inverse the librosa.display.specshow
function call and restore Xdb from the spectrogram image?