title: Noise removal in spatial data
body: <p>I have an array with two different values that characterize this image:
  <a href="https://i.stack.imgur.com/rnOYu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rnOYu.png" alt="enter image description here"></a></p>
  
  <p>I would like to keep the linear trends in red and remove the "noise" (single red points). Is there a good way to do this? </p>