Revision 11899 trunk/libraries/libRaster/src/org/gvsig/raster/grid/filter/enhancement/BrightnessFilter.java

View differences:

BrightnessFilter.java
16 16
 * along with this program; if not, write to the Free Software
17 17
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18 18
 */
19

  
20 19
package org.gvsig.raster.grid.filter.enhancement;
21 20

  
22 21
import org.gvsig.raster.dataset.Params;
23 22
import org.gvsig.raster.grid.filter.RasterFilter;
24

  
25 23
/**
26 24
 * Clase basa para los filtros de brillo.
27 25
 * 
28 26
 * @author Miguel ?ngel Querol Carratal?  (miguelangel.querol@iver.es)
29 27
 *
30 28
 */
31

  
32 29
public class BrightnessFilter extends RasterFilter {
33 30

  
34 31
	public static String		genericName = "brightness";
......
47 44
		super.fName = genericName;
48 45
	}
49 46
	
47
	/*
48
	 * (non-Javadoc)
49
	 * @see org.gvsig.raster.grid.filter.RasterFilter#pre()
50
	 */
50 51
	public void pre() {
51
		//IBuffer outBuffer = RasterBuffer.getBuffer(dataType, width, height, bandNr, malloc);
52 52
	}
53 53

  
54
	/*
55
	 * (non-Javadoc)
56
	 * @see org.gvsig.raster.grid.filter.RasterFilter#post()
57
	 */
54 58
	public void post() {
55

  
59
		// En caso de que nadie apunte a raster, se liberar? su memoria.
60
		raster = null;
56 61
	}
57 62
	
58 63
	/**
......
123 128
	 */
124 129
	public void process(int x, int y) {
125 130
	}
126

  
127
	public Object clone() throws CloneNotSupportedException {
128
    Object obj = null;
129
		obj = super.clone();
130
		return obj;
131
	}
132 131
}

Also available in: Unified diff