Differences between revisions 2 and 5 (spanning 3 versions)
Revision 2 as of 2007-06-21 23:29:12
Size: 813
Editor: bmb24
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 5: Line 5:
output = expn(image, r) output = expn(image, a, b)
Line 18: Line 18:
    category 1:: FUNDAMENTALS     category 1:: MORPHOLOGY
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)