I have been trying to remove background noise from a picture but the attempts I have made so far didn't really work.
I am trying to convert this picture:

To something similar to this:

I have tried -despeckle but didn't do much. I am using ImageMagick in Linux.
Does anyone know how I could approach this problem?
Thank you!