rndDef.getCodomainChainDef()); */
rndDef.getSpatialDomainEnhancement());
    public Renderer(            Pixels pixelsObj,             ome.model.display.RenderingDef renderingDefObj,            PixelBuffer bufferObj,            PixelsStats pixel_stats            ) throws Exception // FIXME what exceptions?    {         if (metadata == null || rndDef == null || buffer == null)            throw new IllegalArgumentException("No null values please.");                metadata = pixelsObj;        rndDef = renderingDefObj;        buffer = bufferObj;        pixelStats = pixel_stats;                //Grab pixels metadata -- create default display options if none         //available.        PixelsDimensions pixelsDims = metadata.getPixelsDimensions();                //Create and configure the quantum strategies.        QuantumDef qd = rndDef.getQuantization();        quantumManager = new QuantumManager(metadata.getSizeC().intValue());        ChannelBinding[] cBindings= getChannelBindings();        quantumManager.initStrategies(qd, metadata.getPixelsType(), pixelStats, cBindings);                //Compute the location stats.        computeLocationStats(getDefaultPlaneDef());                //Create and configure the codomain chain.        /* FIXME don't have yet        codomainChain = new CodomainChain(qd.getCdStart().intValue(), qd.getCdStop().intValue(),                                          rndDef.getCodomainChainDef());        */                //Create an appropriate rendering strategy.        int m = RenderingDefConstants.convertType(rndDef.getModel());        renderingStrategy = RenderingStrategy.makeNew(m);        }