Revision 20865 trunk/extensions/extRasterTools-SE/src/org/gvsig/raster/util/process/FilterProcess.java

View differences:

FilterProcess.java
91 91

  
92 92
			// Si el numero de bandas coincide asignamos la misma interpretacion que tenia antes
93 93
			if ((rendering != null) && (buffer.getBandCount() == rasterDataSource.getBandCount())) {
94
				colorInterpretation = rendering.getRender().getColorInterpretation();
94
				colorInterpretation = rasterDataSource.getColorInterpretation(0);
95 95
				break;
96 96
			}
97 97

  

Also available in: Unified diff