Image Display/Data Type Conversion

Building the Cantata Workspace


Generate a synthetic sine wave in the horizontal direction of dimensions 128 x 128, amplitude 2.0, and data type "float". Use the Sinusoidal operator. Display this sine wave image with Putimage.

Use the operator Convert Type followed by the Putimage operator to perform the following experiments:

  1. output type = Bit
  2. output type = Byte
  3. output type = Byte, Scaling Factor of 255/4
  4. output type = Unsigned Byte
  5. output type = Unsigned Byte, Scaling Factor of 255/4, Offset Value of 128
  6. output type = Complex

Exercises


DIP Feedback Form

Copyright © 1995 KRI, ISTEC, Ramiro Jordán, Roberto Lotufo. All Rights Reserved.