gvsig-raster / org.gvsig.raster / branches / org.gvsig.raster.2.4 / org.gvsig.raster / org.gvsig.raster.lib / org.gvsig.raster.lib.buffer / org.gvsig.raster.lib.buffer.api / src / main / java / org / gvsig / raster / lib / buffer / api / statistics / Histogram.java @ 5482
History | View | Annotate | Download (3.15 KB)
1 |
/* gvSIG. Desktop Geographic Information System.
|
---|---|
2 |
*
|
3 |
* Copyright ? 2007-2016 gvSIG Association
|
4 |
*
|
5 |
* This program is free software; you can redistribute it and/or
|
6 |
* modify it under the terms of the GNU General Public License
|
7 |
* as published by the Free Software Foundation; either version 2
|
8 |
* of the License, or (at your option) any later version.
|
9 |
*
|
10 |
* This program is distributed in the hope that it will be useful,
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
* GNU General Public License for more details.
|
14 |
*
|
15 |
* You should have received a copy of the GNU General Public License
|
16 |
* along with this program; if not, write to the Free Software
|
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
18 |
* MA 02110-1301, USA.
|
19 |
*
|
20 |
* For any additional information, do not hesitate to contact us
|
21 |
* at info AT gvsig.com, or visit our website www.gvsig.com.
|
22 |
*/
|
23 |
package org.gvsig.raster.lib.buffer.api.statistics; |
24 |
|
25 |
|
26 |
|
27 |
/**
|
28 |
* @author fdiaz
|
29 |
*
|
30 |
*/
|
31 |
public interface Histogram extends Iterable<HistogramBand> { |
32 |
|
33 |
/**
|
34 |
* Obtiene el n?mero de bandas del histograma
|
35 |
* @return entero que representa el n?mero de bandas
|
36 |
*/
|
37 |
public int size(); |
38 |
|
39 |
/**
|
40 |
* @param i
|
41 |
* @return
|
42 |
*/
|
43 |
public HistogramBand get(int band); |
44 |
//
|
45 |
// /**
|
46 |
// * Realiza la uni?n entre el histograma actual y el pasado
|
47 |
// * por par?metro.
|
48 |
// * @param hist
|
49 |
// * @return true if the union has been possible
|
50 |
// */
|
51 |
// public boolean union(Histogram hist);
|
52 |
|
53 |
// /**
|
54 |
// * Obtiene la tabla de valores
|
55 |
// *
|
56 |
// * @return la tabla de valores
|
57 |
// */
|
58 |
// public long[][] getTable();
|
59 |
//
|
60 |
//
|
61 |
// /**
|
62 |
// * Obtiene el histograma de la imagen negativa.
|
63 |
// *
|
64 |
// * @return el histograma de la imagen negativa.
|
65 |
// */
|
66 |
// public long[][] getNegativeTable();
|
67 |
|
68 |
// /**
|
69 |
// * Devuelve el minimo valor del histograma
|
70 |
// *
|
71 |
// * @return el minimo valor del histograma
|
72 |
// */
|
73 |
// public double getMinimum();
|
74 |
//
|
75 |
// /**
|
76 |
// * Devuelve el maximo valor del histograma
|
77 |
// *
|
78 |
// * @return el maximo valor del histograma
|
79 |
// */
|
80 |
// public double getMaximum();
|
81 |
|
82 |
// /**
|
83 |
// * Obtiene el n?mero de valores o clases del histograma
|
84 |
// * @return entero que representa el n?mero de valores o clases del histograma
|
85 |
// */
|
86 |
// public int getNumValues();
|
87 |
//
|
88 |
// /**
|
89 |
// * Devuelve si un histograma esta en un rango RGB aceptable
|
90 |
// *
|
91 |
// * @return si un histograma esta en un rango RGB aceptable
|
92 |
// */
|
93 |
// public boolean isInRangeRGB();
|
94 |
|
95 |
// /**
|
96 |
// * Calcula las estad?sticas.
|
97 |
// *
|
98 |
// * @param status
|
99 |
// */
|
100 |
// public void calculate(SimpleTaskStatus status);
|
101 |
//
|
102 |
// /**
|
103 |
// * @return true if the histogram has been calculated
|
104 |
// */
|
105 |
// public boolean isCalculated();
|
106 |
|
107 |
// /**
|
108 |
// * Devuelve los valores m?nimos de todas las bandas
|
109 |
// *
|
110 |
// * @return los valores m?nimos de todas las bandas
|
111 |
// */
|
112 |
// public double[] getMin();
|
113 |
//
|
114 |
// /**
|
115 |
// * Devuelve los valores m?nimos de todas las bandas
|
116 |
// *
|
117 |
// * @return los valores m?nimos de todas las bandas
|
118 |
// */
|
119 |
// public double[] getMax();
|
120 |
|
121 |
} |