Revision 2232 org.gvsig.raster/branches/org.gvsig.raster_dataaccess_refactoring/org.gvsig.raster.lib/org.gvsig.raster.lib.impl/src/main/java/org/gvsig/raster/impl/grid/filter/pansharp/PanSharpeningByteFilter.java
PanSharpeningByteFilter.java | ||
---|---|---|
26 | 26 |
|
27 | 27 |
import org.gvsig.fmap.dal.coverage.dataset.Buffer; |
28 | 28 |
import org.gvsig.fmap.dal.coverage.datastruct.Extent; |
29 |
import org.gvsig.fmap.dal.coverage.exception.InvalidSetViewException; |
|
30 | 29 |
import org.gvsig.fmap.dal.coverage.exception.ProcessInterruptedException; |
31 |
import org.gvsig.fmap.dal.coverage.exception.RasterDriverException;
|
|
30 |
import org.gvsig.fmap.dal.coverage.exception.QueryException;
|
|
32 | 31 |
import org.gvsig.fmap.dal.coverage.store.RasterDataStore; |
33 | 32 |
import org.gvsig.fmap.dal.coverage.store.RasterQuery; |
34 | 33 |
import org.gvsig.raster.impl.DefaultRasterManager; |
... | ... | |
65 | 64 |
try { |
66 | 65 |
query.setAreaOfInterest(adjustedExtent, widthMultiespec, heightMultiespec); |
67 | 66 |
bufferMultiespectral = (dataset.query(query)); |
68 |
} catch (RasterDriverException e) {
|
|
67 |
} catch (QueryException e) {
|
|
69 | 68 |
e.printStackTrace(); |
70 |
} catch (InvalidSetViewException e) { |
|
71 |
e.printStackTrace(); |
|
72 | 69 |
} |
73 | 70 |
|
74 | 71 |
// Tomar buffer Pancromatica |
... | ... | |
83 | 80 |
try { |
84 | 81 |
query.setAreaOfInterest(adjustedExtentP, widthPancr, heightPancr); |
85 | 82 |
bufferPancr = (dataset.query(query)); |
86 |
} catch (RasterDriverException e) {
|
|
83 |
} catch (QueryException e) {
|
|
87 | 84 |
e.printStackTrace(); |
88 |
} catch (InvalidSetViewException e) { |
|
89 |
e.printStackTrace(); |
|
90 | 85 |
} |
91 | 86 |
|
92 | 87 |
// Buffer donde se pinta el resultado |
... | ... | |
137 | 132 |
*/ |
138 | 133 |
@SuppressWarnings("unchecked") |
139 | 134 |
private void loadParam() { |
140 |
|
|
141 | 135 |
posPancromatica = ((Integer) params.get("posPancromatica")).intValue(); |
142 | 136 |
dataset = (RasterDataStore)params.get("dataset"); |
143 | 137 |
bandOrder = (ArrayList) params.get("order"); |
Also available in: Unified diff