adjust_log
-
skimage.exposure.adjust_log(image, gain=1, inv=False)
[source] -
Performs Logarithmic correction on the input image.
This function transforms the input image pixelwise according to the equation
O = gain*log(1 + I)
after scaling each pixel to the range 0 to 1. For inverse logarithmic correction, the equation isO = gain*(2**I - 1)
.Parameters: image : ndarray
Input image.
gain : float
The constant multiplier. Default value is 1.
inv : float
If True, it performs inverse logarithmic correction, else correction will be logarithmic. Defaults to False.
Returns: out : ndarray
Logarithm corrected output image.
See also
References
[R83] http://www.ece.ucsb.edu/Faculty/Manjunath/courses/ece178W03/EnhancePart1.pdf
Please login to continue.