Introduction to Bioinformatics

More Practice With Imaging in Bioinformatics

Feature Detection Using Template Matching

Original
Image
Template (Target)
Image


Prep readings:

In this assignment, we wish to:


Overview

Consider the noisy images shown above. Your goal is to design a computer program to count the number of blot features in the gel on the left. You begin by extracting a sample blot subimage, such as the one on the right. To find the blots in the original image, you simply match the template image to all (or many) of the possible places it could be located at in the original image. In image processing, this type of algorithm is known by various names, such as template matching or model matching or feature detection. The blot subimage represents the template, model, or feature you are interested in matching or detecting. The matching/detection process can be implemented in several equivalent ways:

Getting some practice


Possible Problems and Solutions


Getting Credit for Your Progress

To get credit for this assignment, you need to complete these additional steps:

  1. Find an interesting image that you would like to do some template matching on. Ideally, this might be an image related to your Term Project. Store the new image in TIF format in your bioimaging folder. Next, use one of the Microsoft tools with an image cropping option to extract a feature image. Save this in TIF format as well. (Other image formats such as JPEG that involve compression may not work as well.)
  2. Make a copy of the main featuredet.m MATLAB program provided above (also in your bioimaging folder) and name the copy my_featuredet.m
  3. In your new program file, change the names of the input images to the images you would like to process. Save this new program, and then type my_featuredet in the MATLAB Command Window to run the code with your new images.
  4. Experiment with the code and parameter values until you produce some images which appear interesting or useful.
  5. Once you have some interesting images, save them from within the MATLAB program (using the imwrite function). Note that by default, MATLAB will save the images in the directory indicated next to the "Current Directory" label in the main window, so you will need to change this directory to your bioimaging folder before you run the new version of the program.
  6. On your course Webpage, under a heading titled, "Lab 7b: Imaging in Bioinformatics", include links to:
  7. E-mail me (msutton@uwf.edu) when you have completed the above steps.

Feel free to check out how the other students in the class are doing on the assignments.
These pages are optimized for viewing under Netscape.
© Copyright 2003. Melanie A. Sutton, Ph.D. (msutton@uwf.edu) All rights reserved.