+
    Ai"                         ^ RI tR.tR tR# )    Nlabel_pointsc           	        V P                   ^,          \        V4      8w  d   \        R4      h\        P                  ! V ^ 8  4      '       d   \        R4      h\        \        P                  ! \        P                  ! V 4      P                  \        RR7      4      4      p\        P                  ! V\        P                  R7      p\        P                  ! ^V P                   ^ ,          ^,           4      W2&   V# )a  Assign unique integer labels to coordinates on an image mask

Parameters
----------
coords : ndarray
    An array of N coordinates with dimension D
output_shape : tuple
    The shape of the mask on which `coords` are labelled

Returns
-------
labels: ndarray
    A mask of zeroes containing unique integer labels at the `coords`

Examples
--------
>>> import numpy as np
>>> from skimage.util._label import label_points
>>> coords = np.array([[0, 1], [2, 2]])
>>> output_shape = (5, 5)
>>> mask = label_points(coords, output_shape)
>>> mask
array([[0, 1, 0, 0, 0],
       [0, 0, 0, 0, 0],
       [0, 0, 2, 0, 0],
       [0, 0, 0, 0, 0],
       [0, 0, 0, 0, 0]], dtype=uint64)

Notes
-----
- The labels are assigned to coordinates that are converted to
  integer and considered to start from 0.
- Coordinates that are out of range of the mask raise an IndexError.
- Negative coordinates raise a ValueError
z6Dimensionality of points should match the output shapez/Coordinates should be positive and start from 0F)copy)dtype)shapelen
ValueErrornpanytuple	transposeroundastypeintzerosuint64arange)coordsoutput_shape
np_indiceslabelss   &&  Q/var/www/html/photoedit/myenv/lib/python3.14/site-packages/skimage/util/_label.pyr   r      s    H ||A#l++TUU	vvfqjJKKr||BHHV$4$;$;Ce$;$LMNJXXl"))4F1fll1o&9:FM    )numpyr
   __all__r    r   r   <module>r      s    
-r   