return the width of an image - Maple Help

Online Help

All Products    Maple    MapleSim


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

ImageTools[Width] - return the width of an image

Calling Sequence

Width( img, info )

Parameters

img

-

Image; input image

info

-

(optional) one of 'size', 'lower', 'upper', or 'range'; information to return

Description

• 

The Width command returns the width information of the image img.

Information

• 

The optional info parameter specifies the information to return. Its default value is size. The following operations are supported:

– 

lower: lower width index

– 

upper: upper width index

– 

range: width index range

– 

size: width of the image

Examples

withImageTools:

img:=Create10..59,100..100:

Widthimg

201

(1)

map2Width,img,size,lower,upper,range

201,100,100,100..100

(2)

See Also

ImageTools, ImageTools[Height], ImageTools[Layers]


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