
    0-Ph                         d Z dZddlZ ej        ee          ^ZZg dZ	d Z
dZdZd Zd	 Zd
ev r ee          ZddlmZ  ee          ZdS )ao  Image Processing for Python

scikit-image (a.k.a. ``skimage``) is a collection of algorithms for image
processing and computer vision.

Attributes
----------
__version__ : str
    The scikit-image version string.

Subpackages
-----------
color
    Color space conversion.
data
    Example images and datasets.
draw
    Drawing primitives, such as lines, circles, text, etc.
exposure
    Image intensity adjustment, e.g., histogram equalization, etc.
feature
    Feature detection and extraction, e.g., texture analysis, corners, etc.
filters
    Sharpening, edge finding, rank filters, thresholding, etc.
future
    Functionality with an experimental API.
graph
    Graph-based operations, e.g., shortest paths.
io
    Reading and saving of images and videos.
measure
    Measurement of image properties, e.g., region properties, contours.
metrics
    Metrics corresponding to images, e.g., distance metrics, similarity, etc.
morphology
    Morphological algorithms, e.g., closing, opening, skeletonization.
registration
    Image registration algorithms, e.g., optical flow or phase cross correlation.
restoration
    Restoration algorithms, e.g., deconvolution algorithms, denoising, etc.
segmentation
    Algorithms to partition images into meaningful regions or boundaries.
transform
    Geometric and other transformations, e.g., rotations, Radon transform.
util
    Generic utilities.
z0.25.2    N)__version__colordatadrawexposurefeaturefiltersfuturegraphiomeasuremetrics
morphologyregistrationrestorationsegmentation	transformutilc                  4    t                                           S )N)__all__copy     P/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/skimage/__init__.py__dir__r   Q   s    <<>>r   z
It appears that you are importing a local scikit-image source tree. For
this, you need to have an inplace install. Maybe you are in the source
directory and you need to try from another location.z
Your install of scikit-image appears to be broken.
Try re-installing the package following the instructions at:
https://scikit-image.org/docs/stable/user_guide/install.htmlc                     dd l m} |                    t                    d         }t          }|dk    rt
          }t          |  d|           )Nr   skimagez:
It seems that scikit-image has not been built correctly.
)os.pathpathsplit__file___STANDARD_MSG_INPLACE_MSGImportError)eosp	local_dirmsgs       r   _raise_build_errorr)   c   sd    		(##A&I
CI 
OO#OO  r   c                    ddl }ddlm} 	 |                    g d |t                    j        d          }|r|                                                    dd                              d	          d                             d
d                                          \  }}d	                    d |                     d          D                       } | d| d| z  } n"# t          |j        f$ r Y nt          $ r Y nw xY w| S )z<Append last commit date and hash to `version`, if available.r   N)Path)gitlogz-1z--format="%h %aI"T)cwdtext" T-+c                 <    g | ]}|                     d           |S )r,   )
startswith).0tags     r   
<listcomp>z+_try_append_commit_info.<locals>.<listcomp>   s)    PPP#..:O:OPPPPr   z+git.)
subprocesspathlibr+   check_outputr!   parentstripreplacer    joinFileNotFoundErrorCalledProcessErrorOSError)versionr;   r+   outputgit_hashgit_dates         r   _try_append_commit_inforI   r   sL   ((555X% ) 
 

  	4&&sB//55c::1=EEc2NNTTVV Hh hhPPc 2 2PPP G 3h33333Gz<=       Ns   CC# #D6	DDdev)PytestTester)__doc__r   lazy_loader_lazyattach_stub__name__r!   __getattr___r   r   r#   r"   r)   rI   skimage._shared.testerrK   _PytestTestertestr   r   r   <module>rV      s   . .`     #%#Hh77a  ,  8
@    8 	K))+66K A @ @ @ @ @}Xr   