Revision 27361 trunk/libraries/libRaster/src/org/gvsig/raster/grid/filter/enhancement/ContrastShortFilter.java
ContrastShortFilter.java | ||
---|---|---|
31 | 31 |
* (non-Javadoc) |
32 | 32 |
* @see org.gvsig.raster.grid.filter.enhancement.ContrastFilter#process(int, int) |
33 | 33 |
*/ |
34 |
public void process(int col, int line) { |
|
34 |
public void process(int col, int line) throws InterruptedException {
|
|
35 | 35 |
for (int i = 0; i < raster.getBandCount(); i++) |
36 | 36 |
rasterResult.setElem(line, col, i, (byte) calcContrast((int) raster.getElemShort(line, col, i) & 0xff)); |
37 | 37 |
} |
Also available in: Unified diff