
    9i                         S SK rS rg)    Nc                    U R                   S:w  a  [        SU R                    35      e[        R                  " U 5      n U R	                  SU R
                  U R                  S   -   35      n[        R                  " USS9u  p#X   nU$ )a  Remove repeated rows from a 2D array.

In particular, if given an array of coordinates of shape
(Npoints, Ndim), it will remove repeated points.

Parameters
----------
ar : ndarray, shape (M, N)
    The input array.

Returns
-------
ar_out : ndarray, shape (P, N)
    A copy of the input array with repeated rows removed.

Raises
------
ValueError : if `ar` is not two-dimensional.

Notes
-----
The function will generate a copy of `ar` if it is not
C-contiguous, which will negatively affect performance for large
input arrays.

Examples
--------
>>> ar = np.array([[1, 0, 1],
...                [0, 1, 0],
...                [1, 0, 1]], np.uint8)
>>> unique_rows(ar)
array([[0, 1, 0],
       [1, 0, 1]], dtype=uint8)
   z2unique_rows() only makes sense for 2D arrays, got z|S   T)return_index)ndim
ValueErrornpascontiguousarrayviewitemsizeshapeunique)arar_row_view_unique_row_indicesar_outs        S/var/www/html/land-doc-ocr/venv/lib/python3.13/site-packages/skimage/util/unique.pyunique_rowsr      s    F 
ww!|CBGG9M
 	
 
		b	!B ''Br{{RXXa[89:;KIIkEA#FM    )numpyr	   r    r   r   <module>r      s    /r   