SampleImage - Maple Help

ImageTools

 SampleImage
 return a sample image

 Calling Sequence SampleImage( n )

Parameters

 n - an integer specifying a sample image

Description

 • The SampleImage function returns one of the available canned sample images, specified by integer argument n, which must range from 1 to the number of available images.
 • Calling SampleImage with 0 as its argument returns the number of available sample images.
 • Use the Preview or Embed commands to view the returned sample image in the Maple session.

Examples

 > $\mathrm{with}\left(\mathrm{ImageTools}\right):$
 > $\mathrm{SampleImage}\left(0\right)$
 ${5}$ (4.1)
 > $\mathrm{img}≔\mathrm{SampleImage}\left(1\right)$
 ${{\mathrm{_rtable}}}_{{36893628149848226740}}$ (4.2)
 > $\mathrm{Embed}\left(\mathrm{img}\right)$

Compatibility

 • The ImageTools[SampleImage] command was introduced in Maple 2021.