<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5 plus MathML//EN" "http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_mathml.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="Module.2003-12-19.3616">
  <name>Code</name>
  <metadata>
  <md:version>1.2</md:version>
  <md:created>2003/12/19 15:36:16 US/Central</md:created>
  <md:revised>2003/12/19 15:59:22.642 US/Central</md:revised>
  <md:authorlist>
    <md:author id="picazo">
      <md:firstname>Genaro</md:firstname>
      
      <md:surname>Picazo</md:surname>
      <md:email>picazo@rice.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="picazo">
      <md:firstname>Genaro</md:firstname>
      
      <md:surname>Picazo</md:surname>
      <md:email>picazo@rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  

  <md:abstract>Code for our ELEC 301 Project for Fall 2003. By: Chris Omidiran, Genaro Picazo, Ian Wells, Daniel Wu</md:abstract>
</metadata>

  <content>
		<section id="BPC">
			<name>Basis/Orthogonal Matching Pursuit Code</name>
			<para id="BPpar">This is our code for the basis pursuit and orthogonal matching pursuit algorithms for 2 dimensional signals, namely images. All of the code was written from scratch by members of the group, and was based on ideas drawn from our research. The code is shown below.</para>
			<para id="dict">
				<figure id="bpbasis">
					<name>BP Basis</name>
					<media type="image/jpg" src="bpbasis.JPG"/>
					<caption>Code to define our dictionary for the algorithms.</caption>
				</figure>
			</para>
			<para id="dec">
				<figure id="bpdec">
					<name>BP Decompose</name>
					<media type="image/jpg" src="bpdecompose.JPG"/>
					<caption>Given a an image, it decomposes the image into a representation of k terms.</caption>
				</figure>
			</para>

<para id="ompdec">
				<figure id="ompdecf">
					<name>OMP Decompose</name>
					<media type="image/jpg" src="ompdecompose.JPG"/>
					<caption>Given a an image, it docomposes the image into a representation of k terms (this one is for OMP, it is the only function that differs between algorithms).</caption>
				</figure>
			</para>


			<para id="blockdec">
				<figure id="bpblockdec">
					<name>BP Block Decompose</name>
					<media type="image/jpg" src="bpblockdecompose.JPG"/>
					<caption>Decomposes and image into row signals.</caption>
				</figure>
			</para>
			<para id="rec">
				<figure id="bprec">
					<name>BP Construct</name>
					<media type="image/jpg" src="bpconstructs.JPG"/>
					<caption>Reconstructs the approximate representation of the original image.</caption>
				</figure>
			</para>
			<para id="blockrec">
				<figure id="bpblockrec">
					<name>BP Block Construct</name>
					<media type="image/jpg" src="bpblockconstruct.JPG"/>
					<caption>Reconstructs each row of the  approximate representation of the original image.</caption>
				</figure>
			</para>
			<para id="imagproc">
				<figure id="bbimageproc">
					<name>Applying BP to an Image</name>
					<media type="image/jpg" src="imagproc.JPG"/>
					<caption>This algorithm takes in an image and the number of coefficients to use to approximate it and applies the BP algorithm to it.</caption>
				</figure>
			</para>
		</section>
				<section id="continue">
			<name>Continue</name>
			<para id="links"><list type="bulleted" id="bullets">
					<item><link src="http://www.cnx.rice.edu/content/m11778/latest/">Background Information</link></item>
<item><link src="http://www.cnx.rice.edu/content/m11780/latest/">Procedure</link></item>
<item>
<link src="http://www.cnx.rice.edu/content/m11783/latest/">Results</link></item>
<item><link src="http://www.cnx.rice.edu/content/m11781/latest/">Conclusion</link></item>
<item><link src="http://www.cnx.rice.edu/content/m11779/latest/">Our Code</link></item>
<item><link src="http://www.cnx.rice.edu/content/m11782/latest/">Team Members</link></item>
<item><link src="http://www.cnx.rice.edu/content/m11784/latest/">References</link></item>				</list></para>
		</section>

   
  </content>
  
</document>
