


Create a checkerboard image im = checkerboard(checkPeriod,nCheckPairs) Purpose: A black and white checkerboard image, suitable for using as part of a test scene (say for optical geometric distortion) is returned. The checkPeriod is specified in terms of pixels. The number of pairs of black and white checks (both vertically and horizontally) is also created. Example: im = checkerboard(16,8); imshow(im); colormap(gray); imwrite(im,'checkerboard.jpg','jpeg'); Copyright ImagEval Consultants, LLC, 2005.
