Topic "arithmetic"

ARITHMETIC		    Monash Image Library		ARITHMETIC

These functions are for applying scalar operations to each pixel of an
image. In general they ignore overflow and underflow results.

Last Modified: 20 November 1992

Related Functions

iaddscalar increment all pixels by n
idivscalar divide all pixels by n
ilshift multiply all pixels by two
imask Applies a scalar values to each pixel in the image using the given operator (= and or xor mean min max sub over lshift rshift rand diff)
imulscalar multiply all pixels by n. Does not check for overflow.
ipasteop Applies bg image at row, col on fg image using the given operator (= and or xor mean min max sub over lshift rshift rand diff). ie out = fg op bg.
irshift divide all pixels by two
izero zero all pixels

Other Topics

index | userguide | full | arithmetic | basic | binary | blocks | colour | compress | display | docs | fft | hist | image | io | makefile | masks | memory | misc | morph | pixel | rgb | stats | transform | error | mapping