§
    )Áôgì  ã                   ó   — 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        ú\/var/www/html/bac/bac_backend/python/env/lib/python3.11/site-packages/skimage/util/unique.pyÚunique_rowsr      s”   € ðF 
„w�!‚|€|ÝØMÀBÄGÐMÐMñ
ô 
ð 	
õ 
Ô	˜bÑ	!Ô	!€Bð —'’'Ð:˜rœ{¨R¬X°a¬[Ñ8Ð:Ð:Ñ;Ô;€KÝœI kÀÐEÑEÔEÑ€AÐØÐ"Ô#€FØ€Mó    )Únumpyr	   r   © r   r   ú<module>r      s*   ðØ Ð Ð Ð ð/ð /ð /ð /ð /r   