libcvautomation/libcvautomation-opencv_8h.html

543 lines
31 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>libcvautomation: libcvautomation-opencv.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script><script src="http://www.mathjax.org/mathjax/MathJax.js"></script>
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">libcvautomation
&#160;<span id="projectnumber">2.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File&#160;List</span></a></li>
<li><a href="globals.html"><span>File&#160;Members</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">libcvautomation-opencv.h File Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>The source code to access libcv from inside libcvautomation.
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;<a class="el" href="libcvautomation_8h_source.html">libcvautomation/libcvautomation.h</a>&gt;</code><br/>
</div>
<p><a href="libcvautomation-opencv_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcvaPoint.html">cvaPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="libcvautomation-opencv_8h.html#ad37dfe0e025507d2437ea297232e8265">matchSubImage</a> (IplImage *rootImage, IplImage *subImage, int searchMethod, double tolerance)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the location of a sub image in its root image. <a href="#ad37dfe0e025507d2437ea297232e8265"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcvaPoint.html">cvaPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="libcvautomation-opencv_8h.html#a0f847f63a736bddcc78ebf857be0813f">matchSubImage_center</a> (IplImage *rootImage, IplImage *subImage, int searchMethod, double tolerance)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the center of a sub image in its root image, rather than the top-left corner. <a href="#a0f847f63a736bddcc78ebf857be0813f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcvaPoint.html">cvaPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="libcvautomation-opencv_8h.html#a938c40be84667f64b51c8f1fa3725b43">matchSubImage_location</a> (const char *rootImage_location, const char *subImage_location, int searchMethod, double tolerance)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the location of a sub image in its root image. <a href="#a938c40be84667f64b51c8f1fa3725b43"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcvaPoint.html">cvaPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="libcvautomation-opencv_8h.html#a0403ac35c77946e86f6436fd891fa6ac">matchSubImage_location_center</a> (const char *rootImage_location, const char *subImage_location, int searchMethod, double tolerance)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the center of a sub image in its root image, rather than the top-left corner. <a href="#a0403ac35c77946e86f6436fd891fa6ac"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="libcvautomation-opencv_8h.html#a3facf18280800537b7b7694b5cd731cf">matchSubImage_a</a> (IplImage *rootImage, <a class="el" href="structcvautomationList.html">cvautomationList</a> *subImageArray, int listSize)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse an array of sub images and send them to <a class="el" href="libcvautomation-opencv_8h.html#ad37dfe0e025507d2437ea297232e8265" title="Return the location of a sub image in its root image.">matchSubImage()</a> <a href="#a3facf18280800537b7b7694b5cd731cf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="libcvautomation-opencv_8h.html#ac936ccd391f6a7b9212d5ee0009d7cc1">matchSubImage_a_center</a> (IplImage *rootImage, <a class="el" href="structcvautomationList.html">cvautomationList</a> *subImageArray, int listSize)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse an array of sub images and send them to <a class="el" href="libcvautomation-opencv_8h.html#a0f847f63a736bddcc78ebf857be0813f" title="Return the center of a sub image in its root image, rather than the top-left corner.">matchSubImage_center()</a> <a href="#ac936ccd391f6a7b9212d5ee0009d7cc1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="libcvautomation-opencv_8h.html#adc8768ffe81ab2778f9ee9ea61882090">matchSubImage_a_location</a> (const char *rootImageFileName, <a class="el" href="structcvautomationList.html">cvautomationList</a> *subImageArray, int listSize)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse an array of sub images and send them to <a class="el" href="libcvautomation-opencv_8h.html#ad37dfe0e025507d2437ea297232e8265" title="Return the location of a sub image in its root image.">matchSubImage()</a> <a href="#adc8768ffe81ab2778f9ee9ea61882090"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="libcvautomation-opencv_8h.html#ad1a6791e1ab8ec5d456845bb2382b194">matchSubImage_a_location_center</a> (const char *rootImageFileName, <a class="el" href="structcvautomationList.html">cvautomationList</a> *subImageArray, int listSize)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse an array of sub images and send them to <a class="el" href="libcvautomation-opencv_8h.html#a0f847f63a736bddcc78ebf857be0813f" title="Return the center of a sub image in its root image, rather than the top-left corner.">matchSubImage_center()</a> <a href="#ad1a6791e1ab8ec5d456845bb2382b194"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>The source code to access libcv from inside libcvautomation. </p>
<p>This source file builds in the necessary functionality to use libcv functions inside libcvautomation. </p>
<dl class="author"><dt><b>Author:</b></dt><dd>Bradlee Speice </dd></dl>
<p>Definition in file <a class="el" href="libcvautomation-opencv_8h_source.html">libcvautomation-opencv.h</a>.</p>
</div><hr/><h2>Function Documentation</h2>
<a class="anchor" id="ad37dfe0e025507d2437ea297232e8265"></a><!-- doxytag: member="libcvautomation&#45;opencv.h::matchSubImage" ref="ad37dfe0e025507d2437ea297232e8265" args="(IplImage *rootImage, IplImage *subImage, int searchMethod, double tolerance)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CvPoint <a class="el" href="libcvautomation-opencv_8h.html#ad37dfe0e025507d2437ea297232e8265">matchSubImage</a> </td>
<td>(</td>
<td class="paramtype">IplImage *&#160;</td>
<td class="paramname"><em>rootImage</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">IplImage *&#160;</td>
<td class="paramname"><em>subImage</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>searchMethod</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>tolerance</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Return the location of a sub image in its root image. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">rootImage</td><td>The root image (in IplImage format) to search in </td></tr>
<tr><td class="paramname">subImage</td><td>The sub image (in IplImage format) to search for in <code>rootImage</code> </td></tr>
<tr><td class="paramname">searchMethod</td><td>The search method to use when searching for <code>subImage</code> in <code>rootImage</code>. </td></tr>
<tr><td class="paramname">tolerance</td><td>The tolerance to use when searching for <code>subImage</code> in <code>rootImage</code>. </td></tr>
</table>
</dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="libcvautomation_search_methods.html">Libcv Search Methods</a> </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The location of the sub image in root image </dd></dl>
</div>
</div>
<a class="anchor" id="a0f847f63a736bddcc78ebf857be0813f"></a><!-- doxytag: member="libcvautomation&#45;opencv.h::matchSubImage_center" ref="a0f847f63a736bddcc78ebf857be0813f" args="(IplImage *rootImage, IplImage *subImage, int searchMethod, double tolerance)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CvPoint <a class="el" href="libcvautomation-opencv_8h.html#a0f847f63a736bddcc78ebf857be0813f">matchSubImage_center</a> </td>
<td>(</td>
<td class="paramtype">IplImage *&#160;</td>
<td class="paramname"><em>rootImage</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">IplImage *&#160;</td>
<td class="paramname"><em>subImage</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>searchMethod</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>tolerance</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Return the center of a sub image in its root image, rather than the top-left corner. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">rootImage</td><td>The root image (in IplImage format) to search in </td></tr>
<tr><td class="paramname">subImage</td><td>The sub image (in IplImage format) to search for in <code>rootImage</code> </td></tr>
<tr><td class="paramname">searchMethod</td><td>The search method to use when searching for <code>subImage</code> in <code>rootImage</code>. </td></tr>
<tr><td class="paramname">tolerance</td><td>The tolerance to use when searching for <code>subImage</code> in <code>rootImage</code>. </td></tr>
</table>
</dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="libcvautomation_search_methods.html">Libcv Search Methods</a> </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The center location of the sub image in root image </dd></dl>
</div>
</div>
<a class="anchor" id="a938c40be84667f64b51c8f1fa3725b43"></a><!-- doxytag: member="libcvautomation&#45;opencv.h::matchSubImage_location" ref="a938c40be84667f64b51c8f1fa3725b43" args="(const char *rootImage_location, const char *subImage_location, int searchMethod, double tolerance)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CvPoint <a class="el" href="libcvautomation-opencv_8h.html#a938c40be84667f64b51c8f1fa3725b43">matchSubImage_location</a> </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>rootImage_location</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>subImage_location</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>searchMethod</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>tolerance</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Return the location of a sub image in its root image. </p>
<p>The difference that this function has over <a class="el" href="libcvautomation-opencv_8h.html#ad37dfe0e025507d2437ea297232e8265" title="Return the location of a sub image in its root image.">matchSubImage()</a> is that <em>rootImage_location</em> and <em>subImage_location</em> are from files, rather than an IplImage format image. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">rootImage_location</td><td>The location of the root image </td></tr>
<tr><td class="paramname">subImage_location</td><td>The location of the sub image to search for in <code>rootImage</code> </td></tr>
<tr><td class="paramname">searchMethod</td><td>The search method to use when searching for <code>subImage</code> in <code>rootImage</code>. </td></tr>
<tr><td class="paramname">tolerance</td><td>The tolerance to use when searching for <code>subImage</code> in <code>rootImage</code>. </td></tr>
</table>
</dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="libcvautomation_search_methods.html">Libcv Search Methods</a> </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The location of the sub image in root image </dd></dl>
</div>
</div>
<a class="anchor" id="a0403ac35c77946e86f6436fd891fa6ac"></a><!-- doxytag: member="libcvautomation&#45;opencv.h::matchSubImage_location_center" ref="a0403ac35c77946e86f6436fd891fa6ac" args="(const char *rootImage_location, const char *subImage_location, int searchMethod, double tolerance)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">CvPoint <a class="el" href="libcvautomation-opencv_8h.html#a0403ac35c77946e86f6436fd891fa6ac">matchSubImage_location_center</a> </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>rootImage_location</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>subImage_location</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>searchMethod</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&#160;</td>
<td class="paramname"><em>tolerance</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Return the center of a sub image in its root image, rather than the top-left corner. </p>
<p>The difference that this function has over <a class="el" href="libcvautomation-opencv_8h.html#a0f847f63a736bddcc78ebf857be0813f" title="Return the center of a sub image in its root image, rather than the top-left corner.">matchSubImage_center()</a> is that <em>rootImage_location</em> and <em>subImage_location</em> are from files, rather than an IplImage format image. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">rootImage_location</td><td>The location of the root image </td></tr>
<tr><td class="paramname">subImage_location</td><td>The location of the sub image to search for in <code>rootImage</code> </td></tr>
<tr><td class="paramname">searchMethod</td><td>The search method to use when searching for <code>subImage</code> in <code>rootImage</code>. </td></tr>
<tr><td class="paramname">tolerance</td><td>The tolerance to use when searching for <code>subImage</code> in <code>rootImage</code>. </td></tr>
</table>
</dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="libcvautomation_search_methods.html">Libcv Search Methods</a> </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The center location of the sub image in root image </dd></dl>
</div>
</div>
<a class="anchor" id="a3facf18280800537b7b7694b5cd731cf"></a><!-- doxytag: member="libcvautomation&#45;opencv.h::matchSubImage_a" ref="a3facf18280800537b7b7694b5cd731cf" args="(IplImage *rootImage, cvautomationList *subImageArray, int listSize)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="libcvautomation-opencv_8h.html#a3facf18280800537b7b7694b5cd731cf">matchSubImage_a</a> </td>
<td>(</td>
<td class="paramtype">IplImage *&#160;</td>
<td class="paramname"><em>rootImage</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structcvautomationList.html">cvautomationList</a> *&#160;</td>
<td class="paramname"><em>subImageArray</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>listSize</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Parse an array of sub images and send them to <a class="el" href="libcvautomation-opencv_8h.html#ad37dfe0e025507d2437ea297232e8265" title="Return the location of a sub image in its root image.">matchSubImage()</a> </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">rootImage</td><td>The root image (in IplImage format) to search in </td></tr>
<tr><td class="paramname">subImageArray</td><td>The sub image array to search for in <code>rootImage</code> - Note that the contents of <code>subImageArray</code> are modified during execution of this routine </td></tr>
<tr><td class="paramname">listSize</td><td>The number of sub images to search for in subImageArray </td></tr>
</table>
</dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="structcvautomationList.html" title="Implements a structure to build an array for methods like matchSubImage_a()">cvautomationList</a> </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>This function returns void, and modifies the contents of subImageArray </dd></dl>
</div>
</div>
<a class="anchor" id="ac936ccd391f6a7b9212d5ee0009d7cc1"></a><!-- doxytag: member="libcvautomation&#45;opencv.h::matchSubImage_a_center" ref="ac936ccd391f6a7b9212d5ee0009d7cc1" args="(IplImage *rootImage, cvautomationList *subImageArray, int listSize)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="libcvautomation-opencv_8h.html#ac936ccd391f6a7b9212d5ee0009d7cc1">matchSubImage_a_center</a> </td>
<td>(</td>
<td class="paramtype">IplImage *&#160;</td>
<td class="paramname"><em>rootImage</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structcvautomationList.html">cvautomationList</a> *&#160;</td>
<td class="paramname"><em>subImageArray</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>listSize</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Parse an array of sub images and send them to <a class="el" href="libcvautomation-opencv_8h.html#a0f847f63a736bddcc78ebf857be0813f" title="Return the center of a sub image in its root image, rather than the top-left corner.">matchSubImage_center()</a> </p>
<p>Uses the cvautomationList.cvaImage parameter to find a <code>subImage</code> in <code>rootImage</code> </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">rootImage</td><td>The root image (in IplImage format) to search in </td></tr>
<tr><td class="paramname">subImageArray</td><td>The sub image array to search for in <code>rootImage</code> - Note that the contents of <code>subImageArray</code> are modified during execution of this routine </td></tr>
<tr><td class="paramname">listSize</td><td>The number of sub images to search for in subImageArray </td></tr>
</table>
</dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="structcvautomationList.html" title="Implements a structure to build an array for methods like matchSubImage_a()">cvautomationList</a> </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>This function returns void, and modifies the contents of subImageArray </dd></dl>
</div>
</div>
<a class="anchor" id="adc8768ffe81ab2778f9ee9ea61882090"></a><!-- doxytag: member="libcvautomation&#45;opencv.h::matchSubImage_a_location" ref="adc8768ffe81ab2778f9ee9ea61882090" args="(const char *rootImageFileName, cvautomationList *subImageArray, int listSize)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="libcvautomation-opencv_8h.html#adc8768ffe81ab2778f9ee9ea61882090">matchSubImage_a_location</a> </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>rootImage_location</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structcvautomationList.html">cvautomationList</a> *&#160;</td>
<td class="paramname"><em>subImageArray</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>listSize</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Parse an array of sub images and send them to <a class="el" href="libcvautomation-opencv_8h.html#ad37dfe0e025507d2437ea297232e8265" title="Return the location of a sub image in its root image.">matchSubImage()</a> </p>
<p>The difference between this and <a class="el" href="libcvautomation-opencv_8h.html#a3facf18280800537b7b7694b5cd731cf" title="Parse an array of sub images and send them to matchSubImage()">matchSubImage_a()</a> is that this uses a root image from filename, rather than from an IplImage format. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">rootImage_location</td><td>The location of the root image </td></tr>
<tr><td class="paramname">subImageArray</td><td>The sub image array to search for in <code>rootImage_location</code> - Note that the contents of <code>subImageArray</code> are modified during execution of this routine </td></tr>
<tr><td class="paramname">listSize</td><td>The number of sub images to search for in subImageArray </td></tr>
</table>
</dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="structcvautomationList.html" title="Implements a structure to build an array for methods like matchSubImage_a()">cvautomationList</a> </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>This function returns void, and modifies the contents of subImageArray </dd></dl>
</div>
</div>
<a class="anchor" id="ad1a6791e1ab8ec5d456845bb2382b194"></a><!-- doxytag: member="libcvautomation&#45;opencv.h::matchSubImage_a_location_center" ref="ad1a6791e1ab8ec5d456845bb2382b194" args="(const char *rootImageFileName, cvautomationList *subImageArray, int listSize)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="libcvautomation-opencv_8h.html#ad1a6791e1ab8ec5d456845bb2382b194">matchSubImage_a_location_center</a> </td>
<td>(</td>
<td class="paramtype">const char *&#160;</td>
<td class="paramname"><em>rootImage_location</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="structcvautomationList.html">cvautomationList</a> *&#160;</td>
<td class="paramname"><em>subImageArray</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>listSize</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Parse an array of sub images and send them to <a class="el" href="libcvautomation-opencv_8h.html#a0f847f63a736bddcc78ebf857be0813f" title="Return the center of a sub image in its root image, rather than the top-left corner.">matchSubImage_center()</a> </p>
<p>The difference that this function has over <a class="el" href="libcvautomation-opencv_8h.html#ac936ccd391f6a7b9212d5ee0009d7cc1" title="Parse an array of sub images and send them to matchSubImage_center()">matchSubImage_a_center()</a> is that <code>rootImage_location</code> is from a file </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
<table class="params">
<tr><td class="paramname">rootImage_location</td><td>The location of the root image </td></tr>
<tr><td class="paramname">subImageArray</td><td>The sub image array to search for in <code>rootImage_location</code> - Note that the contents of <code>subImageArray</code> are modified during execution of this routine </td></tr>
<tr><td class="paramname">listSize</td><td>The number of sub images to search for in subImageArray </td></tr>
</table>
</dd>
</dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="structcvautomationList.html" title="Implements a structure to build an array for methods like matchSubImage_a()">cvautomationList</a> </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>This function returns void, and modifies the contents of subImageArray </dd></dl>
</div>
</div>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Defines</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<hr class="footer"/><address class="footer"><small>
Generated on Thu Oct 11 2012 17:42:49 for libcvautomation by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>
</body>
</html>