Get rid of horizontal and vertical lines


I am trying to get the ecg signal by itself and highlight it with the wand tool. I was able to take away the speckles by doing Process-> Noise->Remove Outliers…-> change raidus to 0.0 pixels and change which outliers to dark. I still need to eliminate the horizontal and vertical lines. How am I able to do so?

This is image I started with before the edits above:


Good day Fiona,

the question arises where these data come from and whether you are authorized to use or manipulate them.

In general it is not a good idea to extract data from printed plots. If the data is published, you should contact the authors-