Width - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


ImageTools

  

Width

  

return the width of an image

 

Calling Sequence

Parameters

Description

Examples

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:

imgCreate10..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]