Differences between revisions 3 and 5 (spanning 2 versions)
Revision 3 as of 2008-11-19 22:22:06
Size: 814
Editor: penczek
Comment:
Revision 5 as of 2013-07-01 13:12:45
Size: 812
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 23: Line 23:
fundamentals.py morphology.py

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.

expn (last edited 2013-07-01 13:12:45 by localhost)