svn-gvsig-desktop / branches / CqCMSDvp / libraries / libCq CMS for java.old / doc-files / javadocs / org / cresques / io / raster / PixelFilter.html @ 2312
History | View | Annotate | Download (12.3 KB)
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|---|
2 |
<!--NewPage-->
|
3 |
<HTML>
|
4 |
<HEAD>
|
5 |
<!-- Generated by javadoc (build 1.4.2_03) on Thu Jun 23 14:38:27 CEST 2005 -->
|
6 |
<TITLE>
|
7 |
PixelFilter |
8 |
</TITLE>
|
9 |
|
10 |
<META NAME="keywords" CONTENT="org.cresques.io.raster.PixelFilter class"> |
11 |
|
12 |
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> |
13 |
|
14 |
<SCRIPT type="text/javascript"> |
15 |
function windowTitle() |
16 |
{ |
17 |
parent.document.title="PixelFilter"; |
18 |
} |
19 |
</SCRIPT>
|
20 |
|
21 |
</HEAD>
|
22 |
|
23 |
<BODY BGCOLOR="white" onload="windowTitle();"> |
24 |
|
25 |
|
26 |
<!-- ========= START OF TOP NAVBAR ======= -->
|
27 |
<A NAME="navbar_top"><!-- --></A> |
28 |
<A HREF="#skip-navbar_top" title="Skip navigation links"></A> |
29 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
30 |
<TR>
|
31 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
32 |
<A NAME="navbar_top_firstrow"><!-- --></A> |
33 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
34 |
<TR ALIGN="center" VALIGN="top"> |
35 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
36 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
37 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
38 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
39 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
40 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
41 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
42 |
</TR>
|
43 |
</TABLE>
|
44 |
</TD>
|
45 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
46 |
</EM>
|
47 |
</TD>
|
48 |
</TR>
|
49 |
|
50 |
<TR>
|
51 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
52 |
<A HREF="../../../../org/cresques/io/raster/PercentTailTrimShortFilter.html" title="class in org.cresques.io.raster"><B>PREV CLASS</B></A> |
53 |
<A HREF="../../../../org/cresques/io/raster/QuickSort.html" title="class in org.cresques.io.raster"><B>NEXT CLASS</B></A></FONT></TD> |
54 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
55 |
<A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> |
56 |
<A HREF="PixelFilter.html" target="_top"><B>NO FRAMES</B></A> |
57 |
<SCRIPT type="text/javascript"> |
58 |
<!--
|
59 |
if(window==top) {
|
60 |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
61 |
}
|
62 |
//-->
|
63 |
</SCRIPT>
|
64 |
<NOSCRIPT>
|
65 |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
66 |
</NOSCRIPT>
|
67 |
|
68 |
</FONT></TD> |
69 |
</TR>
|
70 |
<TR>
|
71 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
72 |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
73 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
74 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
75 |
</TR>
|
76 |
</TABLE>
|
77 |
<A NAME="skip-navbar_top"></A> |
78 |
<!-- ========= END OF TOP NAVBAR ========= -->
|
79 |
|
80 |
<HR>
|
81 |
<!-- ======== START OF CLASS DATA ======== -->
|
82 |
<H2>
|
83 |
<FONT SIZE="-1"> |
84 |
org.cresques.io.raster</FONT>
|
85 |
<BR>
|
86 |
Class PixelFilter</H2>
|
87 |
<PRE>
|
88 |
java.lang.Object |
89 |
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.cresques.io.raster.PixelFilter</B> |
90 |
</PRE>
|
91 |
<DL>
|
92 |
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/cresques/io/raster/SimplePixelFilter.html" title="class in org.cresques.io.raster">SimplePixelFilter</A></DD> |
93 |
</DL>
|
94 |
<HR>
|
95 |
<DL>
|
96 |
<DT>public class <B>PixelFilter</B><DT>extends java.lang.Object</DL> |
97 |
|
98 |
<P>
|
99 |
<DL>
|
100 |
<DT><B>Author:</B></DT> |
101 |
<DD>Luis W. Sevilla (sevilla_lui@gva.es)</DD> |
102 |
</DL>
|
103 |
<HR>
|
104 |
|
105 |
<P>
|
106 |
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
107 |
|
108 |
|
109 |
<!-- =========== FIELD SUMMARY =========== -->
|
110 |
|
111 |
<A NAME="field_summary"><!-- --></A> |
112 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
113 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
114 |
<TD COLSPAN=2><FONT SIZE="+2"> |
115 |
<B>Field Summary</B></FONT></TD> |
116 |
</TR>
|
117 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
118 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
119 |
<CODE> boolean</CODE></FONT></TD> |
120 |
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/PixelFilter.html#debug">debug</A></B></CODE> |
121 |
|
122 |
<BR>
|
123 |
</TD> |
124 |
</TR>
|
125 |
</TABLE>
|
126 |
|
127 |
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
128 |
|
129 |
<A NAME="constructor_summary"><!-- --></A> |
130 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
131 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
132 |
<TD COLSPAN=2><FONT SIZE="+2"> |
133 |
<B>Constructor Summary</B></FONT></TD> |
134 |
</TR>
|
135 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
136 |
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/PixelFilter.html#PixelFilter(int)">PixelFilter</A></B>(int alpha)</CODE> |
137 |
|
138 |
<BR>
|
139 |
Constructor para el Oleico</TD> |
140 |
</TR>
|
141 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
142 |
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/PixelFilter.html#PixelFilter(int, int, int)">PixelFilter</A></B>(int trans, |
143 |
int or,
|
144 |
int pxMax)</CODE> |
145 |
|
146 |
<BR>
|
147 |
Constructor.</TD> |
148 |
</TR>
|
149 |
</TABLE>
|
150 |
|
151 |
<!-- ========== METHOD SUMMARY =========== -->
|
152 |
|
153 |
<A NAME="method_summary"><!-- --></A> |
154 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
155 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
156 |
<TD COLSPAN=2><FONT SIZE="+2"> |
157 |
<B>Method Summary</B></FONT></TD> |
158 |
</TR>
|
159 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
160 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
161 |
<CODE> void</CODE></FONT></TD> |
162 |
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/PixelFilter.html#filterLine(int[])">filterLine</A></B>(int[] pRGBArray)</CODE> |
163 |
|
164 |
<BR>
|
165 |
Filtra una l?nea de pixeles.</TD> |
166 |
</TR>
|
167 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
168 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
169 |
<CODE> int</CODE></FONT></TD> |
170 |
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/PixelFilter.html#getAlpha()">getAlpha</A></B>()</CODE> |
171 |
|
172 |
<BR>
|
173 |
</TD> |
174 |
</TR>
|
175 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
176 |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
177 |
<CODE> void</CODE></FONT></TD> |
178 |
<TD><CODE><B><A HREF="../../../../org/cresques/io/raster/PixelFilter.html#setAlpha(int)">setAlpha</A></B>(int alpha)</CODE> |
179 |
|
180 |
<BR>
|
181 |
</TD> |
182 |
</TR>
|
183 |
</TABLE>
|
184 |
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
185 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
186 |
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
187 |
<TD><B>Methods inherited from class java.lang.Object</B></TD> |
188 |
</TR>
|
189 |
<TR BGCOLOR="white" CLASS="TableRowColor"> |
190 |
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
191 |
</TR>
|
192 |
</TABLE>
|
193 |
|
194 |
<P>
|
195 |
|
196 |
<!-- ============ FIELD DETAIL =========== -->
|
197 |
|
198 |
<A NAME="field_detail"><!-- --></A> |
199 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
200 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
201 |
<TD COLSPAN=1><FONT SIZE="+2"> |
202 |
<B>Field Detail</B></FONT></TD> |
203 |
</TR>
|
204 |
</TABLE>
|
205 |
|
206 |
<A NAME="debug"><!-- --></A><H3> |
207 |
debug</H3>
|
208 |
<PRE>
|
209 |
public boolean <B>debug</B></PRE> |
210 |
<DL>
|
211 |
<DL>
|
212 |
</DL>
|
213 |
</DL>
|
214 |
|
215 |
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
216 |
|
217 |
<A NAME="constructor_detail"><!-- --></A> |
218 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
219 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
220 |
<TD COLSPAN=1><FONT SIZE="+2"> |
221 |
<B>Constructor Detail</B></FONT></TD> |
222 |
</TR>
|
223 |
</TABLE>
|
224 |
|
225 |
<A NAME="PixelFilter(int)"><!-- --></A><H3> |
226 |
PixelFilter</H3>
|
227 |
<PRE>
|
228 |
public <B>PixelFilter</B>(int alpha)</PRE> |
229 |
<DL>
|
230 |
<DD>Constructor para el Oleico
|
231 |
<P>
|
232 |
</DL>
|
233 |
<HR>
|
234 |
|
235 |
<A NAME="PixelFilter(int, int, int)"><!-- --></A><H3> |
236 |
PixelFilter</H3>
|
237 |
<PRE>
|
238 |
public <B>PixelFilter</B>(int trans, |
239 |
int or,
|
240 |
int pxMax)</PRE> |
241 |
<DL>
|
242 |
<DD>Constructor.
|
243 |
<P>
|
244 |
<DT><B>Parameters:</B><DD><CODE>trans</CODE> - Color que sustituye a los pixeles filtrados<DD><CODE>or</CODE> - M?scara que se aplica a los pixeles restantes<DD><CODE>pxMax</CODE> - Umbral que determina los pixeles.</DL> |
245 |
|
246 |
<!-- ============ METHOD DETAIL ========== -->
|
247 |
|
248 |
<A NAME="method_detail"><!-- --></A> |
249 |
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
250 |
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
251 |
<TD COLSPAN=1><FONT SIZE="+2"> |
252 |
<B>Method Detail</B></FONT></TD> |
253 |
</TR>
|
254 |
</TABLE>
|
255 |
|
256 |
<A NAME="setAlpha(int)"><!-- --></A><H3> |
257 |
setAlpha</H3>
|
258 |
<PRE>
|
259 |
public void <B>setAlpha</B>(int alpha)</PRE> |
260 |
<DL>
|
261 |
<DD><DL> |
262 |
</DL>
|
263 |
</DD>
|
264 |
</DL>
|
265 |
<HR>
|
266 |
|
267 |
<A NAME="getAlpha()"><!-- --></A><H3> |
268 |
getAlpha</H3>
|
269 |
<PRE>
|
270 |
public int <B>getAlpha</B>()</PRE> |
271 |
<DL>
|
272 |
<DD><DL> |
273 |
</DL>
|
274 |
</DD>
|
275 |
</DL>
|
276 |
<HR>
|
277 |
|
278 |
<A NAME="filterLine(int[])"><!-- --></A><H3> |
279 |
filterLine</H3>
|
280 |
<PRE>
|
281 |
public void <B>filterLine</B>(int[] pRGBArray)</PRE> |
282 |
<DL>
|
283 |
<DD>Filtra una l?nea de pixeles.
|
284 |
<P>
|
285 |
<DD><DL> |
286 |
<DT><B>Parameters:</B><DD><CODE>pRGBArray</CODE> - </DL> |
287 |
</DD>
|
288 |
</DL>
|
289 |
<!-- ========= END OF CLASS DATA ========= -->
|
290 |
<HR>
|
291 |
|
292 |
|
293 |
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
294 |
<A NAME="navbar_bottom"><!-- --></A> |
295 |
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
296 |
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
297 |
<TR>
|
298 |
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
299 |
<A NAME="navbar_bottom_firstrow"><!-- --></A> |
300 |
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
301 |
<TR ALIGN="center" VALIGN="top"> |
302 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
303 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
304 |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
305 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
306 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
307 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
308 |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
309 |
</TR>
|
310 |
</TABLE>
|
311 |
</TD>
|
312 |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
313 |
</EM>
|
314 |
</TD>
|
315 |
</TR>
|
316 |
|
317 |
<TR>
|
318 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
319 |
<A HREF="../../../../org/cresques/io/raster/PercentTailTrimShortFilter.html" title="class in org.cresques.io.raster"><B>PREV CLASS</B></A> |
320 |
<A HREF="../../../../org/cresques/io/raster/QuickSort.html" title="class in org.cresques.io.raster"><B>NEXT CLASS</B></A></FONT></TD> |
321 |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
322 |
<A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> |
323 |
<A HREF="PixelFilter.html" target="_top"><B>NO FRAMES</B></A> |
324 |
<SCRIPT type="text/javascript"> |
325 |
<!--
|
326 |
if(window==top) {
|
327 |
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
328 |
}
|
329 |
//-->
|
330 |
</SCRIPT>
|
331 |
<NOSCRIPT>
|
332 |
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
333 |
</NOSCRIPT>
|
334 |
|
335 |
</FONT></TD> |
336 |
</TR>
|
337 |
<TR>
|
338 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
339 |
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
340 |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
341 |
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
342 |
</TR>
|
343 |
</TABLE>
|
344 |
<A NAME="skip-navbar_bottom"></A> |
345 |
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
346 |
|
347 |
<HR>
|
348 |
|
349 |
</BODY>
|
350 |
</HTML>
|