ImageTools - Maple Help

Online Help

All Products    Maple    MapleSim


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

ImageTools

  

Checkerboard

  

create a checkerboard image

 

Calling Sequence

Parameters

Options

Description

Examples

Calling Sequence

Checkerboard( n, height, width, opts )

Parameters

n

-

(optional) posint; size of each square

height

-

(optional) posint; height of board, in squares

width

-

(optional) posint; width of board, in squares

opts

-

(optional) equation(s) of the form option = value; specify options for the Checkerboard command

Options

• 

foreground = realcons

  

Specifies the shade of gray of the foreground color. The default is 1.0 (white).

• 

background = realcons

  

Specifies the shade of gray of the background color. The default is 0.0 (black).

• 

Other options are passed to Create.

Description

• 

The Checkerboard command returns an image of a checkerboard, that is, a grid of alternating light and dark squares.

• 

The optional parameter n specifies the length of each square, in pixels. The default is 20.

• 

The optional parameters height and width specify the height and width of the board, in squares, respectively. The default for height is 8. The default for width is height.

Examples

withImageTools:

EmbedCheckerboard

EmbedCheckerboard50,3,4,foreground=0.7,background=0.2

See Also

ImageTools

ImageTools[Create]

 


Download Help Document

Was this information helpful?



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