Package org.geotools.processing.jai.nodata

Examples of org.geotools.processing.jai.nodata.Range


        // If No Data are present
        if (noData != null) {
            // If the length of the array is different from that of the sources
            // the first Range is used for all the images
            if (noData.length != numSrcs) {
                Range firstNoData = noData[0];

                this.noData = new Range[numSrcs];

                for (int i = 0; i < numSrcs; i++) {
                    this.noData[i] = firstNoData;
View Full Code Here


     * @param nodataValue
     * @param dataType
     * @return
     */
    private Range createNoDataRange(GridCoverage2D cov, double nodataValue, int dataType) {
        Range noData = null;
        // Creation of the NoDataRange associated to the image
        switch (dataType) {
        case DataBuffer.TYPE_BYTE:
            byte valueB = ImageUtil.clampRoundByte(nodataValue);
            noData = RangeFactory.create(valueB, true, valueB, true);
View Full Code Here

        // If No Data are present
        if (noData != null) {
            // If the length of the array is different from that of the sources
            // the first Range is used for all the images
            if (noData.length != numSrcs) {
                Range firstNoData = noData[0];

                this.noData = new Range[numSrcs];

                for (int i = 0; i < numSrcs; i++) {
                    this.noData[i] = firstNoData;
View Full Code Here

TOP

Related Classes of org.geotools.processing.jai.nodata.Range

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.