Sophie

Sophie

distrib > Mageia > 6 > x86_64 > by-pkgid > cf48da7d1b8e1f83fb29b038ef4f8fc6 > files > 1205

engauge-digitizer-doc-9.8-1.mga6.noarch.rpm

<!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"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Engauge Digitizer: GridHealer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Engauge Digitizer
   &#160;<span id="projectnumber">2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</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>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classGridHealer-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">GridHealer Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Class that 'heals' the curves after grid lines have been removed.  
 <a href="classGridHealer.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="GridHealer_8h_source.html">GridHealer.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:afeb35ba8d332cf044210d75d5e9bbbf2"><td class="memItemLeft" align="right" valign="top"><a id="afeb35ba8d332cf044210d75d5e9bbbf2"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGridHealer.html#afeb35ba8d332cf044210d75d5e9bbbf2">GridHealer</a> (const QImage &amp;imageBefore, const <a class="el" href="classDocumentModelGridRemoval.html">DocumentModelGridRemoval</a> &amp;modelGridRemoval)</td></tr>
<tr class="memdesc:afeb35ba8d332cf044210d75d5e9bbbf2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Single constructor. <br /></td></tr>
<tr class="separator:afeb35ba8d332cf044210d75d5e9bbbf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2cc2ed15905b2ee84262fc19001ffc9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGridHealer.html#ac2cc2ed15905b2ee84262fc19001ffc9">erasePixel</a> (int xCol, int yRow)</td></tr>
<tr class="memdesc:ac2cc2ed15905b2ee84262fc19001ffc9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Remember that pixel was erased since it belongs to an grid line.  <a href="#ac2cc2ed15905b2ee84262fc19001ffc9">More...</a><br /></td></tr>
<tr class="separator:ac2cc2ed15905b2ee84262fc19001ffc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab74c3c547e3970db348d04a24c182da5"><td class="memItemLeft" align="right" valign="top"><a id="ab74c3c547e3970db348d04a24c182da5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGridHealer.html#ab74c3c547e3970db348d04a24c182da5">heal</a> (QImage &amp;imageToHeal)</td></tr>
<tr class="memdesc:ab74c3c547e3970db348d04a24c182da5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Heal the broken curve lines by spanning the gaps across the newly-removed grid lines. <br /></td></tr>
<tr class="separator:ab74c3c547e3970db348d04a24c182da5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class that 'heals' the curves after grid lines have been removed. </p>
<p>Specifically, gaps that span the pixels in the removed grid lines are filled in, if they are less than some epsilon value </p>

<p>Definition at line <a class="el" href="GridHealer_8h_source.html#l00037">37</a> of file <a class="el" href="GridHealer_8h_source.html">GridHealer.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="ac2cc2ed15905b2ee84262fc19001ffc9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2cc2ed15905b2ee84262fc19001ffc9">&sect;&nbsp;</a></span>erasePixel()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GridHealer::erasePixel </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>xCol</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>yRow</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Remember that pixel was erased since it belongs to an grid line. </p>
<p>In the image, erasure correponds to a foreground pixel being changed to the background color </p>

<p>Definition at line <a class="el" href="GridHealer_8cpp_source.html#l00096">96</a> of file <a class="el" href="GridHealer_8cpp_source.html">GridHealer.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>Grid/<a class="el" href="GridHealer_8h_source.html">GridHealer.h</a></li>
<li>Grid/<a class="el" href="GridHealer_8cpp_source.html">GridHealer.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Dec 25 2016 20:54:38 for Engauge Digitizer by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.12
</small></address>
</body>
</html>