Image - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


convert/Image

convert to an Image

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

convert(expr, Image)

Parameters

expr

-

2-D or 3-D plot, Array, or Matrix; expression to convert

Description

• 

The convert(x, Image) command takes a 2-D or 3-D plot or a Matrix or Array and returns an Image structure corresponding to the input.

Examples

> 

plotimage≔convert⁡plot⁡sin,Image:

> 

upperbound⁡plotimage

600,800,3

(1)
> 

M≔LinearAlgebra:-RandomMatrix⁡100,generator=0..1

M≔1010111110…1010001010…0011101011…1110111011…1001010001…1000011111…1100001010…1110010101…1100001110…1000110100…⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮100 × 100 Matrix

(2)
> 

convert⁡M,Image

1.0.1.0.1.1.1.1.1.0.…1.0.1.0.0.0.1.0.1.0.…0.0.1.1.1.0.1.0.1.1.…1.1.1.0.1.1.1.0.1.1.…1.0.0.1.0.1.0.0.0.1.…1.0.0.0.0.1.1.1.1.1.…1.1.0.0.0.0.1.0.1.0.…1.1.1.0.0.1.0.1.0.1.…1.1.0.0.0.0.1.1.1.0.…1.0.0.0.1.1.0.1.0.0.…⋮⋮⋮⋮⋮⋮⋮⋮⋮⋮100 × 100 Array

(3)

Compatibility

• 

The convert/Image command was introduced in Maple 2021.

• 

For more information on Maple 2021 changes, see Updates in Maple 2021.

See Also

convert

ImageTools/ImageTypes