scale intensities of selected layers of an image - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Image Processing : ImageTools Package : ImageTools/ScaleIntensity

ImageTools[ScaleIntensity] - scale intensities of selected layers of an image

Calling Sequence

ScaleIntensity( img, scale, offset, opts )

Parameters

img

-

Image; image to scale

scale

-

realcons; scale factor

offset

-

(optional) realcons; offset

opts

-

(optional) equation(s) of the form option = value; specify options for the ScaleIntensity command

Description

• 

The ScaleIntensity procedure applies the linear transform scale*x + offset, where x is the intensity of a layer of an image, to the pixels of an image.

• 

The img parameter is the input image.

• 

The scale parameter is a realcons that is the scale factor.

• 

The optional offset parameter is a realcons that is the offset.  The default is 0.

Examples

withImageTools:

img:=Create1,2,3,4

img:=1.2.3.4.

(1)

ScaleIntensityimg,2,1

3.5.7.9.

(2)

See Also

ImageTools, ImageTools[FitIntensity]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam