Differences between revisions 2 and 3
Revision 2 as of 2007-06-21 23:29:12
Size: 813
Editor: bmb24
Comment:
Revision 3 as of 2008-11-19 22:22:06
Size: 814
Editor: penczek
Comment:
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

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

fundamentals.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)