root / branches / CqCMSDvp / libraries / libCq CMS for java.old / src / org / cresques / io / raster / RasterStats.java @ 2147
History | View | Annotate | Download (887 Bytes)
1 |
/*
|
---|---|
2 |
* Created on 25-feb-2005
|
3 |
*/
|
4 |
package org.cresques.io.raster; |
5 |
|
6 |
/**
|
7 |
* @author Luis W. Sevilla (sevilla_lui@gva.es)
|
8 |
*/
|
9 |
public class RasterStats { |
10 |
public int [] minBandValue = {Integer.MAX_VALUE,Integer.MAX_VALUE,Integer.MAX_VALUE}; |
11 |
public int [] maxBandValue = {Integer.MIN_VALUE,Integer.MIN_VALUE,Integer.MIN_VALUE}; |
12 |
public int [] secondMinBandValue = {Integer.MAX_VALUE,Integer.MAX_VALUE,Integer.MAX_VALUE}; |
13 |
public int [] secondMaxBandValue = {Integer.MIN_VALUE,Integer.MIN_VALUE,Integer.MIN_VALUE}; |
14 |
|
15 |
public double tailPercent = 0D; //porcentaje de recorte de colas |
16 |
|
17 |
/**
|
18 |
*
|
19 |
*/
|
20 |
public RasterStats() {
|
21 |
super();
|
22 |
// TODO Auto-generated constructor stub
|
23 |
} |
24 |
|
25 |
public void pinta() { |
26 |
for (int i=0; i<3; i++) |
27 |
System.out.println(" Band ["+i+"]: "+minBandValue[i]+"..."+maxBandValue[i]); |
28 |
|
29 |
System.out.println("Porcentaje de recorte: "+ tailPercent); |
30 |
|
31 |
} |
32 |
|
33 |
} |