/* * 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.MaxFilterDescriptor; import javax.media.jai.operator.MaxFilterShape; // Geotools dependencies import org.geotools.coverage.processing.OperationJAI; /** * For each position of the mask, replaces the center pixel by the maximum of the pixel * values covered by the mask. * *
Name: "MaxFilter"
* JAI operator: "{@linkplain MaxFilterDescriptor MaxFilter}"
* Parameters:
Name | *Class | *Default value | *Minimum value | *Maximum value | *
---|---|---|---|---|
{@code "Source"} | *{@link org.geotools.coverage.grid.GridCoverage2D} | *N/A | *N/A | *N/A | *
{@code "maskShape"} | *{@link MaxFilterShape} | *{@link MaxFilterDescriptor#MAX_MASK_SQUARE} | *N/A | *N/A | *
{@code "maskSize"} | *{@link Integer} | *{@code 3} | *N/A | *N/A | *