Purpose: The purpose of this lab exercise is to become familiar with image data representation and display, and how to acquire and use data object information.
Activities:
The file viewer shows that this data object only has value data, the pixel data type is unsigned byte, and the sizes of the value data are Width = 256, Height = 256, Depth = 1, Time = 1, Element = 1
This image value data type is bit, and its size is:
Width = 162, Height = 117, Depth = 1, Time = 1, Element = 1.
Only two values can be represented by bit data, 0 and 1. The display program shows the actual values of each pixel in the position window. Note that if the display program displayed the true grey levels of 0 and 1 on the screen, you would not be able to see the numbers in the image; 0 and 1 are so close that the image would look entirely black. To compensate for this, the Display Image operator internally normalizes the data between 0 and the maximum number of grey levels that can be displayed by your screen (ie., 0 - 255 for an 8-plane display). This is done for display purposes only; the data values are not altered.
This image value data type is Float, and its size is:
Width = 128, Height = 128, Depth = 1, Time = 1, Element = 1.
As was described above with bit data, the actual data values are printed in the position window of the Display Image operator, but the data has been internally normalized for display purposes.
The data type of this image is Complex, and its size is :
Width = 128, Height = 128, Depth = 1, Time = 1, Element = 1.
You may need to resize the display window with the window manager to view the complex values printed in the position window. To visualize the complex data, the Display Image operator first calculates a real values for the data (log(magnitude + 1)), and then normalizes those values.
The data type of this image is Unsigned byte; this object has a Color Space Model defined as RBG; its size is:
Width = 256, Height = 256, Depth = 1, Time = 1, Element = 3. The values of all 3 elements for each pixel are printed in the position window.
This data sequence has size of Width = 701, and Height, Depth, Time and Elements = 1. The data type is double.
The data type of this object is Float, and its size is:
Width = 40, Height = 32, Depth = 32, Time = 1, Elements = 1. To watch the animation through depth, select the run button.
Khoros Workspace
Execute the visual program c1s1data-representation.wk