⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 adcm1670lib.html

📁 MatLab图像传感器网络仿真平台WiSNAP
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="./adcm1670lib_files/filelist.xml">
<link rel=Edit-Time-Data href="./adcm1670lib_files/editdata.mso">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Wireless Image Sensor Network Application Platform</title>
<!--[if gte mso 9]><xml>
 <o:DocumentProperties>
  <o:Author>Stephan Hengstler</o:Author>
  <o:LastAuthor>Stephan Hengstler</o:LastAuthor>
  <o:Revision>69</o:Revision>
  <o:TotalTime>114</o:TotalTime>
  <o:Created>2005-03-02T06:58:00Z</o:Created>
  <o:LastSaved>2005-03-15T08:27:00Z</o:LastSaved>
  <o:Pages>1</o:Pages>
  <o:Words>347</o:Words>
  <o:Characters>1981</o:Characters>
  <o:Company>@home</o:Company>
  <o:Lines>16</o:Lines>
  <o:Paragraphs>3</o:Paragraphs>
  <o:CharactersWithSpaces>2432</o:CharactersWithSpaces>
  <o:Version>9.6926</o:Version>
 </o:DocumentProperties>
</xml><![endif]-->
<style>
<!--
 /* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
h1
	{margin-right:0in;
	mso-margin-top-alt:auto;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	mso-outline-level:1;
	font-size:24.0pt;
	font-family:"Times New Roman";}
h2
	{mso-style-next:Normal;
	margin-right:0in;
	mso-margin-top-alt:auto;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	page-break-after:avoid;
	mso-outline-level:2;
	font-size:18.0pt;
	font-family:"Times New Roman";
	font-weight:normal;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
pre
	{margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Courier New";
	mso-fareast-font-family:"Courier New";}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
-->
</style>

<script language="JavaScript">
function slipInNewDest(cname){ 
  if ((navigator.appName == 'Microsoft Internet Explorer') && (navigator.appVersion.substring(0,1) == '2' )) {window.location = cname.toLowerCase()+".html";}
  else {window.document.f2.action=cname.toLowerCase()+".html";}
}
</script>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1"/>
 </o:shapelayout></xml><![endif]--><!-- $Revision: 1.4 $  $Date: 1998/09/11 19:57:07 $ --><!-- $Log: imagesto.html,v $# Revision 1.4  1998/09/11  19:57:07  thornton# Online doc for R11## Related Records: 50212## Revision 1.3  1998/09/08  17:24:52  thornton# Online doc for R11## Related Records: 49911# --><!-- DOCNAME: Image Processing Toolbox --><!-- HEADSTUFF -->
</head>

<body bgcolor=white lang=EN-US link=blue vlink=blue style='tab-interval:.5in'>
<!-- NAVBARTOP -->

<div class=Section1>

<table border=0 cellspacing=0 cellpadding=0 width="100%" style='width:100.0%;
 mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in'>
 <tr>
  <td valign=top style='background:#9BD0E0;padding:0in 0in 0in 0in;-moz-background-clip: initial;
  -moz-background-inline-policy: initial;-moz-background-origin: initial;
  background-position-x:0%;background-position-y:
  50%;background-attachment:
  scroll;background-repeat:repeat'>
  <p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<span
  style='font-size:12.0pt'><B>Wireless Sensor Networks Lab - Stanford University</B></font><br>
<span
  style='font-size:18.0pt'>WiSNAP</font><br><span
  style='font-size:15.0pt'>Wireless Image Sensor Network Application Platform</span><u1:p></u1:p><o:p></o:p></p>
  </td>
  <td valign=top style='background:#9BD0E0;padding:0in 0in 0in 0in;-moz-background-clip: initial;
  -moz-background-inline-policy: initial;-moz-background-origin: initial;
  background-position-x:0%;background-position-y:
  50%;background-attachment:
  scroll;background-repeat:repeat'>
  <form name=f2 onsubmit="slipInNewDest(f2.cmdname.value)">
  <p class=MsoNormal align=right style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
  auto;text-align:right'>&nbsp;&nbsp;<b>Go to function:</b> <INPUT TYPE="text" SIZE="12" NAME="cmdname"></p>
  </form>
  </td>
  <td valign=top style='background:#9BD0E0;padding:0in 0in 0in 0in;-moz-background-clip: initial;
  -moz-background-inline-policy: initial;-moz-background-origin: initial;
  background-position-x:0%;background-position-y:
  50%;background-attachment:
  scroll;background-repeat:repeat'>
  <p class=MsoNormal align=right style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
  auto;text-align:right'>&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.html"
  target="_top">Index</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="contents.html"
  target="_top">Contents</a>&nbsp;</p>
  </td>
 </tr>
</table>

<p class=MsoNormal><span style='display:none;mso-hide:all'><u1:p></u1:p><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></span></p>

<table border=0 cellpadding=0 width="100%" style='width:100.0%;mso-cellspacing:
 1.5pt;mso-padding-alt:0in 0in 0in 0in'>
 <tr>
  <td style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal><u1:p></u1:p><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>
  </td>
 </tr>
</table>

<h1>Library: Agilent ADCM-1670 Camera Module</h1>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>This
library implements low-level communication and functions to Agilent&#8217;s ADCM-1670
camera module. For more detailed information, refer to the <a
href="references.html">References</a>.</p>

<h2>Hardware</h2>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>This
library assumes that an Agilent image demonstrator board is connected to an
available RS-232 serial port. The ADCM-1670 camera module is mounted onto the
demonstrator board&#8217;s FLEX connector. Power to the demonstrator board should be
provided though an external power supply; it is not provided through the serial
connection.</p>

<h2>Interface</h2>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>The
library calls Microsoft Windows Device I/O functions to read from and write to
the serial port. It configures the serial port to 115200 Kbps, 8 data bits, no
parity, 1 stop bit, no flow control. Note that the ADCM-1670 camera module does
not support hardware handshaking. The functions for accessing the serial port
are written in C and compiled to Matlab mex functions.</p>

<h2>Functions</h2>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>The
ADCM-1670 library provides the following low-level functions to the Image
Sensor API.</p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>

<table border=1 cellpadding=0 width="100%" style='width:100.0%;mso-cellspacing:
 1.5pt;mso-padding-alt:0in 0in 0in 0in'>
 <tr>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'><pre>open</pre></td>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal>Open serial communications session:<br>
  This function opens the serial port for file I/O read and write access,
  configures the serial communication parameters, and returns a file handle.</p>
  </td>
 </tr>
 <tr>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'><pre>init</pre></td>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal>Initialize camera module:</p>
  <p class=MsoNormal>This function performs the camera module&#8217;s baud rate auto
  detection, sets the necessary image pipeline registers, configures the image
  sensor to 352x352 pixels JPEG output format, and reads the camera module&#8217;s
  revision ID.</p>
  </td>
 </tr>
 <tr>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'><pre>frame</pre></td>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal>Capture current frame:</p>
  <p class=MsoNormal>This function reads a current frame from the image sensor
  using the credit/add flow control. It adds a JPEG header to the JPEG body
  coming from the camera module and saves it to a temporary file. It returns
  the decompressed image array read from the temporary file.</p>
  </td>
 </tr>
 <tr>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'><pre>close</pre></td>
  <td valign=top style='padding:.75pt .75pt .75pt .75pt'>
  <p class=MsoNormal>Close serial communications session:</p>
  <p class=MsoNormal>This function closes the serial file I/O session and frees
  the serial port for access of subsequent applications.</p>
  </td>
 </tr>
</table>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>


<div class=MsoNormal align=center style='text-align:center'>

<hr size=2 width="100%" align=center>

</div>

<u1:p></u1:p>

<p class=MsoNormal align=center style='mso-margin-top-alt:auto;mso-margin-bottom-alt:
auto;text-align:center'><u1:p></u1:p>[ <a href="sensorapifunctions.html">Previous</a>
| <a href="contents.html" target="_top">Contents</a> | <a
href="adns3060lib.html">Next</a> ]</p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><![if !supportEmptyParas]>&nbsp;<![endif]><o:p></o:p></p>

</div>

</body>

</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -