
    1-Ph                         d dl Zd ZdS )    Nc                 
   | j         dk    rt          d| j                    t          j        |           } |                     d| j        | j        d         z             }t          j        |d          \  }}| |         }|S )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/test/jupyter/venv/lib/python3.11/site-packages/skimage/util/unique.pyunique_rowsr      s    F 
w!||MBGMM
 
 	
 
	b	!	!B '':r{RXa[8::;;KIkEEEA"#FM    )numpyr	   r    r   r   <module>r      s*       / / / / /r   