    //! Discard neighboring duplicates in the image buffer, along the specified axis.
    CImg<T>& discard(const char axis=0) {
      return get_discard(axis).move_to(*this);
     
    CImg<T>& discard(const char axis=0) {
      return get_discard(axis).move_to(*this);