/* * GeoTools - The Open Source Java GIS Toolkit * http://geotools.org * * (C) 2005-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.InvertDescriptor; // Geotools dependencies import org.geotools.util.NumberRange; import org.geotools.coverage.processing.OperationJAI; /** * Inverts the sample values of a coverage. For source coverages with signed data types, * the sample values of the destination coverage are defined by the pseudocode: * *
* ** dst[x][y][b] = -src[x][y][b] *
Name: "Invert"
* JAI operator: "{@linkplain InvertDescriptor Invert}"
* Parameters:
Name | *Class | *Default value | *Minimum value | *Maximum value | *
---|---|---|---|---|
{@code "Source"} | *{@link org.geotools.coverage.grid.GridCoverage2D} | *N/A | *N/A | *N/A | *