Revision 27361 trunk/libraries/libRaster/src/org/gvsig/raster/grid/filter/enhancement/LinearStretchEnhancementFloatFilter.java
LinearStretchEnhancementFloatFilter.java | ||
---|---|---|
34 | 34 |
* (non-Javadoc) |
35 | 35 |
* @see org.gvsig.raster.grid.filter.enhancement.LinearEnhancementFilter#process(int, int) |
36 | 36 |
*/ |
37 |
public void process(int col, int line) { |
|
37 |
public void process(int col, int line) throws InterruptedException {
|
|
38 | 38 |
for (int iBand = 0; iBand < raster.getBandCount(); iBand++) { |
39 | 39 |
if (renderBands[iBand] < 0) { |
40 | 40 |
rasterResult.setElem(line, col, iBand, (byte) 0); |
... | ... | |
58 | 58 |
* @param line L?nea del valor dentro del raster |
59 | 59 |
* @param iBand N?mero de banda del valor dentro del raster |
60 | 60 |
* @return true si ha podido ser procesado y false si no lo hace |
61 |
* @throws InterruptedException |
|
61 | 62 |
*/ |
62 |
private void processValue(float p, Stretch data, int col, int line, int iBand) { |
|
63 |
private void processValue(float p, Stretch data, int col, int line, int iBand) throws InterruptedException {
|
|
63 | 64 |
if (data.scale != null) { |
64 | 65 |
if (p > data.maxValue) |
65 | 66 |
p = (float) data.maxValue; |
Also available in: Unified diff