Purpose: The purpose of this lab is to gain experience with feature extraction. The feature of interest for this exercise is the "first invariant moment" which measures the spread of pixels from the cen- troid of an object.
Activities:
Note that you will want to auto color and display the labeled image as well.
For "Specify Region Size"
Turn off both "Width" and "Height" parameters
Turn on "Elements" and set the value equal to 1
For "Specify Region Origin"
Turn off both "Width" and "Height" parameters
Turn on "Elements" and set the value equal to 42
Note that specifying the region origin element size to 42 corresponds to extracting the first invariant moment.
Khoros Workspace
Execute the visual program c10s1shape.wk