continue;
cb[i].setInputStart(new Float(sf.getInputStart())); cb[i].setInputEnd(new Float(sf.getInputEnd()));
    public void computeLocationStats(PlaneDef pd)        throws PixMetadataException    {        if (pd == null) throw new NullPointerException("No plane definition.");        if (rndDef == null) return; // TODO can this be true? -josh        try {            ChannelBinding[] cb = getChannelBindings();            double start, end;            PixTStatsEntry pixTStats;            for (int i = 0; i < cb.length; i++) {                pixTStats = pixelStats.getGlobalEntry(cb[i].getIndex());                sf.computeLocationStats(metadata, buffer, pixelStats,                                         pd, cb[i].getIndex());                // FIXME cb[i].setStats(sf.getLocationStats());                cb[i].setNoiseReduction(sf.isNoiseReduction());                start = cb[i].getInputStart();                end = cb[i].getInputEnd();                //TODO: find a better way.                if (pixTStats.globalMax == end && pixTStats.globalMin == start)                    continue; // FIXME cb[i].setInputWindow(sf.getInputStart(), sf.getInputEnd());              }        } catch (Exception ioe) {            throw new PixMetadataException("Cannot retrieve the file header "+                                        "to compute the location stats.", ioe);        }    }