Name
expn - generate image whose pixels are generated of raising to a given power pixels of the input image
Usage
output = expn(image, a, b)
Input
- image
- input real image
Output
- output
the output image whose pixels are given by `o=i^r`
- r
- exponent
Note: the values of the input image are not checked for agreement with the operation requested. For example, raising an image with negative pixel values to the power of `r=0.5` will yield incorrect results.
Author / Maintainer
Pawel A. Penczek
Keywords
- category 1
- MORPHOLOGY
- category 2
- SPATIAL
Files
morphology.py
Maturity
- stable
- works for most people, has been tested; test cases/examples available.
Bugs
None. It is perfect.