01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2006, Geotools Project Managment Committee (PMC)
05: * (C) 2006, Institut de Recherche pour le Développement
06: *
07: * This library is free software; you can redistribute it and/or
08: * modify it under the terms of the GNU Lesser General Public
09: * License as published by the Free Software Foundation; either
10: * version 2.1 of the License, or (at your option) any later version.
11: *
12: * This library is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15: * Lesser General Public License for more details.
16: */
17: package org.geotools.coverage.processing.operation;
18:
19: // JAI dependencies (for javadoc)
20: import javax.media.jai.operator.ConvolveDescriptor;
21:
22: // Geotools dependencies
23: import org.geotools.coverage.processing.OperationJAI;
24:
25: /**
26: * Computes each output sample by multiplying elements of a kernel with the samples surrounding
27: * a particular source sample.
28: *
29: * <P><STRONG>Name:</STRONG> <CODE>"Convolve"</CODE><BR>
30: * <STRONG>JAI operator:</STRONG> <CODE>"{@linkplain ConvolveDescriptor Convolve}"</CODE><BR>
31: * <STRONG>Parameters:</STRONG></P>
32: * <table border='3' cellpadding='6' bgcolor='F4F8FF'>
33: * <tr bgcolor='#B9DCFF'>
34: * <th>Name</th>
35: * <th>Class</th>
36: * <th>Default value</th>
37: * <th>Minimum value</th>
38: * <th>Maximum value</th>
39: * </tr>
40: * <tr>
41: * <td>{@code "Source"}</td>
42: * <td>{@link org.geotools.coverage.grid.GridCoverage2D}</td>
43: * <td align="center">N/A</td>
44: * <td align="center">N/A</td>
45: * <td align="center">N/A</td>
46: * </tr>
47: * <tr>
48: * <td>{@code "kernel"}</td>
49: * <td>{@link javax.media.jai.KernelJAI}</td>
50: * <td align="center">N/A</td>
51: * <td align="center">N/A</td>
52: * <td align="center">N/A</td>
53: * </tr>
54: * </table>
55: *
56: * @since 2.3
57: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/library/coverage/src/main/java/org/geotools/coverage/processing/operation/Convolve.java $
58: * @version $Id: Convolve.java 20970 2006-08-11 07:53:22Z jgarnett $
59: * @author Martin Desruisseaux
60: */
61: public class Convolve extends OperationJAI {
62: /**
63: * Serial number for interoperability with different versions.
64: */
65: private static final long serialVersionUID = -8324284100732653109L;
66:
67: /**
68: * Constructs a default {@code "Convolve"} operation.
69: */
70: public Convolve() {
71: super ("Convolve");
72: }
73: }
|