Revision 22197 trunk/extensions/extRemoteSensing/src/org/gvsig/remotesensing/imagefusion/process/ImageFusionProcess.java
ImageFusionProcess.java | ||
---|---|---|
109 | 109 |
|
110 | 110 |
} |
111 | 111 |
**/ |
112 |
method = getIntParam("method"); |
|
113 | 112 |
coef = getDoubleParam("coef"); |
114 | 113 |
filename = getStringParam("filename"); |
115 | 114 |
viewName= (String)getParam("view"); |
... | ... | |
151 | 150 |
inputGrid = new Grid(bufferFactory); |
152 | 151 |
|
153 | 152 |
highBandGrid = new Grid(bufferFactory2,new int[]{band}); |
154 |
cellFactorX = (double)highBandGrid.getNX()/inputGrid.getRasterBuf().getWidth();
|
|
153 |
cellFactorX = (double)highBandGrid.getRasterBuf().getWidth()/inputGrid.getRasterBuf().getWidth();
|
|
155 | 154 |
cellFactorY = (double)highBandGrid.getRasterBuf().getHeight()/inputGrid.getRasterBuf().getHeight(); |
156 | 155 |
|
157 | 156 |
// Comprobar si las dos imagenes tienen el mismo extend |
Also available in: Unified diff