OREGON STATE UNIVERSITY

ME 451 - Introduction to Instrumentation and Measurement Systems

Lab Report Guidelines – Machine Vision Lab – Fall 2008

Due: Thursday, Dec. 11, 5 PM

The lab project involves using machine vision to accomplish the following three tasks:

1. Edge Finding 2. Object Detection 3. Pattern Matching

1.  Edge Finding: Use the Find Vertical Edge function in LabVIEW to locate the boundary between the red and white regions of the image, and determine the angle from vertical. Then invoke your motor control program from Lab 3 to move the edge into a vertical orientation.

2.  Object detection: Use the generalized object detection function in LabVIEW to find the features within the image. Tune (as best you can) the routine to identify an individual dot by color and size. Track the most consistently identified dot (I recommend large red) by slowly rotating the motor, and determine the center of rotation.

3.  Pattern Matching: Use the program provided to track an individual object within the scene. The program uses pattern matching functions within LabVIEW that identify objects based on size, shape, and color. Observe how well tracking works for translation and rotation of the scene, and how the match setting parameter affects the outcome.

I. Introduction

Very briefly describe the purpose and scope of the experiment.

II. Methods

For each of the three tasks:

1.  Illustrate your LabVIEW Front Panel and Block Diagram.

2.  Explain the basic search procedure that is implemented in the main LabVIEW routine used for the task (e.g. Vertical Edge Detection functions by establishing horizontal scan lines within the region of interest …). Provide illustrations that help illustrate the ideas.

3.  Describe how you used the program to accomplish the imaging task. Be sure to include tuning details of the LabVIEW routines (e.g. we isolated the blue color plane and set the object size range to …).

III. Results

For each of the three tasks:

1.  Document how well you were able to accomplish the imaging task through illustrations of the camera images obtained.

2.  Show examples of both what did and did not work; the situations where tracking was successful, and those where the method broke down.

IV. Analysis

For each of the three tasks:

1.  Identify the circumstances for successful completion of the imaging task.

2.  Identify the circumstances that complicated the imaging task.

3.  Describe how you would change the objects or imaging scene to make the task execute more reliably.