/* * 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.MultiplyConstDescriptor; import org.geotools.coverage.processing.OperationJAI; import org.geotools.util.NumberRange; /** * Multiplies every sample values of the source coverage by constants (one for each band). * If the number of constants supplied is less than the number of bands of the destination, * then the constant from entry 0 is applied to all the bands. Otherwise, a constant from a * different entry is applied to each band. * *
Name: "MultiplyConst"
* JAI operator: "{@linkplain MultiplyConstDescriptor MultiplyConst}"
* Parameters:
Name | *Class | *Default value | *Minimum value | *Maximum value | *
---|---|---|---|---|
{@code "Source"} | *{@link org.geotools.coverage.grid.GridCoverage2D} | *N/A | *N/A | *N/A | *
{@code "constants"} | *{@code double[]} | *1.0 | *N/A | *N/A | *