Fixed database typo and removed unnecessary class identifier.
This commit is contained in:
parent
00ad49a143
commit
45fb349a7d
5098 changed files with 952558 additions and 85 deletions
|
@ -0,0 +1,25 @@
|
|||
from warnings import warn
|
||||
|
||||
from ..exposure import match_histograms as mh
|
||||
|
||||
def match_histograms(image, reference, multichannel=False):
|
||||
warn('DEPRECATED: skimage.transform.match_histograms has been moved to '
|
||||
'skimage.exposure.match_histograms. It will be removed from '
|
||||
'skimage.transform in version 0.18.', stacklevel=2)
|
||||
return mh(image, reference, multichannel=False)
|
||||
|
||||
|
||||
if mh.__doc__ is not None:
|
||||
match_histograms.__doc__ = mh.__doc__ + """
|
||||
Warns
|
||||
-----
|
||||
Deprecated:
|
||||
.. versionadded:: 0.16
|
||||
|
||||
This function is deprecated and will be removed in scikit-image 0.18.
|
||||
Please use ``match_histograms`` from ``exposure`` module instead.
|
||||
|
||||
See also
|
||||
--------
|
||||
skimage.exposure.match_histograms
|
||||
"""
|
Loading…
Add table
Add a link
Reference in a new issue