Revision 27361 trunk/libraries/libRaster/src/org/gvsig/raster/grid/filter/histogramMatching/HistogramMatchingByteFilter.java
HistogramMatchingByteFilter.java | ||
---|---|---|
61 | 61 |
|
62 | 62 |
/** |
63 | 63 |
* Ejecucion del filtro tipo byte |
64 |
* @throws InterruptedException |
|
64 | 65 |
* */ |
65 |
public void process(int x, int y) { |
|
66 |
public void process(int x, int y) throws InterruptedException {
|
|
66 | 67 |
int index=0; |
67 |
for(int band=0; band<rasterResult.getBandCount();band++){
|
|
68 |
for(int band = 0; band < rasterResult.getBandCount(); band++){
|
|
68 | 69 |
int data= (int) (raster.getElemByte(y,x,band)); |
69 | 70 |
index = data & 0xff; |
70 | 71 |
rasterResult.setElem(y,x,band,(byte)tableAsign[band][index]); |
Also available in: Unified diff