Maths-constant Operations

Maths-constant Operations

This submenu contains the available mathematical operations between a buffer and a constant value. If the result falls outside the normal intensity range of 0 to 255 the intensity may be either wrapped or saturated (set to the corresponding limit).

A Add constant: p+a.

This option simply adds a constant (a) to all the intensities (p) contained within the image.

D Divide by constant: p/a.

This operation divides all the intensities (p) by the constant value (a).

E Exponential: a**p.

This option raises the specified constant (a) to the power of the intensity (p).

F Formula: User specified.

This option allows the user to specify explicity the formula by which the buffer is to be transformed. The formula is specified in terms of the input intensity P.

L Logarithm: a*LOG10(p/b).

This option produces intensities which are a multiple (a) of the log (base 10) of the scaled intensity (b*p).

M Multiply by constant: a*p.

This option multiplies the intensity (p) by the specified constant (a).

P Power: p**a.

The resultant intensity is a multiple (a) of the initial intensity raised to the power of the constant (b).

R Reciprocal: a/p.

This option produces the reciprocal intensity field, scaled by the constant (a).

S Subtract constant: p-a.

This option reduces the intensities of the pixels by the amount specified.

T Subtract from const: a-p.

This option effectively inverts the buffer and then adds or subtracts a constant.


Parent menu

Main Menu

DigImage User Documentation


Stuart Dalziel, last page update: 19 February 1996