[Exercises]
[Workspace]
Purpose:
This lab exercise demonstrates methods for creating pattern
images using impulse and sinusoid generators.
Activities:
-
Create a Chess Board Pattern Image
-
Use the Impulse operator to generate a grid image of size
256x256 with 128 impulses along the width and height dimensions.
-
Glyphs:Input/Output:Generate Data:Impulse
-
Set the parameters to:
Width = 256 Num. along Width = 128
Height = 256 Num. along Height = 128
Width Spacing = 2 Width Offset = 0
Height Spacing = 2 Height Offset = 0
-
Shift the image one pixel down and one pixel right, using the Translate
operator.
-
Perform a union operation with the above images using the Maximum
operator.
-
Glyphs:Arithmetic:Two Operand Arithmetic:Maximum
-
Display an expanded ROI (Region of Interest) of the resultant
image. Use the operator Display Zoom Image connected to the output of
the MANIMUM glyph.
-
Generate four Pattern Images from a set of Sinusoid Images.
-
Generate and display 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 Sinusoid operator.
-
Glyphs:Input/Output:Generate Data:Sinusoid
-
Glyphs:Visualization:Non-Interactive Display:Display Image
-
Create and display 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.
-
Glyphs:Arithmetic:Two Operand Arithmetic:Maximum
-
Glyphs:Arithmetic:Two Operand Arithmetic:Minimum
-
Glyphs:Arithmetic:Two Operand Arithmetic:Multiply
-
Glyphs:Arithmetic:Two Operand Arithmetic:Add
-
Glyphs:Visualization:Non-Interactive Display:Display Image
Khoros Workspace
Execute the visual program c3s1gen-patterns.wk
Main DIP Menu
DIP Feedback Form
Copyright © 1997-1995 KRI, ISTEC, Ramiro Jordán, Roberto Lotufo. All Rights Reserved