ImageTools - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

ImageTools

  

Intensity

  

measure the intensity of the layers of an image

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Intensity( img, meas )

Parameters

img

-

Image; input image

meas

-

(optional) name; intensity measure

Description

• 

The Intensity command computes an intensity measure of the layers of an image.

• 

The img parameter specifies the input image. It may be a GrayImage, a ColorImage, or a ColorAImage. If a GrayImage, then a numeric value is returned. If a ColorImage or a ColorAImage, then a list of numeric values is returned, with each element corresponding to the value of the computation for the corresponding layer.

Intensity Measures

The optional meas parameter is a name that selects the computed measure of the intensity. Following are the allowable names and the meaning of each:

  

energy : energy of the pixel values (rms2)

  

maximum : maximum pixel value

  

mean : mean pixel value

  

minimum : minimum pixel value

  

range : range of the pixel values (minimum..maximum)

  

rms : rms of the pixel values

  

variance : variance of the pixel values

The default is range.

Examples

withImageTools:

imgCreate100,200,r,c→evalf0.5sinr50+0.5sinc30:

Intensityimg

0.489962295499999978..0.999974559700000043

(1)

allmap2Intensity,img,minimum,maximum,range,mean,variance,rms,energy:

evalf[3]all

0.490,1.00,0.490..1.00,0.362,0.141,0.522,0.272

(2)

See Also

ImageTools

ImageTools[FitIntensity]

ImageTools[Histogram]

 


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