Revision 43862 branches/org.gvsig.desktop-2018a/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.mapcontext/org.gvsig.fmap.mapcontext.impl/src/main/java/org/gvsig/raster/lib/legend/impl/operations/colorbalancergb/ColorBalanceRGBOperation.java

View differences:

ColorBalanceRGBOperation.java
51 51
     *
52 52
     */
53 53
    public ColorBalanceRGBOperation(OperationFactory factory) {
54
        this.factory = factory;
54
        super(factory);
55 55
    }
56 56

  
57 57

  
58 58
    @Override
59 59
    protected void initialiceParams() {
60
        red = (Integer) this.parameters.getDynValue(RED_PARAM);
61
        green = (Integer) this.parameters.getDynValue(GREEN_PARAM);
62
        blue = (Integer) this.parameters.getDynValue(BLUE_PARAM);
63
        luminosity = (Boolean) this.parameters.getDynValue(LUMINOSITY_PARAM);
60
        red = (Integer) this.getParameter(RED_PARAM,0);
61
        green = (Integer) this.getParameter(GREEN_PARAM,0);
62
        blue = (Integer) this.getParameter(BLUE_PARAM,0);
63
        luminosity = (Boolean) this.getParameter(LUMINOSITY_PARAM,true);
64 64
    }
65 65

  
66
    @Override
66 67
    protected void processRow(Object[] inputRows, List outputRows) {
67 68
        ColorManager colorManager = ((RasterLegendManagerServices)RasterLegendLocator.getRasterLegendManager()).getColorManager();
68 69
        byte[][] inputByteRows = new byte[inputRows.length][((byte[]) inputRows[0]).length];

Also available in: Unified diff