public int CompareTo(PixelPos other)
 {
     return(x.CompareTo(other.x));
 }