ImageTools - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

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

ImageTools

 Height
 return the height of an image

 Calling Sequence Height( img, info )

Parameters

 img - Image; input image info - (optional) one of 'size', 'lower', 'upper', or 'range'; information to return

Description

 • The Height command returns the height 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 height index
 – upper: upper height index
 – range: height index range
 – size: height of the image

Examples

 > $\mathrm{with}\left(\mathrm{ImageTools}\right):$
 > $\mathrm{img}≔\mathrm{Create}\left(10..59,1..200\right):$
 > $\mathrm{Height}\left(\mathrm{img}\right)$
 ${50}$ (1)
 > $\mathrm{map2}\left(\mathrm{Height},\mathrm{img},\left[\mathrm{size},\mathrm{lower},\mathrm{upper},\mathrm{range}\right]\right)$
 $\left[{50}{,}{10}{,}{59}{,}{10}{..}{59}\right]$ (2)

 See Also

## Was this information helpful?

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