Patterns

Building the Cantata Workspace


Chess Board Pattern

A method to create an image of a chessboard pattern is described below
  1. Use the Impulse operator to generate a grid image of size 256x256 with 128 impulses along the width and height dimensions.
  2. Shift the image one pixel down and one pixel right, using the Translate operator.
  3. Perform a union operation with the above images using the Maximum operator.
  4. Display with zoom a ROI (Region of Interest) of the resultant image, use the operators Extract, Expand and Display Image.

Sinusoidal Patterns

  1. Generate two sinusoidal image patterns type "float", A and B, of sizes 128x128 and each with 5 cycles. Let pattern A be a wave in the width direction and pattern B in the height direction. Use the Sinusoidal operator.
  2. Create four different patterns by performing the following operations with the two images: union (maximum), intersection (minimum), multiplication and addition using the operators Maximum, Minimum, Multiply and Add respectively.

Exercises


rjordan@khoros.unm.edu, lotufo@khoros.unm.edu