Revision 1022 org.gvsig.raster.cache/trunk/org.gvsig.raster.cache/org.gvsig.raster.cache.lib.api/src/main/java/org/gvsig/raster/cache/buffer/BufferStats.java

View differences:

BufferStats.java
1 1
package org.gvsig.raster.cache.buffer;
2 2

  
3
import java.util.ArrayList;
4

  
5
/**
6
 * This class is used to calculate basic statistics in a buffer.
7
 * 
8
 * @author Nacho Brodin (nachobrodin@gmail.com)
9
 */
3 10
public interface BufferStats {
4 11
	/**
5 12
	 * Calculate statistics
6 13
	 */
7 14
	public void calculate();
8 15
	
9
    /**
10
     * Calcula el m?nimo y el m?ximo del histograma previamente.
11
     * @return double[] con el m?nimo y m?ximo y el segundo minimo y maximo.
12
     * @throws ProcessInterruptedException 
13
     */
14 16
    public double[] getLimits() throws InterruptedException;
15 17
    
16 18
    public double[][] getAllBandsLimits() throws InterruptedException;
19
    
20
    /**
21
     * Gets the band list. Each band contains the statistics using
22
     * {@link StatsValues}
23
     * @return
24
     */
25
    public ArrayList<Band> getBandList();
17 26
}

Also available in: Unified diff