-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathalphaclean__reg_8c_source.html
270 lines (264 loc) · 22.3 KB
/
alphaclean__reg_8c_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
<!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"/>
<title>Leptonica: prog/alphaclean_reg.c Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.7.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<script type="text/javascript">
function hasClass(ele,cls) {
return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}
function addClass(ele,cls) {
if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}
function removeClass(ele,cls) {
if (hasClass(ele,cls)) {
var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
ele.className=ele.className.replace(reg,' ');
}
}
function toggleVisibility(linkObj) {
var base = linkObj.getAttribute('id');
var summary = document.getElementById(base + '-summary');
var content = document.getElementById(base + '-content');
var trigger = document.getElementById(base + '-trigger');
if ( hasClass(linkObj,'closed') ) {
summary.style.display = 'none';
content.style.display = 'block';
trigger.src = 'open.png';
removeClass(linkObj,'closed');
addClass(linkObj,'opened');
} else if ( hasClass(linkObj,'opened') ) {
summary.style.display = 'block';
content.style.display = 'none';
trigger.src = 'closed.png';
removeClass(linkObj,'opened');
addClass(linkObj,'closed');
}
return false;
}
</script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="moller52-tiny.jpg"></td>
<td style="padding-left: 0.5em;">
<div id="projectname">Leptonica <span id="projectnumber">1.68</span></div>
<div id="projectbrief">C Image Processing Library</div>
</td>
</tr>
</tbody>
</table>
</div>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
<li id="searchli">
<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 List</span></a></li>
<li><a href="globals.html"><span>Globals</span></a></li>
</ul>
</div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
initNavTree('alphaclean__reg_8c.html','');
</script>
<div id="doc-content">
<div class="header">
<div class="headertitle">
<h1>alphaclean_reg.c</h1> </div>
</div>
<div class="contents">
<a href="alphaclean__reg_8c.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*====================================================================*</span>
<a name="l00002"></a>00002 <span class="comment"> - Copyright (C) 2001 Leptonica. All rights reserved.</span>
<a name="l00003"></a>00003 <span class="comment"> - This software is distributed in the hope that it will be</span>
<a name="l00004"></a>00004 <span class="comment"> - useful, but with NO WARRANTY OF ANY KIND.</span>
<a name="l00005"></a>00005 <span class="comment"> - No author or distributor accepts responsibility to anyone for the</span>
<a name="l00006"></a>00006 <span class="comment"> - consequences of using this software, or for whether it serves any</span>
<a name="l00007"></a>00007 <span class="comment"> - particular purpose or works at all, unless he or she says so in</span>
<a name="l00008"></a>00008 <span class="comment"> - writing. Everyone is granted permission to copy, modify and</span>
<a name="l00009"></a>00009 <span class="comment"> - redistribute this source code, for commercial or non-commercial</span>
<a name="l00010"></a>00010 <span class="comment"> - purposes, with the following restrictions: (1) the origin of this</span>
<a name="l00011"></a>00011 <span class="comment"> - source code must not be misrepresented; (2) modified versions must</span>
<a name="l00012"></a>00012 <span class="comment"> - be plainly marked as such; and (3) this notice may not be removed</span>
<a name="l00013"></a>00013 <span class="comment"> - or altered from any source or modified source distribution.</span>
<a name="l00014"></a>00014 <span class="comment"> *====================================================================*/</span>
<a name="l00015"></a>00015
<a name="l00016"></a>00016 <span class="comment">/*</span>
<a name="l00017"></a>00017 <span class="comment"> * alphaclean_reg.c</span>
<a name="l00018"></a>00018 <span class="comment"> *</span>
<a name="l00019"></a>00019 <span class="comment"> * Tests transparency and cleaning under alpha.</span>
<a name="l00020"></a>00020 <span class="comment"> */</span>
<a name="l00021"></a>00021
<a name="l00022"></a>00022 <span class="preprocessor">#include <stdio.h></span>
<a name="l00023"></a>00023 <span class="preprocessor">#include <stdlib.h></span>
<a name="l00024"></a>00024 <span class="preprocessor">#include "allheaders.h"</span>
<a name="l00025"></a>00025
<a name="l00026"></a><a class="code" href="alphaclean__reg_8c.html#ad60019c86c57c9fe0021e1b2a482462e">00026</a> <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="environ_8h.html#a9085c7874153c280a4171244aa052e4e">l_int32</a> <a class="code" href="alphaclean__reg_8c.html#ad60019c86c57c9fe0021e1b2a482462e">SHOW</a> = 0;
<a name="l00027"></a>00027
<a name="l00028"></a><a class="code" href="alphaclean__reg_8c.html#a5ea466849f21e6c2be4ef9b2eb8868d3">00028</a> <a class="code" href="src_2endiantest_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a>(<span class="keywordtype">int</span> argc,
<a name="l00029"></a>00029 <span class="keywordtype">char</span> **argv)
<a name="l00030"></a>00030 {
<a name="l00031"></a>00031 <a class="code" href="environ_8h.html#a9085c7874153c280a4171244aa052e4e">l_int32</a> w, h, n1, n2;
<a name="l00032"></a>00032 <a class="code" href="struct_pix.html">PIX</a> *pixs, *pixb, *pixg, *pixc, *pixd;
<a name="l00033"></a>00033 <a class="code" href="struct_pix.html">PIX</a> *pixg2, *pixcs1, *pixcs2, *pixd1, *pixd2, *pixt1, *pixt2;
<a name="l00034"></a>00034 <a class="code" href="struct_pixa.html">PIXA</a> *pixa;
<a name="l00035"></a>00035 <span class="keyword">static</span> <span class="keywordtype">char</span> mainName[] = <span class="stringliteral">"alphaclean_reg"</span>;
<a name="l00036"></a>00036
<a name="l00037"></a>00037 <span class="keywordflow">if</span> (argc != 1)
<a name="l00038"></a>00038 exit(<a class="code" href="environ_8h.html#a8b17fe871312c2e1613fa694bb78a963">ERROR_INT</a>(<span class="stringliteral">" Syntax: alphaclean_reg"</span>, mainName, 1));
<a name="l00039"></a>00039
<a name="l00040"></a>00040 <span class="comment">/* Make the transparency (alpha) layer.</span>
<a name="l00041"></a>00041 <span class="comment"> * pixs is the mask. We turn it into a transparency (alpha)</span>
<a name="l00042"></a>00042 <span class="comment"> * layer by converting to 8 bpp. A small convolution fuzzes</span>
<a name="l00043"></a>00043 <span class="comment"> * the mask edges so that you don't see the pixels. */</span>
<a name="l00044"></a>00044 pixs = <a class="code" href="leptprotos_8h.html#a84634846cbb5e01df667d6e9241dfc53">pixRead</a>(<span class="stringliteral">"feyn-fract.tif"</span>);
<a name="l00045"></a>00045 <a class="code" href="leptprotos_8h.html#a11b8bc890f3872b0a19307f4c5a9b41e">pixGetDimensions</a>(pixs, &w, &h, <a class="code" href="environ_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>);
<a name="l00046"></a>00046 pixg = <a class="code" href="leptprotos_8h.html#a5b37337f1ecff5386328dc324aac36ec">pixConvert1To8</a>(<a class="code" href="environ_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>, pixs, 0, 255);
<a name="l00047"></a>00047 pixg2 = <a class="code" href="convolve_8c.html#a7710dd78bd3e0936426a5bac9a62cd4c">pixBlockconvGray</a>(pixg, <a class="code" href="environ_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>, 1, 1);
<a name="l00048"></a>00048 <a class="code" href="leptprotos_8h.html#abfdb7bca89ec16e69b7f9748823cf7aa">pixDisplayWithTitle</a>(pixg2, 300, 0, <span class="stringliteral">"alpha"</span>, <a class="code" href="alphaclean__reg_8c.html#ad60019c86c57c9fe0021e1b2a482462e">SHOW</a>);
<a name="l00049"></a>00049
<a name="l00050"></a>00050 <span class="comment">/* Make the viewable image.</span>
<a name="l00051"></a>00051 <span class="comment"> * pixc is the image that we see where the alpha layer is</span>
<a name="l00052"></a>00052 <span class="comment"> * opaque -- i.e., greater than 0. Scale it to the same</span>
<a name="l00053"></a>00053 <span class="comment"> * size as the mask. To visualize what this will look like</span>
<a name="l00054"></a>00054 <span class="comment"> * when displayed over a black background, create the black</span>
<a name="l00055"></a>00055 <span class="comment"> * background image, pixb, and do the blending with pixcs1</span>
<a name="l00056"></a>00056 <span class="comment"> * explicitly using the alpha layer pixg2. */</span>
<a name="l00057"></a>00057 pixc = <a class="code" href="leptprotos_8h.html#a84634846cbb5e01df667d6e9241dfc53">pixRead</a>(<span class="stringliteral">"tetons.jpg"</span>);
<a name="l00058"></a>00058 pixcs1 = <a class="code" href="leptprotos_8h.html#abe2059c9d4d4070c1c4986b03311b8f0">pixScaleToSize</a>(pixc, w, h);
<a name="l00059"></a>00059 <a class="code" href="leptprotos_8h.html#abfdb7bca89ec16e69b7f9748823cf7aa">pixDisplayWithTitle</a>(pixcs1, 100, 200, <span class="stringliteral">"viewable"</span>, <a class="code" href="alphaclean__reg_8c.html#ad60019c86c57c9fe0021e1b2a482462e">SHOW</a>);
<a name="l00060"></a>00060 pixb = <a class="code" href="leptprotos_8h.html#a818df07aa55f619dee3073a9f75c5754">pixCreateTemplate</a>(pixcs1); <span class="comment">/* black */</span>
<a name="l00061"></a>00061 pixd1 = <a class="code" href="blend_8c.html#a51d08d3ae19c515a5fabf42db1daf85b">pixBlendWithGrayMask</a>(pixb, pixcs1, pixg2, 0, 0);
<a name="l00062"></a>00062 <a class="code" href="leptprotos_8h.html#abfdb7bca89ec16e69b7f9748823cf7aa">pixDisplayWithTitle</a>(pixd1, 100, 500, <span class="stringliteral">"alpha-blended 1"</span>, <a class="code" href="alphaclean__reg_8c.html#ad60019c86c57c9fe0021e1b2a482462e">SHOW</a>);
<a name="l00063"></a>00063
<a name="l00064"></a>00064 <span class="comment">/* Embed the alpha layer pixg2 into the color image pixc.</span>
<a name="l00065"></a>00065 <span class="comment"> * Write it out as is. Then clean pixcs1 (to 0) under the fully</span>
<a name="l00066"></a>00066 <span class="comment"> * transparent part of the alpha layer, and write that result</span>
<a name="l00067"></a>00067 <span class="comment"> * out as well. */</span>
<a name="l00068"></a>00068 <a class="code" href="leptprotos_8h.html#a17e981c7b37f5eb4e9f5dd4d2be66e2b">pixSetRGBComponent</a>(pixcs1, pixg2, <a class="code" href="pix_8h.html#a7ff5f2dff38e7639981794c43dc9167baad42ae4714038f26507c5966986b1f56">L_ALPHA_CHANNEL</a>);
<a name="l00069"></a>00069 <a class="code" href="leptprotos_8h.html#a78496d6f623d4a07f9152b5f46d08d49">pixWriteRGBAPng</a>(<span class="stringliteral">"/tmp/junkpixcs1.png"</span>, pixcs1);
<a name="l00070"></a>00070 pixcs2 = <a class="code" href="leptprotos_8h.html#a42974579389e4be6e372f5e22c67df21">pixSetUnderTransparency</a>(pixcs1, 0, 0);
<a name="l00071"></a>00071 <a class="code" href="leptprotos_8h.html#a78496d6f623d4a07f9152b5f46d08d49">pixWriteRGBAPng</a>(<span class="stringliteral">"/tmp/junkpixcs2.png"</span>, pixcs2);
<a name="l00072"></a>00072
<a name="l00073"></a>00073 <span class="comment">/* What will this look like over a black background?</span>
<a name="l00074"></a>00074 <span class="comment"> * Do the blending explicitly and display. It should</span>
<a name="l00075"></a>00075 <span class="comment"> * look identical to the blended result pixd1 before cleaning. */</span>
<a name="l00076"></a>00076 pixd2 = <a class="code" href="blend_8c.html#a51d08d3ae19c515a5fabf42db1daf85b">pixBlendWithGrayMask</a>(pixb, pixcs2, pixg2, 0, 0);
<a name="l00077"></a>00077 <a class="code" href="leptprotos_8h.html#abfdb7bca89ec16e69b7f9748823cf7aa">pixDisplayWithTitle</a>(pixd2, 600, 500, <span class="stringliteral">"alpha blended 2"</span>, <a class="code" href="alphaclean__reg_8c.html#ad60019c86c57c9fe0021e1b2a482462e">SHOW</a>);
<a name="l00078"></a>00078
<a name="l00079"></a>00079 <span class="comment">/* Read the two images back, ignoring the transparency layer.</span>
<a name="l00080"></a>00080 <span class="comment"> * The uncleaned image will come back identical to pixcs1.</span>
<a name="l00081"></a>00081 <span class="comment"> * However, the cleaned image will be black wherever</span>
<a name="l00082"></a>00082 <span class="comment"> * the alpha layer was fully transparent. It will </span>
<a name="l00083"></a>00083 <span class="comment"> * look the same when viewed through the alpha layer,</span>
<a name="l00084"></a>00084 <span class="comment"> * but have much better compression. */</span>
<a name="l00085"></a>00085 pixt1 = <a class="code" href="leptprotos_8h.html#a84634846cbb5e01df667d6e9241dfc53">pixRead</a>(<span class="stringliteral">"/tmp/junkpixcs1.png"</span>); <span class="comment">/* just pixcs1 */</span>
<a name="l00086"></a>00086 pixt2 = <a class="code" href="leptprotos_8h.html#a84634846cbb5e01df667d6e9241dfc53">pixRead</a>(<span class="stringliteral">"/tmp/junkpixcs2.png"</span>); <span class="comment">/* cleaned out under transparent */</span>
<a name="l00087"></a>00087 n1 = <a class="code" href="leptprotos_8h.html#ae5e93328f830c77f5b4124d2baea1d9f">nbytesInFile</a>(<span class="stringliteral">"/tmp/junkpixcs1.png"</span>);
<a name="l00088"></a>00088 n2 = <a class="code" href="leptprotos_8h.html#ae5e93328f830c77f5b4124d2baea1d9f">nbytesInFile</a>(<span class="stringliteral">"/tmp/junkpixcs2.png"</span>);
<a name="l00089"></a>00089 fprintf(stderr, <span class="stringliteral">" Original: %d bytes\n Cleaned: %d bytes\n"</span>, n1, n2);
<a name="l00090"></a>00090 <a class="code" href="leptprotos_8h.html#abfdb7bca89ec16e69b7f9748823cf7aa">pixDisplayWithTitle</a>(pixt1, 600, 200, <span class="stringliteral">"without alpha"</span>, <a class="code" href="alphaclean__reg_8c.html#ad60019c86c57c9fe0021e1b2a482462e">SHOW</a>);
<a name="l00091"></a>00091 <a class="code" href="leptprotos_8h.html#abfdb7bca89ec16e69b7f9748823cf7aa">pixDisplayWithTitle</a>(pixt2, 300, 800, <span class="stringliteral">"cleaned under transparent"</span>, <a class="code" href="alphaclean__reg_8c.html#ad60019c86c57c9fe0021e1b2a482462e">SHOW</a>);
<a name="l00092"></a>00092
<a name="l00093"></a>00093 pixa = <a class="code" href="leptprotos_8h.html#a7a6d1b9b5457c3dc9bc8f77a39a81147">pixaCreate</a>(0);
<a name="l00094"></a>00094 <a class="code" href="leptprotos_8h.html#a5bdc8398d337c9a8a7495421d34b8f2d">pixSaveTiled</a>(pixg2, pixa, 1, 1, 20, 32);
<a name="l00095"></a>00095 <a class="code" href="leptprotos_8h.html#a5bdc8398d337c9a8a7495421d34b8f2d">pixSaveTiled</a>(pixcs1, pixa, 1, 1, 20, 0);
<a name="l00096"></a>00096 <a class="code" href="leptprotos_8h.html#a5bdc8398d337c9a8a7495421d34b8f2d">pixSaveTiled</a>(pixt1, pixa, 1, 0, 20, 0);
<a name="l00097"></a>00097 <a class="code" href="leptprotos_8h.html#a5bdc8398d337c9a8a7495421d34b8f2d">pixSaveTiled</a>(pixd1, pixa, 1, 1, 20, 0);
<a name="l00098"></a>00098 <a class="code" href="leptprotos_8h.html#a5bdc8398d337c9a8a7495421d34b8f2d">pixSaveTiled</a>(pixd2, pixa, 1, 0, 20, 0);
<a name="l00099"></a>00099 <a class="code" href="leptprotos_8h.html#a5bdc8398d337c9a8a7495421d34b8f2d">pixSaveTiled</a>(pixt2, pixa, 1, 1, 20, 0);
<a name="l00100"></a>00100 pixd = <a class="code" href="leptprotos_8h.html#a6535561de2a8024c72d75babe15131a9">pixaDisplay</a>(pixa, 0, 0);
<a name="l00101"></a>00101 <a class="code" href="leptprotos_8h.html#ae8a779aa459f8d1c386363bf2a5c06f5">pixDisplay</a>(pixd, 100, 100);
<a name="l00102"></a>00102 <a class="code" href="leptprotos_8h.html#a5a9a534e77de5e57d74ff3d678ca59e0">pixWrite</a>(<span class="stringliteral">"/tmp/junkalpha.png"</span>, pixd, <a class="code" href="imageio_8h.html#a726ca809ffd3d67ab4b8476646f26635af0d248e8c70ac2d66a436f0967d6663e">IFF_JFIF_JPEG</a>);
<a name="l00103"></a>00103 <a class="code" href="leptprotos_8h.html#a1b238e61b64e4e5c62f44849cddb9658">pixDestroy</a>(&pixd);
<a name="l00104"></a>00104 <a class="code" href="leptprotos_8h.html#a6775cff91fdef2336a3f3037f7bb55f3">pixaDestroy</a>(&pixa);
<a name="l00105"></a>00105
<a name="l00106"></a>00106 <a class="code" href="leptprotos_8h.html#a1b238e61b64e4e5c62f44849cddb9658">pixDestroy</a>(&pixs);
<a name="l00107"></a>00107 <a class="code" href="leptprotos_8h.html#a1b238e61b64e4e5c62f44849cddb9658">pixDestroy</a>(&pixb);
<a name="l00108"></a>00108 <a class="code" href="leptprotos_8h.html#a1b238e61b64e4e5c62f44849cddb9658">pixDestroy</a>(&pixg);
<a name="l00109"></a>00109 <a class="code" href="leptprotos_8h.html#a1b238e61b64e4e5c62f44849cddb9658">pixDestroy</a>(&pixg2);
<a name="l00110"></a>00110 <a class="code" href="leptprotos_8h.html#a1b238e61b64e4e5c62f44849cddb9658">pixDestroy</a>(&pixc);
<a name="l00111"></a>00111 <a class="code" href="leptprotos_8h.html#a1b238e61b64e4e5c62f44849cddb9658">pixDestroy</a>(&pixcs1);
<a name="l00112"></a>00112 <a class="code" href="leptprotos_8h.html#a1b238e61b64e4e5c62f44849cddb9658">pixDestroy</a>(&pixcs2);
<a name="l00113"></a>00113 <a class="code" href="leptprotos_8h.html#a1b238e61b64e4e5c62f44849cddb9658">pixDestroy</a>(&pixd);
<a name="l00114"></a>00114 <a class="code" href="leptprotos_8h.html#a1b238e61b64e4e5c62f44849cddb9658">pixDestroy</a>(&pixd1);
<a name="l00115"></a>00115 <a class="code" href="leptprotos_8h.html#a1b238e61b64e4e5c62f44849cddb9658">pixDestroy</a>(&pixd2);
<a name="l00116"></a>00116 <a class="code" href="leptprotos_8h.html#a1b238e61b64e4e5c62f44849cddb9658">pixDestroy</a>(&pixt1);
<a name="l00117"></a>00117 <a class="code" href="leptprotos_8h.html#a1b238e61b64e4e5c62f44849cddb9658">pixDestroy</a>(&pixt2);
<a name="l00118"></a>00118 <span class="keywordflow">return</span> 0;
<a name="l00119"></a>00119 }
<a name="l00120"></a>00120
<a name="l00121"></a>00121
</pre></div></div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="alphaclean__reg_8c.html">alphaclean_reg.c</a> </li>
<li class="footer">Generated by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
</ul>
</div>
<!--- 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"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Defines</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</body>
</html>