Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2006-09-05 22:48:58
Size: 795
Editor: penczek
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:
o = expn(i, r) output = expn(image, a, b)
Line 7: Line 7:
    i:: input real image     image:: input real image
Line 10: Line 10:
    o:: the output image whose pixels are given by {{{`o=i^r`}}}     output:: the output image whose pixels are given by {{{`o=i^r`}}}
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)