/* * GeoTools - The Open Source Java GIS Toolkit * http://geotools.org * * (C) 2006-2008, Open Source Geospatial Foundation (OSGeo) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; * version 2.1 of the License. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. */ package org.geotools.coverage.processing.operation; // JAI dependencies (for javadoc) import javax.media.jai.operator.MinFilterDescriptor; import javax.media.jai.operator.MinFilterShape; // Geotools dependencies import org.geotools.coverage.processing.OperationJAI; /** * For each position of the mask, replaces the center pixel by the minimum of the pixel * values covered by the mask. * *

Name: "MinFilter"
* JAI operator: "{@linkplain MinFilterDescriptor MinFilter}"
* Parameters:

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
NameClassDefault valueMinimum valueMaximum value
{@code "Source"}{@link org.geotools.coverage.grid.GridCoverage2D}N/AN/AN/A
{@code "maskShape"}{@link MinFilterShape}{@link MinFilterDescriptor#MIN_MASK_SQUARE}N/AN/A
{@code "maskSize"}{@link Integer}{@code 3}N/AN/A
* * @since 2.3 * * * @source $URL$ * @version $Id$ * @author Martin Desruisseaux (IRD) */ public class MinFilter extends OperationJAI { /** * Serial number for interoperability with different versions. */ private static final long serialVersionUID = -45487721305059086L; /** * Constructs a default {@code "MinFilter"} operation. */ public MinFilter() { super("MinFilter"); } }