Revision 5497 trunk/extensions/extRasterTools/src/org/gvsig/rasterTools/brightnessContrast/filter/HistogramFilter.java

View differences:

HistogramFilter.java
1
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
2
 *
3
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
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., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18
 */
19

  
1 20
package org.gvsig.rasterTools.brightnessContrast.filter;
2 21

  
3 22
import org.cresques.io.raster.RasterFilter;
......
11 30
public abstract class HistogramFilter extends RasterFilter {
12 31
	
13 32
	/**
14
	 * Alto de la imagen
33
	 * N?mero de bandas de la imagen sin contar RGB
15 34
	 */
16
	protected int 				imgHeight = 0;
35
	protected int				nBands = 0;
17 36
	
18
	/**
19
	 * Ancho de la imagen
20
	 */
21
	protected int 				imgWidth = 0;
22 37
	
23 38
	/**
24
	 * N?mero de bandas de la imagen sin contar RGB
39
	 * N?mero de pixels de la imagen.
25 40
	 */
26
	protected int				nBands = 0;
41
	int pixel = 0;
27 42
	
28 43
	/**
29 44
	 * Constructor

Also available in: Unified diff