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

Online Help

All Products    Maple    MapleSim


ImageTools

  

WhatTypeImage

  

return the type of an image

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

WhatTypeImage( img )

Parameters

img

-

Image

Description

• 

The WhatTypeImage command returns the type of an image.

• 

If the parameter img is not of type Image, an error is raised.  The error message indicates why img is not an Image.

Examples

withImageTools:

imgCreate10,10,r,ccr:

WhatTypeImageimg

GrayImage

(1)

imgCreate10,10,3:

WhatTypeImageimg

ColorImage

(2)

notimgMatrix10,10,i,ji+j:

WhatTypeImagenotimg

Error, (in ImageTools:-WhatTypeImage) datatype is not float[8]

See Also

ImageTools

ImageTools[ImageTypes]