+
    Ai                     6    ^ RI Ht ^ RItR.tRRRRRR/R ltR# )	    Ncontingency_tableignore_labels	normalizeFsparse_typematrixc                  Vf   . pVP                  R4      pV P                  R4      p\        P                  ! WbRR7      P                  \        4      pV'       d   V\        P
                  ! V4      ,          p\        P                  ! WvV334      pVR8X  d   \        P                  ! V4      pV# VR8w  d   RV 2p	\        V	4      hV# )a}  
Return the contingency table for all regions in matched segmentations.

Parameters
----------
im_true : ndarray of int
    Ground-truth label image, same shape as im_test.
im_test : ndarray of int
    Test image.
ignore_labels : sequence of int, optional
    Labels to ignore. Any part of the true image labeled with any of these
    values will not be counted in the score.
normalize : bool
    Determines if the contingency table is normalized by pixel count.
sparse_type : {"matrix", "array"}, optional
    The return type of `cont`, either `scipy.sparse.csr_array` or
    `scipy.sparse.csr_matrix` (default).

Returns
-------
cont : scipy.sparse.csr_matrix or scipy.sparse.csr_array
    A contingency table. `cont[i, j]` will equal the number of voxels
    labeled `i` in `im_true` and `j` in `im_test`. Depending on `sparse_type`,
    this can be returned as a `scipy.sparse.csr_array`.
T)invertr   arrayz/`sparse_type` must be 'array' or 'matrix', got )
reshapenpisinastypefloatcount_nonzerosparse	csr_array
csr_matrix
ValueError)
im_trueim_testr   r   r   	im_test_r	im_true_rdatacontmsgs
   &&$$$     `/var/www/html/photoedit/myenv/lib/python3.14/site-packages/skimage/metrics/_contingency_table.pyr   r      s    : #I#I779D9@@GD  &&Ty#9:;Dh  &
 K	 
	?}MoK    )scipy.sparser   numpyr   __all__r    r   r   <module>r#      s0     
,'+,7<,JR,r   